Probing Representation Forgetting in Supervised and Unsupervised Continual Learning
MohammadReza DavariNader AsadiSudhir P. MudurRahaf AljundiEugene Belilovsky
Reveals through linear probing that neural networks retain substantially more past-task information during continual learning than standard accuracy metrics suggest, enabling a competitive rehearsal-free method based on supervised contrastive learning and class prototypes.
Deploying artificial intelligence systems across evolving real-world tasks often triggers catastrophic forgetting, where deep neural networks abruptly lose previously acquired knowledge when trained on new data. Organizations navigating dynamic environments must frequently update models, but traditional approaches assume that a drop in final classification accuracy means the underlying learned features are permanently destroyed. This assumption forces practitioners to rely on complex, computationally expensive, and memory-heavy continual learning algorithms to preserve model performance.
The article evaluates whether the internal feature representations of neural networks actually degrade as severely as end-task accuracy metrics suggest during sequential learning. The main objective is to measure true representation forgetting across standard continual learning benchmarks and establish how factors like model capacity, loss functions, and evaluation methods affect knowledge retention.
To conduct this evaluation, the analysis implements linear probing—a technique that trains an optimal linear classifier on frozen intermediate activations—to directly quantify the quality of preserved representations across sequential tasks. The researchers benchmark standard continual learning strategies against naive finetuning without forgetting controls across image datasets, including CIFAR and ImageNet variants, across sequences spanning up to 200 tasks. They test both supervised loss functions (standard cross-entropy and supervised contrastive learning) and unsupervised loss functions (such as SimCLR), while varying neural network architectures across different widths and depths in offline and online training settings.
The findings reveal that naive finetuning experiences far less representation forgetting than conventional task accuracy metrics indicate. When measured by linear probes, standard finetuning retains rich feature structures that can match or exceed specialized continual learning algorithms like Learning without Forgetting, especially in long task sequences. Second, training with supervised contrastive loss preserves representations remarkably well, showing stable performance or even positive transfer to early tasks over extended sequences. Third, increasing model capacity—particularly network width—significantly reduces representation forgetting, contrary to prior assumptions that scaling model size without pre-training offers no benefit. Finally, depth-wise evaluations demonstrate that representation forgetting is concentrated almost entirely in the uppermost classification layers, while lower network blocks remain virtually intact and retain their general utility.
These results show that neural network representations are fundamentally more robust to changing data streams than widely believed. Traditional task accuracy conflates superficial feature transformations, such as weight permutations, with actual information loss. Consequently, engineering organizations can avoid the steep compute and memory overhead of complex replay buffers by separating internal representation learning from task classification. A practical, low-cost approach combining supervised contrastive finetuning with nearest-mean-of-exemplar class prototypes achieves competitive recovery on past tasks using only five samples per class at test time, cutting computational training overhead by approximately half compared to standard rehearsal methods.
Decision-makers should re-evaluate their continual learning workflows by tracking internal representation quality via linear probes rather than relying exclusively on observed end-task accuracy. Teams deploying continually updated vision models should consider adopting contrastive representation learning paired with lightweight prototype classifiers for fast recovery on previous tasks. Because this investigation focuses on task-incremental scenarios with defined boundaries, teams should pilot these contrastive strategies on domain-specific data and conduct further testing in boundary-free, class-incremental settings before full-scale operational rollout.
- Paper: Learning without Forgetting, Zhizhong Li et al. (2016). Establishes the foundational Learning without Forgetting distillation baseline that the source paper directly benchmarks against when measuring representation retention across long task sequences.
- Paper: iCaRL: Incremental Classifier and Representation Learning, Sylvestre-Alvise Rebuffi et al. (2016). Introduces the nearest-mean-of-exemplars classification approach and representation-focused continual learning framework adapted by the source for low-overhead task recovery.
- Paper: Overcoming catastrophic forgetting in neural networks, James Kirkpatrick et al. (2017). Formulates the canonical catastrophic forgetting paradigm and parameter regularization methods that the source investigates through frozen representation probing.
- Paper: Decoupling Representation and Classifier for Long-Tailed Recognition, Bingyi Kang et al. (2019). Provides the foundational methodology for decoupling representation learning from classifier heads, which underpins the source paper's analytical probing strategy.
- Paper: Do Better ImageNet Models Transfer Better?, Simon Kornblith et al. (2018). Develops linear probing protocols on frozen intermediate representations to evaluate feature quality and transferability independently of end-task adaptation.
- Paper: Improved Baselines with Momentum Contrastive Learning, Xinlei Chen et al. (2020). Supplies core self-supervised contrastive learning and frozen linear probing evaluation techniques evaluated by the source across continual learning sequences.
- Paper: Gradient Episodic Memory for Continual Learning, David Lopez-Paz et al. (2017). Defines foundational metrics for measuring backward and forward transfer across sequential tasks that the source paper re-evaluates through internal representations.
- Paper: A Continual Learning Survey: Defying Forgetting in Classification Tasks, Matthias De Lange et al. (2019). Surveys the stability-plasticity trade-off and standard continual learning benchmarks across which the source conducts its empirical probing studies.
- Paper: A Comprehensive Survey of Continual Learning: Theory, Method and Application, Liyuan Wang et al. (2023). Provides an extensive, updated taxonomy that contextualizes representation-based continual learning findings and self-supervised stability within broader lifelong learning theory.
- Paper: Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks, Samyak Jain et al. (2024). Builds on the insight that fine-tuning leaves underlying capabilities intact by mechanistically demonstrating that adaptation primarily forms localized superficial output wrappers.
- Paper: An Empirical Investigation of the Role of Pre-training in Lifelong Learning, Sanket Vaibhav Mehta et al. (2023). Expands the investigation of representation robustness in lifelong learning across large-scale pre-trained models in both natural language processing and vision tasks.
- Paper: Self-Supervised Models are Continual Learners, Enrico Fini et al. (2022). Extends the source paper's unsupervised findings by formalizing a dedicated continual self-supervised learning framework that prevents representation drift using internal state projections.
- Paper: Self-Sustaining Representation Expansion for Non-Exemplar Class-Incremental Learning, Kai Zhu et al. (2022). Applies decoupled representation preservation and prototype matching to non-exemplar class-incremental settings under strict parameter budgets.
- Paper: GKEAL: Gaussian Kernel Embedded Analytic Learning for Few-Shot Class Incremental Task, Huiping Zhuang et al. (2023). Leverages frozen representation backbones combined with analytic classifier learning to eliminate catastrophic forgetting in few-shot class incremental tasks.
