Is Parameter Collision Hindering Continual Learning in LLMs?
Shuo Yang, Kun-Peng Ning, Yu-Yang Liu, Jia-Yu Yao, Yong-Hong Tian, Yi-Bing Song, Li Yuan
TL;DR
This work identifies parameter collisions as a critical bottleneck in continual learning for LLMs, arguing that non-collision is a sufficient condition for orthogonality and more crucial than mere orthogonality. It introduces Non-collision Low-Rank Adaptation (N-LoRA), which applies $\ell_1$ sparsity to task-specific updates $\Delta W_i = A_i B_i$, freezes previous tasks, and merges updates back into the base model, resulting in highly sparse, non-colliding subspaces and reduced interference across tasks. Theoretical analysis shows non-collision implies orthogonality, while empirical results on Standard CL and Large Number of Tasks benchmarks demonstrate that N-LoRA outperforms O-LoRA and other baselines, achieves stronger orthogonality (OO) and lower collision rates, and generalizes better to unseen tasks (e.g., ~$49.54\%$ unseen-task accuracy, ~$+19.78\%$ over O-LoRA). The approach is plug-and-play with existing PEFT methods and scales to large models like LLama-7B, offering a practical, scalable improvement for continual learning in LLMs.
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.
