Is forgetting less a good inductive bias for forward transfer?

Jiefeng Chen, Timothy Nguyen, Dilan Gorur, Arslan Chaudhry

TL;DR

This paper challenges the widely held belief that mitigating catastrophic forgetting in continual learning inherently damages a model's ability to learn new tasks (forward transfer). By introducing a decoupled evaluation method—measuring forward transfer on frozen representations using $k$-shot probing—the authors demonstrate that less forgetful models actually produce more diverse, discriminative, and highly transferable features.

What Problem Does This Paper Address?

In continual learning (CL), a machine learning model encounters a sequence of tasks over time. The field has traditionally focused on solving catastrophic forgetting—the tendency of neural networks to completely erase knowledge of older tasks when updated on new data. Ideally, a good continual learner should also exhibit forward transfer: leveraging past knowledge to learn future tasks more efficiently.

However, recent literature has suggested a frustrating trade-off: techniques that successfully reduce forgetting often seem to hinder forward transfer. The authors of this paper argue that this "tug of war" is an artifact of how forward transfer is traditionally measured. Standard metrics evaluate forward transfer after the model has updated its weights on a new task using CL constraints designed to protect old tasks. These very constraints restrict the model's capacity to adapt, masking the true utility of the learned features.

This paper asks a fundamental question: If we isolate the learned representations from the training constraints, do less forgetful models actually transfer better?

Methods

The authors propose a clean separation between the continual training of a model and the evaluation of its forward transfer capabilities.

Instead of measuring accuracy during constrained training, they introduce K-Shot Probing:

  1. Freeze the Backbone: When a new task $T_{j+1}$ arrives, the feature extractor $\Phi_j$ learned up to the previous task is completely frozen.
  2. Train a Temporary Head: A temporary linear classifier ($\hat{\Theta}$) is trained on top of these fixed representations using a tiny, $k$-shot subset of data from the new task.
  3. Evaluate: The accuracy of this temporary model is measured on the test set of the new task.

The process is illustrated in the diagram below:

Illustration of continual learning and k-shot evaluation process

By keeping the feature extractor fixed during evaluation, this metric purely evaluates the quality and adaptability of the representations accrued so far. The authors also experiment with K-Shot Fine-Tuning (where the entire network is temporarily fine-tuned on a copy) to ensure their conclusions hold under different downstream adaptation paradigms.

To understand why certain representations transfer better, they employ a Feature Diversity Score (FDiv), which mathematically quantifies how well features enforce high inter-class separation and low intra-class variability.

Datasets

The authors evaluate their approach across a wide range of image classification benchmarks:

  • Split CIFAR-10 & Split CIFAR-100: Standard CL benchmarks where the original datasets are split into 5 and 20 disjoint tasks, respectively.
  • CIFAR-100 Superclasses: CIFAR-100 split into 5 tasks based on its high-level semantic superclasses.
  • CLEAR10 & CLEAR100: Real-world datasets that capture the natural temporal evolution of visual concepts over a decade (2005–2014), split into 10 chronological tasks.
  • Split ImageNet: ImageNet split into 100 sequential tasks (10 classes per task).

Key Insights and Ideas

  • The Trade-Off is an Illusion: When forward transfer is decoupled from optimization constraints, the supposed trade-off between forgetting and transfer disappears.
  • Good Memory Breeds Good Transfer: Continual learning algorithms that excel at retaining past knowledge (such as First-Order MAML (FOMAML) and Multitask Learning) consistently achieve the highest forward transfer performance.
  • Feature Diversity is the Secret Sauce: Less forgetful models don't just preserve old features; they build a richer, more robust feature space. The authors show a direct correlation between low forgetting and high Feature Diversity (FDiv) scores. This means the features are inherently more discriminative, making it easier for a simple downstream classifier to separate new, unseen classes.

Key Results

The empirical results strongly support the authors' hypothesis across all benchmarks, whether starting from a randomly initialized model or a pre-trained ImageNet backbone.

  • High Correlation: The authors found a strong, statistically significant positive Spearman rank correlation (frequently $>0.5$, and up to $0.92$ on Split CIFAR-100) between lower average forgetting and higher average forward transfer.
  • Algorithm Rankings: Meta-learning approaches like FOMAML and Multitask (MT) baselines consistently outperformed standard Finetuning (FT) and Experience Replay (ER) variants in forward transfer.

As shown in the Split CIFAR-100 benchmark results below, FOMAML exhibits the least forgetting and, consequently, the highest average forward transfer across all values of $k$:

Comparing average forgetting with average forward transfer on Split CIFAR-100

Limitations and Future Work

While the paper provides a refreshing perspective on continual learning, it notes a few limitations:

  • Task-Based Setting: The study is restricted to task-based continual learning, where task boundaries and IDs are explicitly provided during training and testing. How these dynamics play out in task-free or online continual learning remains an open question.
  • Model Capacity Assumption: The experiments assume the model (ResNet50) has sufficient capacity to store all task information. In extreme bottleneck scenarios, a trade-off might still be forced due to physical hardware limits.

Future Directions: The authors suggest that this representation-based forward transfer metric is highly relevant to the era of foundation models. Evaluating how well a backbone model can be sample-efficiently fine-tuned on downstream tasks without forgetting its upstream pre-training could serve as an excellent mechanism for foundation model selection.

Summary updated

BibTeX
@inproceedings{chen2023is,
  author = {Jiefeng Chen and Timothy Nguyen and Dilan Gorur and Arslan Chaudhry},
  title = {{Is forgetting less a good inductive bias for forward transfer?}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=dL35lx-mTEs},
}
Figure