Introduction
Continual Learning (CL) aims to enable neural networks to learn a sequence of tasks without suffering from "catastrophic forgetting." The core challenge lies in the stability-plasticity dilemma: maintaining performance on previously learned tasks (stability) while effectively acquiring new knowledge (plasticity). Recent advancements have leveraged Gradient Projection (GP) methods, which identify a "major subspace" containing gradients critical for old tasks and a "minor subspace" for learning new tasks. However, existing methods often rely on rigid, heuristic-based thresholds to partition these spaces, leading to suboptimal performance across different network layers.
Methodology: Optimized Gradient Space Splitting
SplitLoRA addresses the limitations of fixed-threshold methods like InfLoRA by introducing a mathematically optimized splitting mechanism. Instead of a global threshold, SplitLoRA formulates an optimization problem to find the ideal subspace dimension ($k$) for each layer.
The approach involves three key components:
- Theoretical Optimization: The authors derive a mathematical upper bound for loss increments across tasks. By minimizing the combined loss of forgetting and poor learning, the model identifies the optimal $k$ for each LoRA module.
- Layer-Specific Partitioning: Recognizing that different layers contribute differently to knowledge retention, SplitLoRA calculates a unique $k$ for every layer. Experiments reveal that deeper layers are often more "crowded" with task-specific knowledge, requiring smaller minor subspaces.
- Orthogonal Projection via LoRA: The identified minor subspace is projected onto the LoRA $A$ matrix. By freezing $A$ and training only the $B$ matrix, updates are restricted to the "safe" minor subspace, preventing interference with prior knowledge.
Experimental Evaluation
The performance of SplitLoRA was evaluated on several challenging benchmarks, including ImageNet-R (5, 10, and 20 tasks), CIFAR-100 (10 tasks), and DomainNet (5 tasks). These datasets test the model's ability to handle class-incremental learning and cross-domain generalization.
Results and Discussion
SplitLoRA consistently achieved state-of-the-art (SOTA) results across all benchmarks. On the ImageNet-R 20-task benchmark, it reached a Final Average Accuracy (FAA) of 78.82%, outperforming the previous best method, VPT-NSP², by over 2%.
Key insights from the results include:
- Robustness to Hyperparameters: The method is highly robust to the "Alpha" ratio, which balances new task learning against old task preservation.
- Efficiency: By optimizing only the $B$ matrix in LoRA, SplitLoRA maintains high computational efficiency and low memory overhead, making it suitable for large-scale transformer models.
- Backbone Agnostic: The performance gains were consistent regardless of whether the model backbone was pre-trained via supervised or self-supervised methods (e.g., iBOT, DINO).
Conclusion
SplitLoRA represents a significant step forward in Continual Learning by replacing heuristic-based gradient splitting with a principled optimization strategy. By adapting the stability-plasticity balance at a per-layer level, it achieves superior performance while maintaining the efficiency of parameter-efficient fine-tuning (PEFT). Future work will explore dynamic real-time estimation of gradient ratios to further refine the splitting process.
Summary updated