Hubbry Logo
Case-based reasoningCase-based reasoningMain
Open search
Case-based reasoning
Community hub
Case-based reasoning
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Case-based reasoning
Case-based reasoning
from Wikipedia
Models of CBR memory, from top to bottom: category memory, simple memory, and dynamic memory. [clarification needed][relevant?]

Case-based reasoning (CBR), broadly construed, is the process of solving new problems based on the solutions of similar past problems.[1][2]

In everyday life, an auto mechanic who fixes an engine by recalling another car that exhibited similar symptoms is using case-based reasoning. A lawyer who advocates a particular outcome in a trial based on legal precedents or a judge who creates case law is using case-based reasoning. So, too, an engineer copying working elements of nature (practicing biomimicry) is treating nature as a database of solutions to problems. Case-based reasoning is a prominent type of analogy solution making.

It has been argued[by whom?] that case-based reasoning is not only a powerful method for computer reasoning, but also a pervasive behavior in everyday human problem solving; or, more radically, that all reasoning is based on past cases personally experienced. This view is related to prototype theory, which is most deeply explored in cognitive science.

Process

[edit]
A diagram of case-based reasoning in French.
A diagram of case-based reasoning in French

Case-based reasoning has been formalized[clarification needed] for purposes of computer reasoning as a four-step process:[3]

  1. Retrieve: Given a target problem, retrieve cases relevant to solving it from memory. A case consists of a problem, its solution, and, typically, annotations about how the solution was derived. For example, suppose Fred wants to prepare blueberry pancakes. Being a novice cook, the most relevant experience he can recall is one in which he successfully made plain pancakes. The procedure he followed for making the plain pancakes, together with justifications for decisions made along the way, constitutes Fred's retrieved case.
  2. Reuse: Map the solution from the previous case to the target problem. This may involve adapting the solution as needed to fit the new situation. In the pancake example, Fred must adapt his retrieved solution to include the addition of blueberries.
  3. Revise: Having mapped the previous solution to the target situation, test the new solution in the real world (or a simulation) and, if necessary, revise. Suppose Fred adapted his pancake solution by adding blueberries to the batter. After mixing, he discovers that the batter has turned blue – an undesired effect. This suggests the following revision: delay the addition of blueberries until after the batter has been ladled into the pan.
  4. Retain: After the solution has been successfully adapted to the target problem, store the resulting experience as a new case in memory. Fred, accordingly, records his new-found procedure for making blueberry pancakes, thereby enriching his set of stored experiences, and better preparing him for future pancake-making demands.

Comparison to other methods

[edit]

At first glance, CBR may seem similar to the rule induction algorithms[note 1] of machine learning. Like a rule-induction algorithm, CBR starts with a set of cases or training examples; it forms generalizations of these examples, albeit implicit ones, by identifying commonalities between a retrieved case and the target problem.[4]

If for instance a procedure for plain pancakes is mapped to blueberry pancakes, a decision is made to use the same basic batter and frying method, thus implicitly generalizing the set of situations under which the batter and frying method can be used. The key difference, however, between the implicit generalization in CBR and the generalization in rule induction lies in when the generalization is made. A rule-induction algorithm draws its generalizations from a set of training examples before the target problem is even known; that is, it performs eager generalization.

For instance, if a rule-induction algorithm were given recipes for plain pancakes, Dutch apple pancakes, and banana pancakes as its training examples, it would have to derive, at training time, a set of general rules for making all types of pancakes. It would not be until testing time that it would be given, say, the task of cooking blueberry pancakes. The difficulty for the rule-induction algorithm is in anticipating the different directions in which it should attempt to generalize its training examples. This is in contrast to CBR, which delays (implicit) generalization of its cases until testing time – a strategy of lazy generalization. In the pancake example, CBR has already been given the target problem of cooking blueberry pancakes; thus it can generalize its cases exactly as needed to cover this situation. CBR therefore tends to be a good approach for rich, complex domains in which there are myriad ways to generalize a case.

In law, there is often explicit delegation of CBR to courts, recognizing the limits of rule based reasons: limiting delay, limited knowledge of future context, limit of negotiated agreement, etc. While CBR in law and cognitively inspired CBR have long been associated, the former is more clearly an interpolation of rule based reasoning, and judgment, while the latter is more closely tied to recall and process adaptation. The difference is clear in their attitude toward error and appellate review.

