Low-Rank Adapters Initialization via Gradient Surgery for Continual Learning

Joana Pasquali, Ramiro N. Barros, Arthur S. Bianchessi, Vinícius Conte Turani, João Vitor Boer Abitante +5 more
5/12/2026
cs.LG
lora-peft-merging

No confident code implementation found for this paper.

Abstract

LoRA is widely adopted for continual fine-tuning of Large Language Models due to its parameter efficiency, modularity across tasks, and compatibility with replay strategies. However, LoRA-based continual learning remains vulnerable to catastrophic forgetting, whose severity depends on how successive task gradients interact: when consecutive task gradients conflict, standard adapter initializations channel updates into subspaces that overwrite previously learned directions.

Show full abstract

We propose SLICE, a gradient-surgery-based initialization for LoRA adapters in continual learning. SLICE accumulates gradients from both the current task and a replay buffer of prior tasks, reconciles them through a projection operator, and decomposes the result via truncated SVD to initialize the adapter weights. We evaluate SLICE on the TRACE benchmark and sequences of Super-NI tasks, including a set of adversarial Super-NI sequences that we construct by mining task pairs with maximally opposing gradients. Compared to vanilla LoRA, LoRA-GA, and LoRAM, SLICE consistently achieves a better stability-plasticity trade-off, improving Average Performance, Final Performance and Forgetting metrics while preserving General Performance and In Context Performance across both standard and adversarial continual learning sequences.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pasquali2026lowrank,
  title  = {Low-Rank Adapters Initialization via Gradient Surgery for Continual Learning},
  author = {Joana Pasquali and Ramiro N. Barros and Arthur S. Bianchessi and Vinícius Conte Turani and João Vitor Boer Abitante and Rafaela Cappelari Ravazio and Christian Mattjie and Otávio Parraga and Lucas S. Kupssinskü and Rodrigo C. Barros},
  year   = {2026},
  eprint = {2605.12752},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.12752v1}
}

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

Discussion