In the ideal world of machine learning, a model would learn a sequence of tasks as easily as a human, building upon old knowledge without losing it. In practice, neural networks suffer from catastrophic forgetting: as they learn new information, the weight updates required for the current task often overwrite the patterns learned for previous ones.
Recent research has pinpointed a specific, pervasive driver of this failure: recency bias. This is the tendency for a model to become disproportionately confident in the most recently encountered classes, leading it to misclassify old data as belonging to the new task.
The Classification Head as a Bottleneck
While it was long assumed that forgetting was a failure of the entire network's "memory," Wojciech Lapacz and colleagues in Exploring the Stability Gap in Continual Learning: The Role of the Classification Head demonstrate that the "stability gap"—the sudden drop in performance on old tasks—is primarily driven by the linear classification head rather than the feature-extracting backbone.
In a sequential setting, the weights of the final layer are heavily updated to minimize loss on the current task. Because the current training batch lacks representation from previous tasks, the optimization objective is dominated by the new data distribution. This causes the model to develop a "recency bias," where the classification boundary shifts to favor new classes. To fix this, researchers have proposed replacing parametric linear heads with a Nearest-Mean Classifier (NMC), which uses the distance to class prototypes rather than learnable weights, effectively smoothing out training dynamics.
The Rehearsal Imbalance
To combat forgetting, many systems use "rehearsal" or "pseudo-rehearsal," where a small buffer of old data is mixed with new data. However, this creates a massive data imbalance. As Fan Lyu and Shuai Wang note in Multi-Domain Multi-Task Rehearsal for Lifelong Learning, the vast amount of new task data often overwhelms the scarce historical samples in the buffer.
This disparity leads to two failure modes:
- Overfitting: The model over-optimizes for the few samples in the buffer.
- Representational Drift: The features of the new task overlap with and "crowd out" the sparsely represented features of previous tasks.
To address this, Haseeb Shah and colleagues proposed AC-Distillation in Distillation Techniques for Pseudo-rehearsal Based Incremental Learning. By using an auxiliary classifier to provide "soft targets," they prevent the model from forcing new data into old categories, ensuring the "teacher" model remains unbiased even as the "student" learns new tasks.
Architectural Guardrails
Beyond changing the loss function, researchers are redesigning architectures to isolate new knowledge from old. Prashant Shivaram Bhat, Bahram Zonooz, and Elahe Arani introduced TAMiL (Task-aware Attention Modules in Lifelong learning) in Task-Aware Information Routing from Common Representation Space in Lifelong Learning. Inspired by the Global Workspace Theory, TAMiL uses tiny, task-specific attention bottlenecks to filter information from a shared representation space. This prevents the "recency bias" by ensuring that the network's confidence is better calibrated across the entire history of tasks, rather than being skewed toward the most recent one.
Similarly, Zhen Wang and Dacheng Tao developed the Contrastive Vision Transformer (CVT) in Online Continual Learning with Contrastive Vision Transformer. By using "learnable focuses" and a focal contrastive loss, CVT forces the model to maintain distinct feature clusters for different tasks, preventing the catastrophic collapse of the feature space.
Eliminating Iterative Bias
Perhaps the most radical solution to recency bias is to move away from iterative gradient descent entirely. Standard backpropagation inherently favors the most recent data because each update is a step toward the current local minimum.
In G-ACIL: Analytic Learning for Exemplar-Free Generalized Class Incremental Learning, HUIPING ZHUANG and colleagues propose a closed-form mathematical solution. By replacing iterative updates with an analytic approach, they achieve "weight invariance." This means the final model weights are mathematically identical to what they would have been if the model had been trained on all data simultaneously, effectively eliminating the temporal bias inherent in sequential learning.
Measuring the True Gap
Finally, the community is realizing that our metrics for success were themselves biased. Nicolas Michel and colleagues argue in New metrics for analyzing continual learners that traditional accuracy scores fail to account for the increasing difficulty of tasks as more classes are added. They propose Rescaled Average Accuracy (RAA) to normalize performance against a random baseline, revealing the true stability-plasticity trade-off and ensuring that "success" isn't just a byproduct of a model's recency bias.