SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
Knowledge-Based Systems
Chapter 17.
Page 2===
Outline
ïź Confronting the Real World
ïź Reasoning Using Horn Clauses
ïź Maintenance in Dynamic Knowledge Bases
ïź Rule-Based Expert Systems
ïź Rule Learning
Page 3===
17.1 Confronting the Real World
ïź Knowledge-based systems
–Programs that reason over extensive knowledge bases.
–Do the methods scale up sufficiently well for practical
applications?
ïź Three major theoretical problems of logical
reasoning systems
–Soundness
‱ To be confident that an inferred conclusion is true
–Completeness
‱ To be confident that inference will eventually produce any true
conclusion
–Tractability
‱ To be confident that inference is feasible
Page 4===
17.1 Confronting the Real World
ïźPredicate calculus
–Resolution refutation is sound and complete, but
semi-decidable.
‱ Semi-decidablility makes the predicate calculus inherently
intractable.
‱ Even on problems for which resolution refutation
terminates, the procedure is NP-hard.
‱ This fact has led many to despair of using formal, logical
methods for large-scale reasoning problems.
Page 5===
17.1 Confronting the Real World
ïźTo make reasoning more efficient
–We could use procedures that might occasionally
prove an untrue formula.
–We could use procedures that might not be
guaranteed to find proofs of true formulas.
–We could use a language that is less expressive
than the full predicate calculus.
‱ Reasoning is typically more efficient with Horn clauses.
Page 6===
17.2 Reasoning Using Horn Clauses
ïź Horn Clauses
–Clauses that have at most one positive literal.
–Rule:
‱ There is at least one negative literal and a single positive
literal.
‱ The literal ïŹh is called the head of the clause.
‱ The ordered list of literals, ïŹb1 ,„, ïŹbn, is called body.
–Fact:
‱ There may be no negative literals in the clause.
–Goal:
‱ There may be no positive literal in the clause.
–Horn clauses form the basis of the programming language
PROLOG.
nbbh ïŹïŹïŹ ,...,: 1

:hïŹ
nbb ïŹïŹ ,...,: 1

Page 7===
Inference over PROLOG Clauses (1/2)
ïź Resolution Operation
–A goal can resolve with a fact by unifying the fact with one
of the literals in the goal.
‱ The resolvent is a new goal consisting of a list of all of the
substitution instances of the other literals in the original
goal.
–A goal can resolve with a rule by unifying the head of the
rule with one of the literals in the goal.
‱ The resolvent is a new goal formed by appending the list of
substitution instances of all of the literals in the body of the
rule to the front of the list of substitution instances of all of
the other (nonresolved-upon) literals in the goal.
Page 8===
Inference over PROLOG Clauses (2/2)
ïźPROLOG programs
–The clauses are usually ordered in the following
way:
goal,
facts,
rules.
–Proof of a goal clause succeeds when the new goal
produced by a resolution is empty.
–Depth-first, backtracking search procedure
‱ A goal clause fails if the interpreter has tried all
resolutions for one of the goal literals and none results
in new goals that can be proved.
‱ The interpreter backtracks to the previous goal clause and
Page 9===
Example of an AND/OR Tree (1)
1. :- MOVES
2. BAT_OK :-
3. LIFTABLE :-
4. MOVES :- BAT_OK, LIFTABLE
–Body nodes are called AND
nodes because they must all
be proved.
–If there had been
alternative resolutions
possible, the search for a
proof tree could have
generated additional nodes,
called OR nodes.
Page 10===
Example of an AND/OR Tree (2)
1. :- Above(A,C)
2. On(A,B) :-
3. On(B,C) :-
4. Above(x,y) :- On(x,y)
5. Above(x,y) :- On(x,z), Above(z,y)
–Consistency requires
that the same term be
substituted for the
variable throughout the
proof tree.
Page 11===
Forward Chaining
ïźForward chaining system (e.g., OPS5)
–Reasoning proceeds forward, beginning with facts,
chaining through rules, and finally establishing
the goal.
‱ A rule is applicable if each of the literals in its
antecedent can be unified with a corresponding fact.
‱ When more than one rule is applicable, some sort of
external conflict resolution scheme is used to decide which
rule will be applied.
–Model of aspects of human cognitive processing
‱ Facts: working of short-term memory
‱ Rules: long-term memory
Page 12===
Maintenance in Dynamic Knowledge Bases
ïźKnowledge base of propositional calculus
atoms
–The atoms are called premisses instead of facts.
–The rules are not restricted to being Horn rules.
–A spreadline reasoning system
‱ Any cell that has a formula in it gets its value
immediately calculated from the values of components.
‱ If the values of any components of a formula happen to
change, the value of that formula is automatically changed.
Page 13===
Maintenance in Dynamic Knowledge Bases
ïźTruth maintenance systems (TMSs)
–Dynamic knowledge base: the spreadline is extended
to contain any number of premisses and rules.
‱ The formulas entered in the values of rule cells are called
justifications.
–The values of certain premiss cells can be omitted.
‱ When a cell has a value of 1 or 0, it is called IN;
otherwise, out.
‱ Allowing values of cells to be OUT permits an interesting
generalization of rule types (e.g, U if R is True and S is
Out).
Page 14===
–TMSs should be thought of as knowledge base maintenance systems
that perform automatic updates when the truth values of certain
atoms are changed.
‱ The use of IN’s and OUT’s permits an elementary sort of
“nonmonotonic” or defeasible inference not sanctioned by ordinary
reasoning systems.
–Cycles among the rules present some difficulties.
‱ One is mutual justification.
Maintenance in Dynamic Knowledge Bases
Page 15===
Maintenance in Dynamic Knowledge Bases
ïź Assumption-based truth maintenance systems (ATMSs)
–The spreadline is used in a backward direction.
–We start with a particular cell’s formula and ask which
premiss values will make the formula in that cell True.
‱ Other formulas called the background theory are considered together.
–Labels of the cells
‱ The values of the cells are taken to be formulas-expressed in DNF
form in terms of the premiss atoms.
–ATMSs can be used for a variety of purposes.
‱ One is to perform diagnosis.
Page 16===
Maintenance in Dynamic Knowledge Bases
–Conversion of a TMS to an ATMS

