TL;DR
Even when continual learning algorithms have access to perfect joint training data across tasks, models suffer from a temporary yet steep plunge in performance immediately after switching tasks—a phenomenon known as the stability gap. The authors argue that continual learning must focus not just on what to optimize (the loss objective), but how to optimize it (the optimization trajectory). While their proposed fix—combining replay objectives with gradient-projection routines from GEM—fails to produce consistent empirical gains, the conceptual framework opens a vital new angle for continual learning research.
What Problem Does This Paper Address?
When deep neural networks learn new tasks sequentially, they tend to overwrite previously acquired knowledge (catastrophic forgetting). Standard solutions mitigate this by modifying the objective function—adding replay memory or regularization penalties to approximate the joint loss across all seen tasks.
However, recent studies discovered the stability gap: even when a model eventually recovers its performance on old tasks, its accuracy drops severely during the initial training iterations on a new task. Crucially, the authors demonstrate that this gap persists even during incremental joint training (full replay of all historical data). Because a perfect objective function cannot prevent the stability gap, the issue is not what is being optimized, but the path standard stochastic gradient descent (SGD) takes through the loss landscape.
Methods
The authors propose that the field should combine two previously disjoint lines of research:
- The Objective ("What to optimize"): Approximating the joint loss ($\tilde{\ell}_{\text{joint}} = \frac{1}{t}\ell_{\text{new}} + (1 - \frac{1}{t})\tilde{\ell}_{\text{old}}$) using Experience Replay (ER).
- The Trajectory ("How to optimize"): Guiding the optimization path using gradient projection techniques, specifically from Gradient Episodic Memory (GEM) and Averaged GEM (A-GEM).
In standard GEM, gradient projection is applied strictly to new task loss updates ($\ell_{\text{new}}$) to avoid increasing the loss on old tasks. In this paper, the authors repurpose GEM's and A-GEM's projection routines to steer updates of the joint loss proxy ($\tilde{\ell}_{\text{joint}}$) instead. They also evaluate combining A-GEM projection with state-of-the-art replay methods: Dark Experience Replay (DER) and Bias Correction (BiC).
Datasets
The authors evaluated their hypothesis across four benchmarks spanning domain-incremental and class-incremental scenarios, in both multi-epoch ("offline") and single-epoch ("online") settings:
- Rotated MNIST: Domain-incremental; 3 tasks consisting of MNIST digits rotated by $0^\circ$, $80^\circ$, and $160^\circ$.
- Domain CIFAR-100: Domain-incremental; the 20 superclasses of CIFAR-100 partitioned across 5 tasks.
- Split CIFAR-100: Class-incremental; 10 disjoint tasks with 10 classes each.
- Split Mini-ImageNet: Class-incremental; 20 disjoint tasks with 5 classes each.
Key Insights and Ideas
- The Stability Gap is an Optimization Path Problem: Mode connectivity literature shows that neural network minima for sequential tasks are connected by low-loss valleys. Standard SGD simply takes a greedy shortcut straight through high-loss territory for previous tasks before recovering.
- Objective vs. Trajectory: Continual learning methods typically focus on designing better proxy loss functions (Bayesian priors, distillation, buffer sampling). However, altering the optimization trajectory itself is complementary and necessary to keep the model within low-loss paths.
- GEM's Hidden Sensitivity: GEM relies on an under-discussed hyperparameter ($\gamma$) that biases projections toward backward transfer. The authors find that varying $\gamma$ drastically affects stability: larger $\gamma$ values helped Rotated MNIST, but caused severe training collapses on natural image datasets unless dialed down.
Key Results
In pre-registered experiments, the proposed combination of ER and gradient projection did not consistently improve performance:
- Rotated MNIST (Modest Success): On offline Rotated MNIST, adding GEM projection to ER improved final average accuracy (AVG) from $91.9\%$ to $93.7\%$ and raised the average minimum accuracy (MIN, measuring the stability gap) from $83.1\%$ to $84.1\%$.
- Natural Image Datasets (Performance Collapse): On complex benchmarks, ER + GEM caused catastrophic performance collapses. On offline Split CIFAR-100, final accuracy dropped from $22.8\%$ (standard ER) to $7.1\%$ (ER + GEM).
- A-GEM Inactivity: Combining ER, Joint training, DER, or BiC with A-GEM showed negligible differences compared to the base methods, as A-GEM rarely triggered gradient projections.
- Computational Overhead: ER + GEM required more than $4\times$ the runtime of standard ER on online Split CIFAR-100 ($252.25$s vs. $59.24$s) due to solving per-task quadratic programs.
Limitations and Future Work
- Empirical Shortcoming: Off-the-shelf gradient projection (GEM/A-GEM) is too brittle or inactive to reliably resolve the stability gap without triggering optimization collapses on complex vision datasets.
- Architectural Conflicts: Batch normalization interacts poorly with GEM’s per-task gradient calculations, creating distributional instability when computing reference gradients.
- Future Directions: The authors emphasize that better optimization routines are still needed. Promising alternatives include trust-region optimization, primal-dual formulations using Lagrange multipliers, proximal point methods, second-order optimization, and dynamic learning rates.
Summary updated