Manuscript Offprint

arXiv:2610.03413

AIBL: Augmented Instance-Based Learning with Structured Memory and Neural Embeddings

Radha Poovendran, Andrea Stocco, Linda Bushnell

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Sequential learning systems often make decisions from accumulated experience while receiving high-dimensional inputs whose distribution may change over time. Instance-Based Learning Theory (IBLT) provides a principled case-based framework for such settings through stored situation–decision–utility instances, partial matching, activation, and blending. IBLT typically relies on symbolic knowledge representation in dictionary-like formats, but text, images, transaction vectors, and user-item histories often require learned similarity rather than hand-specified matching rules.

In this paper, we introduce AIBL (Augmented Instance-Based Learning), an instance-learning model formulated in a learned vector space for high-dimensional sequential data. AIBL generalizes symbolic situation matching to neural embedding similarity while retaining instance storage, activation-weighted retrieval, and utility blending. This makes AIBL suitable for applications such as text classification, transaction monitoring, drift adaptation, and recommendation, especially when stable symbolic attributes are unavailable or lossy and weakly supported observations should not be blended immediately with active memory. The AIBL model organizes memory into active, forgotten, and surprise stores. Surprise memory separates weakly matched, possible out-of-distribution, or corner-case observations from active memory, reducing forced fitting to the nearest available cases. An observation-driven graduation algorithm promotes recurring surprise instances to active memory, allowing the memory to incorporate repeated novel patterns that may arise under concept drift.

We evaluate the same implementation on five machine learning tasks and three controlled simulation tasks, comparing AIBL with classical IBLT variants and task-specific baselines where appropriate. On the machine-learning tasks where a symbolic IBLT baseline is reported, AIBL improves accuracy by 6 to 17 percentage points. The results show where vector-space retrieval improves over symbolic matching and how the added memory mechanisms govern novelty detection, cold-start handling, drift adaptation, and reward learning under the tested protocols.

Keywords: Instance based learning, neural embeddings, memory systems, cognitive modeling, streaming learning, anomaly detection, contextual bandits, case based retrieval

1 Introduction

Many deployed learning systems make decisions as data arrive. Fraud detectors process transactions sequentially. Recommenders update behavior as users reveal preferences. Text classifiers may encounter topics that were not present in the initial stream. In each case, the learner must use accumulated experience while deciding whether the current input is well supported by that experience. This judgment is difficult when observations are often high dimensional, feedback may be delayed or partial, and the data distribution may change after deployment.

Learning from stored cases is a natural fit for this setting because predictions remain tied to experience. A learner can retrieve earlier observations, compare them with the current query, and combine their observed outcomes rather than compressing all past experience into fitted parameters alone. This supports streaming operation, learning from limited data, and inspection of the cases that influenced a decision. The same structure can also create a failure mode. If the closest stored cases are still poor matches, ordinary retrieval can force the system to treat weak evidence as sufficient evidence.

Instance-Based Learning Theory (IBLT) (Gonzalez et al. 2003; Gonzalez and Dutt 2011) provides a principled foundation for this type of case based sequential decision making. It represents experience as instances that contain a situation, a decision, and a utility value. It retrieves similar prior instances, weights them by a decaying activation term, blends their utilities, and updates memory after feedback. Together with its cognitive plausibility (its principles reflect the underlying neural mechanisms of learning and decision-making (Stocco et al. 2024; Yang et al. 2024)), its robustness and reliability have made IBLT a popular and widely-used machine learning framework, having been applied to fields as varied as reinforcement learning (Gershman and Daw 2017), epidemiology (Mitsopoulos et al. 2025), cybersecurity (Dutt et al. 2013), phishing detection (Xu et al. 2022), teaming between humans and machines (Lebiere et al. 2025), and algorithmic theory of mind (Stocco et al. 2026).

IBLT applications typically rely on dictionary-like situation representations for which the relevant attributes and partial matching functions are manually specified. In contrast, the predictive similarity structure of documents, images, transaction records, and user and item histories is high dimensional, task dependent, and learned from data rather than available as a compact set of hand coded situation attributes.

