Artificial Intelligence Chapter 23 Multiple Agents Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Artificial Intelligence in the 21 st Century S. Lucci / D. Kopec Chapter 5: Logic in Artificial Intelligence 1.
Logic Puzzles and Modal Logic. Closure properties in modal logic.
Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Biointelligence Lab School of Computer Sci. & Eng.
Possible World Semantics for Modal Logic
Artificial Intelligence Chapter 21 The Situation Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9,10,11- Logic; Deduction Theorem 23/1/09 to 30/1/09.
Propositional Logic Reading: C , C Logic: Outline Propositional Logic Inference in Propositional Logic First-order logic.
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
Knowledge Representation I Suppose I tell you the following... The Duck-Bill Platypus and the Echidna are the only two mammals that lay eggs. Only birds.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
COMP 3009 Introduction to AI Dr Eleni Mangina
Dr. Muhammed Al-Mulhem 1ICS ICS 535 Design and Implementation of Programming Languages Part 1 Fundamentals (Chapter 4) Axiomatic Semantics ICS 535.
Artificial Intelligence Chapter 17 Knowledge-Based Systems Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
Logical and Rule-Based Reasoning Part I. Logical Models and Reasoning Big Question: Do people think logically?
Chapter 6: Objections to the Physical Symbol System Hypothesis.
Artificial Intelligence: Definition “... the branch of computer science that is concerned with the automation of intelligent behavior.” (Luger, 2009) “The.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Recognizing Activities of Daily Living from Sensor Data Henry Kautz Department of Computer Science University of Rochester.
Knowledge Representation Use of logic. Artificial agents need Knowledge and reasoning power Can combine GK with current percepts Build up KB incrementally.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
LECTURE LECTURE Propositional Logic Syntax 1 Source: MIT OpenCourseWare.
Modal Logic CS 621 Seminar Group no.: 10 Kiran Sawant ( ) Joe Cheri Ross ( ) Sudha Bhingardive ( )
CS6133 Software Specification and Verification
Reasoning about Knowledge 1 INF02511: Knowledge Engineering Reasoning about Knowledge (a very short introduction) Iyad Rahwan.
Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics.
Artificial Intelligence Chapter 10 Planning, Acting, and Learning Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Chapter 15 The Predicate Calculus Artificial Intelligence Chapter 15 The Predicate Calculus Biointelligence Lab School of Computer.
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
Reasoning with Propositional Logic automated processing of a simple knowledge base CD.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
1 UNIT-3 KNOWLEDGE REPRESENTATION. 2 Agents that reason logically(Logical agents) A Knowledge based Agent The Wumpus world environment Representation,
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
Knowledge Representation and Reasoning
Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Knowledge Representation.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
Knowledge Representation and Reasoning
Knowledge and reasoning – second part
The Propositional Calculus
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence Chapter 15. The Predicate Calculus
Artificial Intelligence Chapter 23. Multiple Agents
Knowledge and reasoning – second part
Back to “Serious” Topics…
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence Chapter 17. Knowledge-Based Systems
Artificial Intelligence Chapter 10 Planning, Acting, and Learning
Artificial Intelligence Chapter 21. The Situation Calculus
CSNB234 ARTIFICIAL INTELLIGENCE
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Artificial Intelligence Chapter 10 Planning, Acting, and Learning
Artificial Intelligence 2004 Non-Classical Logics
Logical and Rule-Based Reasoning Part I
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

Artificial Intelligence Chapter 23 Multiple Agents Biointelligence Lab School of Computer Sci. & Eng. Seoul National University

(C) SNU CSE Biointelligence Lab2 Outline Interacting Agents Models of Other Agents A Modal Logic of Knowledge Additional Readings and Discussion

(C) SNU CSE Biointelligence Lab Interacting Agents Agents’ objectives  To predict what another agent will do :  Need methods to model another  To affect what another agent will do :  Need methods to communicate with another Focus  Distributed artificial intelligence (DAI)

(C) SNU CSE Biointelligence Lab Models of Other Agents Varieties of models  Need of model : to predict the behavior of other agents and processes  Model focused : high level model ( e.g. T-R model)  The model and its apparatus for using that model to select actions : cognitive structure  Cognitive structure often includes an agent’s goals and intentions  Our focus of cognitive structure : its model of its environment and of the cognitive structures of others agents

(C) SNU CSE Biointelligence Lab Models of Other Agents (Cont’d)  Model strategies  Iconic based –Attempts to simulate relevant aspects of the environment  Feature based –Attempts to describe the environment

(C) SNU CSE Biointelligence Lab Models of Other Agents (Cont’d) Simulation Strategies  Often useful but suffer from the difficulty representing ignorance or uncertainty Simulation Databases  Build a hypothetical DB of formulas presumed to be the same formulas that our agent thinks actually populate that other agent’s world model  It has the same deficiencies as iconic models  Uncertainty : whether our agent has a formula or other agent has the formula