Mais conteĂșdo relacionado

Mais procurados

Unit 2(knowledge)
Unit 2(knowledge)Unit 2(knowledge)
Unit 2(knowledge)Ashish Nayak
 
Artificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionArtificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionThe Integral Worm
 
Basics of Machine Learning
Basics of Machine LearningBasics of Machine Learning
Basics of Machine Learningbutest
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceExperfy
 
Machine Learning Applications in NLP.ppt
Machine Learning Applications in NLP.pptMachine Learning Applications in NLP.ppt
Machine Learning Applications in NLP.pptbutest
 
Dealing with inconsistency
Dealing with inconsistencyDealing with inconsistency
Dealing with inconsistencyRajat Sharma
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.butest
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401butest
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.pptbutest
 
Learning in AI
Learning in AILearning in AI
Learning in AIMinakshi Atre
 
LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.pptbutest
 

Mais procurados (20)

Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
 
Unit 2(knowledge)
Unit 2(knowledge)Unit 2(knowledge)
Unit 2(knowledge)
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
Artificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionArtificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge Acquisition
 
Basics of Machine Learning
Basics of Machine LearningBasics of Machine Learning
Basics of Machine Learning
 
Chapter 5 (final)
Chapter 5 (final)Chapter 5 (final)
Chapter 5 (final)
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial Intelligence
 
Machine Learning Applications in NLP.ppt
Machine Learning Applications in NLP.pptMachine Learning Applications in NLP.ppt
Machine Learning Applications in NLP.ppt
 
Chaptr 7 (final)
Chaptr 7 (final)Chaptr 7 (final)
Chaptr 7 (final)
 
Truth management system
Truth  management systemTruth  management system
Truth management system
 
Dealing with inconsistency
Dealing with inconsistencyDealing with inconsistency
Dealing with inconsistency
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
 
Learning
LearningLearning
Learning
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401
 
Chapter 5 of 1
Chapter 5 of 1Chapter 5 of 1
Chapter 5 of 1
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
 
Lesson 19
Lesson 19Lesson 19
Lesson 19
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 
LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.ppt
 

Destaque

Knowledge based systems
Knowledge based systemsKnowledge based systems
Knowledge based systemsYowan Rdotexe
 
