UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.5 [P]: Propositions and Inference Sections.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Logic Programming Automated Reasoning in practice.
1 Inductive Equivalence of Logic Programs Chiaki Sakama Wakayama University Katsumi Inoue National Institute of Informatics ILP
Logic CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
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 :
Everything You Need to Know (since the midterm). Diagnosis Abductive diagnosis: a minimal set of (positive and negative) assumptions that entails the.
Topic 6: Introduction to Hypothesis Testing
CPSC 322 Introduction to Artificial Intelligence September 15, 2004.
CPSC 322, Lecture 21Slide 1 Bottom Up: Soundness and Completeness Computer Science cpsc322, Lecture 21 (Textbook Chpt 5.2) February, 27, 2009.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.6 [P]: Reasoning Under Uncertainty Section.
CPSC 322 Introduction to Artificial Intelligence September 13, 2004.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Consistency-Based vs. Explanation- Based (Abduction) Diagnosis Andrew Smith.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Controlling Backtracking Notes for Ch.5 of Bratko For CSCE 580 Sp03 Marco Valtorta.
CPSC 322 Introduction to Artificial Intelligence September 20, 2004.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 531 Artificial Intelligence Ch.1 [P]: Artificial Intelligence and Agents.
1 5.0 Expert Systems Outline 5.1 Introduction 5.2 Rules for Knowledge Representation 5.3 Types of rules 5.4 Rule-based systems 5.5 Reasoning approaches.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.3 [P]: Searching Fall 2009 Marco Valtorta.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.6: Adversarial Search Fall 2008 Marco Valtorta.
Models -1 Scientists often describe what they do as constructing models. Understanding scientific reasoning requires understanding something about models.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.12 [P]: Individuals and Relations Proofs.
CSCE 580 Artificial Intelligence Ch.2: Intelligent Agents
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering On-line Alert Systems for Production Plants A Conflict Based Approach.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Using Definite Knowledge Notes for Ch.3 of Poole et al. CSCE 580 Marco Valtorta.
Agenti Intelligenti Agenti Intelligenti Stefania Costantini Dip. Di Informatica, Univ. degli Studi di L’Aquila.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.6 [P]: Reasoning Under Uncertainty Sections.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering A Hole in Goal Trees Notes for: D.W. Loveland and M. Stickel. “A Hole in Goal.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
Intelligenza Artificiale Stefania Costantini Dip. Di Informatica, Univ. degli Studi di L’Aquila.
CSCE 580 Artificial Intelligence Ch.18: Learning from Observations
CPSC 322, Lecture 21Slide 1 Bottom Up: Soundness and Completeness Computer Science cpsc322, Lecture 21 (Textbook Chpt 5.2) March, 5, 2010.
1 Department of Computer Science and Engineering, University of South Carolina Issues for Discussion and Work Jan 2007  Choose meeting time.
Scientific Thinking - 1 A. It is not what the man of science believes that distinguishes him, but how and why he believes it. B. A hypothesis is scientific.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.7: Logical Agents Fall 2008 Marco Valtorta.
EXPERT SYSTEMS Part I.
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) March, 8, 2010.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Section 6.4.1: Probabilistic Inference and.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.2 [P]: Agent Architectures and Hierarchical.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.12 [P]: Individuals and Relations Datalog.
Artificial Intelligence Reasoning. Reasoning is the process of deriving logical conclusions from given facts. Durkin defines reasoning as ‘the process.
MGF 1107 Mathematics of Social Choice Part 1a – Introduction, Deductive and Inductive Reasoning.
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)
Applications of Propositional Logic
CSNB234 ARTIFICIAL INTELLIGENCE
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) Oct, 26, 2010.
Fall 98 Introduction to Artificial Intelligence LECTURE 7: Knowledge Representation and Logic Motivation Knowledge bases and inferences Logic as a representation.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 781 AILog for Ch.5 Spring 2011 Marco Valtorta
Expert System Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
Ch. 13 Ch. 131 jcmt CSE 3302 Programming Languages CSE3302 Programming Languages (notes?) Dr. Carter Tiernan.
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
Logic: Proof procedures, soundness and correctness CPSC 322 – Logic 2 Textbook §5.2 March 7, 2011.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Artificial Intelligence Knowledge Representation.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Chapter 5: Representing Knowledge
Chapter 10: Using Uncertain Knowledge
CSCE 580 Artificial Intelligence Ch
CSCE 580 Artificial Intelligence Ch
Chapter 11: Learning Introduction
CSCE 580 Artificial Intelligence Ch.3 [P]: Searching
Chapter 7: Beyond Definite Knowledge
Normality and Faults in Logic-Based Diagnosis
Probabilistic Horn abduction and Bayesian Networks
CSCE 390 Professional Issues in Computer Science and Engineering Ch
Knowledge Representation (Part I)
Bottom Up: Soundness and Completeness
Chapter 1: Computational Intelligence and Knowledge
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.5 [P]: Propositions and Inference Sections : Complete Knowledge Assumption, Abduction, and Causal Models Fall 2009 Marco Valtorta

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Acknowledgment The slides are based on [AIMA] and other sources, including other fine textbooks David Poole, Alan Mackworth, and Randy Goebel. Computational Intelligence: A Logical Approach. Oxford, 1998 –A second edition (by Poole and Mackworth) is under development. Dr. Poole allowed us to use a draft of it in this course Ivan Bratko. Prolog Programming for Artificial Intelligence, Third Edition. Addison-Wesley, 2001 –The fourth edition is under development George F. Luger. Artificial Intelligence: Structures and Strategies for Complex Problem Solving, Sixth Edition. Addison-Welsey, 2009

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Example of Clark’s Completion

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Negation as Failure

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Non-monotonic Reasoning

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Example of Non-monotonic Reasoning

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Bottom-up Negation as Failure Inference Procedure

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Top-down Negation as Failure Inference Procedure

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Top-down Negation as Failure Inference Procedure (updated on )

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Abduction Abduction is a form of reasoning where assumptions are made to explain observations. –For example, if an agent were to observe that some light was not working, it can hypothesize what is happening in the world to explain why the light was not working. –An intelligent tutoring system could try to explain why a student is giving some answer in terms of what the student understands and does not understand. –The term abduction was coined by Peirce (1839–1914) to differentiate this type of reasoning from deduction, which is determining what logically follows from a set of axioms, and induction, which is inferring general relationships from examples.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Abduction with Horn Clauses and Assumables

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Abduction Example

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Another Abduction Example: a Causal Model A causal network

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Consistency-based vs. Abductive Diagnosis Determining what is going on inside a system based on observations about the behavior is the problem of diagnosis or recognition. In abductive diagnosis, the agent hypothesizes diseases and malfunctions, as well as that some parts are working normally, in order to explain the observed symptoms. This differs from consistency-based diagnosis (page 187) in that the designer models faulty behavior as well as normal behavior, and the observations are explained rather than added to the knowledge base. Abductive diagnosis requires more detailed modeling and gives more detailed diagnoses, as the knowledge base has to be able to actually prove the observations. It also allows an agent to diagnose systems where there is no normal behavior. For example, in an intelligent tutoring system, observing what a student does, the tutoring system can hypothesize what the student understands and does not understand, which can the guide the action of the tutoring system.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Example of Abductive Diagnosis In abductive diagnosis, we need to axiomatize what follows from faults as well as from normality assumptions. For each atom that could be observed, we axiomatize how it could be produced. This could be seen in design terms as a way to make sure the light is on: put both switches up or both switches down, and ensure the switches all work. It could also be seen as a way to determine what is going on if the agent observed l1 is lit: one of these two scenarios must hold.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Inference Procedures for Abduction The bottom-up and top-down implementations for assumption- based reasoning with Horn clauses (page 190) can both be used for abduction. The bottom-up implementation of Figure 5.9 (page 190) computes, in C, the minimal explanations for each atom. Instead of returning {A: in C}, return the set of assumptions for each atom. The pruning of supersets of assumptions discussed in the text can also be used. The top-down implementation can be used to find the explanations of any g by generating the conflicts, and, using the same code and knowledge base, proving g instead of false. The minimal explanations of g are the minimal sets of assumables collected to prove g that are not subsets of conflicts.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Inference Procedures for Abduction, ctd. Bottom upTop down

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Causal Models There are many decisions the designer of an agent needs to make when designing knowledge base for a domain. For example, consider two propositions a and b, both of which are true. There are many choices of how to write this. A designer could specify have both a and b as atomic clauses, treating both as primitive. A designer could have a as primitive and b as derived, stating a as an atomic clause and giving the rule b<-a. Alternatively, the designer could specify the atomic clause b and the rule a<-b, treating b as primitive and a as derived. These representations are logically equivalent; they cannot be distinguished logically. However, they have different effects when the knowledge base is changed. Suppose a was no longer true for some reason. In the first and third representations, b would still be true and in the second representation b would no longer true. A causal model is a representation of a domain that predicts the results of interventions. An intervention is an action that forces a variable to have a particular value.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Causal vs. Evidential Models In order to predict the effect of interventions, a causal model represents how the cause implies its effect. When the cause is changed, its effect should be changed. An evidential model represents a domain in the other direction,from effect to cause.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Another Causal Model Example

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Parts of a Causal Model

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Using a Causal Model