Knowledge Representation and Reasoning José Júlio Alferes Luís Moniz Pereira.

Slides:



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

ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Logic Programming Automated Reasoning in practice.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
Default Reasoning By Naval Chopra( ) ‏ Pranay Bhatia ( ) ‏ Pradeep Kumar(07D05020) ‏ Siddharth Chinoy(07D05005) ‏ Vaibhav Chhimpa(07D05011)
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Knowledge Representation and Reasoning  Representação do Conhecimento e Raciocínio Computacional José Júlio Alferes and Carlos Viegas Damásio.
Auto-Epistemic Logic Proposed by Moore (1985) Contemplates reflection on self knowledge (auto-epistemic) Permits to talk not just about the external world,
Argumentation Logics Lecture 1: Introduction Henry Prakken Chongqing May 26, 2010.
Argumentation in Artificial Intelligence Henry Prakken Lissabon, Portugal December 11, 2009.
PR-OWL: A Framework for Probabilistic Ontologies by Paulo C. G. COSTA, Kathryn B. LASKEY George Mason University presented by Thomas Packer 1PR-OWL.
Knowledge Representation & Reasoning.  Introduction How can we formalize our knowledge about the world so that:  We can reason about it?  We can do.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Auto-Epistemic Logic Proposed by Moore (1985) Contemplates reflection on self knowledge (auto-epistemic) Allows for representing knowledge not just about.
Models -1 Scientists often describe what they do as constructing models. Understanding scientific reasoning requires understanding something about models.
José Júlio Alferes Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of.
PSU CS 370 – Artificial Intelligence Dr. Mohamed Tounsi Artificial Intelligence 1. Introduction Dr. M. Tounsi.
Default Logic Proposed by Ray Reiter (1980) go_Work → use_car Does not admit exceptions! Default rules go_Work : use_car use_car.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Default Logic Proposed by Ray Reiter (1980) go_Work → use_car Does not admit exceptions! Default rules go_Work : use_car use_car.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Argumentation Logics Lecture 1: Introduction Henry Prakken Chongqing May 26, 2010.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Chapter 7 Reasoning about Knowledge by Neha Saxena Id: 13 CS 267.
Bridges from Classical to Nonmonotonic Logic David Makinson King’s College London.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
NONMONOTONIC LOGIC AHMED SALMAN MALIK. OVERVIEW Monotonic Logic Nonmonotonic Logic Usage and Applications Comparison with other forms of logic Related.
CSCE 315: Programming Studio Artificial Intelligence.
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)
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2009 Adina Magda Florea
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
{ Logic in Artificial Intelligence By Jeremy Wright Mathematical Logic April 10 th, 2012.
Reasoning About the Knowledge of Multiple Agents Ashker Ibne Mujib Andrew Reinders 1.
1 Artificial Intelligence GholamReza GhassemSani Fall 1383.
Formal Models in AGI Research Pei Wang Temple University Philadelphia, USA.
Logical Agents Logic Propositional Logic Summary
Dr. Shazzad Hosain Department of EECS North South Universtiy Lecture 04 – Part A Knowledge Representation and Reasoning.
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Alignment of Heterogeneous Ontologies: A Practical Approach to Testing for Similarities and Discrepancies Neli P. Zlatareva Central Connecticut State University.
Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics.
KNOWLEDGE BASED SYSTEMS
A Preferential Tableau for Circumscriptive ALCO RR 2009 Stephan Grimm Pascal Hitzler.
Introduction to Artificial Intelligence CS 438 Spring 2008.
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
What is Artificial Intelligence?
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Common Sense Inference Let’s distinguish between: Mathematical inference about common sense situations Example: Formalize theory of behavior of liquids.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
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.
Artificial Intelligence Logical Agents Chapter 7.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Chapter 7. Propositional and Predicate Logic
Reasoning with Uncertainty
CS 416 Artificial Intelligence
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Back to “Serious” Topics…
Reasoning with Uncertainty Piyush Porwal ( ) Rohit Jhunjhunwala ( ) Srivatsa R. ( ) Under the guidance of Prof. Pushpak Bhattacharyya.
Chapter 7. Propositional and Predicate Logic
Artificial Intelligence 2004 Non-Classical Logics
Introduction to Artificial Intelligence Instructor: Dr. Eduardo Urbina
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Artificial Intelligence
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

Knowledge Representation and Reasoning José Júlio Alferes Luís Moniz Pereira

What is it ? What data does an intelligent “agent” deal with? - Not just facts or tuples. How does an “agent” know what surrounds it? The rules of the game? –One must represent that “knowledge”. And what to do afterwards with that knowledge? How to draw conclusions from it? How to reason? Knowledge Representation and Reasoning  AI Algorithms and Data Structures  Computation

What is it good for ? Basic subject matter for Artificial Intelligence –Planning –Legal Knowledge –Model-Based Diagnosis Expert Systems Semantic Web ( –Web of Knowledge (

What is this course about ? Logic approaches to knowledge representation Issues in knowledge representation –semantics, expressivity, structure, efficiency Representation formalisms Forms of reasoning Methodologies Applications

What prior knowledge ? Computational Logic Introduction to Artificial Intelligence Logic Programming

Bibliography Will be pointed out as we go along (articles, surveys) in the summaries at the web page For the first part of the syllabus: –Reasoning with Logic Programming J. J. Alferes and L. M. Pereira Springer LNAI, 1996 –Nonmonotonic Reasoning G. Antoniou MIT Press, 1996.

Logic for KRR Logic is a language conceived for representing knowledge It was developed for representing mathematical knowledge What is appropriate for mathematical knowledge might not be so for representing common sense

Mathematical knowledge vs common sense Complete vs incomplete knowledge –  x : x  N → x  R – go_Work → use_car Solid inferences vs default ones –In the face incomplete knowledge –In emergency situations –In taxonomies –In legal reasoning –...

Monotonicity of Logic Classical Logic is monotonic T |= F → T U T’ |= F This is a basic property which makes sense for mathematical knowledge But is not desirable for knowledge representation in general !

Non-monotonic logics Do not obey that property Default Logic –Introduces default rules Autoepistemic Logic –Introduces (modal) operators which speak about knowledge and beliefs Logic Programming

Default Logic Proposed by Ray Reiter (1980) go_Work → use_car Does not admit exceptions ! Default rules go_Work : use_car use_car

More examples anniversary(X)  friend(X) : give_gift(X) give_gift(X) friend(X,Y)  friend(Y,Z) : friend (X,Z) friend(X,Z) accused(X) : innocent(X) innocent(X)

Default Logic Syntaxe A theory is a pair (W,D), where: –W is a set of 1st order formulas –D is a set of default rules of the form:  :  1, …,  n  –  (pre-requisites),  i (justifications) and  (conclusion) are 1st order formulas

The issue of semantics If  is true (where?) and all  i are consistent (with what?) then  becomes true (becomes? Wasn’t it before?) Conclusions must: –be a closed set –contain W –apply the rules of D maximally, without becoming unsupported

Default extensions  (S) is the smallest set such that: –W   (S) –Th(  (S)) =  (S) –A:Bi/C  D, A   (S) and  Bi  S → C   (S) E is an extension of (W,D) iff E =  (E)

Quasi-inductive definition E is an extension iff E = U i E i for: –E0 = W –E i+1 = Th(E i ) U {C: A:B j /C  D, A  E i,  B j  E}

Some properties (W,D) has an inconsistent extension iff W is inconsistent –If an inconsistent extension exists, it is unique If W  Just  Conc is inconsistent, then there is only a single extension If E is an extension of (W,D), then it is also an extension of (W  E’,D) for any E’  E

Operational semantics The computation of an extension can be reduced to finding a rule application order (without repetitions).  = (  1,  2,...) and  [k] is the initial segment of  with k elements In(  ) = Th(W  {conc(  ) |    }) –The conclusions after rules in  are applied Out(  ) = {  |   just(  ) and    } –The formulas which may not become true, after application of rules in 

Operational semantics (cont’d)  is applicable in  iff pre(  )  In(  ) and   In(  )  is a process iff   k  ,  k is applicable in  [k-1] A process  is: –successful iff In(  ) ∩ Out(  ) = {}. Otherwise it is failed. –closed iff    D applicable in  →    Theorem: E is an extension iff there exists , successful and closed, such that In(  ) = E

Computing extensions (Antoniou page 39) extension(W,D,E) :- process(D,[],W,[],_,E,_). process(D,Pcur,InCur,OutCur,P,In,Out) :- getNewDefault(default(A,B,C),D,Pcur), prove(InCur,[A]), not prove(InCur,[~B]), process(D,[default(A,B,C)|Pcur],[C|InCur],[~B|OutCur],P,In,Out). process(D,P,In,Out,P,In,Out) :- closed(D,P,In), successful(In,Out). closed(D,P,In) :- not (getNewDefault(default(A,B,C),D,P), prove(In,[A]), not prove(In,[~B]) ). successful(In,Out) :- not ( member(B,Out), member(B,In) ). getNewDefault(Def,D,P) :- member(Def,D), not member(Def,P).

Normal theories Every rule has its justification identical to its conclusion Normal theories always have extensions If D grows, then the extensions grow (semi- monotonicity) They are not good for everything: –John is a recent graduate –Normally recent graduates are adult –Normally adults, not recently graduated, have a job (this cannot be coded with a normal rule!)

Problems No guarantee of extension existence Deficiencies in reasoning by cases –D = {italian:wine/wine french:wine/wine} –W ={italian v french} No guarantee of consistency among justifications. –D = {:usable(X),  broken(X)/usable(X)} –W ={broken(right) v broken(left)} Non cummulativity –D = {:p/p, pvq:  p/  p} –derives p v q, but after adding p v q no longer does so