Knowledge-based Systems
Knowledge-based SystemsKnowledge-based Systems
Knowledge-based Systemssaimohang
 
KBS Lecture Notes
KBS Lecture NotesKBS Lecture Notes
KBS Lecture Notesbutest
 
Developing Knowledge-Based Systems
Developing Knowledge-Based SystemsDeveloping Knowledge-Based Systems
Developing Knowledge-Based SystemsAshique Rasool
 
Knowledge based systems -- introduction
Knowledge based systems -- introductionKnowledge based systems -- introduction
Knowledge based systems -- introductionjkmaster
 
Knowledge Based Systems -Artificial Intelligence by Priti Srinivas Sajja S P...
Knowledge Based Systems -Artificial Intelligence  by Priti Srinivas Sajja S P...Knowledge Based Systems -Artificial Intelligence  by Priti Srinivas Sajja S P...
Knowledge Based Systems -Artificial Intelligence by Priti Srinivas Sajja S P...Priti Srinivas Sajja
 
Decision Support and Knowledge Based Systems
Decision Support and Knowledge Based SystemsDecision Support and Knowledge Based Systems
Decision Support and Knowledge Based SystemsJivan Nepali
 
Chapter 4 - Knowledge Management
Chapter 4 - Knowledge ManagementChapter 4 - Knowledge Management
Chapter 4 - Knowledge ManagementAshique Rasool
 
15 predicate
15 predicate15 predicate
15 predicateTianlu Wang
 
Predicate calculus
Predicate calculusPredicate calculus
Predicate calculusRajendran
 
KNOWLEDGE BASE SYSTEMS
KNOWLEDGE  BASE SYSTEMSKNOWLEDGE  BASE SYSTEMS
KNOWLEDGE BASE SYSTEMSVikas Jagtap
 
Lecture 12 Heuristic Searches
Lecture 12 Heuristic SearchesLecture 12 Heuristic Searches
Lecture 12 Heuristic SearchesHema Kashyap
 
Ch 8 Power Point
Ch 8 Power PointCh 8 Power Point
Ch 8 Power PointMarina
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligenceR A Akerkar
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence Muhammad Ahad
 
Role of ict in project management by annrose mwangi
Role of ict in project management by annrose mwangiRole of ict in project management by annrose mwangi
Role of ict in project management by annrose mwangiannrose mwangi
 
Knowledgemanagementpresentation 124215857849-phpapp02
Knowledgemanagementpresentation 124215857849-phpapp02Knowledgemanagementpresentation 124215857849-phpapp02
Knowledgemanagementpresentation 124215857849-phpapp02Zinia Khan
 

Destaque (20)

Knowledge based systems
Knowledge based systemsKnowledge based systems
Knowledge based systems
 
Knowledge-based Systems
Knowledge-based SystemsKnowledge-based Systems
Knowledge-based Systems
 
KBS Lecture Notes
KBS Lecture NotesKBS Lecture Notes
KBS Lecture Notes
 
Developing Knowledge-Based Systems
Developing Knowledge-Based SystemsDeveloping Knowledge-Based Systems
Developing Knowledge-Based Systems
 
Knowledge based systems -- introduction
Knowledge based systems -- introductionKnowledge based systems -- introduction
Knowledge based systems -- introduction
 
Knowledge Based Systems -Artificial Intelligence by Priti Srinivas Sajja S P...
Knowledge Based Systems -Artificial Intelligence  by Priti Srinivas Sajja S P...Knowledge Based Systems -Artificial Intelligence  by Priti Srinivas Sajja S P...
Knowledge Based Systems -Artificial Intelligence by Priti Srinivas Sajja S P...
 
Decision Support and Knowledge Based Systems
Decision Support and Knowledge Based SystemsDecision Support and Knowledge Based Systems
Decision Support and Knowledge Based Systems
 
Chapter 4 - Knowledge Management
Chapter 4 - Knowledge ManagementChapter 4 - Knowledge Management
Chapter 4 - Knowledge Management
 
15 predicate
15 predicate15 predicate
15 predicate
 
Ai 02
Ai 02Ai 02
Ai 02
 
Predicate calculus
Predicate calculusPredicate calculus
Predicate calculus
 
KNOWLEDGE BASE SYSTEMS
KNOWLEDGE  BASE SYSTEMSKNOWLEDGE  BASE SYSTEMS
KNOWLEDGE BASE SYSTEMS
 
