Recency Bias in Continual Learning

774 concepts436 papers2 proposals

When a deep neural network learns sequentially, it suffers from a frustratingly predictable flaw: it becomes obsessed with the present. If you teach a model to recognize cats and dogs, and then later teach it to recognize cars and airplanes, it will suddenly start labeling almost everything—including cats and dogs—as cars or airplanes.

This phenomenon is known as recency bias (or task-recency bias). While the broader challenge of sequential training is often called "catastrophic forgetting," modern research reveals that the model hasn't necessarily erased its past visual knowledge. Instead, the final layer of the network has simply become heavily rigged to favor the newest categories.

Understanding why this happens, how it distorts the model's internal logic, and how to fix it is essential to building AI systems that can learn continuously.


The Root Cause: Asymmetric Optimization

To understand why recency bias occurs, we have to look at how a model's optimization objective shifts over time.

In a standard offline training setup, a model sees all classes simultaneously, allowing it to draw balanced decision boundaries. But in continual learning, the data stream is non-stationary. As Hyunseo Koh et al. observe in Online Continual Learning on Class Incremental Blurry Task Configuration with Anytime Inference, training directly on a live data stream forces the model to optimize for the latest observations, causing massive performance fluctuations on older tasks.

This happens because of a fundamental imbalance in the training signals:

  1. Active Updates for New Classes: The model receives strong, explicit gradients for the new classes it is currently processing.
  2. Stagnant Updates for Old Classes: The weights associated with historical classes receive little to no positive reinforcement because their corresponding data is missing from the current batch.

As a result, the final classification layer develops a severe structural asymmetry. As Ghada Sokar et al. point out in SpaceNet: Make Free Space for Continual Learning, the weight magnitudes of newer task components rapidly grow to overshadow those of older ones.

[Old Classes (Task 1)]  --->  Weak / Un-updated Weights  ---> Low Logits  \
                                                                           ---> Model Predicts New Class
[New Classes (Task 2)]  --->  Strong / Active Weights    ---> High Logits /

Even when researchers use Experience Replay (ER)—storing a tiny buffer of past images to remind the model of its history—the bias persists. Zheda Mai demonstrates in Online Continual Learning in Image Classification: An Empirical Survey that the sheer volume of incoming new data vastly outweighs the sparse historical samples in the memory buffer. The final classification layer still ends up heavily weighted toward the most recently seen classes, meaning the model will misidentify old samples even if its internal feature extractor still recognizes the underlying patterns.


How Recency Bias Distorts Inference

Recency bias doesn't just lower accuracy; it warps the model's confidence and decision-making boundaries in two distinct ways.

1. Logit Distortion

The final layer of a classification network outputs raw scores called logits, which are converted into probabilities via a softmax function. Because the weights for the newest classes are disproportionately large, their dot products with incoming feature vectors yield systematically higher values.

In Rethinking Experience Replay: a Bag of Tricks for Continual Learning, Pietro Buzzega et al. explain that this logit distortion makes it impossible for the model to maintain a balanced decision boundary. The model's predictions are pulled toward the recent classes purely because of the scale of the outputs, not because of semantic similarity.

2. Overconfidence and OOD Blindness

This bias creates a dangerous vulnerability when the model encounters completely novel or out-of-distribution (OOD) data. Because the network is so heavily tuned to its most recent task, it loses its ability to express uncertainty.

As Guansong Pang et al. discover in OpenCIL: Benchmarking Out-of-Distribution Detection in Class-Incremental Learning, incrementally trained models develop an overconfidence bias that causes them to blindly misclassify random, unrelated inputs as members of the newest task categories rather than identifying them as unknown.


Strategies for Mitigation

To build true lifelong learning systems, researchers have developed several clever mechanisms to counteract this temporal skew.

Dual-Memory Systems

One bio-inspired approach is to decouple the learning process into two distinct systems: a highly plastic "fast" memory that absorbs new information, and a stable "slow" memory that consolidates past knowledge.

In Learning Fast, Learning Slow: A General Continual Learning Method based on Complementary Learning System, Elahe Arani et al. show that balancing fast and slow weight updates prevents the model from over-optimizing for current data. This dual-memory architecture ensures a much more uniform prediction probability across all previously learned categories.

Classifier Calibration and Pseudo-Features

If the primary issue is that the final layer lacks historical context, we can artificially inject that context during training or inference.

For instance, in DESIRE: Dynamic Knowledge Consolidation for Rehearsal-Free Continual Learning, Fei Zhu et al. utilize "pseudo-features" to mathematically recalibrate the classifier's decision boundaries. By generating synthetic representations of past tasks, they can balance the final layer's weights without needing to store any original user data.

Early Intervention and Decomposition

Other researchers argue that trying to fix the classifier after it has learned a new task is an uphill battle. Instead, the bias must be managed the moment a new task is introduced.

In Enhancing Continual Relation Extraction via Classifier Decomposition, Heming Xia et al. demonstrate that the initial phase of learning a new task is the primary source of performance degradation. By decomposing the classifier and using adversarial tuning during this initial phase, they prevent the model from establishing a systematic bias toward new relations in the first place.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 464 papers
  2. Version 1 · 2026-10-04 · 536 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_recency_bias_task_recency_bias_1a8ff3c4,
  title = {recency bias (task-recency bias)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/recency-bias-task-recency-bias/rdr_1a8ff3c48ee0440a8b2eae743089d389},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 2, frozen text):

@misc{lacuna_recency_bias_task_recency_bias_1a8ff3c4_v2,
  title = {recency bias (task-recency bias)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/recency-bias-task-recency-bias/rdr_1a8ff3c48ee0440a8b2eae743089d389/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake