NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Curvature Explains Loss of Plasticity

Alex Lewandowski, Haruto Tanaka, Dale Schuurmans, Marlos C. Machado · Submission to ICLR 2024 · Rejected

TL;DR

When deep neural networks learn non-stationary sequences of tasks, they progressively lose "plasticity"—their ability to adapt to new data. This paper shows that existing theories (such as dormant neurons or representation rank collapse) fail under simple counter-examples, whereas a reduction in optimization landscape curvature (measured by the stable rank of the Hessian) consistently explains and even precedes plasticity loss. To counter this, the authors propose an empirical Wasserstein regularizer that preserves curvature by maintaining the initialization distribution of weights without constraining their individual trajectories.

What Problem Does This Paper Address?

In continual and non-stationary supervised learning, a model must adapt to sequentially changing tasks. However, neural networks typically suffer from loss of plasticity: as training proceeds across task boundaries, the network becomes progressively worse at minimizing the loss on subsequent tasks.

While several mechanisms have been proposed to explain this—such as dying ReLU neurons, exploding parameter norms, vanishing gradient updates, or collapsing feature ranks—none provide a universal explanation across different architectures and activations. The underlying mechanism causing plasticity loss has remained an open question.

Methods

  • Hessian Curvature via Stable Rank ($\text{sRank}$):
    To measure whether the optimization landscape is flattening out, the authors compute the stable rank of the Hessian at the start of each new task: $$\text{sRank}(M) = \min \left\{ j : \frac{\sum_{i=1}^j \sigma_i(M)}{\sum_{i=1}^d \sigma_i(M)} > 0.99 \right\}$$ where $\sigma_i$ are singular values arranged in decreasing order.

  • Partial Blockwise Hessian:
    Because full Hessian SVDs are computationally intractable ($\mathcal{O}(d^3)$) and layerwise Hessians for piecewise-linear activations do not vary with task target shifts ($\frac{d}{dy}\nabla^2_{\theta^{(l)}} J = 0$), the authors compute the exact Hessian over the parameters of the last two layers. This blockwise structure is sensitive to label shifts while remaining computationally tractable.

  • Wasserstein Initialization Regularizer:
    Standard weight decay pulls weights toward zero, while regenerative regularization pins individual weights near their initial values. Instead, the authors penalize the 1D Wasserstein-2 distance between the empirical distribution of weights in layer $l$ and their initial distribution: $$W_2^2(p^{(l,0)}, p^{(l,t)}) = \frac{1}{d} \sum_{i=1}^d \left( \bar{\theta}_{(i)}^{(l,t)} - \bar{\theta}_{(i)}^{(l,0)} \right)^2$$ where $\bar{\theta}_{(i)}$ denotes sorted order statistics. This regularizes the shape of the parameter distribution toward initialization, allowing weights to move freely across the parameter space while preserving curvature.

Datasets

The authors test on common continual learning benchmarks with stationary task budgets:

  • Label-Shuffled MNIST: 1,280 randomly sampled MNIST images where label assignments are periodically permuted every 200 epochs (also scaled up to 12,800 images in Appendix E).
  • Observation-Permuted MNIST: Standard permuted MNIST where fixed pixel permutations define each task.
  • Label-Shuffled CIFAR-10: 1,280 images from CIFAR-10 evaluated across 50 label-shuffled tasks using a convolutional architecture.
  • Continual ImageNet: A 100-task sequence of ImageNet subsets using a convolutional network.

Key Insights and Ideas

  • Previous Explanations Fail Across Activations:
  • Gradient norm: For leaky-ReLU, average update norms consistently increase over tasks even as the model loses plasticity.
  • Representation rank & neuron dormancy: For tanh, representation rank remains high (~25) and activation entropy does not drop, yet tanh still suffers plasticity loss.
  • Linear networks: Deep linear networks do not lose plasticity and maintain stable Hessian rank, demonstrating that non-linearities are key to curvature collapse.
  • Curvature Loss Precedes Plasticity Loss:
    In label-shuffled MNIST with tanh, the Hessian sRank drops sharply before task-end error begins to climb, indicating curvature loss is an underlying driver rather than merely a trailing symptom.

  • Gradient Collapse into a Tiny Subspace:
    The overlap metric $\frac{g^T H g}{\|g\|\|Hg\|}$ approaches 1.0, showing that gradients become trapped in a shrinking top Hessian subspace. Although gradient momentum can stay large, updates lack the diverse directional curvature needed to adapt to new target distributions.

  • Distributional Regularization Gives Flexibility:
    Unlike regenerative regularizers that constrain parameters to stay close to their original initialization coordinates, the Wasserstein regularizer allows the parameter vector to travel significantly further from initialization while maintaining the initialization's spectral curvature.

Key Results

  • Consistent Correlation Across Benchmarks: Across Label-Shuffled MNIST, Permuted MNIST, and Label-Shuffled CIFAR-10, Hessian sRank consistently drops when plasticity is lost (dropping from ~350+ down toward 0–50) and remains flat whenever plasticity is maintained.
  • Regularizer Performance: The Wasserstein regularizer reliably prevented plasticity loss across all three activation functions (ReLU, leaky-ReLU, and tanh), keeping task-end batch error near zero.
  • Stability and Robustness: In CIFAR-10 and Continual ImageNet, standard weight decay and regenerative regularization suffered from optimization instabilities or sensitivity to regularization strength, whereas the Wasserstein regularizer demonstrated lower error and broader hyperparameter tolerance.

Limitations and Future Work

  • Approximation Reliance: Due to the cubic scaling of SVD, the analysis relies on a partial blockwise Hessian over the final two layers rather than the full network Hessian.
  • Root Cause Unresolved: While the paper demonstrates that curvature collapse explains plasticity loss, it does not mathematically explain the optimization dynamics causing gradient descent to eliminate curvature directions in the first place.

Summary updated

BibTeX
@misc{lewandowski2023curvature,
  author = {Alex Lewandowski and Haruto Tanaka and Dale Schuurmans and Marlos C. Machado},
  title = {{Curvature Explains Loss of Plasticity}},
  year = {2023},
  eprint = {2312.00246},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.00246},
}

Loading related content...

Figure