Introduction
Classifier-Projection Regularization (CPR) is a simple, "plug-and-play" patch for continual learning that promotes wide local minima by maximizing the entropy of a model's output. By ensuring the model doesn't become overly "certain" on a single task, CPR creates more overlapping parameter space for future tasks. This significantly improves both stability (less forgetting) and plasticity (better learning) across various benchmarks.
The Problem: The Stability-Plasticity Dilemma
The "Holy Grail" of Continual Learning (CL) is solving the stability-plasticity dilemma. When a neural network learns a sequence of tasks, it often suffers from catastrophic forgetting: the weights shift so much to accommodate a new task that the model "forgets" how to perform previous ones.
Existing regularization-based methods (like EWC or SI) try to fix this by penalizing changes to "important" weights. However, if the region of low error for a task is very "sharp" (narrow), there is very little room for the weights to move without destroying performance. The authors argue that if we can force the model to find "wide" local minima—regions where the error stays low even if weights shift slightly—we create more "room to breathe" for future tasks to overlap with previous ones.
Classifier-Projection Regularization (CPR)
The authors introduce CPR as a simple additional term added to the standard cross-entropy loss and the existing CL regularization term.
- The Mechanism: CPR maximizes the entropy of the classifier’s output probability. In simpler terms, it discourages the model from being 100% confident in its predictions during training.
- Information Projection: From a theoretical standpoint, the authors show that this is equivalent to an "I-projection"—projecting the model's output onto a ball of distributions centered around a uniform distribution (where every class is equally likely).
- The "Patch" Approach: CPR isn't a standalone algorithm; it's a "patch." It can be seamlessly added to existing methods like EWC, MAS, SI, or RWalk. The total loss becomes:
Loss = Cross-Entropy + (λ * CL-Regularization) + (β * CPR-Term)whereβcontrols how much the regularization promotes wide minima.
Experimental Setup
The authors evaluated CPR across several standard and challenging benchmarks:
- CIFAR-100: Split into 10 sequential tasks.
- CIFAR-10/100: Uses CIFAR-10 for pre-training followed by CIFAR-100 tasks.
- Omniglot: A long sequence of 50 tasks (character recognition).
- CUB200: A fine-grained bird classification dataset (10 tasks).
- Atari Games: 8 different games used to test CPR in a Reinforcement Learning (RL) context.
Key Results and Insights
- Wide Minima = Better Overlap: The core geometric intuition is that sharp minima are like tiny targets; it's hard to hit multiple tiny targets with one set of weights. Wide minima are like large targets; they are much more likely to overlap, allowing one model to satisfy many tasks at once.
- Universal Improvement: Adding CPR consistently improved the Average Accuracy, reduced Forgetting, and improved Plasticity (Intransigence) for every baseline method tested.
- Omniglot Breakthrough: On the challenging 50-task Omniglot sequence, adding CPR to EWC boosted accuracy from 66.3% to 83.8%—a massive jump for such a simple modification.
- Visualizing the "Width": Using a tool called PyHessian, the authors plotted the loss landscapes. The visualizations clearly show that models trained with CPR have much flatter, wider "valleys" than those trained without it.
- Reinforcement Learning: CPR successfully scaled to RL, increasing the accumulated normalized reward across 8 Atari tasks by up to 27% for EWC.
- Early Intervention Matters: Ablation studies showed that applying CPR as early as possible in the task sequence provides the biggest boost to plasticity. Setting a good "wide" foundation in Task 1 makes Task 10 much easier to learn.
Limitations and Future Work
- Hyperparameter Tuning: CPR introduces a new hyperparameter (
β). While the authors provide a heuristic for choosing it, it still requires some validation. - Task-Aware Setting: The experiments primarily focus on "task-aware" settings where the model knows which task it is currently performing. Its performance in "task-agnostic" or "class-incremental" settings, which are often harder, is less explored here.
- Theoretical Bounds: While the paper provides a strong information-geometric interpretation, tighter theoretical bounds on exactly how much "width" is needed for a specific number of tasks remain an open question.
Summary updated