Continuous Subspace Optimization for Continual Learning

Quan Cheng, Yuanyu Wan, Lingyu Wu, Chenping Hou, Lijun Zhang
5/17/2025
cs.CVcs.LG

No official code found. Best implementation: quinn-ch/CoSO (3 stars, MIT, last commit 2026-03-12).

Abstract

Continual learning aims to learn multiple tasks sequentially while preserving prior knowledge, but faces the challenge of catastrophic forgetting when adapting to new tasks. Recently, approaches leveraging pre-trained models have gained increasing popularity in mitigating this issue, due to the strong generalization ability of foundation models. To adjust pre-trained models for new tasks, existing methods usually employ low-rank adaptation, which restricts parameter updates to a fixed low-rank subspace. However, constraining the optimization space inherently compromises the model's learning capacity, resulting in inferior performance. To address this limitation, we propose Continuous Subspace Optimization for Continual Learning (CoSO) to fine-tune the model in a series of subspaces rather than a single one. These sequential subspaces are dynamically determined through the singular value decomposition of the gradients. CoSO updates the model by projecting gradients onto these subspaces, ensuring memory-efficient optimization. To mitigate forgetting, the optimization subspace of each task is constrained to be orthogonal to the historical task subspace. During task learning, CoSO maintains a task-specific component that captures the critical update directions for the current task. Upon completing a task, this component is used to update the historical task subspace, laying the groundwork for subsequent learning. Extensive experiments on multiple datasets demonstrate that CoSO significantly outperforms state-of-the-art methods, especially in challenging scenarios with long task sequences.

View on arXivView PDF

Code Implementations(1)

quinn-ch/CoSOCommunity69%
MIT

The official implementation of the NeurIPS'2025 work: Continuous Subspace Optimization for Continual Learning

30PythonNov 11, 20257 months agoMIT

Similar Papers

Cite this paper

@article{cheng2025continuous,
  title  = {Continuous Subspace Optimization for Continual Learning},
  author = {Quan Cheng and Yuanyu Wan and Lingyu Wu and Chenping Hou and Lijun Zhang},
  year   = {2025},
  eprint = {2505.11816},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.11816v2},
  journal = {NEURIPS 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11816.svg)](https://codeofpaper.com/paper/2505.11816)

Discussion