Abstract
In most machine learning algorithms, training data is assumed to be independent and identically distributed (iid). When it is not the case, the algorithm's performances are challenged, leading to the famous phenomenon of catastrophic forgetting. Algorithms dealing with it are gathered in the Continual Learning research field. In this paper, we study the regularization based approaches to continual learning and show that those approaches can not learn to discriminate classes from different tasks in an elemental continual benchmark: the class-incremental scenario. We make theoretical reasoning to prove this shortcoming and illustrate it with examples and experiments. Moreover, we show that it can have some important consequences on continual multi-tasks reinforcement learning or in pre-trained models used for continual learning. We believe that highlighting and understanding the shortcomings of regularization strategies will help us to use them more efficiently.
Introduction
In the field of Continual Learning (CL), the primary objective is to develop agents capable of learning a sequence of tasks without experiencing catastrophic forgetting—the tendency of new information to overwrite previously acquired knowledge. While regularization-based methods are widely used to mitigate this issue, this paper demonstrates that they are fundamentally insufficient for the most challenging and realistic CL setting: class-incremental learning.
The Class-Incremental Challenge
The authors focus on the distinction between "Multi-Head" and "Single-Head" (class-incremental) scenarios. In a multi-head setup, the model is provided with a task label at inference time, allowing it to use task-specific output layers. In the more realistic single-head setup, the model must classify an input into any of the classes learned across all tasks without knowing which task the input belongs to.
Regularization methods, such as Elastic Weight Consolidation (EWC) and Orthogonal Gradient Descent (OGD), attempt to solve CL by penalizing changes to weights deemed important for past tasks. However, the authors argue that protecting old weights is not equivalent to learning how to distinguish between old and new classes.
The Inter-Task Discrimination Gap
A critical insight of this work is the Inter-Task Discrimination Gap. Regularization is effective at preserving intra-task discrimination (e.g., distinguishing between two classes within Task 1). However, because the model never sees data from Task 1 and Task 2 simultaneously during training, it lacks a mathematical objective to learn inter-task discrimination (e.g., distinguishing a class from Task 1 from a class in Task 2).
This problem is exacerbated at the output layer. When learning a new task, the model adds new output units. Without access to past data, it cannot calibrate the activation scores of these new units against the old ones. Consequently, the model often becomes biased toward the most recently learned task, as its output units typically produce higher activation values.
The "Task Label" Crutch
The apparent success of regularization in many studies is often due to the use of the multi-head evaluation setting. By providing the task label, the model is essentially given a "cheat sheet" that bypasses the need for inter-task discrimination. This dependency limits the autonomy of the AI and masks the underlying failure of regularization to build a truly integrated knowledge base.
Empirical Evidence: MNIST-Fellowship
To validate these claims, the authors introduced the MNIST-Fellowship benchmark, a sequence of three 10-class datasets: MNIST, Fashion-MNIST, and KMNIST. In a 30-class single-head evaluation, regularization methods performed poorly, with accuracies hovering around 30%—barely better than a model that simply forgets everything except the last task.
In contrast, a simple rehearsal strategy, which saves a small buffer of 100 samples per class, achieved over 80% accuracy. Visualizations of the latent space confirmed that while regularization leads to overlapping task clusters, rehearsal successfully maintains separation between tasks in the model's internal representation.
Conclusion
This research provides a sobering reality check for regularization-based continual learning. While useful for preserving specific skills, regularization alone cannot solve the problem of discriminating between classes learned at different times. The authors suggest that future work should focus on hybrid systems that combine weight protection with data replay or generative models to provide the necessary "memory" for inter-task calibration.
Summary updated