CS 4700: Foundations of Artificial Intelligence

Slides:



Advertisements
Similar presentations
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Advertisements

Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
Propositional Logic Reading: C , C Logic: Outline Propositional Logic Inference in Propositional Logic First-order logic.
Logic CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Logic.
Artificial Intelligence Knowledge-based Agents Russell and Norvig, Ch. 6, 7.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
CS 561, Sessions Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms.
CS 460, Sessions Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Knowledge Representation I (Propositional Logic) CSE 473.
Knowledge in intelligent systems So far, we’ve used relatively specialized, naïve agents. How can we build agents that incorporate knowledge and a memory?
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Carla P. Gomes Module: Intro to Logic (Reading R&N: Chapter.
Knoweldge Representation & Reasoning
Logical Agents Chapter 7 Feb 26, Knowledge and Reasoning Knowledge of action outcome enables problem solving –a reflex agent can only find way from.
ITCS 3153 Artificial Intelligence Lecture 10 Logical Agents Chapter 7 Lecture 10 Logical Agents Chapter 7.
Agents that Reason Logically Logical agents have knowledge base, from which they draw conclusions TELL: provide new facts to agent ASK: decide on appropriate.
Logical Agents Chapter 7 (based on slides from Stuart Russell and Hwee Tou Ng)
February 20, 2006AI: Chapter 7: Logical Agents1 Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent.
Knowledge Representation Use of logic. Artificial agents need Knowledge and reasoning power Can combine GK with current percepts Build up KB incrementally.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Logical Agents Chapter 7. Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence,
An Introduction to Artificial Intelligence – CE Chapter 7- Logical Agents Ramin Halavati
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
1 Logical Agents Chapter 7. 2 A simple knowledge-based agent The agent must be able to: –Represent states, actions, etc. –Incorporate new percepts –Update.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
1 UNIT-3 KNOWLEDGE REPRESENTATION. 2 Agents that reason logically(Logical agents) A Knowledge based Agent The Wumpus world environment Representation,
Logical Agents Chapter 7 Part I. 2 Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic.
Artificial Intelligence Logical Agents Chapter 7.
Logical Agents Chapter 7. Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence,
Logical Agents. Inference : Example 1 How many variables? 3 variables A,B,C How many models? 2 3 = 8 models.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
EA C461 Artificial Intelligence
Chapter 7. Propositional and Predicate Logic
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
CS 4700: Foundations of Artificial Intelligence
Knowledge Representation and Reasoning
Knowledge and reasoning – second part
CS 4700: Foundations of Artificial Intelligence
EA C461 – Artificial Intelligence Logical Agent
Artificial Intelli-gence 1: logic agents
CS 4700: Foundations of Artificial Intelligence
Logical Agents Chapter 7 Selected and slightly modified slides from
Logical Agents Chapter 7.
Artificial Intelligence
Artificial Intelligence: Logic agents
CS 416 Artificial Intelligence
Knowledge and reasoning – second part
Back to “Serious” Topics…
Logical Agents Chapter 7.
CPSC 433 : Artificial Intelligence Tutorials T01 & T02
Chapter 7. Propositional and Predicate Logic
CS 416 Artificial Intelligence
Knowledge Representation I (Propositional Logic)
CSNB234 ARTIFICIAL INTELLIGENCE
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Logical Agents Prof. Dr. Widodo Budiharto 2018
Presentation transcript:

CS 4700: Foundations of Artificial Intelligence Bart Selman selman@cs.cornell.edu Module: Knowledge, Reasoning, and Planning Logical Agents Model Theoretic Semantics Entailment and Proof Theory R&N: Chapter 7

Logical agents: Agents with some representation of the complex knowledge about the world / its environment, and uses inference to derive new information from that knowledge combined with new inputs (e.g. via perception). Key issues: 1- Representation of knowledge What form? Meaning / semantics? 2- Reasoning and inference processes Efficiency.

Knowledge-base Agents Key issues: Representation of knowledge  knowledge base Reasoning processes  inference/reasoning Knowledge base = set of sentences in a formal language representing facts about the world (*) (*) called Knowledge Representation (KR) language

Knowledge bases Key aspects: How to add sentences to the knowledge base How to query the knowledge base Both tasks may involve inference – i.e. how to derive new sentences from old sentences Logical agents – inference must obey the fundamental requirement that when one asks a question to the knowledge base, the answer should follow from what has been told to the knowledge base previously. (In other words the inference process should not “make things” up…)

A simple knowledge-based agent The agent must be able to: Represent states, actions, etc. Incorporate new percepts Update internal representations of the world Deduce hidden properties of the world Deduce appropriate actions

KR language candidate: logical language (propositional / first-order) combined with a logical inference mechanism How close to human thought? (mental-models / Johnson-Laird). What is “the language of thought”? Why not use natural language (e.g. English)? Greeks / Boole / Frege --- Rational thought: Logic? We want clear syntax & semantics (well-defined meaning), and, mechanism to infer new information. Soln.: Use a formal language.

Consider: to-the-right-of(x,y)

The “symbol grounding problem.”

Semantics (as before) True!

Compositional semantics Logical validity / tautology. Compositional semantics

Note: KB defines exactly the set of worlds we are interested in. I.e., our current knowledge about the world. “KB entails \alpha” I.e.: Models(KB) Models( )

Observation about “language” Possibly the key property of a language (both formal and natural) is that relatively short statements can capture exponentially large sets of possible situations (“worlds”). This allows intelligent entities to communicate and think about the exponential set of possible future world trajectories and exponential sets of possible world states when we only have partial information.

Example soon.

Note: (1) This was Aristotle’s original goal --- Construct infallible arguments based purely on the form of statements --- not on the “meaning” of individual propositions. (2) Sets of models can be exponential size or worse, compared to symbolic inference (deduction). I.e., we manipulate short descriptions of exponential size sets.

Modus Ponens

Modus Ponens

(

Addendum Standard syntax and semantics for propositional logic. (CS-2800; see 7.4.1 and 7.4.2.) Syntax:

Semantics Note: Truth value of a sentence is built from its parts “compositional semantics”

Logical equivalences (*) (*) key to go to clausal (Conjunctive Normal Form) Implication for “humans”; clauses for machines. de Morgan laws also very useful in going to clausal form.