Manuscript Offprint

arXiv:2610.32799

CARES: Coverage-Aware Replay Exemplar Selection for Continual Learning

Arundhati S. Shanbhag, Brian B. Moser, Federico Raue, Tobias C. Nauen, Andreas Dengel

ABSTRACT

Replay-based Continual Learning mitigates catastrophic forgetting by keeping a buffer of past samples, making buffer composition critical under a fixed memory budget. Recent coreset-based replay methods improve buffer quality using model-derived gradients, losses, or auxiliary optimization, but incur substantial computational overhead as memory is repeatedly updated. We propose CARES, a continual model-optimization-free approach for buffer construction that instead exploits the geometry of a frozen pretrained feature space using class-aware, density-weighted coverage. We evaluate CARES across balanced, imbalanced, and label-noisy streams under online class- and task-incremental settings. On Tiny-ImageNet, CARES is 2.3–8.8×2.3–8.8\times faster than existing coreset-based selectors. Although CARES achieves this speedup using no training signal from the continual learner, it ranks among the state of the art across balanced, imbalanced, and label-noisy streams under online class- and task-incremental settings, outperforming the strongest baseline by up to 7.58 percentage points under class imbalance while also attaining higher average accuracy on Tiny-ImageNet. Code will be released upon publication.

1 INTRODUCTION

Continual learning (CL) studies how a model can acquire knowledge while being trained on a sequence of tasks without losing performance on previously learned tasks. This setting reflects realistic learning scenarios, where data does not arrive all at once but instead appears as a stream over time (Wang et al., 2024). However, deep neural networks trained under this constraint suffer from catastrophic forgetting (McCloskey & Cohen, 1989; Robins, 1995), in which updates on newer tasks overwrite representations useful for older ones. This problem is particularly challenging in class-incremental learning, where the model must distinguish among all classes observed so far without receiving the task identity at inference time.

Methods for mitigating catastrophic forgetting are commonly grouped into regularization-, architecture-, and rehearsal-based approaches. Regularization methods constrain model updates to preserve previously acquired knowledge (Kirkpatrick et al., 2017; Aljundi et al., 2018; Chaudhry et al., 2018; Ritter et al., 2018; Serra et al., 2018). Architecture-based approaches modify the network architecture through expansion or parameter isolation (Rusu et al., 2022; Schwarz et al., 2018; Mallya & Lazebnik, 2018; Xu & Zhu, 2018; Yoon et al., 2020; Hung et al., 2019; Sokar et al., 2021). Finally, replay-based methods maintain a buffer of samples from past tasks, which are replayed during training to address forgetting (Chaudhry et al., 2019a;b; Buzzega et al., 2020; Aljundi et al., 2019b;a; Lopez-Paz & Ranzato, 2022).

Under a fixed memory budget, the effectiveness of rehearsal depends not only on the number of samples stored but also on which samples are retained in the buffer (Rebuffi et al., 2017; Yoon et al., 2022; Aljundi et al., 2019b). Methods such as experience replay (Chaudhry et al., 2019b) provide inexpensive buffer updates but do not select samples that accurately represent the previously seen data. Other works employ distillation losses or constrain updates in addition to replaying past samples (Buzzega et al., 2020; Chaudhry et al., 2018; 2019a). Consequently, recent work has formulated buffer construction in rehearsal as a coreset selection problem (Yoon et al., 2022; Tiwari et al., 2022; Hao et al., 2023).

In a continual learning stream, buffer updates happen repeatedly and must keep pace with incoming data; selection is not a one-time cost, but one incurred at every task boundary or even every incoming batch (Wang et al., 2024). Gradient- and loss-based criteria (Aljundi et al., 2019b;a; Tiwari et al., 2022; Yoon et al., 2022; Hao et al., 2023) produce effective buffers, particularly under extreme memory limits, but they rely on additional computationally heavy optimization steps. Because this cost recurs at every update rather than once, it accumulates over the lifetime of the stream and can become a substantial fraction of total training time. This computational burden creates a practical tension: the very methods designed to make rehearsal more sample-efficient often introduce overhead that undermines the efficiency gains they seek to provide, particularly when buffer updates must keep pace with a continuous data stream (Tiwari et al., 2022; Aljundi et al., 2019a).

These limitations raise a more fundamental question: must a continually updated model also provide the signal that determines what it should remember? We investigate a complementary hypothesis: a replay buffer can instead be constructed by preserving the representative structure of the observed data in a stable feature space. Features from a frozen encoder provide a continual model-independent representation space in which examples can be compared throughout the stream. Within this space, geometric coverage encourages the buffer to represent distinct regions of the data distribution. However, pure coverage may overemphasize isolated candidates, whereas prioritizing only dense regions risks selecting redundant examples from dominant modes. Density-aware coverage provides a natural compromise between these two objectives.

SubZeroCore (Moser et al., 2025) addresses this coverage-density tension in static coreset selection through a density-aware coverage objective. We build on this rather than classical geometric selectors such as herding (Welling, 2009; Rebuffi et al., 2017), or k-Center Greedy (Sener & Savarese, 2018), which primarily emphasize representativeness or coverage (Moser et al., 2026), because SubZeroCore incorporates density without requiring model-derived training signals. This makes it well suited to the repeated memory updates of online continual learning. However, it assumes simultaneous access to a fixed candidate pool, whereas continual learning requires a bounded buffer that must be updated as new task data arrives and the distribution of available candidates may become strongly imbalanced across classes. Directly applying a global geometric selector can therefore allocate disproportionate memory to classes with more candidates.

To address these challenges, we propose CARES, a continual model-optimization-free approach to replay-buffer construction for online continual learning. At each memory-update step, CARES combines the existing replay memory with a staging pool of newly observed examples and embeds the resulting candidate set using a frozen pretrained encoder. It then allocates the fixed replay budget across observed classes and applies density-aware coverage independently within each class before reconstructing the memory. In this way, CARES adapts training-free geometric coreset selection to a continually evolving replay buffer of fixed capacity.

Crucially, memory construction in CARES is decoupled from optimization of the continual learner: selection requires no model-derived losses, gradients, or auxiliary model training. On Split-Tiny-ImageNet, this yields memory updates that are 2.3–8.8×2.3–8.8\times faster than existing coreset-based replay methods, while CARES attains higher final accuracy. This favorable accuracy–efficiency trade-off holds across balanced, imbalanced, and label-noisy online continual-learning settings, where CARES remains competitive with considerably more expensive selectors and is particularly effective under class imbalance.

References (34)