Lecture 12 Heuristic Searches
Lecture 12 Heuristic SearchesLecture 12 Heuristic Searches
Lecture 12 Heuristic Searches
 
Ch 8 Power Point
Ch 8 Power PointCh 8 Power Point
Ch 8 Power Point
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Role of ict in project management by annrose mwangi
Role of ict in project management by annrose mwangiRole of ict in project management by annrose mwangi
Role of ict in project management by annrose mwangi
 
Problem space
Problem spaceProblem space
Problem space
 
Chapter04
Chapter04Chapter04
Chapter04
 
Knowledgemanagementpresentation 124215857849-phpapp02
Knowledgemanagementpresentation 124215857849-phpapp02Knowledgemanagementpresentation 124215857849-phpapp02
Knowledgemanagementpresentation 124215857849-phpapp02
 

Semelhante a Knowledge-Based Systems Chapter 17 - Reasoning Using Horn Clauses and Dynamic Knowledge Bases

10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prologbaran19901990
 
Knowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningKnowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningSagacious IT Solution
 
17 2 expert systems
17 2 expert systems17 2 expert systems
17 2 expert systemsTianlu Wang
 
Artificial Intelligence data related to ai
Artificial Intelligence data related to aiArtificial Intelligence data related to ai
Artificial Intelligence data related to aichougulesup79
 
Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?Riyad Parvez
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luvAshok Sharma
 
Target-Based Sentiment Anaysis as a Sequence-Tagging Task
Target-Based Sentiment Anaysis as a Sequence-Tagging TaskTarget-Based Sentiment Anaysis as a Sequence-Tagging Task
Target-Based Sentiment Anaysis as a Sequence-Tagging Taskjcscholtes
 
artficial intelligence
artficial intelligenceartficial intelligence
artficial intelligencePhanindra Mortha
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptxRaviKiranVarma4
 
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rulesHarini Balamurugan
 
Useing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with TensorflowUseing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with TensorflowYi-Fan Liou
 
lec06_Classification_NaiveBayes_RuleBased.pptx
lec06_Classification_NaiveBayes_RuleBased.pptxlec06_Classification_NaiveBayes_RuleBased.pptx
lec06_Classification_NaiveBayes_RuleBased.pptxMmine1
 
CI_GA_module2_ABC_updatedG.ppt .
CI_GA_module2_ABC_updatedG.ppt           .CI_GA_module2_ABC_updatedG.ppt           .
CI_GA_module2_ABC_updatedG.ppt .Athar739197
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationMahesh Tibrewal
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastRai University
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastRai University
 
Bioinformatics t4-alignments v2014
Bioinformatics t4-alignments v2014Bioinformatics t4-alignments v2014
Bioinformatics t4-alignments v2014Prof. Wim Van Criekinge
 

Semelhante a Knowledge-Based Systems Chapter 17 - Reasoning Using Horn Clauses and Dynamic Knowledge Bases (20)

10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prolog
 
Knowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningKnowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and Reasoning
 
17 2 expert systems
17 2 expert systems17 2 expert systems
17 2 expert systems
 
07 rules-and-cases
07 rules-and-cases07 rules-and-cases
07 rules-and-cases
 
AI IMPORTANT QUESTION
AI IMPORTANT QUESTIONAI IMPORTANT QUESTION
AI IMPORTANT QUESTION
 
Artificial Intelligence data related to ai
Artificial Intelligence data related to aiArtificial Intelligence data related to ai
Artificial Intelligence data related to ai
 
Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luv
 
Target-Based Sentiment Anaysis as a Sequence-Tagging Task
Target-Based Sentiment Anaysis as a Sequence-Tagging TaskTarget-Based Sentiment Anaysis as a Sequence-Tagging Task
Target-Based Sentiment Anaysis as a Sequence-Tagging Task
 
artficial intelligence
artficial intelligenceartficial intelligence
artficial intelligence
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
 
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
 
Useing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with TensorflowUseing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with Tensorflow
 
lec06_Classification_NaiveBayes_RuleBased.pptx
lec06_Classification_NaiveBayes_RuleBased.pptxlec06_Classification_NaiveBayes_RuleBased.pptx
lec06_Classification_NaiveBayes_RuleBased.pptx
 
