13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based...
-
Upload
holly-skinner -
Category
Documents
-
view
217 -
download
5
Transcript of 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based...
![Page 1: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/1.jpg)
13: Inference Techniques
Reasoning with AIForward and BackwardInference TreeFramesModel-BasedCase-BasedExplanation, MetaknowledgeUncertainty
![Page 2: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/2.jpg)
Reasoning in Artificial Intelligence
Knowledge must be processed (reasoned with)
Computer program accesses knowledge for inferencing
Inference engine
Rule interpreter (in rule-based systems)
Directs search through the knowledge base
![Page 3: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/3.jpg)
Reasoning …….Intuition
Formal methods (logical deduction)Heuristic reasoning (IF-THEN rules)Focus--common sense related toward more or less specific goalsDivide and conquerParallelismRepresentationAnalogySynergySerendipity (Luck)
![Page 4: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/4.jpg)
Reasoning Methods
Deductive Reasoning
Inductive Reasoning
Analogical Reasoning
Formal Reasoning
Procedural (Numeric) Reasoning
Metalevel Reasoning
![Page 5: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/5.jpg)
Reasoning with Logic
Modus Ponens If A, then B [A AND (A B)] B A and (A B) are propositions in a knowledge base
Modus Tollens: when B is known to be false
Resolution: combines substitution, modus ponens, and other logical syllogisms
![Page 6: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/6.jpg)
Forward Chaining Data driven
Flying from Denver to Tokyo Flights leaving Denver – Destinations
Are any destinations Tokyo? If not, from those non Tokyo dests,
what flights leave? Which of those go to Tokyo?
……
![Page 7: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/7.jpg)
Turban Chapter 13 Inference Techniquesing with Rules: Forward and Backward Chaining
Rule: IF A (is true) THEN B (is the case)
IF = PremiseTHEN = Assertion (or conclusion)
Pattern Matching: Is A true? Has it even been set?If not, how is it set?
![Page 8: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/8.jpg)
Backward Chaining Goal Driven
Flying to Tokyo from Denver What flights arrive in Tokyo
Do any originate in Denver If not, for each origination, what flights end
there? And where do they originate (Do any
originate in Denver)….
![Page 9: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/9.jpg)
Chaining – rule linking
Forward Chaining We have a situation
Search rules for premises that match situation Forward chain with conclusion(s) as
premise(s)
Backward We know the condition or goal
Rules with conclusions that match goal What other rules have conclusions that match
those rules’ premises?
![Page 10: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/10.jpg)
The Inference Tree
Schematic view of the inference process
Similar to a decision tree (Figure 13.3)
Inferencing: tree traversal
Advantage: Guide for the Why and How Explanations
![Page 11: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/11.jpg)
Inferencing with Frames
Much more complicated than reasoning with rules
Slot provides for expectation-driven processing
Empty slots can be filled with data that confirm expectations
Look for confirmation of expectations
Often involves filling in slot values
Can use rules in frames
Hierarchical reasoning
Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson6th ed, Copyright 2001, Prentice Hall, Upper Saddle River, NJ
![Page 12: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/12.jpg)
Model-based Reasoning Based on knowledge of structure and behavior of the devices the system is designed to understand
Especially useful in diagnosing difficult equipment problems
Can overcome some of the difficulties of rule-based ES
Systems include a (deep-knowledge) model of the device to be diagnosed that is then used to identify the cause(s) of the equipment's failure
Reasons from "first principles" (common sense)
Often combined with other representation and inferencing methods
Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson6th ed, Copyright 2001, Prentice Hall, Upper Saddle River, NJ
![Page 13: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/13.jpg)
Model-based Reasoning 2
Model-based ES tend to be "transportable”
Simulates the structure and function of the machinery being diagnosed
Models can be either mathematical or component
Necessary condition is the creation of a complete and accurate model of the system under study
Especially useful in real-time systems
![Page 14: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/14.jpg)
Case-based Reasoning Process
History without theorySituation -> actionScripts Situation Features (indexes)
![Page 15: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/15.jpg)
Case-based Reasoning Process(Figure 13.4)
Assign IndexesRetrieveModifyTestAssign and StoreExplain, Repair and Test Types of Knowledge Structures (Ovals)
Indexing Rules Case Memory Similarity Metrics Modification Rules Repair Rules
![Page 16: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/16.jpg)
When to use CBR
Weak causal modelUndefined aspects or termsContradictory rules
![Page 17: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/17.jpg)
Explanation and Metaknowledge
Explanation Human experts justify and explain their actions ES should also do so Explanation: attempt by an ES to clarify reasoning,
recommendations, other actions (asking a question) Explanation facility (justifier)
![Page 18: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/18.jpg)
Rule Tracing Technique
“Why” Provides a Chain of Reasoning
Good Explanation Facility is critical in large ES
Understanding depends on explanation
Explanation is essential in ES
Used for training
![Page 19: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/19.jpg)
Two Basic Explanations
Why Explanations - Why is a fact requested?
How Explanations - To determine how a certain conclusion or recommendation was reached. Some simple systems - only at the final conclusion Most complex systems provide the chain of rules
used to reach the conclusion
Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson6th ed, Copyright 2001, Prentice Hall, Upper Saddle River, NJ
![Page 20: 13: Inference Techniques Reasoning with AI Forward and Backward Inference Tree Frames Model-Based Case-Based Explanation, Metaknowledge Uncertainty.](https://reader035.fdocuments.us/reader035/viewer/2022072013/56649e665503460f94b61218/html5/thumbnails/20.jpg)
Uncertainty
Next week…