Another name for case-based reasoning in problem solving is symptomatic strategies. It does require à priori domain knowledge that is gleaned from past experience which established connections between symptoms and causes. This knowledge is referred to as shallow, compiled, evidential, history-based as well as case-based knowledge. This is the strategy most associated with diagnosis by experts. Diagnosis of a problem transpires as a rapid recognition process in which symptoms evoke appropriate situation categories.[5] An expert knows the cause by virtue of having previously encountered similar cases. Case-based reasoning is the most powerful strategy, and that used most commonly. However, the strategy won't work independently with truly novel problems, or where deeper understanding of whatever is taking place is sought.

An alternative approach to problem solving is the topographic strategy which falls into the category of deep reasoning. With deep reasoning, in-depth knowledge of a system is used. Topography in this context means a description or an analysis of a structured entity, showing the relations among its elements.[6]

Also known as reasoning from first principles,[7] deep reasoning is applied to novel faults when experience-based approaches aren't viable. The topographic strategy is therefore linked to à priori domain knowledge that is developed from a more a fundamental understanding of a system, possibly using first-principles knowledge. Such knowledge is referred to as deep, causal or model-based knowledge.[8] Hoc and Carlier[9] noted that symptomatic approaches may need to be supported by topographic approaches because symptoms can be defined in diverse terms. The converse is also true – shallow reasoning can be used abductively to generate causal hypotheses, and deductively to evaluate those hypotheses, in a topographical search.

Criticism

[edit]

Critics of CBR[who?] argue that it is an approach that accepts anecdotal evidence as its main operating principle. Without statistically relevant data for backing and implicit generalization, there is no guarantee that the generalization is correct. However, all inductive reasoning where data is too scarce for statistical relevance is inherently based on anecdotal evidence.

History

[edit]

CBR traces its roots to the work of Roger Schank and his students at Yale University in the early 1980s. Schank's model of dynamic memory[10] was the basis for the earliest CBR systems: Janet Kolodner's CYRUS[11] and Michael Lebowitz's IPP.[12]

Other schools of CBR and closely allied fields emerged in the 1980s, which directed at topics such as legal reasoning, memory-based reasoning (a way of reasoning from examples on massively parallel machines), and combinations of CBR with other reasoning methods. In the 1990s, interest in CBR grew internationally, as evidenced by the establishment of an International Conference on Case-Based Reasoning in 1995, as well as European, German, British, Italian, and other CBR workshops[which?].

CBR technology has resulted in the deployment of a number of successful systems, the earliest being Lockheed's CLAVIER,[13] a system for laying out composite parts to be baked in an industrial convection oven. CBR has been used extensively in applications such as the Compaq SMART system[14] and has found a major application area in the health sciences,[15] as well as in structural safety management.

There is recent work[which?][when?] that develops CBR within a statistical framework and formalizes case-based inference as a specific type of probabilistic inference. Thus, it becomes possible to produce case-based predictions equipped with a certain level of confidence.[16] One description of the difference between CBR and induction from instances is that statistical inference aims to find what tends to make cases similar while CBR aims to encode what suffices to claim similarly.[17][full citation needed]

See also

[edit]

Notes and references

[edit]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Case-based reasoning (CBR) is a problem-solving paradigm in that involves solving new problems by recalling and adapting solutions from similar past experiences, rather than relying solely on general rules or abstract knowledge. This approach draws from human cognitive processes, where individuals remember previous situations akin to the current one and reuse or modify that knowledge to address the new challenge. At its core, CBR operates through a cyclical process known as the 4R cycle: retrieve relevant cases from a case base, reuse or adapt the information from those cases to propose a solution, revise the solution if necessary through testing or evaluation, and retain the new experience by storing it for future use. Originating in the 1980s as part of and AI research, CBR emerged as an alternative to rule-based systems, emphasizing —specific, experience-based knowledge—over generalized domain rules. By the , foundational frameworks formalized CBR's methodological variations, including exemplar-based and instance-based approaches, which range from simple similarity matching to knowledge-intensive adaptations. CBR has proven particularly valuable in applications like decision support, legal reasoning, and , where precedents guide equitable or context-specific outcomes. Its strength lies in handling ill-defined problems with incomplete information, enabling systems to learn incrementally from real-world cases without exhaustive rule sets. Ongoing advancements integrate CBR with techniques, and recent developments as of 2025 increasingly incorporate large language models and generative AI to enhance retrieval efficiency, explanation, and adaptation in dynamic environments.

