CIS 730 (Introduction to Artificial Intelligence) Lecture 14 of 30 - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

CIS 730 (Introduction to Artificial Intelligence) Lecture 14 of 30

Description:

Kansas State University. Department of Computing and Information ... For Class Participation (MP3, PS4) With Your Term Project Partner or Assigned Partner(s) ... – PowerPoint PPT presentation

Number of Views:129
Avg rating:3.0/5.0
Slides: 17
Provided by: willia48
Category:

less

Transcript and Presenter's Notes

Title: CIS 730 (Introduction to Artificial Intelligence) Lecture 14 of 30


1
Lecture 23
Unification and FOL Review
Friday, 17 October 2003 William H.
Hsu Department of Computing and Information
Sciences, KSU http//www.kddresearch.org http//ww
w.cis.ksu.edu/bhsu Reading Chapter 10, Russell
and Norvig (next 1.5 weeks) Handout, Nilsson and
Genesereth
2
Lecture Outline
  • Todays Reading
  • Chapter 9, Russell and Norvig (before midterm,
    Wed 20 Oct 2003)
  • Recommended references Nilsson and Genesereth
    (excerpt of Chapter 5 online)
  • Next Weeks 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

3
Offline ExerciseRead-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 RN 2e Sections 9.1-9.3, p. 272-287
    9.6-9.7 10.1-10.2 10.5-6
  • Group B RN 2e Sections 9.4-9.5. p. 287-309
    9.6-9.7 10.3-10.4 10.7
  • Skim your partners sections
  • Meet with your partner (by e-mail, ICQ, IRC, or
    in person)
  • Explain your section
  • Key ideas whats 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 partners section as needed

4
ReviewLogic Programming (Prolog) Examples
Adapted from slides by S. Russell, UC Berkeley
5
ReviewResolution Inference Rule
Adapted from slides by S. Russell, UC Berkeley
6
Completeness of Resolution
  • Any Set of Sentences S Is Representable in
    Clausal Form (Last Class)
  • Assume S Is Unsatisfiable, and in Clasual Form
  • (By Herbrands 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 RN
7
Decidability Revisited
  • See Section 9.7 Sidebar, p. 288 RN
  • Duals (Why?)
  • Complexity Classes
  • Understand Reduction to Ld, LH

8
Unification Procedure 1General Idea
  • Most General Unifier (Least-Commitment
    Substitution)
  • See Examples (p. 271 RN, Nilsson and Genesereth)

Adapted from slides by S. Russell, UC Berkeley
9
Unification Procedure 2Algorithm
Figure 10.3 p. 303 RN
10
Example 1Sentences in FOL
11
Example 2Clausal Form (CNF)
12
Example 3Applying Resolution and Unification
13
Logic Programming Tricks of The Trade
1Dealing with Equality
  • Problem
  • How to find appropriate inference rules for
    sentences with ?
  • Unification OK without it, but
  • A B doesnt force P(A) and P(B) to unify
  • Solutions
  • Demodulation
  • Generate substitution from equality term
  • Additional sequent rule p. 284 RN
  • Paramodulation
  • More powerful
  • Generate substitution from WFF containing
    equality constraint
  • e.g., (x y) ? P(x)
  • Sequent rule sketch p. 284 RN

14
Logic Programming Tricks of The Trade
2Resolution Strategies
  • Unit Preference
  • Idea Prefer inferences that produce shorter
    sentences (compare Occams 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)

15
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

16
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)
Write a Comment
User Comments (0)
About PowerShow.com