CI_GA_module2_ABC_updatedG.ppt .
CI_GA_module2_ABC_updatedG.ppt           .CI_GA_module2_ABC_updatedG.ppt           .
CI_GA_module2_ABC_updatedG.ppt .
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blast
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blast
 
Bioinformatics t4-alignments v2014
Bioinformatics t4-alignments v2014Bioinformatics t4-alignments v2014
Bioinformatics t4-alignments v2014
 
G
GG
G
 

Mais de Tianlu Wang

L8 design1
L8 design1L8 design1
L8 design1Tianlu Wang
 
L9 design2
L9 design2L9 design2
L9 design2Tianlu Wang
 
14 pro resolution
14 pro resolution14 pro resolution
14 pro resolutionTianlu Wang
 
13 propositional calculus
13 propositional calculus13 propositional calculus
13 propositional calculusTianlu Wang
 
12 adversal search
12 adversal search12 adversal search
12 adversal searchTianlu Wang
 
11 alternative search
11 alternative search11 alternative search
11 alternative searchTianlu Wang
 
22 planning
22 planning22 planning
22 planningTianlu Wang
 
21 situation calculus
21 situation calculus21 situation calculus
21 situation calculusTianlu Wang
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learningTianlu Wang
 
19 uncertain evidence
19 uncertain evidence19 uncertain evidence
19 uncertain evidenceTianlu Wang
 
18 common knowledge
18 common knowledge18 common knowledge
18 common knowledgeTianlu Wang
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolutionTianlu Wang
 
16 1 predicate resolution
16 1 predicate resolution16 1 predicate resolution
16 1 predicate resolutionTianlu Wang
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic searchTianlu Wang
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed searchTianlu Wang
 
07 plan agent
07 plan agent07 plan agent
07 plan agentTianlu Wang
 
06 robot vision
06 robot vision06 robot vision
06 robot visionTianlu Wang
 
05 state machine
05 state machine05 state machine
05 state machineTianlu Wang
 

Mais de Tianlu Wang (20)

L7 er2
L7 er2L7 er2
L7 er2
 
L8 design1
L8 design1L8 design1
L8 design1
 
L9 design2
L9 design2L9 design2
L9 design2
 
14 pro resolution
14 pro resolution14 pro resolution
14 pro resolution
 
13 propositional calculus
13 propositional calculus13 propositional calculus
13 propositional calculus
 
12 adversal search
12 adversal search12 adversal search
12 adversal search
 
11 alternative search
11 alternative search11 alternative search
11 alternative search
 
10 2 sum
10 2 sum10 2 sum
10 2 sum
 
22 planning
22 planning22 planning
22 planning
 
21 situation calculus
21 situation calculus21 situation calculus
21 situation calculus
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learning
 
19 uncertain evidence
19 uncertain evidence19 uncertain evidence
19 uncertain evidence
 
18 common knowledge
18 common knowledge18 common knowledge
18 common knowledge
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolution
 
16 1 predicate resolution
16 1 predicate resolution16 1 predicate resolution
16 1 predicate resolution
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic search
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed search
 
07 plan agent
07 plan agent07 plan agent
07 plan agent
 
06 robot vision
06 robot vision06 robot vision
06 robot vision
 
05 state machine
05 state machine05 state machine
05 state machine
 

Último

FULL ENJOY - 9953040155 Call Girls in Wazirabad | Delhi
FULL ENJOY - 9953040155 Call Girls in Wazirabad | DelhiFULL ENJOY - 9953040155 Call Girls in Wazirabad | Delhi
FULL ENJOY - 9953040155 Call Girls in Wazirabad | DelhiMalviyaNagarCallGirl
 
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...anilsa9823
 
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | DelhiFULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | DelhiFULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | DelhiMalviyaNagarCallGirl
 
RAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAKRAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAKedwardsara83
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comthephillipta
 
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service HisarVip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisarsrsj9000
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnsonthephillipta
 
Young⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort ServiceYoung⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort Servicesonnydelhi1992
 
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...anilsa9823
 
Deconstructing Gendered Language; Feminist World-Making 2024
Deconstructing Gendered Language; Feminist World-Making 2024Deconstructing Gendered Language; Feminist World-Making 2024
Deconstructing Gendered Language; Feminist World-Making 2024samlnance
 
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...wdefrd
 
