SlideShare a Scribd company logo
11
Most read
12
Most read
14
Most read
Case-based Reasoning (CBR) 
• Collection of a set of cases 
– Store a case in the Case Base 
• CBR is based on human information processing (HIP) 
model in some problem areas 
– Thinking about how human processes information 
– Try to remember previous case/recall similar cases 
& modify to fit a new situation 
• Examples: Law, diagnosis, strategic planning 
– CEO: How should we modify last year’s plan? 
• Human experts depend heavily on past experiences 
when solving new problems
Case-based Reasoning 
• A CBR emulates this HIP model and 
maintains a historical case 
• It retrieves cases relevant to the present 
problem situation from the case base 
and decides on the solution to the 
current problem on the basis of the 
outcomes from previous cases
CBR Components 
• A case-based ES consists of 
– a case base 
– a retriever 
– an adapter 
– a refiner 
– an executer 
– an evaluator 
– (See diagram on next slide)
CBR Components 
User Interface 
Request Relevant 
Adapter 
Evaluator 
Retriever 
Case Base 
New 
Cases 
(w/ Results) 
Executer Refiner 
Prior Cases 
Prior 
Result 
Draft 
Solution 
Refined 
Solution 
Solution 
Performance 
Cases 
w/o Results
Case-based Parts 
• A case base functions as a repository of 
prior cases 
• The cases are indexed ( a key as with a 
database) so that they can be quickly 
recalled when necessary 
• A case contains the general 
descriptions of old problems 
• In Knowledge Base: Set of Rules 
• In Case Base: Set of Cases 
– Creates extra difficulty in retrieving
Case-base Parts - The Retriever 
• When a new problem is entered into a 
case based system, a retriever decides 
on the features similar to the stored 
cases 
• Retrieval is done by using features of 
the new cases as indexes into the case 
base
Case-based Parts - The Adapter 
• An adapter examines the differences 
between these cases and the current 
problem 
• It then applies rules to modify the old 
solution to fit the new problem
Case-based Parts - The Refiner 
• A refiner critiques the adapted solution 
against prior outcomes 
• One way to do this is to compare it to 
similar solutions of prior cases 
• If a known failure exists for a derived 
solution, the system then decides 
whether the similarities is sufficient to 
suspect that the new solution will fail
Case-based Parts - The Executor 
• Once a solution is critiqued, an executer 
applies the refined solution to the 
current problem
Case-based Parts - The Evaluator 
• If the results are as expected, no further 
analysis is made, and the cases and its 
solution is stored for use in future 
problem solving 
• If not, the solution is repaired
Model-based Reasoning 
• A model-based system is based on a model of the 
structure and behavior of the device that the 
system is designed to simulate 
• Used for well structured problems 
– Not for stock pricing/modeling, not well 
structured 
– Engineering Problems 
• Ex: Diagnosing hardware or a machine 
• Ex: Automobile diagnostics 
• Based on written documentation 
• The problem is extracting knowledge
Model-based Reasoning 
• Observed behavior (what the device is 
actually doing) is compared with 
predicted behavior (what the device 
should do) 
• The difference between them is called a 
discrepancy, indicating a defect 
• Then a process is initiated to diagnose 
the nature and location of the defect 
• Could be a mathematical equation
Model-based Reasoning 
Actual 
Device 
Model 
Predicted 
Behavior 
Observed 
Behavior 
Discrepancy
Model-based Reasoning 
• Correct Operation: 
• Assume we have a model-based system built to diagnose the 
following simple device with 3 multipliers and 2 adders 
• Once the logic is developed, executes quickly 
A = 3 
B = 3 
C = 2 
D = 2 
A = 3 
Mult - 1 
Mult - 2 
Mult -3 
Add - 3 
Add - 3 
F = 12 
G = 12 
3 
2 
3 
2 
2 
3 
6 
6 
6 
6 
6 
6 
6 
12 
12
Model-based Reasoning 
• Incorrect Operation: 
– Diagnostics 
A = 3 
B = 3 
C = 2 
D = 2 
A = 3 
Mult - 1 
Mult - 2 
Mult -3 
Add - 3 
Add - 3 
F = 10 
G = 12 
3 
2 
3 
2 
2 
3 
6 
6 
6 
6 
6 
6 
6 
10 
12 
6 
6 
6 
Culprit of problem? 
No - 6 comes out 
Culprit of problem? 
No - 6 comes out 
Culprit of problem? 
No - 6 comes out 
Culprit of problem? 
Yes - 10 comes out, 
problem with Carry Bit 
Predicate Logic 
can be used here

More Related Content

PPT
Introduction to Expert Systems {Artificial Intelligence}
PPTX
Artificial Intelligence Notes Unit 5
PPTX
Lecture 06 production system
PPTX
Rule based system
PPT
5 csp
PDF
Expert System With Python -1
PPTX
AI-03 Problems State Space.pptx
PPT
Logical Agents
Introduction to Expert Systems {Artificial Intelligence}
Artificial Intelligence Notes Unit 5
Lecture 06 production system
Rule based system
5 csp
Expert System With Python -1
AI-03 Problems State Space.pptx
Logical Agents

