arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.07097cs.LGcs.AIcs.CLmath.PRstat.ML
收藏

雕刻子空间:大语言模型中用于持续学习的受限全量微调

Sculpting Subspaces: Constrained Full Fine-Tuning in LLMs for Continual Learning

Red Hat AI Innovation(红帽AI创新中心);IBM Research(IBM研究院);IIT Bombay(印度理工学院孟买分校);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Nikhil Shivakumar Nayak, Krishnateja Killamsetty, Ligong Han, Abhishek Bhandwaldar, Prateek Chanda, Kai Xu, Hao Wang, Aldo Pareja, Oleg Silkin, Mustafa Eyceoz, Akash Srivastava

AI总结:

本文提出基于自适应SVD的持续全量微调方法,通过识别任务特定低秩子空间并约束更新与先前任务关键方向正交,在无需额外参数的情况下有效缓解大语言模型持续学习中的灾难性遗忘,并在多个基准上取得最优结果。

摘要:

大语言模型(LLMs)中的持续学习容易发生灾难性遗忘,即适应新任务会显著降低其在先前已学任务上的性能。现有方法通常依赖低秩、参数高效的更新,这限制了模型的表达能力,并为每个任务引入额外参数,导致可扩展性问题。为了解决这些局限性,我们提出了一种新颖的持续全量微调方法,利用自适应奇异值分解(SVD)。我们的方法动态识别任务特定的低秩参数子空间,并约束更新与先前任务相关的关键方向正交,从而在不增加额外参数开销或存储先前任务梯度的情况下有效减少干扰。我们在标准持续学习基准上广泛评估了该方法,使用了编码器-解码器(T5-Large)和仅解码器(LLaMA-2 7B)模型,涵盖分类、生成和推理等多种任务。实验结果表明,我们的方法取得了最先进的结果,平均准确率比O-LoRA等近期基线高出最多7%,并且通过将遗忘降低到几乎可忽略的水平,在整个持续学习过程中显著保持了模型的通用语言能力、指令遵循准确性和安全性。我们的自适应SVD框架有效地平衡了模型可塑性与知识保留,为大语言模型中的持续学习场景提供了一种实用、有理论依据且计算可扩展的解决方案。

英文摘要:

Continual learning in large language models (LLMs) is prone to catastrophic forgetting, where adapting to new tasks significantly degrades performance on previously learned ones. Existing methods typically rely on low-rank, parameter-efficient updates that limit the model's expressivity and introduce additional parameters per task, leading to scalability issues. To address these limitations, we propose a novel continual full fine-tuning approach leveraging adaptive singular value decomposition (SVD). Our method dynamically identifies task-specific low-rank parameter subspaces and constrains updates to be orthogonal to critical directions associated with prior tasks, thus effectively minimizing interference without additional parameter overhead or storing previous task gradients. We evaluate our approach extensively on standard continual learning benchmarks using both encoder-decoder (T5-Large) and decoder-only (LLaMA-2 7B) models, spanning diverse tasks including classification, generation, and reasoning. Empirically, our method achieves state-of-the-art results, up to 7% higher average accuracy than recent baselines like O-LoRA, and notably maintains the model's general linguistic capabilities, instruction-following accuracy, and safety throughout the continual learning process by reducing forgetting to near-negligible levels. Our adaptive SVD framework effectively balances model plasticity and knowledge retention, providing a practical, theoretically grounded, and computationally scalable solution for continual learning scenarios in large language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