Young⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort ServiceYoung⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort Servicesonnydelhi1992
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room servicediscovermytutordmt
 
Gomti Nagar & High Profile Call Girls in Lucknow (Adult Only) 8923113531 Esc...
Gomti Nagar & High Profile Call Girls in Lucknow  (Adult Only) 8923113531 Esc...Gomti Nagar & High Profile Call Girls in Lucknow  (Adult Only) 8923113531 Esc...
Gomti Nagar & High Profile Call Girls in Lucknow (Adult Only) 8923113531 Esc...gurkirankumar98700
 
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...anilsa9823
 
Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...
Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...
Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...akbard9823
 

Último (20)

FULL ENJOY - 9953040155 Call Girls in Wazirabad | Delhi
FULL ENJOY - 9953040155 Call Girls in Wazirabad | DelhiFULL ENJOY - 9953040155 Call Girls in Wazirabad | Delhi
FULL ENJOY - 9953040155 Call Girls in Wazirabad | Delhi
 
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
 
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | DelhiFULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Kotla Mubarakpur | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | DelhiFULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | Delhi
 
RAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAKRAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAK
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
 
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service HisarVip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnson
 
Young⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort ServiceYoung⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >àŒ’9667401043 Escort Service
 
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
 
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
 
Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)
Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)
Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)
 
Deconstructing Gendered Language; Feminist World-Making 2024
Deconstructing Gendered Language; Feminist World-Making 2024Deconstructing Gendered Language; Feminist World-Making 2024
Deconstructing Gendered Language; Feminist World-Making 2024
 
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
 
Young⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort ServiceYoung⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >àŒ’9667401043 Escort Service
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room service
 
Gomti Nagar & High Profile Call Girls in Lucknow (Adult Only) 8923113531 Esc...
Gomti Nagar & High Profile Call Girls in Lucknow  (Adult Only) 8923113531 Esc...Gomti Nagar & High Profile Call Girls in Lucknow  (Adult Only) 8923113531 Esc...
Gomti Nagar & High Profile Call Girls in Lucknow (Adult Only) 8923113531 Esc...
 
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
 
Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...
Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...
Aminabad @ Book Call Girls in Lucknow - 450+ Call Girl Cash Payment đŸ” 8923113...
 

