Introduction
Continual Learning (CL) represents a significant frontier in deep learning, aiming to develop models capable of learning a sequence of tasks without suffering from "catastrophic forgetting"—the tendency for new information to overwrite previously acquired knowledge. While recent advancements have leveraged large pre-trained models and Parameter-Efficient Fine-Tuning (PEFT) techniques like Low-Rank Adaptation (LoRA), these methods often struggle with a fundamental trade-off between plasticity (the ability to learn new tasks) and stability (the ability to retain old ones). This paper introduces Continuous Subspace Optimization (CoSO), a novel framework accepted to NeurIPS 2025, which moves beyond the rigid constraints of traditional low-rank adaptation to provide a more dynamic and efficient approach to sequential learning.
The Problem: The Low-Rank Straitjacket
Traditional PEFT methods typically restrict model updates to a fixed, low-rank subspace. While this restriction helps mitigate interference between tasks, it often acts as a "straitjacket," limiting the model's capacity to adapt to complex new data. The authors identify that these fixed subspaces lack the flexibility required for high-performance continual learning. Furthermore, many state-of-the-art CL methods rely on "prompt-based" architectures, which require multiple forward passes through the network, significantly increasing computational overhead.
Methodology: Continuous Subspace Optimization
CoSO addresses these limitations by replacing fixed subspaces with dynamic, evolving ones. The framework is built upon three core pillars:
1. Dynamic Subspace Selection
Rather than relying on a pre-defined low-rank structure, CoSO utilizes Singular Value Decomposition (SVD) on the gradients during the training process. This allows the model to identify the most critical directions for the current task in real-time, enabling the optimization space to adapt as the model learns.
2. Orthogonal Gradient Projection
To ensure stability, CoSO maintains a mathematical representation of the "historical task subspace." Before any parameter updates are applied, the gradients for the current task are projected onto a space that is strictly orthogonal to this history. By performing updates within the "null space" of previous tasks, CoSO ensures that new learning does not interfere with the weights critical to prior knowledge.
3. Frequent Directions (FD) Sketching
Storing the full gradient history for every task would be computationally prohibitive. CoSO employs a lightweight matrix sketching algorithm known as "Frequent Directions" to maintain a compact, running estimate of the task-specific subspace. This allows the model to capture essential update directions over time with minimal memory and computational cost.
Experimental Evaluation
The researchers evaluated CoSO against several state-of-the-art baselines using three standard benchmarks:
- ImageNet-R: 200 classes featuring artistic variations, tested across 5, 10, and 20 sequential tasks.
- CIFAR100: 100 classes split into 10 tasks.
- DomainNet: A diverse dataset featuring six distinct domains (e.g., sketches, photos, quickdraws), split into 5 tasks.
Key Insights and Results
Performance and Robustness
CoSO consistently outperformed existing methods across all benchmarks. Notably, on the challenging 20-task ImageNet-R sequence, CoSO achieved a final accuracy of 78.19%, outperforming the best baseline (VPT-NSP²) by nearly 3%. The performance gap between CoSO and other methods widened as the task sequences grew longer, suggesting superior management of knowledge interference over extended periods.
Efficiency Gains
One of the most significant advantages of CoSO is its computational efficiency. Unlike prompt-based methods (such as L2P or CODA-Prompt) that often require two forward passes, CoSO updates weights directly in a single pass. This reduces the training computational cost (GFLOPs) by approximately 50%. On ImageNet-R, CoSO required only 35.12 GFLOPs, compared to 70.24 GFLOPs for leading prompt-based alternatives.
The Plasticity-Stability Balance
The success of CoSO stems from its ability to navigate the plasticity-stability trade-off. By making the optimization space continuous yet constrained by historical orthogonality, the model maintains the flexibility to learn new features while providing a rigorous guarantee against forgetting.
Limitations and Future Directions
Despite its performance, the authors acknowledge certain limitations. CoSO’s memory footprint (approximately 13.61 GB) is slightly higher than basic LoRA implementations due to the rank required for subspace approximation. Additionally, the current framework relies on known task boundaries to update the historical subspace. Future work will explore extending CoSO to multimodal settings (such as vision-language models) and developing versions that can operate in "task-free" or blurry boundary environments.
Summary updated