Towards Continual Learning: Mitigating Forgetting With Subspace Tuning

Arnav Chavan, Kusha Sareen, Rishabh Tiwari, Abhranil Chandra, Johan Obando-Ceron, Kurt Keutzer, Scott Niekum, Inderjit S Dhillon, Devvrit KhatriarXiv 2026

TL;DR

Subspace Tuning (SST) is a simple, optimizer-agnostic method that mitigates catastrophic forgetting in LLMs by restricting weight updates to the "bottom" singular subspace of weight matrices. By freezing the principal directions that store a model's foundational knowledge, SST allows models to acquire new skills while maintaining prior capabilities, effectively advancing the learning–forgetting Pareto frontier.

What Problem Does This Paper Address?

Fine-tuning is the standard way to specialize a pre-trained Large Language Model (LLM) for specific domains like medicine or finance. However, this process often suffers from catastrophic forgetting: as the model learns new tasks, its general-purpose reasoning, coding, and instruction-following abilities degrade sharply.

Recent research suggests that a model's core capabilities are tied to the "principal singular directions" of its weight matrices—the directions that capture the most variance or "energy." Standard Supervised Fine-Tuning (SFT) tends to concentrate updates along these very directions, overwriting the model's foundational knowledge. While some methods like reinforcement learning (RL) naturally avoid these directions, they are often complex and data-heavy. The authors sought a simpler, more direct way to protect these vital subspaces during any fine-tuning recipe.

Methods

The authors introduce Subspace Tuning (SST). The core idea is to perform a Singular Value Decomposition (SVD) on each weight matrix $W$ and identify the top-$k$ singular vectors that represent the principal subspace.

The key technical innovations are:

  1. Projecting the Applied Update: Unlike prior work that projects the gradient, SST projects the final update ($\Delta W$) produced by the optimizer. The authors demonstrate that stateful optimizers like Adam rescale gradients in a way that "leaks" updates back into protected directions if only the raw gradient is constrained.
  2. Two-Sided Projection: SST uses a projection operator $\Pi$ that removes components along the principal directions on both the input and output sides of the weight matrix, ensuring the update stays strictly within the "free tail" (the low-energy subspace).
  3. Basis Refresh: Because the principal directions can shift as weights change over long training runs, SST includes a mechanism to re-compute the SVD every $K$ steps, realigning the protection to the current weight distribution.
Figure 1: SST freezes the top of each weight matrix’s spectrum, and improves learning–forgetting trade-off across fine-tuning recipes. Left: the method. SST projects the update on low energy singular directions of each weight matrix. Right: the result on Qwen3-8B, averaged over four domains (Table 4). Both axes show changes from the base model in percentage points (pp); higher is better. Circles denote training without SST, stars denote training with SST, and the black triangle marks the base model.

Datasets

The authors evaluated SST across several models (Qwen3-1.7B to 32B, Olmo-3-7B-Think) and diverse domains:

  • Target Tasks: Science (DeepSeek-R1 traces), Finance (FinQA), Pathology, and Medicine (MedMCQA with Claude 3.5 Sonnet traces).
  • Prior Capability Benchmarks: To measure forgetting, they used a suite of general benchmarks: GPQA-Diamond, MMLU-Pro, GSM8K, HumanEval, and IFEval.
  • Distributional Drift: WikiText-2 was used to measure KL divergence from the base model.

Key Insights and Ideas

  • The 99% Rule: Remarkably, protecting as much as 99% of the weight subspace does not hinder learning. Because LLMs are heavily over-parameterized, there is ample "room" in the low-energy tail to fit new, complex tasks.
  • Update vs. Gradient: The "aha moment" in the paper is the discovery that projecting the gradient is insufficient for modern optimizers. As shown in Figure 4, even if you project the gradient, Adam's internal state can reintroduce up to 69% of the weight change into the protected subspace. Projecting the final update is the only way to achieve exact confinement.
Controlled study showing that only update projection (SST) eliminates leakage into protected directions.
  • Scaling Favors SST: As models grow larger, the gap between SFT and SST widens. In models 8B and larger, forgetting under SST nearly vanishes, while SFT continues to cause massive capability losses.
  • Qualitative Preservation: SST doesn't just help with scores; it preserves model behavior. For example, "thinking" models (like DeepSeek-R1 variants) often lose their long reasoning traces during standard SFT. SST maintains this "deliberation length" and reduces hallucinations in self-distillation recipes.

Key Results

  • Retention vs. Learning: SST matches or exceeds the target-task accuracy of unconstrained SFT while retaining prior capabilities that SFT degrades by 30-40 percentage points.
  • Reduced Drift: SST induces 2–4× less KL drift than baseline recipes, keeping the model much closer to its pre-trained distribution.
  • Cumulative Learning: In sequential fine-tuning (Task A $\to$ Task B $\to$ Task C), SST allows the model to accumulate skills. Under SFT, each new stage typically destroys the skills learned in the previous one.
  • Model Merging: Independently trained SST "experts" can be merged with significantly less interference than SFT experts, making it a powerful tool for modular model development.
Figure 2: Scaling model size. Qwen3 models from 1.7B to 14B fine-tuned on Science for five epochs. SFT forgets heavily at every scale, whereas forgetting under SST shrinks as models grow and nearly vanishes from 8B onward. SST also reaches higher new-task accuracy at every size.

Limitations and Future Work

  • Hyperparameter Sensitivity: SST changes the feasible update geometry, meaning optimal learning rates for SST might differ from standard SFT.
  • Computational Overhead: While the authors used efficient Gram-based eigendecompositions, the SVD refresh step still adds some overhead (roughly 4.7% with optimized multi-GPU setups).
  • Dynamic Protection: The authors suggest that future work could involve dynamically updating the protection based on batch-level update information rather than fixed refresh intervals.
  • Ultra-Large Scale: Testing SST on models with hundreds of billions of parameters remains an important next step.

Summary updated

BibTeX
@misc{chavan2026towards,
  author = {Arnav Chavan and Kusha Sareen and Rishabh Tiwari and Abhranil Chandra and Johan Obando-Ceron and Kurt Keutzer and Scott Niekum and Inderjit S Dhillon and Devvrit Khatri},
  title = {{Towards Continual Learning: Mitigating Forgetting With Subspace Tuning}},
  year = {2026},
  eprint = {2610.22293},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22293},
}
Figure