Introduction
In the field of Continual Learning (CL), deep neural networks are expected to adapt to a sequence of tasks. However, they frequently encounter a phenomenon known as "loss of plasticity," where the model becomes increasingly resistant to learning new information as training progresses. While previous research has attributed this to symptoms like "dead neurons" or exploding parameter norms, this paper identifies a unifying underlying cause: spectral collapse of the Hessian matrix.
The Theory of Spectral Collapse
The authors propose that a network's ability to learn—its "trainability"—is fundamentally tied to the rank of its Hessian matrix (the matrix of second-order derivatives). As a model trains on sequential tasks, its Hessian eigenspectrum often degenerates, with the majority of eigenvalues clustering at zero. This state of spectral collapse means there are fewer "directions" in the parameter space where the gradient can effectively guide optimization, leading to a flat, uninformative loss landscape.
Empirical analysis using the Lanczos algorithm confirms this collapse. As shown in the spectral density plots, early tasks maintain a diverse range of eigenvalues, but by Task 1400, the spectrum has almost entirely collapsed. This loss of curvature directly correlates with a drop in classification accuracy, providing a clear link between optimization geometry and model performance.
Maintaining Plasticity with $L2$-ER
To combat spectral collapse, the authors introduce a dual-action regularizer called $L2$-ER. This method combines two key components:
- Effective Rank (ER) Penalty: This term encourages high feature diversity, preventing the Hessian rank from dropping and ensuring neurons remain active.
- $L2$ Regularization: This prevents parameter norms from growing excessively, which helps maintain a well-conditioned loss landscape.
By enforcing these constraints, $L2$-ER ensures the loss landscape remains "bowl-shaped" (rich in curvature) rather than "taco-shaped" (flat valleys). This distinction is critical for sequential task transfer.
As illustrated in the task-transfer visualization, standard gradient descent (GD) often settles into low-curvature regions. While these might suffice for the current task, they offer poor "plasticity" for the next. In contrast, curvature-regularized approaches find minima that preserve the necessary geometric properties for continued learning.
Key Results and Implications
The $L2$-ER regularizer was evaluated across several benchmarks, including Permuted MNIST, Continual ImageNet, and Reinforcement Learning (RL) environments like Slippery Ant.
- Continual ImageNet: While standard backpropagation saw accuracy drop from 85% to 50% over 2,000 tasks, $L2$-ER maintained stable performance.
- Reinforcement Learning: In non-stationary environments where physics change over time, $L2$-ER allowed agents to continue re-learning their gaits, whereas standard algorithms like PPO saw performance collapse.
This framework provides a unifying theory for why many existing CL interventions work—such as "Shrink & Perturb"—by showing they essentially act as manual resets for the Hessian rank. By addressing the root cause of spectral collapse, $L2$-ER offers a computationally efficient, first-order solution for building models that can learn indefinitely.
Summary updated