Continual Learning and Catastrophic Forgetting

Bing Liu, Gido M. van de Ven, Nicholas Soures, Dhireesha KudithipudiarXiv 2024 · DOI

Introduction

Artificial neural networks have achieved remarkable success in static environments where data is independent and identically distributed (i.i.d.). However, real-world applications often involve non-stationary data streams. When a standard deep neural network learns a sequence of tasks, it frequently suffers from Catastrophic Forgetting (CF)—the phenomenon where parameter updates for a new task overwrite the weights necessary for previous ones, leading to a total loss of prior knowledge.

Comparison of sequential training (leading to catastrophic forgetting) and interleaved training.

The Stability-Plasticity Dilemma

True Continual Learning (CL) is more than just preventing forgetting; it requires navigating the stability-plasticity dilemma. A system must be plastic enough to integrate new information quickly while remaining stable enough to retain old knowledge. Beyond retention, effective CL systems should exploit task similarities for forward and backward knowledge transfer while operating within strict memory and computational constraints.

Scenarios and Benchmarks

The field distinguishes between three primary scenarios based on the availability of task identity:

  1. Task-Incremental (Task-IL): The model is informed which task it is performing (the simplest case).
  2. Domain-Incremental (Domain-IL): The task structure remains constant, but the input distribution changes (e.g., varying environmental conditions).
  3. Class-Incremental (Class-IL): The model must distinguish between all classes encountered so far without explicit task labels (the most challenging case).
Task-free continual learning setup using the Split MNIST benchmark, illustrating shifting data distributions.

Common benchmarks include Split MNIST, where the dataset is divided into sequential digit pairs, and Permuted MNIST, which uses random pixel permutations to create distinct tasks. More complex datasets like CIFAR-100 and MiniImageNet are used for advanced class-incremental evaluations.

Computational Strategies for Continual Learning

Current research categorizes CL methods into six major computational approaches:

  • Replay (Rehearsal): Storing past data or using generative models to "re-play" experiences during new learning. Replay is currently considered the "gold standard" for Class-IL.
  • Parameter Regularization: Penalizing changes to weights critical for previous tasks (e.g., Elastic Weight Consolidation).
  • Functional Regularization: Ensuring the network's output function remains consistent for old inputs.
  • Optimization-based Approaches: Modifying learning algorithms (e.g., gradient projection) to prevent interference.
  • Context-dependent Processing: Using modular architectures or gating to isolate task-specific network components.
  • Template-based Classification: Learning class prototypes rather than just decision boundaries.

Future Directions

While progress is significant, several challenges remain. Most methods rely on an "oracle" to signal task changes, whereas real-world AI must detect shifts autonomously. Furthermore, while cognitive science suggests that "intentional forgetting" can aid generalization, AI research has yet to fully leverage this concept. Future work must also address the sustainability of memory-intensive methods like replay for deployment on edge devices.

Summary updated

BibTeX
@misc{liu2024continual,
  author = {Bing Liu and Gido M. van de Ven and Nicholas Soures and Dhireesha Kudithipudi},
  title = {{Continual Learning and Catastrophic Forgetting}},
  year = {2024},
  eprint = {2403.05175},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.05175},
}
Figure