Retrieval-Augmented Memory for Online Learning
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
Retrieval-augmented models couple parametric predictors with non-parametric memories, but their use in streaming supervised learning with concept drift is not well understood. We study online classification in non-stationary environments and propose Retrieval-Augmented Memory for Online Learning (RAM-OL), a simple extension of stochastic gradient descent that maintains a small buffer of past examples. At each time step, RAM-OL retrieves a few nearest neighbours of the current input in the hidden representation space and updates the model jointly on the current example and the retrieved neighbours. We compare a naive replay variant with a gated replay variant that constrains neighbours using a time window, similarity thresholds, and gradient reweighting, in order to balance fast reuse of relevant past data against robustness to outdated regimes. From a theoretical perspective, we interpret RAM-OL under a bounded drift model and discuss how retrieval can reduce adaptation cost and improve regret constants when patterns recur over time. Empirically, we instantiate RAM-OL on a simple online multilayer perceptron and evaluate it on three real-world data streams derived from electricity pricing, electricity load, and airline delay data. On strongly and periodically drifting streams, RAM-OL improves prequential accuracy by up to about seven percentage points and greatly reduces variance across random seeds, while on a noisy airline stream the gated variant closely matches the purely online baseline. These results show that retrieval-augmented memory is a practical and robust tool for online learning under concept drift.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 6 of its 18 references that are in the map. First posted on arXiv 2 Dec 2025.
Builds on
6 of 18 references.
Closest ancestors · 2
Same direction, newest first
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
- 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb
Other references · 4
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,323
- 2021Improving language models by retrieving from trillions of tokenscited by 1,286
- 2018Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interferencecited by 514
- 2013Non-stationary Stochastic Optimizationcited by 173
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Online Learning via Memory: Retrieval-Augmented Detector Adaptation
- 2026Fast Weight Attention for Continual Learning
- 2026GAM-RAG: Gain-Adaptive Memory for Evolving Retrieval in Retrieval-Augmented Generation
- 2026Semantic-Aware Adaptive Visual Memory for Streaming Video Understanding
- 2026When Classic Cache Policies Fail: Learning-Augmented Replacement for Semantic Retrieval Buffers
- 2024Retrieving Examples from Memory for Retrieval Augmented Neural Machine Translation: A Systematic Comparison
- 2026TASR: Training-Free Adaptive Stopping for Iterative Retrieval
- 2025From RAG to Memory: Non-Parametric Continual Learning for Large Language Models