InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learning

Yan-Shuo Liang, Wu-Jun Li
3/30/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: liangyanshuo/InfLoRA (114 stars, MIT, last commit 2025-03-13).

Abstract

Continual learning requires the model to learn multiple tasks sequentially. In continual learning, the model should possess the ability to maintain its performance on old tasks (stability) and the ability to adapt to new tasks continuously (plasticity). Recently, parameter-efficient fine-tuning (PEFT), which involves freezing a pre-trained model and injecting a small number of learnable parameters to adapt to downstream tasks, has gained increasing popularity in continual learning. Although existing continual learning methods based on PEFT have demonstrated superior performance compared to those not based on PEFT, most of them do not consider how to eliminate the interference of the new task on the old tasks, which inhibits the model from making a good trade-off between stability and plasticity. In this work, we propose a new PEFT method, called interference-free low-rank adaptation (InfLoRA), for continual learning. InfLoRA injects a small number of parameters to reparameterize the pre-trained weights and shows that fine-tuning these injected parameters is equivalent to fine-tuning the pre-trained weights within a subspace. Furthermore, InfLoRA designs this subspace to eliminate the interference of the new task on the old tasks, making a good trade-off between stability and plasticity. Experimental results show that InfLoRA outperforms existing state-of-the-art continual learning methods on multiple datasets.

View on arXivView PDF

Code Implementations(1)

MIT

The official implementation of the CVPR'2024 work Interference-Free Low-Rank Adaptation for Continual Learning

1147PythonMar 4, 20241 years agoMIT

Similar Papers

Cite this paper

@article{liang2024inflora,
  title  = {InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learning},
  author = {Yan-Shuo Liang and Wu-Jun Li},
  year   = {2024},
  eprint = {2404.00228},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00228v3},
  journal = {CVPR 2024 2024}
}

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/2404.00228.svg)](https://codeofpaper.com/paper/2404.00228)

Discussion