What's hot (20)

PDF
Production System in AI
PPT
Planning
PPTX
Problem solving in Artificial Intelligence.pptx
PDF
Problem Solving
PPTX
Artificial Intelligence Searching Techniques
PPTX
Backtracking
PPTX
Planning in Artificial Intelligence
PPT
Problems, Problem spaces and Search
PDF
Rule Based Architecture System
PPTX
Structure of agents
PPTX
Planning
PPTX
Parallel algorithms
PPTX
Bayesian Belief Network and its Applications.pptx
PPTX
Water jug problem ai part 6
PPTX
Knowledge representation
PPT
Heuristc Search Techniques
PPTX
Problem solving agents
PPTX
State space search
PPTX
Frames
PPTX
Data preprocessing in Machine learning
Production System in AI
Planning
Problem solving in Artificial Intelligence.pptx
Problem Solving
Artificial Intelligence Searching Techniques
Backtracking
Planning in Artificial Intelligence
Problems, Problem spaces and Search
Rule Based Architecture System
Structure of agents
Planning
Parallel algorithms
Bayesian Belief Network and its Applications.pptx
Water jug problem ai part 6
Knowledge representation
Heuristc Search Techniques
Problem solving agents
State space search
Frames
Data preprocessing in Machine learning
Ad

Similar to Artificial Intelligence: Case-based & Model-based Reasoning (20)

DOCX
Case based reasoning technique
PDF
Programming learning: a hierarchical model based diagnosis approach
PDF
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PDF
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PPT
Lecture5 Expert Systems And Artificial Intelligence
DOCX
Analogy Based Defect Prediction Model Elham Paikari Department of ...
PPTX
[K Engine] Intorduction To Machine Planning, A Case Based Approach
PDF
Computer Engineer Master Project
PPT
LECTURE8.PPT
PDF
Case-Based Reasoning for Explaining Probabilistic Machine Learning
PDF
Study of Case-Based Reasoning System
PPTX
Maharshi dayanad sarswati university,Ajmer,Raj
PPT
Chapter 4.ppt mizan Tepi university student population
PPTX
AI system mimicking human expert decision-making..pptx
PDF
Intelligent Tutoring Systems: The DynaLearn Approach
PPT
Decision support systems
PDF
Artificial Intelligence – Case-based reasoning for recommender systems – Invi...
PDF
Thomas Roth-Berghofer (University of West London) – Artificial Intelligence -...
PDF
Developing a Case-Based Retrieval System for Supporting IT Customers
Case based reasoning technique
Programming learning: a hierarchical model based diagnosis approach
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
Lecture5 Expert Systems And Artificial Intelligence
Analogy Based Defect Prediction Model Elham Paikari Department of ...
[K Engine] Intorduction To Machine Planning, A Case Based Approach
Computer Engineer Master Project
LECTURE8.PPT
Case-Based Reasoning for Explaining Probabilistic Machine Learning
Study of Case-Based Reasoning System
Maharshi dayanad sarswati university,Ajmer,Raj
Chapter 4.ppt mizan Tepi university student population
AI system mimicking human expert decision-making..pptx
Intelligent Tutoring Systems: The DynaLearn Approach
Decision support systems
Artificial Intelligence – Case-based reasoning for recommender systems – Invi...
Thomas Roth-Berghofer (University of West London) – Artificial Intelligence -...
Developing a Case-Based Retrieval System for Supporting IT Customers
Ad

More from The Integral Worm (19)

PPT
Artificial Intelligence: Artificial Neural Networks
PPT
Artificial Intelligence: Data Mining
PPT
Artificial Intelligence: Agent Technology
PPT
Artificial Intelligence: Knowledge Acquisition
PPT
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
PPT
Artificial Intelligence: Knowledge Engineering
PPT
Artificial Intelligence: Expert Systems Components
PPT
Best Practices for Effective Written Correspondence
PPT
Ethical Considerations in Technical Writing and the Workplace
PPT
Best Practices for Creating Definitions in Technical Writing and Editing
PPT
Best Practices for Using Visuals in Technical Writing
PPT
Best Practices and Guidelines for Collaboration in Workplace Communications
PPT
Best Practices and Guidelines for Writing Analytical Reports
PPT
Best Practices for Writing and Editing User/Instruction Manuals
PPT
The Good, the bad, and the ugly of Thin Client/Server Computing
PPT
Legal Aspects of Information Systems: State of Maryland vs. CyberSmoke.
PPT
The Test Subject Simulation of the "Cyberpeople Jack Implant" Artifact
PPT
UMBC IFSM438 Project Management Group Presentation
PPT
Best communication design practices when using “Shape Tools” for visual prese...
Artificial Intelligence: Artificial Neural Networks
Artificial Intelligence: Data Mining
Artificial Intelligence: Agent Technology
Artificial Intelligence: Knowledge Acquisition
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
Artificial Intelligence: Knowledge Engineering
Artificial Intelligence: Expert Systems Components
Best Practices for Effective Written Correspondence
Ethical Considerations in Technical Writing and the Workplace
Best Practices for Creating Definitions in Technical Writing and Editing
Best Practices for Using Visuals in Technical Writing
Best Practices and Guidelines for Collaboration in Workplace Communications
Best Practices and Guidelines for Writing Analytical Reports
Best Practices for Writing and Editing User/Instruction Manuals
The Good, the bad, and the ugly of Thin Client/Server Computing
Legal Aspects of Information Systems: State of Maryland vs. CyberSmoke.
The Test Subject Simulation of the "Cyberpeople Jack Implant" Artifact
UMBC IFSM438 Project Management Group Presentation
Best communication design practices when using “Shape Tools” for visual prese...

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
cuic standard and advanced reporting.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
“AI and Expert System Decision Support & Business Intelligence Systems”
cuic standard and advanced reporting.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Modernizing your data center with Dell and AMD
20250228 LYD VKU AI Blended-Learning.pptx
Approach and Philosophy of On baking technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectral efficient network and resource selection model in 5G networks
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Network Security Unit 5.pdf for BCA BBA.
The Rise and Fall of 3GPP – Time for a Sabbatical?

