Is Forgetting Less a Good Inductive Bias for Forward Transfer?

Jiefeng Chen, Timothy Nguyen, Dilan Gorur, Arslan Chaudhry

Introduction

Does preventing a machine learning model from forgetting old tasks actually help it learn new ones? While previous research suggested a "tug-of-war" between retaining old knowledge and acquiring new skills, this paper demonstrates that less forgetful models actually produce superior, more transferable representations. By decoupling the quality of learned features from the specific constraints of continual learning algorithms, the authors show that "forgetting less" is indeed a powerful inductive bias for future learning.

The Continual Learning Dilemma

In the world of Continual Learning (CL), models face a dual challenge: they must retain knowledge from the past (avoiding "catastrophic forgetting") while using that knowledge to learn new tasks more efficiently ("forward transfer").

Conventionally, researchers believed these two goals were in conflict. Previous studies often found that the more an algorithm tried to protect old memories, the worse it performed on new tasks. However, this paper argues that this perceived trade-off is an artifact of how we measure success. Usually, forward transfer is measured while the model is being restricted by a CL algorithm (e.g., being forced to stay near old weights). The authors ask: if we just look at the representations (the internal features) the model has built, are the "less forgetful" ones actually better for the future?

A New Way to Measure Transfer

To answer this, the authors propose a shift from "constrained" evaluation to auxiliary evaluation. Instead of measuring how well a model learns a new task under the thumb of a CL penalty, they use two "unconstrained" probes to evaluate the raw quality of the learned representations:

  1. K-Shot Linear Probing: They fix the model's feature extractor after a task and train a simple linear classifier on a tiny bit of data ($k$ samples) from the next task.
  2. K-Shot Fine-Tuning: They allow the entire model to be updated on the new task without any CL-specific restrictions.
Illustration of the unconstrained linear probing evaluation method.

They compared several standard CL approaches, including Experience Replay (ER), FOMAML (a meta-learning approach), Multitask (MT, the "gold standard" seeing all data at once), and standard Fine-Tuning (FT). To understand why some models transfer better, they also introduced a Feature Diversity (FDiv) metric, which measures how discriminative and diverse the internal representations are.

Key Insights and Results

The study evaluated these methods across a wide range of image classification benchmarks, including Split CIFAR-10/100, CLEAR10/100 (featuring real-world temporal drift), and Split ImageNet.

The "Tug-of-War" is an Illusion: The perceived trade-off between forgetting and transfer exists only when measured simultaneously under constraint. When isolating the quality of the learned features, models that remember the past better are almost always better at learning the future. The authors found a high Spearman rank correlation (often > 0.8) between low forgetting and high forward transfer across almost all datasets.

Comparison of Average Forgetting and Average Forward Transfer on Split CIFAR-100.

FOMAML and MT Lead the Pack: As seen in the results, methods like FOMAML and Multitask consistently showed the least forgetting and the highest $k$-shot accuracy on new tasks.

Representational Richness: Less forgetful models develop features that are more "diverse" and "discriminative." Essentially, by trying to satisfy the requirements of many tasks over time, the model learns a more robust "visual language" rather than over-fitting to the current task. Models with higher Feature Diversity (FDiv) scores consistently performed better in transfer scenarios.

Foundation Model Implications: The paper suggests that for foundation models, the best pre-training strategy is one that minimizes forgetting. While starting with a pre-trained ImageNet model reduces forgetting, the choice of CL algorithm still significantly impacts how much of that "transferability" is preserved as the model learns new things.

Limitations and Future Work

The study primarily focuses on "task-based" continual learning, where the model knows exactly when a task changes. "Task-free" or "online" settings might present different challenges. Additionally, if tasks are "negatively related" (where learning one actively confuses the other), the relationship between forgetting and transfer might break down, though such cases are rare in practical settings.

Future work could explore how these findings apply to even larger foundation models and whether this representational measure can be used as a "model selection" tool to predict which models will be easiest to fine-tune on unknown future tasks.

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