Catastrophic Forgetting is Low-Rank: A Function-Space Theory for Continual Adaptation

Ido Nitzan Hidekel, Dan Raviv

In the world of machine learning, "continual adaptation" is the dream of a model that learns new tricks without forgetting the old ones. Usually, we talk about this problem—catastrophic forgetting—in terms of "parameter drift" (the weights changing too much) or "replay" (shoving old data back into the training loop).

A new paper, Catastrophic Forgetting is Low-Rank, shifts the perspective. Instead of looking at the millions of parameters inside the "black box," the authors look at the function space—the actual outputs the model produces. Their discovery? Forgetting isn't a chaotic, all-over-the-place mess; it happens in a very specific, surprisingly small "vulnerable subspace."

TL;DR

Catastrophic forgetting concentrates in a tiny number of output directions (often just 1–6 eigenmodes). The authors provide a mathematical formula to predict exactly how a model will forget before it even starts learning a new task, and they use this insight to create a "Spectral Regularizer" that protects only the vulnerable parts of a model's memory.

What Problem Does This Paper Address?

When you fine-tune a model on Task B, its performance on Task A usually plummets. We’ve spent a decade trying to fix this by tethering parameters (like EWC) or distilling outputs (like LwF).

However, we haven't had a "mechanistic" account of forgetting. We knew that it happened, but not where in the output space it was hitting hardest. This is especially problematic for modern Parameter-Efficient Fine-Tuning (PEFT), where we freeze most of a giant model and only train a small "head" or adapter. Existing methods often fail on "shared-head" benchmarks where the model has to distinguish between all classes at once, rather than being told which task it's currently performing.

Methods

The authors use Neural Tangent Kernel (NTK) theory to model how predictions change during training.

  1. The Forgetting Predictor: They derive a closed-form equation that predicts the "forgetting vector" ($\Delta f_A$). This formula uses the "cross-task kernel"—a measure of how Task B's inputs interact with Task A's features—to calculate exactly how Task A's predictions will shift before a single gradient step is taken on Task B.
  2. Kronecker Scaling Rule: For models with a frozen backbone and a trainable linear head, they prove that the "vulnerable rank" ($k^*$) follows a simple rule: it’s roughly the number of classes ($C$) times the effective rank of the features ($k_G$).
  3. Spectral Regularization: Armed with the knowledge of which directions are vulnerable, they propose a new loss function. Instead of penalizing all changes (which kills the model's ability to learn new things, or "plasticity"), they only penalize drift along the top-$k$ eigenvectors of the old task's kernel.

Datasets

The researchers validated their theory across several standard benchmarks:

  • Split-MNIST & Split-CIFAR-10: Classic benchmarks split into 5 sequential tasks.
  • Split-CIFAR-100: A more complex 10-task sequence using a frozen ImageNet-pretrained ResNet-18.
  • Transformer Backbones: They tested the precision of their predictor on massive models like ViT-B/16 and DINOv2 to show the theory holds up in the "real world" of large-scale pretraining.

Key Insights and Ideas

  • Forgetting is predictable: On frozen-backbone models, the predictor's "cosine similarity" to actual forgetting was over 0.99. This means forgetting is almost entirely deterministic based on the starting state.
  • The "Vulnerable Subspace" is tiny: In many tests, just 1 to 6 directions in the output space accounted for 50–90% of the total forgetting energy. This is the "Low-Rank" punchline: the model isn't forgetting everything; it's losing its grip on a few specific logical dimensions.
  • Why Parameter-Space methods fail: Methods like EWC (Elastic Weight Consolidation) try to protect individual weights. The authors show that while EWC might protect the "right" weights, it can't stop the model from drifting in the "wrong" output directions. It’s like trying to keep a boat steady by holding the individual wood planks together instead of anchoring the hull to the sea floor.
  • Targeted vs. Broad Protection: Traditional functional regularization (like LwF) protects every output direction. The authors' Spectral Regularizer is "surgical"—it protects the 1% of directions that matter, leaving the other 99% free to adapt to the new task.

Key Results

  • Superior Accuracy: On the difficult "shared-head" Split-MNIST, Spectral Regularization achieved ~78% accuracy, while parameter-space methods like EWC and SI languished around 20% (barely better than no regularization at all).
  • Drift Suppression: In a direct test, Spectral Regularization suppressed drift in the vulnerable subspace by 150x compared to a standard model, while allowing plenty of "plasticity" in other directions.
  • Efficiency: The "Scaling Rule" ($k^* \approx C \cdot k_G$) successfully predicted the optimal number of modes to protect, providing a theoretical shortcut for engineers who previously had to find these values through trial and error.

Limitations and Future Work

  • Full Fine-Tuning: The theory is "exact" for frozen backbones. For full fine-tuning of deep networks, the "Jacobian" (the map of how weights affect outputs) changes as the model learns, making the initial prediction less accurate over time.
  • Cross-Entropy vs. MSE: The math is cleanest for Mean Squared Error (MSE). While it works as a heuristic for the standard Softmax/Cross-Entropy used in most classifiers, the "Kronecker" structure isn't as perfectly clean there.
  • Long Sequences: While pairwise forgetting (Task A vs Task B) is well-understood, errors in the kernel can compound over very long sequences of many tasks.
  • LLMs: Applying this to token-level instruction tuning in Large Language Models remains an open, though promising, frontier.

Summary updated

BibTeX
@inproceedings{hidekel2026catastrophic,
  author = {Ido Nitzan Hidekel and Dan Raviv},
  title = {{Catastrophic Forgetting is Low-Rank: A Function-Space Theory for Continual Adaptation}},
  booktitle = {CATS @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=Cj3vmS61C6},
}
Figure