LoRA Subtraction for Drift-Resistant Space in Exemplar-Free Continual Learning

Xuan Liu, Xiaobin Chang
3/23/2025
cs.LGcs.AIcs.CV

No official code found. Best implementation: scarlet0703/LoRA-Sub-DRS (18 stars, last commit 2025-03-28).

Abstract

In continual learning (CL), catastrophic forgetting often arises due to feature drift. This challenge is particularly prominent in the exemplar-free continual learning (EFCL) setting, where samples from previous tasks cannot be retained, making it difficult to preserve prior knowledge. To address this issue, some EFCL methods aim to identify feature spaces that minimize the impact on previous tasks while accommodating new ones. However, they rely on static features or outdated statistics stored from old tasks, which prevents them from capturing the dynamic evolution of the feature space in CL, leading to performance degradation over time. In this paper, we introduce the Drift-Resistant Space (DRS), which effectively handles feature drifts without requiring explicit feature modeling or the storage of previous tasks. A novel parameter-efficient fine-tuning approach called Low-Rank Adaptation Subtraction (LoRA-) is proposed to develop the DRS. This method subtracts the LoRA weights of old tasks from the initial pre-trained weight before processing new task data to establish the DRS for model training. Therefore, LoRA- enhances stability, improves efficiency, and simplifies implementation. Furthermore, stabilizing feature drifts allows for better plasticity by learning with a triplet loss. Our method consistently achieves state-of-the-art results, especially for long task sequences, across multiple datasets.

View on arXivView PDF

Code Implementations(1)

Official PyTorch implementation of our CVPR 2025 paper, "LoRA Subtraction for Drift-Resistant Space in Exemplar-Free Continual Learning."

185PythonMar 3, 20251 years ago

Similar Papers

Cite this paper

@article{liu2025lora,
  title  = {LoRA Subtraction for Drift-Resistant Space in Exemplar-Free Continual Learning},
  author = {Xuan Liu and Xiaobin Chang},
  year   = {2025},
  eprint = {2503.18985},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.18985v2},
  journal = {CVPR 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/2503.18985.svg)](https://codeofpaper.com/paper/2503.18985)

Discussion