Artificial Intelligence: Case-based & Model-based Reasoning

  • 1. Case-based Reasoning (CBR) • Collection of a set of cases – Store a case in the Case Base • CBR is based on human information processing (HIP) model in some problem areas – Thinking about how human processes information – Try to remember previous case/recall similar cases & modify to fit a new situation • Examples: Law, diagnosis, strategic planning – CEO: How should we modify last year’s plan? • Human experts depend heavily on past experiences when solving new problems
  • 2. Case-based Reasoning • A CBR emulates this HIP model and maintains a historical case • It retrieves cases relevant to the present problem situation from the case base and decides on the solution to the current problem on the basis of the outcomes from previous cases
  • 3. CBR Components • A case-based ES consists of – a case base – a retriever – an adapter – a refiner – an executer – an evaluator – (See diagram on next slide)
  • 4. CBR Components User Interface Request Relevant Adapter Evaluator Retriever Case Base New Cases (w/ Results) Executer Refiner Prior Cases Prior Result Draft Solution Refined Solution Solution Performance Cases w/o Results
  • 5. Case-based Parts • A case base functions as a repository of prior cases • The cases are indexed ( a key as with a database) so that they can be quickly recalled when necessary • A case contains the general descriptions of old problems • In Knowledge Base: Set of Rules • In Case Base: Set of Cases – Creates extra difficulty in retrieving
  • 6. Case-base Parts - The Retriever • When a new problem is entered into a case based system, a retriever decides on the features similar to the stored cases • Retrieval is done by using features of the new cases as indexes into the case base
  • 7. Case-based Parts - The Adapter • An adapter examines the differences between these cases and the current problem • It then applies rules to modify the old solution to fit the new problem
  • 8. Case-based Parts - The Refiner • A refiner critiques the adapted solution against prior outcomes • One way to do this is to compare it to similar solutions of prior cases • If a known failure exists for a derived solution, the system then decides whether the similarities is sufficient to suspect that the new solution will fail
  • 9. Case-based Parts - The Executor • Once a solution is critiqued, an executer applies the refined solution to the current problem
  • 10. Case-based Parts - The Evaluator • If the results are as expected, no further analysis is made, and the cases and its solution is stored for use in future problem solving • If not, the solution is repaired
  • 11. Model-based Reasoning • A model-based system is based on a model of the structure and behavior of the device that the system is designed to simulate • Used for well structured problems – Not for stock pricing/modeling, not well structured – Engineering Problems • Ex: Diagnosing hardware or a machine • Ex: Automobile diagnostics • Based on written documentation • The problem is extracting knowledge
  • 12. Model-based Reasoning • Observed behavior (what the device is actually doing) is compared with predicted behavior (what the device should do) • The difference between them is called a discrepancy, indicating a defect • Then a process is initiated to diagnose the nature and location of the defect • Could be a mathematical equation
  • 13. Model-based Reasoning Actual Device Model Predicted Behavior Observed Behavior Discrepancy
  • 14. Model-based Reasoning • Correct Operation: • Assume we have a model-based system built to diagnose the following simple device with 3 multipliers and 2 adders • Once the logic is developed, executes quickly A = 3 B = 3 C = 2 D = 2 A = 3 Mult - 1 Mult - 2 Mult -3 Add - 3 Add - 3 F = 12 G = 12 3 2 3 2 2 3 6 6 6 6 6 6 6 12 12
  • 15. Model-based Reasoning • Incorrect Operation: – Diagnostics A = 3 B = 3 C = 2 D = 2 A = 3 Mult - 1 Mult - 2 Mult -3 Add - 3 Add - 3 F = 10 G = 12 3 2 3 2 2 3 6 6 6 6 6 6 6 10 12 6 6 6 Culprit of problem? No - 6 comes out Culprit of problem? No - 6 comes out Culprit of problem? No - 6 comes out Culprit of problem? Yes - 10 comes out, problem with Carry Bit Predicate Logic can be used here