This motivates a vector space formulation that addresses the representation problem while preserving the instance based logic. A vector space formulation addresses the representation problem while preserving the instance based logic. Learned encoders can map observations from one or more data modalities into embeddings. This makes similarity computable across high dimensional inputs and allows retrieval to use latent task relevant structure.

Once retrieval is defined in an embedding space, however, weak matches require a special memory policy. Observations with low similarity should not always be blended immediately with active memory, because doing so can make distributional change or corner cases appear as ordinary nearest case predictions.

To address the limitations of IBLT, we introduce AIBL (Augmented Instance-Based Learning), an embedding based instance learning model for high dimensional sequential data. AIBL keeps the IBLT structure in which each instance contains a situation, a decision, and a utility value, while generalizing retrieval to neural embedding spaces. The model organizes instances into active, forgotten, and surprise stores. Surprise memory preserves weakly matched cases that may become useful if similar observations recur. It also separates possible out of distribution observations and corner cases from active memory, reducing forced fitting to the nearest available cases.

The movement between memory stores is governed by specified algorithms. AIBL promotes a surprise instance to active memory only after repeated similar observations provide sufficient evidence that it should participate in ordinary retrieval and blending. It also decays inactive instances, reactivates forgotten instances when they become relevant again, and uses outcome aware duplicate handling so that nearby embeddings with substantially different observed outcomes can remain distinct.

The paper makes three contributions. First, it formulates IBLT in a learned vector space, reducing the need for hand specified situation attributes and similarity functions when observations are text, tabular records, user and item pairs, or other encoded inputs. Second, it introduces active, forgotten, and surprise memory stores with a rule that promotes recurring instances with low similarity. Third, it evaluates the augmented model across five machine learning tasks and three controlled novelty simulations against symbolic IBLT variants and task-specific baselines.

The evaluation compares AIBL with classical IBLT variants and task-specific baselines where appropriate. On the machine learning tasks where a symbolic IBLT baseline is reported, AIBL improves accuracy by 6 to 17 percentage points. Ablations and threshold sweeps show how the added memory mechanisms govern novelty detection, cold start handling, drift adaptation, and reward learning under the tested protocols.

The remainder of the paper is organized as follows. Section 2 reviews instance based learning, computational memory models, memory augmented machine learning, and novelty detection. Section 3 presents the AIBL model and its vector space memory representation. Section 4 describes the storage, promotion, retrieval, blending, decay, and outcome update algorithms, together with their computational and storage costs. Section 5 reports the experimental protocols and baseline comparisons. Section 6 discusses the interpretation and limitations of the results. Section 7 concludes with the main findings and open problems.

References (28)

  • Identifying density-based local outliers
  • In: Advances in Neural Information Processing Systems, pp 2249–2257
  • Expert Systems with Applications 41(10):4915–4928
  • Pre-training of deep bidirectional transformers for language understanding
  • University of California, Irvine, School of Information and Computer Sciences, URL
  • Modeling detection of cyber attacks with instance-based learning theory
  • An integrative framework
  • Integrating sampling and repeated decisions from experience
  • Cognitive Science 27(4):591–635
  • Neural Turing Machines
  • History and context (opens the publisher in a new tab)
  • Nearest neighbor language models
  • Topics in Cognitive Science 17(2):268–290
  • In: Advances in Neural Information Processing Systems
  • In: Proceedings of the 19th International Conference on World Wide Web, pp 661–670
  • In: Proceedings of the 2008 Eighth IEEE International Conference on Data Mining, pp 413–422
  • Frontiers in epidemiology 5:1563731
  • A critical update
  • In: International Conference on Machine Learning, pp 2827–2836
  • Sentence embeddings using Siamese BERT-networks
  • In: Proceedings of the MLSDA 2014 2nd Workshop on Machine Learning for Sensory Data Analysis, pp 4–11
  • Neural Computation 13(7):1443–1471
  • Computational Brain & Behavior 7(1):129–149
  • In: Proceedings of the 23rd International Conference on Cognitive Modeling, in press
  • Technometrics 4(3):419–420
  • In: Proceedings of the International Conference on Learning Representations
  • Proceedings of the 55th Hawaii International Conference on System Sciences pp 1–10
  • Computational Brain & Behavior 7(3):420–436