English

KeepLoRA: Continual Learning with Residual Gradient Adaptation

Computer Vision and Pattern Recognition 2026-01-28 v1 Machine Learning

Abstract

Continual learning for pre-trained vision-language models requires balancing three competing objectives: retaining pre-trained knowledge, preserving knowledge from a sequence of learned tasks, and maintaining the plasticity to acquire new knowledge. This paper presents a simple but effective approach called KeepLoRA to effectively balance these objectives. We first analyze the knowledge retention mechanism within the model parameter space and find that general knowledge is mainly encoded in the principal subspace, while task-specific knowledge is encoded in the residual subspace. Motivated by this finding, KeepLoRA learns new tasks by restricting LoRA parameter updates in the residual subspace to prevent interfering with previously learned capabilities. Specifically, we infuse knowledge for a new task by projecting its gradient onto a subspace orthogonal to both the principal subspace of pre-trained model and the dominant directions of previous task features. Our theoretical and empirical analyses confirm that KeepLoRA balances the three objectives and achieves state-of-the-art performance. The implementation code is available at https://github.com/MaolinLuo/KeepLoRA.

Keywords

Cite

@article{arxiv.2601.19659,
  title  = {KeepLoRA: Continual Learning with Residual Gradient Adaptation},
  author = {Mao-Lin Luo and Zi-Hao Zhou and Yi-Lin Zhang and Yuanyu Wan and Tong Wei and Min-Ling Zhang},
  journal= {arXiv preprint arXiv:2601.19659},
  year   = {2026}
}

Comments

Accepted at ICLR 2026

R2 v1 2026-07-01T09:22:22.974Z