Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture 19 of 42 Knowledge Representation.

Slides:



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

Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
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.
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
Computing & Information Sciences Kansas State University Lecture 18 of 42 CIS 530 / 730 Artificial Intelligence Lecture 18 of 42 Knowledge Representation.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
Midterm Review CMSC421 – Fall CH1 Summary: Intro AI Definitions: dimensions human/rational think/act Three Major Components of AI Algorithms Representation.
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Carla P. Gomes Exam-Info.
Inference and Resolution for Problem Solving
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
Methods of Proof Chapter 7, second half.
Some Thoughts to Consider 6 What is the difference between Artificial Intelligence and Computer Science? What is the difference between Artificial Intelligence.
Computing & Information Sciences Kansas State University Lecture 10 of 42 CIS 530 / 730 Artificial Intelligence Lecture 10 of 42 William H. Hsu Department.
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 Lecture 9 of 42 CIS 530 / 730 Artificial Intelligence Lecture 9 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 16 Monday, 29 September.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Computing & Information Sciences Kansas State University Wednesday, 22 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 22 of 42 Wednesday, 22 October.
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 22 of 42 CIS 530 / 730 Artificial Intelligence Lecture 22 of 42 Planning: Sensorless and.
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 Lecture 21 of 42 CIS 530 / 730 Artificial Intelligence Lecture 21 of 42 Planning: Graph Planning.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.
Computing & Information Sciences Kansas State University Lecture 8 of 42 CIS 530 / 730 Artificial Intelligence Lecture 8 of 42 William H. Hsu Department.
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
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.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
Computing & Information Sciences Kansas State University Wednesday, 30 Aug 2006CIS 490 / 730: Artificial Intelligence Lecture 4 of 42 Wednesday, 30 August.
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.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 42 Wednesday, 14.
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 23 Friday, 17 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
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.
Computing & Information Sciences Kansas State University Monday, 11 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 8 of 42 Monday, 11 September.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
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.
Knowledge Repn. & Reasoning Lec. #5: First-Order Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Computing & Information Sciences Kansas State University Wednesday, 13 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 10 of 42 Wednesday, 13 September.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
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.
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.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
Logical Inference: Through Proof to Truth
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 20
Presentation transcript:

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture 19 of 42 Knowledge Representation and Midterm Review Discussion: Search, Inference, Planning William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: Course web site: Instructor home page: Reading for Next Class: Review Chapters 1 – 10, Russell & Norvig 2 nd edition Protégé-OWL tutorial:

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture Outline Reading for Next Class: Review Chapters , R&N 2 e Last Class: Event and Fluent Calculi, CIKM  Representing time, events: from situation calculus to event, fluent calculi  Knowledge acquisition (KA) and capture  Computational information and knowledge management (CIKM) Today: Midterm Review  Section I: Intelligent Agents  Section II: Search  Section III: Knowledge and Reasoning Coming Week: Intro to Classical Planning

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence © 2003 S. Russell & P. Norvig. Reused with permission. Problem-Solving Agents: Review

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Based on slide © 2003 S. Russell & P. Norvig. Reused with permission. State Space Graph: Review

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Arad =0+366 Sibiu 329 Timisoara 374 Zerind 176 Arad 366 FagarasOradea 380 Rîmnicu Vîlcea 366 Sibiu 253 Bucharest 0 Sibiu Arad Bucharest Fagaras CLOSED ListOPEN List Arad 366 AradSibiu 253 Zerind 374 Timisoara 329 A 366 O 380 Fagaras 176 RV 366 S 253 Bucharest 0 BucharestAradSibiuFagaras AradSibiuFagaras AradSibiu   {} T 329 Z 374 A 366 O 380 RV 366 T 329 Z 374 Path found: (Arad Sibiu Fagaras Bucharest) 450 Sibiu 253 Arad 366 Fagaras 176 Bucharest 0 Adapted from slides © 2003 S. Russell & P. Norvig. Reused with permission. Greedy Search: Review

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Algorithm A/A*: Review © 2003 S. Russell & P. Norvig. Reused with permission. Path found: (Arad Sibiu Rîmnicu Vîlcea Pitesti Bucharest) 416 Nodes found/scheduled (opened): {A, S, T, Z, F, O, RV, S, B, C, P} Nodes visited (closed): {A, S, F, RV, P, B}

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Constraint Satisfaction Problems: Review © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence ≥ MAX MIN MAX 128 ≤ ≤ 14 2 ≤52 Figure 6.5 p. 168 R&N 2 e ,  here? What are ,  values here? Minimax & Alpha-Beta ( α-β ) Pruning: Review Adapted from slides © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence © 2004 S. Russell & P. Norvig. Reused with permission. Inference: Review

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Logics in General: Review Adapted from slide © 2004 S. Russell & P. Norvig. Reused with permission. Ontological commitment – what entities, relationships, and facts exist in world and can be reasoned about Epistemic commitment – what agents can know about the world

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Clausal Form (CNF) Conversion: Review Implications Out (Replace with Disjunctive Clauses) Negations Inward (DeMorgan’s Theorem) Standardize Variables Apart (Eliminate Duplicate Names) Existentials Out (Skolemize) Universals Made Implicit Distribute And Over Or (i.e., Disjunctions Inward) Operators Made Implicit (Convert to List of Lists of Literals) Rename Variables (Independent Clauses) A Memonic for Star Trek: The Next Generation Fans Captain Picard: I’ll Notify Spock’s Eminent Underground Dissidents On Romulus I’ll Notify Sarek’s Eminent Underground Descendant On Romulus Adapted from: Nilsson and Genesereth (1987). Logical Foundations of Artificial Intelligence.

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Unit Preference  Idea: Prefer inferences that produce shorter sentences  Compare: Occam’s Razor  How? Prefer unit clause (single-literal) resolvents (α  β with  β  α)  Reason: trying to produce a short sentence (   True  False) Input Resolution  Idea: “diagonal” proof (proof “list” instead of proof tree)  Every resolution combines some input sentence with some other sentence  Input sentence: in original KB or query Resolution Strategies [1]: Review Unit resolution Input resolutions

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Linear Resolution  Generalization of input resolution  Include any ancestor in proof tree to be used Set of Support (SoS)  Idea: try to eliminate some potential resolutions  Prevention as opposed to cure  How?  Maintain set SoS of resolution results  Always take one resolvent from it  Caveat: need right choice for SoS to ensure completeness Resolution Strategies [2]: Review Linear resolutions

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Universe of Decision Problems Recursive Enumerable Languages (RE) Recursive Languages (REC) Logic and Decision Problems: Review Co-RE (RE C ) L H : Halting problem L D : Diagonal problem Semi-decidable duals: α  L VALID iff ¬α  L SAT C Undecidable duals α  L VALID C iff ¬α  L SAT α ⊢ RES  ? α Y ✓✗ N

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence “Concept” and “Class” are used synonymously Class: concept in the domain  wines  wineries  red wines Collection of elements with similar properties Instances of classes  Particular glass of California wine Adapted from slides © 2005 N. Noy & S. Tu Stanford Center for Biomedical Informatics Research Concepts/Classes: Review Middle level Top level Bottom level

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Slots in class definition C  Describe attributes of instances of C  Describe relationships to other instances  e.g., each wine will have color, sugar content, producer, etc. Property constraints (facets): describe/limit possible values for slot Adapted from slides © 2005 N. Noy & S. Tu Stanford Center for Biomedical Informatics Research Slots/Attributes/Relations: Review Slots & facets for Concept/Class Wine

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence A knowledge engineer attempts to understand how a subject matter expert reasons and solves problems and then encodes the acquired expertise into the agent's knowledge base. The expert analyzes the solutions generated by the agent (and often the knowledge base itself) to identify errors, and the knowledge engineer corrects the knowledge base. © 2001 G. Tecuci, George Mason University CS 785 Knowledge Acquisition and Problem-Solvinghttp://lalab.gmu.edu/cs785/ How Agents Are Built: Review

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence (based primarily on Gammack, 1987) 1.Concept elicitation: methods (elicit concepts of domain, i.e. agreed-upon vocabulary) 2.Structure elicitation: card-sort method (elicit some structure for concepts) 3.Structure representation (formally represent structure in semantic network) 4.Transformation of representation (transform representation to be used for some desired purpose) © 2001 G. Tecuci, George Mason University CS 785 Knowledge Acquisition and Problem-Solvinghttp://lalab.gmu.edu/cs785/ Elicitation Methodology: Review

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Hierarchy and Taxonomy: Review © 2005 M. Hauskrecht, Univ. of PittsburghCS 2740 Knowledge Representation

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Inheritance: Review © 2005 M. Hauskrecht, Univ. of PittsburghCS 2740 Knowledge Representation

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Adapted from material © 2003 – 2004 S. Russell & P. Norvig. Situation calculus Figure 10.2 p. 329 R&N 2 e Actions, Situations, Time & Events: Review Axioms: Truth of Predicate P  Fully specify situations where P true   biconditional ( , iff) Original Predicates  Describe state of world  Each augmented with situation argument s

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Looking Ahead: Planning & Blocks World

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Terminology Intelligent Agents  Chapter 1: Overview  Chapter 2: Definition of IAs  Types: Reflex, Reflex with State, Goal-Based, Preference-Based Search  Chapter 3: blind search  Chapter 4: informed search, heuristics, Best-First & variants  Chapter 5: constraints  Chapter 6: game tree search Section III: Knowledge Representation and Reasoning  Chapter 7: propositional logic  Chapter 8: first-order logic  Chapter 9: inference in FOL (resolution)  Chapter 10: knowledge representation

Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Summary Points Section I: Intelligent Agents, Chapters 1 – 2  Chapter 1: Overview  Chapter 2: Definition of IAs  Types: Reflex, Reflex with State, Goal-Based, Preference-Based Section II: Search, Chapters 3 – 6  Chapter 3: blind search  Chapter 4: informed search, heuristics, Best-First & variants  Chapter 5: constraints  Chapter 6: game tree search Section III: Knowledge Representation and Reasoning  Chapter 7: propositional logic  Chapter 8: first-order logic  Chapter 9: inference in FOL (resolution)  Chapter 10: knowledge representation