Fundamentals

Definition and Overview

Case-based reasoning (CBR) is a problem-solving in that addresses new problems by retrieving similar past cases from a of experiences, reusing their solutions, and adapting them as necessary to fit the current situation. This approach mimics analogical reasoning, where individuals draw on prior episodes to inform decisions rather than relying solely on abstract rules or principles. Originating from cognitive models of and learning, CBR emphasizes the use of specific, concrete cases over generalized , enabling opportunistic problem-solving that builds incrementally through retained experiences. In everyday contexts, CBR parallels intuitive human practices, such as a mechanic diagnosing a vehicle's issue by recalling and adapting fixes from previous repairs with similar symptoms. Similarly, lawyers often cite legal precedents—past cases with analogous facts—to argue outcomes in novel disputes, adjusting interpretations to align with current circumstances. Chefs, too, employ CBR-like adaptation when modifying recipes based on available ingredients or dietary needs, drawing from a mental catalog of successful dishes to create variations. CBR's foundations in connect it to theories of , where knowledge emerges from accumulated personal episodes rather than formal instruction, and to models of reminding that trigger relevant in response to new stimuli. This opportunistic use of knowledge contrasts with systematic rule-based approaches, aligning with psychological observations that humans predominantly solve problems by referencing prototypes or exemplars from rather than deriving solutions deductively. The paradigm's core process typically involves a four-phase cycle of retrieval, , revision, and retention, though detailed mechanics are explored elsewhere. Within , CBR serves as a key subfield of , complementing rule-based and model-based methods by leveraging unstructured, case-specific data for domains where expertise is experiential and hard to formalize.

Key Principles

Case-based reasoning (CBR) is grounded in the core assumption that knowledge is best represented as a collection of specific past cases rather than abstract rules or general principles. In this paradigm, problem-solving proceeds by identifying a similar previous case and reusing its solution to address the new problem, leveraging similarity matching as the primary mechanism for knowledge application. Furthermore, CBR incorporates , where new experiences are retained in the case base after each problem-solving episode, allowing the system to evolve through accumulated instances without requiring upfront abstraction. A key philosophical underpinning of CBR is opportunistic reasoning, which emphasizes the use of shallow, symptom-based knowledge derived from reminding mechanisms rather than deep causal models. This approach draws from , where human problem-solving often involves recalling past situations based on superficial cues, such as a physician associating a patient's symptoms with a prior similar case. Complementing this is the paradigm, in which generalization does not occur during but is deferred to query time; cases are stored as concrete exemplars, and abstraction emerges dynamically through similarity-based retrieval and potential adaptation of solutions to fit the current context. Memory organization in CBR centers on exemplar-based storage, where cases are maintained in structures that facilitate efficient access without premature . Common types include hierarchical dynamic memory models, which organize cases around generalized memory organization packets (), and category-exemplar networks that link specific instances to broader classes for opportunistic . This storage strategy ensures that the system's knowledge remains tied to verifiable experiences, supporting both reuse and the occasional adaptation of cases to novel situations.

The CBR Process

Retrieval

Retrieval is the initial phase of the case-based reasoning (CBR) cycle, where the system identifies and selects the most relevant past cases from a case base to address a new problem query. The primary goal is to retrieve cases that exhibit high similarity to the query, enabling subsequent reuse of their solutions. This process relies on defining similarity between the query and stored cases, often measured across relevant features, to ensure the retrieved cases provide a strong foundation for problem-solving. Core methods for retrieval center on similarity assessment, with nearest-neighbor (NN) algorithms being among the most widely adopted due to their simplicity and effectiveness in flat case bases. In NN retrieval, similarity is computed as a metric, such as , where the for two cases xx and yy with features ii is given by sim(x,y)=wi(xiyi)2\text{sim}(x, y) = \sqrt{\sum w_i (x_i - y_i)^2}
Add your contribution
Related Hubs
User Avatar
No comments yet.