Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.

Slides:



Advertisements
Similar presentations
Inference Rules Universal Instantiation Existential Generalization
Advertisements

UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Logic.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
1 Applied Computer Science II Resolution in FOL Luc De Raedt.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Inference in FOL Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 9 Spring 2004.
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) March, 8, 2010.
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
INFERENCE IN FIRST-ORDER LOGIC IES 503 ARTIFICIAL INTELLIGENCE İPEK SÜĞÜT.
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) Oct, 26, 2010.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
Logical Agents Logic Propositional Logic Summary
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 21 of 41 Wednesday, 08.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 16 Monday, 29 September.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture 19 of 42 Knowledge Representation.
Computing & Information Sciences Kansas State University Friday, 29 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 16 of 42 Friday, 29 September.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Lecture 40 of 42 CIS 530 / 730 Artificial Intelligence Lecture 40 of 42 A Brief Survey of Computer.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Computing & Information Sciences Kansas State University Monday, 25 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 14 of 42 Monday, 25 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
1 Logical Inference Algorithms CS 171/271 (Chapter 7, continued) Some text and images in these slides were drawn from Russel & Norvig’s published material.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 15 of 41 Friday 24 September.
Computing & Information Sciences Kansas State University Lecture 15 of 42 CIS 530 / 730 Artificial Intelligence Lecture 15 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 18 of 41 Friday, 01 October.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 42 Monday, 08 December.
Computing & Information Sciences Kansas State University Wednesday, 19 Sep 2007CIS 530 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 19 September.
Computing & Information Sciences Kansas State University Monday, 23 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 25 of 42 Monday, 23 October.
Computing & Information Sciences Kansas State University Friday, 20 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 24 of 42 Friday, 20 October.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Lecture 9a: Resolution Strategies Heshaam Faili University of Tehran Restriction strategies for resolution Horn clauses.
Computing & Information Sciences Kansas State University Wednesday, 13 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 10 of 42 Wednesday, 13 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 24 of 41 Monday, 18 October.
Computing & Information Sciences Kansas State University CIS 530 / 730: Artificial Intelligence Lecture 09 of 42 Wednesday, 17 September 2008 William H.
Computing & Information Sciences Kansas State University Monday, 09 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 19 of 42 Monday, 09 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 42 Wednesday, 22.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Monday, 22 Sep 2008CIS 530 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 22 September.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Monday, 28 November 2005 William.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Computing & Information Sciences Kansas State University Friday, 03 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 16 of 42 Friday, 03 October.
EA C461 Artificial Intelligence
Resolution in the Propositional Calculus
Biointelligence Lab School of Computer Sci. & Eng.
Biointelligence Lab School of Computer Sci. & Eng.
Presentation transcript:

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October 2003 William H. Hsu Department of Computing and Information Sciences, KSU Reading: Chapter 10, Russell and Norvig (next 1.5 weeks) Handout, Nilsson and Genesereth Unification and FOL Review

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture Outline Today’s Reading –Chapter 9, Russell and Norvig (before midterm, Wed 20 Oct 2003) –Recommended references: Nilsson and Genesereth (excerpt of Chapter 5 online) Next Week’s Reading: Chapter 11, Russell and Norvig Previously: First-Order Logic –Theorem proving: forward and backward chaining –Resolution refutation (sound and complete proof procedure) Today: Logic Programming by Resolution and Unification –Resolution theorem proving –Specific implementation: Prolog –Implementing unification: some details Occurs check Complexity –Other “industrial-strength” KR and inference methods

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Offline Exercise: Read-and-Explain Pairs For Class Participation (MP3, PS4) With Your Term Project Partner or Assigned Partner(s) –Read your assigned sections (take notes if needed) Group A: R&N 2e Sections , p ; ; ; Group B: R&N 2e Sections p ; ; ; 10.7 –Skim your partner’s sections –Meet with your partner (by , ICQ, IRC, or in person) –Explain your section Key ideas – what’s important? Important technical points –Discuss unclear points and write them down! Optional: By Mon 20 Oct 2003 –Post Confirmation to ksu-cis730-fall_2003 Muddiest point: what is least clear in your understanding of your section? –Re-read your partner’s section as needed

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Review: Logic Programming (Prolog) Examples

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Review: Resolution Inference Rule

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Completeness of Resolution Any Set of Sentences S Is Representable in Clausal Form (Last Class) Assume S Is Unsatisfiable, and in Clasual Form (By Herbrand’s Theorem) Some Set S’ of Ground Instances is Unsatisfiable (By Ground Resolution Theorem) Resolution Derives  From S’ (By Lifting Lemma)  A Resolution Proof S n  Figure 9.8 p. 287 R&N

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence See: Section 9.7 Sidebar, p. 288 R&N Duals (Why?) Complexity Classes Understand: Reduction to L d, L H Decidability Revisited

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Unification Procedure [1]: General Idea Most General Unifier (Least-Commitment Substitution) See: Examples (p. 271 R&N, Nilsson and Genesereth) Adapted from slides by S. Russell, UC Berkeley

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Unification Procedure [2]: Algorithm Figure 10.3 p. 303 R&N

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Example [1]: Sentences in FOL

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Example [2]: Clausal Form (CNF)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Example [3]: Applying Resolution and Unification

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Logic Programming – Tricks of The Trade [1]: Dealing with Equality Problem –How to find appropriate inference rules for sentences with =? –Unification OK without it, but… –A = B doesn’t force P(A) and P(B) to unify Solutions –Demodulation Generate substitution from equality term Additional sequent rule: p. 284 R&N –Paramodulation More powerful Generate substitution from WFF containing equality constraint e.g., (x = y)  P(x) Sequent rule sketch: p. 284 R&N

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Logic Programming – Tricks of The Trade [2]: Resolution Strategies Unit Preference –Idea: Prefer inferences that produce shorter sentences (compare: Occam’s Razor) –How? Prefer unit clause (single-literal) resolvents –Reason: trying to produce a short sentence (   True  False) Set of Support –Idea: try to eliminate some potential resolutions (prevention as opposed to cure) –How? Maintain set SoS of resolution results and always take one resolvent from it –Caveat: need right choice for SoS to ensure completeness Input Resolution and Linear Resolution –Idea: “diagonal” proof (proof “list” instead of proof tree) –How? Every resolution combines some input sentence with some other sentence –Input sentence: in original KB or query –Generalize to linear resolution: include any ancestor in proof tree to be used Subsumption –Idea: eliminate sentences that sentences that are more specific than others –E.g., P(x) subsumes P(A)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Summary Points Previously: FOL, Forward and Backward Chaining, Resolution Today: More Resolution Theorem Proving, Prolog, and Unification –Review: resolution inference rule Single-resolvent form General form –Application to logic programming –Review: decidability properties FOL-SAT FOL-NOT-SAT (language of unsatisfiable sentences; complement of FOL-SAT) FOL-VALID FOL-NOT-VALID –Unification Next Week –Intro to classical planning –Inference as basis of planning

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Terminology Properties of Knowledge Bases (KBs) –Satisfiability and validity –Entailment and provability Properties of Proof Systems –Soundness and completeness –Decidability, semi-decidability, undecidability Resolution Refutation Satisfiability, Validity Unification –Occurs check –Most General Unifer Prolog: Tricks of The Trade –Demodulation, paramodulation –Unit resolution, set of support, input / linear resolution, subsumption –Indexing (table-based, tree-based)