SplitLoRA: Balancing Stability and Plasticity in Continual Learning Through Gradient Space Splitting

Haomiao Qiu, Miao Zhang, Ziyue Qiao, Weili Guan, Min Zhang, Liqiang Nie

TL;DR

Continual learning models often struggle with catastrophic forgetting, where learning new tasks overwrites past knowledge. SplitLoRA solves this by dynamically calculating the optimal "safe" gradient subspace for each individual layer to learn new information, rather than using a one-size-fits-all threshold. By combining this mathematically grounded approach with Low-Rank Adaptation (LoRA), it achieves state-of-the-art performance with minimal computational overhead.

What Problem Does This Paper Address?

In Continual Learning (CL), models must learn a sequence of tasks over time. The fundamental challenge is the stability-plasticity dilemma: the model needs plasticity to learn new tasks effectively, but stability to avoid "catastrophic forgetting" of previously learned tasks.

A popular way to handle this is gradient projection. Imagine the model's parameter space. When learning a new task, gradient projection forces the model to only update weights in a "minor subspace"—a mathematical direction that is orthogonal (unrelated) to the "major subspace" used by old tasks.

Recently, researchers have combined this with Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA to make it computationally cheaper. However, existing methods (like InfLoRA) use a rigid, predefined threshold to decide how big this minor subspace should be across the entire network. This is a major flaw: different layers of a neural network contribute differently to knowledge retention. A fixed threshold often overly constrains shallow layers while leaving too much wiggle room in deep layers, leading to suboptimal trade-offs between remembering and learning.

Methods

SplitLoRA introduces a principled, layer-specific approach to partitioning the gradient space:

SplitLoRA Methodology
  1. Theoretical Modeling: The authors mathematically model how the size of the minor subspace ($k$) impacts both stability loss (interference with old tasks) and plasticity loss (inability to fit the new task).
  2. Layer-wise Optimization: Instead of a global heuristic threshold, SplitLoRA formulates an optimization problem to find the optimal minor subspace size ($k^*$) for each individual LoRA module. A hyperparameter ($\alpha$) is introduced to act as a control knob for the stability-plasticity trade-off.
  3. Confined LoRA Updates: Once the optimal minor subspace is found, SplitLoRA projects it onto the fixed LoRA dimension-reduction matrix ($A$) using a random Gaussian matrix. During training, matrix $A$ is frozen, and only matrix $B$ is updated. This strictly confines all weight updates to the safe minor subspace, preventing interference with old tasks.

Datasets

The authors evaluated SplitLoRA primarily on vision benchmarks, with additional NLP experiments in the appendix:

  • ImageNet-R: Split into 5, 10, and 20 sequential tasks.
  • CIFAR-100: Split into 10 tasks.
  • DomainNet: Split into 5 tasks (tests cross-domain generalization).
  • Other Vision Benchmarks (Appendix): CUB200, ImageNet-A, ObjectNet, Omnibenchmark, and VTAB.
  • NLP Benchmarks (Appendix): SuperNI and Long Sequence benchmarks (evaluated using T5-Large and LLaMA2-7B).

Key Insights and Ideas

  • Layers are not created equal: The authors found that shallow layers need larger minor subspaces to protect critical representations, while deep layers can afford smaller ones. SplitLoRA naturally discovers and allocates this, whereas previous methods blindly constrained shallow layers too much, causing unnecessary forgetting.
  • Math beats heuristics: By deriving an upper bound on the total task loss growth, the authors replaced a guessing game (threshold tuning) with a principled optimization step. Transplanting SplitLoRA's layer-0 strategy into baseline models immediately cut forgetting in half, proving the power of layer-wise allocation.
  • Surviving the "subspace squeeze": As a model learns more tasks, the available "safe" minor subspace inevitably shrinks. Surprisingly, the authors show that even when this space approaches zero (after 20+ tasks), the model still learns effectively. It manages this by leaning heavily on the frozen pre-trained backbone and the beneficial knowledge retained in older LoRA modules.

Key Results

  • State-of-the-Art Accuracy: SplitLoRA consistently outperformed existing CL methods (like InfLoRA, VPT-NSP2, and CODA-Prompt) by 2%–5% across datasets.
Performance on ImageNet-R across 5, 10, and 20 tasks
  • ImageNet-R (20 tasks): Achieved 78.82% Final Average Accuracy (FAA), a massive jump over InfLoRA's 73.81%.
  • CIFAR-100 (10 tasks): Reached 90.33% FAA compared to InfLoRA's 87.06%.
  • High Efficiency: SplitLoRA introduces only 1 extra forward pass per task to compute the gradient space. It maintains memory and runtime overheads virtually identical to standard InfLoRA (e.g., ~23GB memory and ~1h 43m runtime on ImageNet-R), and its memory cost does not grow with the number of tasks.
  • Scalability to LLMs: Appendix results show SplitLoRA successfully scales to Large Language Models, achieving top performance on LLaMA2-7B and T5-Large task sequences.

Limitations and Future Work

  • Uniform Gradient Assumption: To make the math work for their theoretical bounds, the authors had to assume that the new task's update direction has an equal expected projection across all feature directions. While a necessary baseline for the proof, real-world gradients are rarely perfectly uniform.
  • Hyperparameter Dependency: The method relies on a fixed hyperparameter ($\alpha$) to balance the stability/plasticity optimization equation. While experiments show the model is highly robust to different values of $\alpha$, it still requires upfront selection by the user.
  • Future Directions: While not explicitly stated as future work, the natural next steps would involve dynamically adapting $\alpha$ during training or extending this layer-wise subspace optimization to other PEFT architectures beyond LoRA.

Summary updated

BibTeX
@inproceedings{qiu2026splitlora,
  author = {Haomiao Qiu and Miao Zhang and Ziyue Qiao and Weili Guan and Min Zhang and Liqiang Nie},
  title = {{SplitLoRA: Balancing Stability and Plasticity in Continual Learning Through Gradient Space Splitting}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Zm1hjXxRQV},
}
Figure