Knowledge Representation and Reasoning (KR): A vibrant subfield of AI Jia You.

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
NP-Hard Nattee Niparnan.
Logic Programming Automated Reasoning in practice.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
1 Inductive Equivalence of Logic Programs Chiaki Sakama Wakayama University Katsumi Inoue National Institute of Informatics ILP
Situation Calculus for Action Descriptions We talked about STRIPS representations for actions. Another common representation is called the Situation Calculus.
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Converting formulas into a normal form Consider the following FOL formula stating that a brick is an object which is on another object which is not a pyramid,
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
Knowledge Representation
For Friday Finish chapter 10 No homework (get started on program 2)
Intelligent systems Lecture 6 Rules, Semantic nets.
Cs774 (Prasad)L7Negation1 Negation by Failure
Programming with Constraints Jia-Huai You. Subject of Study Constraint Programming (CP) studies the computational models, languages, and systems for solving.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.5 [P]: Propositions and Inference Sections.
1 Programming with Constraints Jia-Huai You Constraint programming languages - based on non-monotonic logic - Answer set programming (ASP) Knowledge Representation.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
A Preliminary Study on Reasoning About Causes Pedro Cabalar AI Lab., Dept. of Computer Science University of Corunna, SPAIN.
Using answer set programming to answer complex queries Chitta Baral (joint work with Michael Gelfond and Richard Scherl) Arizona State University Tempe,
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
KNOWLEDGE REPRESENTATION, REASONING AND DECLARATIVE PROBLEM SOLVING Chitta Baral Arizona State University Tempe, AZ
1. Motivation Knowledge in the Semantic Web must be shared and modularly organised. The semantics of the modular ERDF framework has been defined model.
Automated Explanation of Gene-Gene Relationships Wacek Kuśnierczyk.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
1 Knowledge Based Systems (CM0377) Lecture 12 (Last modified 2nd May 2002)
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
 Knowledge Acquisition  Machine Learning. The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
{ Logic in Artificial Intelligence By Jeremy Wright Mathematical Logic April 10 th, 2012.
CSNB234 ARTIFICIAL INTELLIGENCE
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Learning by Answer Sets Chiaki Sakama Wakayama University, Japan Presented at AAAI Spring Symposium on Answer Set Programming, March 2001.
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Logical Agents Logic Propositional Logic Summary
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Modeling Speech Acts and Joint Intentions in Modal Markov Logic Henry Kautz University of Washington.
Answer Set Programming (ASP): A new Paradigm for Knowledge Representation and Constraint Programming Some slides are taken from Baral’s talk at AAAI-05.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
Inverse Entailment in Nonmonotonic Logic Programs Chiaki Sakama Wakayama University, Japan.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Artificial Intelligence
Answer Set Programming: A new Paradigm for Knowledge Representation and Constraint Programming Russell and Norvig 10.7 Lecture Notes for Cmput 366 (Some.
On Abductive Equivalence Katsumi Inoue National Institute of Informatics Chiaki Sakama Wakayama University MBR
Representation and Search The function of a representation is to capture the critical features of the problem domain –and make the information accessible.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Artificial Intelligence Knowledge Representation.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Rules, RIF and RuleML.
Planning in Answer Set Programming
Logic: Top-down proof procedure and Datalog
KNOWLEDGE REPRESENTATION
CS 416 Artificial Intelligence
Implementation of Learning Systems
Representations & Reasoning Systems (RRS) (2.2)
Habib Ullah qamar Mscs(se)
Presentation transcript:

Knowledge Representation and Reasoning (KR): A vibrant subfield of AI Jia You

Related Field Computational logic Constraints/Constraint Programming Declarative programming Logic programming (not Prolog)

Intelligent Agent Can acquire knowledge through various means such as learning from experience, observations, reading, etc., and Can reason with this knowledge to make plans, explain observations, achieve goals, etc.

To learn knowledge and to reason with it we need to know how to represent knowledge in a computer readable format. McCarthy 1959 in Programs with commonsense: “In order for a program to be capable of learning something it must first be capable of being told it.”

What does KR entail? We need languages and corresponding methodologies to represent various kinds of knowledge, and be able to reason with it. Forms of reasoning: deduction, abduction, induction, default reasoning, common-sense reasoning, …

Importance of Inventing Suitable KR Languages Development of a suitable knowledge representation language and methodology is as important to AI systems as Calculus is to Physics and Engineering.

What basic properties should a suitable “calculus” of KR possess? have a simple and intuitive syntax and semantics; allow us to withdraw our conclusions; allow us to represent and reason with incomplete information; and allow us to express and answer problem solving queries such as planning queries, explanation queries and diagnostic queries.

Inadequacy of first order logic It is monotonic: More information one has, more consequences one gets. Human communication is typically based on closed world assumption.

An Example of Closed World Assumption ground-wet  watering. ground-wet  raining. In an open world, there could be other reasons that cause ground-wet (we simply don’t know, or have not said). But in a closed world, what we said is all that we know, for Horn clauses, this is called Clark Completion. Ground-wet  watering  raining

This is to say … We need to study the semantics of KR languages.

Answer Set Programming (ASP) A program is a collection of rules of form: A  B 1, …, B m, not C 1, …, not C n where A, B j and C k are atoms. Intended “models” of a program are called answer sets.

Does tweety fly? fly(X)  bird(X), not ab(X). ab(X)  penguin(X). bird(X)  penguin(X). bird(tweety). –We conclude fly(tweety). But if we add –penguin(tweety). –We can no longer conclude fly(tweety)

Weight and Cardinality Constraints An important extension, where an atom can be a weight/cardinality constraint: L {a1 = w1, …, an = wn } U where ai are atoms and wj are weights. E.g. Given a set = {b,c,d,e}, to express all subsets containing a, we can write a  0 {b,c,d,e} 4  a.

Colorability Given a map and k colors, is it possible to color the map so that no adjacent regions have the same color? Represented by a graph: -Each vertex is colored with exactly one color; -no two vertices connected by an edge have the same color.

A program solving 3-colorability % Each vertex is colored with exactly one color: 1 {color(V,red), color(V,blue),color(V,yellow) } 1  vertex(V). % No adjacent vertexes may be colored with the same color.  vertex(V), vertex(U), edge(V,U), isAcolor(C), color(V,C), color(U,C).

Hamiltonian Cycle Given a set of facts defining the vertices and edges of a directed graph and a starting vertex v 0, find a path that visits every vertex exactly once.

Any subset of edges could be on such a path 0 {in(U,V) : edge(U,V) }. A path must be chained to form a sequence over the edges on it: reachable(V)  in(v 0,V). reachable(V)  reachable(U), in(U,V). A vertex cannot be visited more than once.  edge(U,V), in(U,V), edge(W,V), in(W,V), U  W.  edge(U,V), in(U,V), edge(U,W), in(U,W), V  W. Don’t forget to say that every vertex must be reached.  vertex(U), not reachable(U).

Planning Represented by a program that expresses: Action choice which action(s) should be chosen at each state Affected objects the affected objects by an action Effects if affected, what are the effects Frame axioms if not affected by any action at a state, the fluents that hold at the current state remain to hold in the next state.

Is ASP a good candidate? Simple syntax It is non-monotonic. Can express defaults and their exceptions. Can represent and reason with incomplete information. Various implementations: Smodels, DLV, ASSAT, CModels, … Many applications built using it. Its initial paper among the top 5 AI source documents in terms of citeseer citation.

What else we should do about ASP? Extensions and semantics; Need building block results; The bottleneck: a program may be too large for answer set computation; should have systems that can learn knowledge in this language; Improving search efficiency - domain dependent knowledge in planning - techniques related to SAT ……

Some of resent publications F Lin and J You. Abductive logic programming by nonground rewrite systems. AAAI-08. J You and G Liu. Loop formulas for logic programs with arbitrary constraint atoms. AAAI-08. Y Shen and J You. A generalized Gelfond-Lifschitz transformation for logic programs with abstract constraints. AAAI-07. G Wu, J You, G Lin. Quartet based phylogeny reconstruction with answer set programming. IEEE/ACM Transactions on Computational Biology and Bioinformatics F. Lin and J You. Recycling computed answers in rewrite systems for abduction. ACM Transactions on Computational Logic T Janhunen, I. Niemela, D. Seipel, P. Simons, J. You. Unfolding partiality and disjunctions in stable model semantics. ACM Transactions on Computational Logic 2006.