Is Parameter Collision Hindering Continual Learning in LLMs?

Shuo Yang, Kun-Peng Ning, Yu-Yang Liu, Jia-Yu Yao, Yong-Hong Tian +2 more
10/14/2024
cs.LGcs.CL

No official code found. Best implementation: PKU-YuanGroup/N-LoRA (38 stars, Apache-2.0, last commit 2024-12-05).

Abstract

Large Language Models (LLMs) often suffer from catastrophic forgetting when learning multiple tasks sequentially, making continual learning (CL) essential for their dynamic deployment. Existing state-of-the-art (SOTA) methods, such as O-LoRA, typically focus on constructing orthogonality tasks to decouple parameter interdependence from various domains.In this paper, we reveal that building non-collision parameters is a more critical factor in addressing CL challenges. Our theoretical and experimental analyses demonstrate that non-collision parameters can provide better task orthogonality, which is a sufficient but unnecessary condition. Furthermore, knowledge from multiple domains will be preserved in non-collision parameter subspaces, making it more difficult to forget previously seen data. Leveraging this insight, we propose Non-collision Low-Rank Adaptation (N-LoRA), a simple yet effective approach leveraging low collision rates to enhance CL in LLMs. Experimental results on multiple CL benchmarks indicate that N-LoRA achieves superior performance (+2.9), higher task orthogonality (*4.1 times), and lower parameter collision (*58.1 times) than SOTA methods.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

【COLING 2025🔥】Code for the paper "Is Parameter Collision Hindering Continual Learning in LLMs?".

382Shell, PythonNov 20, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2024parameter,
  title  = {Is Parameter Collision Hindering Continual Learning in LLMs?},
  author = {Shuo Yang and Kun-Peng Ning and Yu-Yang Liu and Jia-Yu Yao and Yong-Hong Tian and Yi-Bing Song and Li Yuan},
  year   = {2024},
  eprint = {2410.10179},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.10179v2}
}

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

Discussion