IDER: Idempotent Experience Replay in Continual Learning
- The paper introduces a rehearsal-based approach that applies an idempotence constraint to maintain consistent model outputs and mitigate catastrophic forgetting.
- IDER leverages an idempotence distillation loss between current predictions and a frozen checkpoint to enhance calibration and control drift.
- Empirical results on CIFAR benchmarks demonstrate that integrating IDER with replay methods increases accuracy and reduces forgetting with minimal extra overhead.
Searching arXiv for the specified paper and closely related continual-learning replay work to ground the article. Idempotent Experience Replay (IDER) is a rehearsal-based continual learning method that injects the algebraic principle of idempotence into replay training in order to address catastrophic forgetting while improving predictive reliability and calibration. In the formulation introduced by Liu et al., the network is trained so that repeated application of its own output leaves that output unchanged, and this self-consistency is coupled to a frozen checkpoint from the previous task through an idempotence distillation loss (Liu et al., 28 Feb 2026). The method is positioned against two concurrent pressures in continual learning: maintaining past knowledge under sequential task updates, and producing calibrated confidence estimates in mission-critical settings without the high computational overhead and replay incompatibility attributed to existing uncertainty-aware continual learning approaches.
1. Problem setting and conceptual motivation
Catastrophic forgetting is described as the tendency of neural networks to forget previously learned knowledge when learning new tasks. Within continual learning, replay-based methods mitigate this effect by storing and revisiting past examples, but the paper argues that reliable deployment also requires uncertainty awareness, specifically calibration of predictive confidences. IDER is proposed as a response to the stated limitation that existing uncertainty-aware continual learning methods suffer from high computational overhead and incompatibility with mainstream replay methods (Liu et al., 28 Feb 2026).
The central conceptual move is to reinterpret replay through an idempotent lens. Rather than only requiring that the model classify current and buffered samples correctly, IDER requires that the model’s output be stable when fed back into the model itself, and that this stability remain compatible with the behavior of an earlier checkpoint. The exposition motivates this with three desiderata. First, self-consistency: if the model’s own prediction is stable under a second forward pass, its confidence estimates tend to be better calibrated. Second, drift control: repeated applications map examples into a “stable manifold,” preventing decision-boundary shifts when learning new tasks. Third, forgetting mitigation: enforcing idempotence on replayed data helps anchor the current model to its previous state, thereby regularizing against forgetting.
This framing places IDER within replay-based continual learning, but not as a replacement for replay. Instead, it is designed as an add-on principle that can be imposed on top of replay baselines.
2. Idempotence as a continual-learning constraint
The algebraic definition used in the paper is standard: a function is idempotent if
In continual learning, the network is written as a task-indexed function taking an input and an auxiliary label signal . The continual-learning-specific idempotence condition is imposed with respect to the second argument:
This definition is not merely a restatement of repeated inference. It changes the object being learned: the model is trained to accept either a one-hot label signal or an “empty” uniform signal, produce a first-pass output, and then remain stable when that output is supplied again as the auxiliary input. During task , the desired behavior on current data is stated as
A plausible implication is that the model’s output distribution becomes a fixed point of its own update rule on the second input channel. The exposition, however, makes the operational claim more specifically: this stability is intended to support calibration, reduce drift, and preserve past knowledge through replay.
3. Loss construction: standard idempotence and distillation
IDER is built from two losses. The first is the Standard Idempotent Module loss, denoted , which enforces idempotence on the current data stream: 0 Here 1 is the cross-entropy. The first term enforces ordinary supervised learning under the auxiliary input 2, while the second term requires that a second pass through the model remain label-consistent.
The second term is the Idempotence Distillation Module loss, denoted 3. The exposition first notes a naive idempotence loss on the union of current-task data and buffer,
4
but explicitly states that this can reinforce errors if 5 is wrong. To avoid that failure mode, the previous-task checkpoint 6 is frozen, and the distillation loss is defined as
7
The paper’s interpretation is that the current model’s first-pass output 8 is aligned with how the old model 9 would process that output. This couples current predictions to a prior checkpoint without requiring direct replication of all old outputs. In the paper’s terminology, the standard idempotent module promotes self-consistency on the current stream, while idempotence distillation preserves past knowledge and self-consistency under task transitions (Liu et al., 28 Feb 2026).
4. Training procedure and replay integration
The algorithmic outline is specified for tasks 0 using a fixed-size reservoir buffer 1. At the start of each task, the previous checkpoint is copied and frozen, 2 previous checkpoint, and the current model is initialized from it, 3, or warm-started. Training then proceeds over epochs or minibatches from the current task 4.
For each minibatch, current-task samples 5 are used to compute 6 via two forward passes of 7. Buffered samples 8 are then drawn from 9 and used to compute 0 by forwarding 1 through 2 once and then through 3. An optional replay term is also defined: 4 The parameters of 5 are updated by minimizing
6
After optimization, a subset of current-task examples is inserted into 7 via reservoir sampling, and the checkpoint 8 is saved for the next task. This makes IDER structurally compatible with rehearsal workflows that already maintain a memory buffer.
The paper emphasizes that the method is plug-and-play: the two losses can be added to replay baselines including ER, DER, CLS-ER, BFP, and SARL. One reported example is an FAA increase for CLS-ER+IDER from 9 to 0 on CIFAR-100 with buffer 1 (Liu et al., 28 Feb 2026). This characterization is important because IDER is not introduced as a wholly separate family of continual-learning algorithms; it is formulated as a reliability-oriented augmentation to replay.
5. Benchmarks, metrics, and reported empirical behavior
The experimental protocol covers single-pass continual learning without task IDs at test time. The listed datasets are Split-CIFAR-10 with 2 tasks 3 4 classes and 5 train / 6 test images per class; Split-CIFAR-100 with 7 tasks 8 9 classes and 0 images per class; Split-TinyImageNet with 1 tasks 2 3 classes and 4 train/val/test images; and a generalized CIL variant on CIFAR-100 in which task lengths vary, classes may reappear, and tasks are imbalanced. The reported metrics are Final Average Accuracy (FAA), Final Forgetting (FF), and Expected Calibration Error (ECE), with lower values preferred for FF and ECE (Liu et al., 28 Feb 2026).
The paper reports that IDER consistently improves prediction reliability while simultaneously boosting accuracy and reducing forgetting. Representative numbers are summarized below.
| Setting | Baseline | With IDER |
|---|---|---|
| Split-CIFAR-10, FAA, buffer 200 | ER: 5 | ER + IDER: 6 |
| Split-CIFAR-100, FAA, buffer 500 | BFP: 7 | BFP + IDER: 8 |
| GCIL CIFAR-100, FAA, buffer 200 | DER++: 9 | ER + IDER: 0 |
| CIFAR-10, ECE, buffer 200 | ER: 1 | ER + IDER: 2 |
| CIFAR-100, ECE, buffer 500 | ER: 3 | ER + IDER: 4 |
| CIFAR-100, FF, buffer 500 | ER: 5 | ER + IDER: 6 |
In the summary statistics, the paper also states that ER’s FAA increases from 7 to 8 on CIFAR-100 with buffer 9, ER’s ECE reduces from approximately 0 to approximately 1, and DER’s ECE reduces from approximately 2 to approximately 3. For GCIL on CIFAR-100, ER’s FAA rises from 4 to 5. On forgetting, Table 7 lists XDER at 6 FF and ER + IDER at 7 FF on CIFAR-100 with buffer 8; the accompanying note makes the intended comparison explicit by stating that IDER reduces forgetting relative to ER’s 9 down to 0. The figures support these claims with FAA/ECE/parameter comparisons against DER and NPCL (Fig. 1), taskwise accuracy curves (Fig. 6), runtime and forgetting analyses (Fig. 7), and a top-5 prediction visualization indicating recency bias correction (Fig. 8).
6. Overhead, ablations, limitations, and open directions
IDER is presented as computationally light relative to uncertainty-aware continual-learning alternatives. The reported overhead is one extra forward pass per example on current and buffer data, with no new large modules. For a ResNet-18 backbone, parameter count increases from 1 M to 2 M due to the added linear layer for the second input. Runtime in Fig. 7(a) is described as 3–4 slower than DER++ but 5 faster than X-DER, and still practical on a single GPU/TPU (Liu et al., 28 Feb 2026).
The ablation results clarify which components are doing the work. On CIFAR-100 with buffer 6, Table 8 reports that the Standard Idempotent Module alone yields no FAA gain over ER, whereas Standard Idempotent Module plus Idempotent Distillation yields the full 7 pp gain. A common misconception would therefore be to treat current-stream self-consistency as sufficient; the paper’s own ablation indicates that checkpoint-mediated distillation is the critical component.
Hyperparameter sensitivity is reported as relatively stable. For 8 and 9 in 0, FAA remains in 1. The empty-signal probability 2 is reported as best at 3, although 4, corresponding to always using the uniform signal, still gives approximately 5 FAA. These results suggest that the method does not depend on unusually narrow settings of its principal weights.
The limitations are stated explicitly. The current implementation is described as “naïve” and straightforward; richer distillation pathways or learned second-input encoders may further boost performance. The exposition also identifies exploration of idempotence in sample selection for buffer construction and extension beyond image classification, including RL and language, as promising directions. Finally, the theoretical analysis of idempotent manifolds in high dimension remains open. Taken together, these limitations locate IDER as a practically effective but not theoretically exhausted proposal: its empirical recipe is concrete, while its broader geometric and cross-domain implications are left for future work.