Knowledge-Based Systems Chapter 17 - Reasoning Using Horn Clauses and Dynamic Knowledge Bases

  • 2. Page 2=== Outline ïź Confronting the Real World ïź Reasoning Using Horn Clauses ïź Maintenance in Dynamic Knowledge Bases ïź Rule-Based Expert Systems ïź Rule Learning
  • 3. Page 3=== 17.1 Confronting the Real World ïź Knowledge-based systems –Programs that reason over extensive knowledge bases. –Do the methods scale up sufficiently well for practical applications? ïź Three major theoretical problems of logical reasoning systems –Soundness ‱ To be confident that an inferred conclusion is true –Completeness ‱ To be confident that inference will eventually produce any true conclusion –Tractability ‱ To be confident that inference is feasible
  • 4. Page 4=== 17.1 Confronting the Real World ïźPredicate calculus –Resolution refutation is sound and complete, but semi-decidable. ‱ Semi-decidablility makes the predicate calculus inherently intractable. ‱ Even on problems for which resolution refutation terminates, the procedure is NP-hard. ‱ This fact has led many to despair of using formal, logical methods for large-scale reasoning problems.
  • 5. Page 5=== 17.1 Confronting the Real World ïźTo make reasoning more efficient –We could use procedures that might occasionally prove an untrue formula. –We could use procedures that might not be guaranteed to find proofs of true formulas. –We could use a language that is less expressive than the full predicate calculus. ‱ Reasoning is typically more efficient with Horn clauses.
  • 6. Page 6=== 17.2 Reasoning Using Horn Clauses ïź Horn Clauses –Clauses that have at most one positive literal. –Rule: ‱ There is at least one negative literal and a single positive literal. ‱ The literal ïŹh is called the head of the clause. ‱ The ordered list of literals, ïŹb1 ,„, ïŹbn, is called body. –Fact: ‱ There may be no negative literals in the clause. –Goal: ‱ There may be no positive literal in the clause. –Horn clauses form the basis of the programming language PROLOG. nbbh ïŹïŹïŹ ,...,: 1  :hïŹ nbb ïŹïŹ ,...,: 1 
  • 7. Page 7=== Inference over PROLOG Clauses (1/2) ïź Resolution Operation –A goal can resolve with a fact by unifying the fact with one of the literals in the goal. ‱ The resolvent is a new goal consisting of a list of all of the substitution instances of the other literals in the original goal. –A goal can resolve with a rule by unifying the head of the rule with one of the literals in the goal. ‱ The resolvent is a new goal formed by appending the list of substitution instances of all of the literals in the body of the rule to the front of the list of substitution instances of all of the other (nonresolved-upon) literals in the goal.
  • 8. Page 8=== Inference over PROLOG Clauses (2/2) ïźPROLOG programs –The clauses are usually ordered in the following way: goal, facts, rules. –Proof of a goal clause succeeds when the new goal produced by a resolution is empty. –Depth-first, backtracking search procedure ‱ A goal clause fails if the interpreter has tried all resolutions for one of the goal literals and none results in new goals that can be proved. ‱ The interpreter backtracks to the previous goal clause and
  • 9. Page 9=== Example of an AND/OR Tree (1) 1. :- MOVES 2. BAT_OK :- 3. LIFTABLE :- 4. MOVES :- BAT_OK, LIFTABLE –Body nodes are called AND nodes because they must all be proved. –If there had been alternative resolutions possible, the search for a proof tree could have generated additional nodes, called OR nodes.
  • 10. Page 10=== Example of an AND/OR Tree (2) 1. :- Above(A,C) 2. On(A,B) :- 3. On(B,C) :- 4. Above(x,y) :- On(x,y) 5. Above(x,y) :- On(x,z), Above(z,y) –Consistency requires that the same term be substituted for the variable throughout the proof tree.
  • 11. Page 11=== Forward Chaining ïźForward chaining system (e.g., OPS5) –Reasoning proceeds forward, beginning with facts, chaining through rules, and finally establishing the goal. ‱ A rule is applicable if each of the literals in its antecedent can be unified with a corresponding fact. ‱ When more than one rule is applicable, some sort of external conflict resolution scheme is used to decide which rule will be applied. –Model of aspects of human cognitive processing ‱ Facts: working of short-term memory ‱ Rules: long-term memory
  • 12. Page 12=== Maintenance in Dynamic Knowledge Bases ïźKnowledge base of propositional calculus atoms –The atoms are called premisses instead of facts. –The rules are not restricted to being Horn rules. –A spreadline reasoning system ‱ Any cell that has a formula in it gets its value immediately calculated from the values of components. ‱ If the values of any components of a formula happen to change, the value of that formula is automatically changed.
  • 13. Page 13=== Maintenance in Dynamic Knowledge Bases ïźTruth maintenance systems (TMSs) –Dynamic knowledge base: the spreadline is extended to contain any number of premisses and rules. ‱ The formulas entered in the values of rule cells are called justifications. –The values of certain premiss cells can be omitted. ‱ When a cell has a value of 1 or 0, it is called IN; otherwise, out. ‱ Allowing values of cells to be OUT permits an interesting generalization of rule types (e.g, U if R is True and S is Out).
  • 14. Page 14=== –TMSs should be thought of as knowledge base maintenance systems that perform automatic updates when the truth values of certain atoms are changed. ‱ The use of IN’s and OUT’s permits an elementary sort of “nonmonotonic” or defeasible inference not sanctioned by ordinary reasoning systems. –Cycles among the rules present some difficulties. ‱ One is mutual justification. Maintenance in Dynamic Knowledge Bases
  • 15. Page 15=== Maintenance in Dynamic Knowledge Bases ïź Assumption-based truth maintenance systems (ATMSs) –The spreadline is used in a backward direction. –We start with a particular cell’s formula and ask which premiss values will make the formula in that cell True. ‱ Other formulas called the background theory are considered together. –Labels of the cells ‱ The values of the cells are taken to be formulas-expressed in DNF form in terms of the premiss atoms. –ATMSs can be used for a variety of purposes. ‱ One is to perform diagnosis.
  • 16. Page 16=== Maintenance in Dynamic Knowledge Bases –Conversion of a TMS to an ATMS