3.3. Case-Based Reasoning (CBR) : Ian F. C. Smith EPFL, Switzerland
3.3. Case-Based Reasoning (CBR) : Ian F. C. Smith EPFL, Switzerland
3.3. Case-Based
Reasoning (CBR)
Ian F. C. Smith
EPFL, Switzerland
1
Module Information
Intended audience
Novice
Key words
Case-based reasoning, information
retrieval, adaptation, case storage
Author
Ian F.C. Smith, EPFL, Switzerland
Reviewers
Review Board:
Outline
Introduction
Steps in Case-Based Reasoning
CBR Cycle
CBR in Everyday Life
Principle
Case-based reasoning (CBR) involves finding
solutions to new tasks by reusing good solutions
to old tasks.
CBR systems have many advantages over other
types of computer systems for decision support.
Some of them are given in the following slides.
Advantages of CBR
The process of storing cases often involves
transformations that are computationally less
expensive than those necessary with other
representations.
A good case is often an easy shortcut in the
search for good solutions.
The closed-world assumption associated with
abductive tasks (Module 1.3) is explicitly related to
the number of available cases.
6
Advantages (cont'd.)
When only small changes are made to the old
case, intrinsic advantages of the old case are
transferred to the new task.
Cases are often the best way to represent
knowledge, especially when the available models
are unreliable.
The capability of the system can be enhanced by
simply adding a case.
Advantages (cont'd.)
Large case-based reasoning systems are currently
used for diagnosis, maintenance, planning and
customer support.
There is much potential in civil engineering.
Outline
Introduction
Steps in Case-Based Reasoning
CBR Cycle
CBR in Everyday Life
Five Steps
There are five main steps in the development and
use of a CBR system.
Representation
Retrieval
Adaptation
Storage
Maintenance
10
Step 1: Representation
This step involves decisions related to how the case is
stored in the computer.
For example, if cases are to be stored in a relational
database, appropriate attributes have to be selected.
This is an important step since it can greatly influence
the quality of support provided.
One has to know clearly for what purpose the cases are
intended before finalizing the representation.
11
Task
characteristics
Solution
characteristics
12
Step 2: Retrieval
This step involves the selection of a case (or cases)
that have task characteristics which are similar to the
new task.
Here, the challenge involves defining what the word
similar means.
Hundreds of similarity metrics exist. The most common
employ nearest neighbor methods.
13
14
similarity wf
Overall _ Similarity
wf
and return to step 3.
16
17
Steps 3: Adaptation
The adaptation stage is the most difficult to implement
on a computer.
Here, the solution attributes of the retrieved case(s)
are modified to suit the new task. This is seldom
automated.
User interaction is often essential in order to bring in
the domain knowledge necessary for creating a useful
solution.
18
19
Steps 4: Storage
The storage stage involves storing the newly found
solution in the case base for future use.
If the solution is within the scope of solutions that
were envisaged when case attributes were defined,
this stage is straightforward.
20
Steps 5: Maintenance
The maintenance stage involves elimination of cases
that are no longer relevant to the tasks that will come
in the future.
This stage may also include the task of ensuring that
the cases uniformly cover the entire range of
possible attribute values.
21
Outline
Introduction
Steps in Case-Based Reasoning
CBR Cycle
CBR in Everyday Life
22
Storage
Data Base
Maintenance
Adaptation
Retrieval
New Task
23
Outline
Introduction
Steps in Case-Based Reasoning
CBR Cycle
CBR in Everyday Life
24
Suitability of CBR
Well suited tasks
Classification
Diagnosis
Prediction
Control
Harder for CBR
Synthesis of systems
Engineering design
Planning of complex projects
26
Review Quiz
List the process steps for all CBR methods.
What are characteristics that indicate that a
CBR approach may be suitable?
What is the end criterion for retrieval?
27
28
30
Summary
CBR involves finding solutions to new tasks by
reusing good solutions to old tasks.
The capability of a system can be increased by
simply adding a case.
There are 5 stages in the CBR methodology:
Representation
Retrieval
Adaptation
Storage
Maintenance
31
Further Reading
J. Kolodner. Case-Based Reasoning. Morgan
Kaufmann Publishers, San Mateo, CA, 1993
Raphael, B. and Smith, I.F.C. Fundamentals of
Computer-Aided Engineering, Wiley, 2003
Case-Based Reasoning on the Web, University of
Kaiserslautern, http://www.cbr-web.org
32