(C) SNU CSE Biointelligence Lab Models of Other Agents (Cont’d) The Intentional Stance  Capable of describing another agent’s knowledge and beliefs about the world  Describing another agent’s knowledge and beliefs : taking intentional stance  3 possibilities for constructing intentional-stance  1. Reify the other agent’s beliefs [McCarthy 1979] : Bel( On(A,B) )  2. Our agent assume that the other agent actually represents its beliefs about the world by predicate-calculus formulas in its DB –: Bel( Sam, On(A,B) )  3. Use modal operators

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge Modal Operators  Modal operator  to construct a formula whose intended meaning is that a certain agent knows a certain proposition  e.g) K( Sam, On(A,B) )  K(α,φ) or K α (φ)  knowledge and belief  Whereas an agent can believe a false proposition, it cannot know anything that is false.  logic of knowledge is simpler than logic of belief

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d) Modal first-order language  using the operator K  syntax 1. All of the wffs of ordinary first-order predicate calculus are also wwf of the modal language 2. If φ is a closed wff of the modal language, and if α is a ground term, then K(α, φ) is a wff of the modal language. 3. As usual, if φ and ψ are wffs, then so are any expressions that can be constructed from φ and ψ by the usual propositional connectives.

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d)  As examples, –K[Agent1, K[Agent2, On(A,B))] : Agent1 knows that Agent2 knows that A is on B. –K(Agent1, On(A,B))  K(Agnet1, On(A,C)) : Either Agent1 knows that A is on B or it knows that A is on C –K[Agent1, On(A,B)  On(A,C)] : Agent1 knows that either A is on B or that A is on C. –K(Agent1, On(A,B))  K(Agent1, ¬On(A,B)) : Agent1 knows whether or not A is on B. –¬K(Agent1, On(A,B)) : Agent1 doesn’t know that A is on B. –(  x)K(Agent1, On(x,B)) : illegal wwf

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d) Knowledge Axioms  ,  : compositional semantics  Semantics of K is not compositional. –truth value of K α [φ] is not depend on α and φ compositionally –φ  ψ, K α (φ)  K α (ψ) for all α : not necessary since α might not know that φ is equivalent to ψ.  axiom schemas  distribution axiom –[K α (φ)  K α (φ  ψ)]  K α (ψ) … (1) (  K α (φ  ψ)  [K α (φ)  K α (ψ)] … (2) )  knowledge axiom –K α (φ)  φ …(3) : An agent cannot possibly know something that is false.  positive-introspection axiom –K α (φ)  K α (K α (φ)) … (4)

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d)  negative-introspection axiom –K α (φ)  K α (¬K α (φ)) … (5)  epistemic necessitation –├ φ infer K α (φ) … (6)  logically omniscienct –φ ├ ψ and from K α (φ) infer K α (ψ) … (7) (  ├ (φ  ψ) infer K α (φ)  K α (ψ) … (8) –from logical omniscience, K(α, (φ  ψ))  K(α, φ)  K(α, ψ) … (9)

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d) Reasoning about Other Agents’ Knowledge  Our agent can carry out proofs of some statements about the knowledge of other agents using only the axioms of knowledge, epistemic necessitation, and its own reasoning ability (modus ponens, resolution).  e.g) Wise-Man puzzle –assumption : among three wise men, at least one has a white spot on his forehead. Each wise man can see the others’ foreheads but not his own. Two of them said, “I don’t know whether I have a white spot”. –proof of K(A, White(A)) (where, A is the third man.) 1. K A [¬White(A)  K B (¬White(A))] (given) 2. K A [K B (¬White(A)  White(B))] (given) 3. K A (¬K B (White(B))) (given) 4. ¬White(A)  K B (¬White(A)) (1, and axiom 3) 5. K B [¬White(A)  White(B)) (2, and axiom 2)

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d) 6. K B (¬White(A))  K B (White(B)) (5. and axiom 2) 7. ¬White(A)  K B (White(B)) (resolution on the clause forms of 4. and 6.) 8. ¬K B (White(B))  White(A) (contrapositive of 7.) 9. K A [¬K B (White(B))  White(A)] (1.- 5., 8., rule 7) 10. K A (¬K B (White(B)))  K A (White(A)) (axiom 2) 11. K A (White(A)) (modus ponens using 3. and 10.)

(C) SNU CSE Biointelligence Lab A Modal Logic of Knowledge (Cont’d) Predicting Actions of Other Agents  in order to predict what another agent A1,  If A1 is not too complex, our agent may assume that A1’s action are controlled by a T-R program. Suppose the conditions in that program are  i, for i=1, …, k. To predict A1’s future actions, our agent needs to reason about how A1 will evaluate these conditions.  It is often appropriate for our agent to take an intentional stance toward A1 and attempt to establish whether or not K A1 (  i ) for i=1, …, k

(C) SNU CSE Biointelligence Lab16 Additional Readings and Discussion [Shoham 1993] : “agent-oriented programming” [Minsky 1986] : Society of Mind [Hintikka 1962] : modal logic of knowledge [Kripke 1963 : possible-worlds semantics for modal logics [Moore 1985b] : possible-worlds semantics within first-order logic [Levesque 1984b, Fagin & Halpern 1985, Konoliege 1986] [Cohen & Levesque 1990] : modal logic for the relationship between intention and commitment [Bond & Gasser 1988] : DAI paper collection