Exemplar Retrieval¶
Core Idea¶
A system answers "what is this and what should I do?" by retrieving the closest specific stored case and reusing its response, rather than applying an abstracted rule. There is no rule between case base and response — the history itself is the model, which gives the architecture its distinctive failure profile.
How would you explain it like I'm…
Just Like That One
Match To A Memory
Nearest-Case Reasoning
Broad Use¶
- Cognitive psychology: human categorization that stores specific traces and classifies by similarity rather than consolidating a prototype.
- Common law: a judge reasons from the most similar precedent (stare decisis), where civil-code systems classify from a statute instead.
- Machine learning: k-nearest-neighbours, kernel methods, and retrieval-augmented generation are exemplar systems; logistic regression and decision trees are prototype systems.
- Clinical medicine: expert diagnosticians pattern-match a case against remembered patients, falling back to criteria only at the boundary.
- Management: case-based decisions and the case method retrieve prior situations rather than apply abstract rules.
- Expert craft: chess, wine tasting, and radiology store vast libraries of positions or images and retrieve the most similar.
Clarity¶
Separates two architectures that look identical from outside — both take an input and act — but reason and fail differently. "She can't explain her rule" becomes "she has no rule; she has cases."
Manages Complexity¶
Pushes knowledge into the corpus rather than a rule: the machinery is small (a metric plus retrieval), so maintenance becomes corpus curation, and the design reduces to what cases to hold and what metric to compare them by.
Abstract Reasoning¶
Makes second-order properties legible: edge cases (confident-but-wrong prototypes versus unconfident-and-honest exemplars), adaptation (one new case changes behavior instantly), and bias (the system inherits its corpus's distribution).
Knowledge Transfer¶
- Expertise: when an expert performs well but can't state a rule, surface her exemplars — the transmissible knowledge is the case set, not a derivation.
- Jurisprudence ↔ ML: an exemplar (common-law) architecture handles novelty; a rule (statute) architecture delivers uniformity — the same choice and downstream consequences in both fields.
- Everywhere: a similarity metric mismatched to the operative semantics silently corrupts the system, making metric choice the most consequential design decision.
Example¶
A k-nearest-neighbours classifier has no fitted parameters: the training set is the model, a distance function ranks neighbours, and their majority label is copied — and when the nearest cases are all far away, the neighbour distances honestly signal a sparse region.
Relationships to Other Primes¶
Parents (2) — more general patterns this builds on
- Exemplar Retrieval is a kind of, typical Search and Retrieval — The file: 'sharper than generic search — the retrieved item becomes the ANSWER TEMPLATE for a new case.' Exemplar retrieval is search put to work as a categorisation architecture; search_and_retrieval is the genus.
- Exemplar Retrieval presupposes, typical Associative Memory — The file: 'the USE of associative_memory as a categorisation architecture.' Presupposes the recall mechanism, adding a similarity metric + reused response. Second parent; owner picks emphasis.
Path to root: Exemplar Retrieval → Search and Retrieval → Problem Space → State and State Transition
Not to Be Confused With¶
- Exemplar Retrieval is not Search and Retrieval because generic search returns a matching item and ends, whereas here the retrieved case becomes the answer template and the retrieval is the reasoning.
- Exemplar Retrieval is not Analogy because analogy abstracts relational roles and transfers them across domains, whereas exemplar retrieval matches a new instance to a stored one in the same space and copies the response.
- Exemplar Retrieval is not a rule/prototype system because those compress the history into a centroid, schema, or statute, whereas exemplar retrieval keeps the history itself with no intervening rule.