arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.21577cs.LG
收藏

协同参数学习:通过参数级梯度分析缓解遗忘

Collaborative Parameter Learning: Mitigating Forgetting via Parameter-Level Gradient Analysis

Department of Electronic Engineering, Tsinghua University, Beijing, China(清华大学电子工程系,北京,中国);Institute of Medical Technology, Peking University Health Science Center, Peking University, Beijing, China(北京大学医学部医学技术研究所,北京大学,北京,中国);College of Information Science and Engineering, Northeastern University, Shenyang, China(东北大学信息科学与工程学院,沈阳,中国);College of AI, Tsinghua University, Beijing, China(清华大学人工智能学院,北京,中国);Beijing National Research Center for Information Science and Technology, Beijing, China(北京信息科学与技术国家研究中心,北京,中国)

Mutian Yang, Zisen Zhan, Yutong Chen, Haolin Li, Kaiwen Wang, Kaili Zheng, Yuguang Wang, Qi Wang, Jiandong Gao, Ji Wu

AI总结:

本文提出协同参数学习方法,通过分析参数级梯度相似性,识别冲突参数和协作参数,冻结冲突参数以减少遗忘,提升模型在多任务和多语言场景下的表现。

摘要:

在知识注入过程中,灾难性遗忘会损害大语言模型在不覆盖先前知识的情况下获取新知识的能力。最近的研究从梯度相似性角度分析遗忘,并通过向量投影缓解遗忘。然而,这些方法主要在聚合方向层面表征梯度相似性,忽略了参数层面的遗忘贡献。本文将梯度相似性分解为参数层面的贡献,并识别两种类型的参数:冲突参数(其更新导致遗忘,通常占50%至75%)和协作参数(其更新缓解遗忘,占25%至50%)。基于此分析,我们提出协同参数学习(CPL),一种参数层面的训练规则,冻结冲突参数并仅更新协作参数。实验表明,CPL相比七种基线方法,在学习更多问题的同时保持极低的遗忘率,同时减少峰值VRAM使用约3GB每十亿模型参数,并将计算时间减少16.5%。在参数消耗、外集泛化、跨提示泛化、多模态任务、开放式问答和多语言设置等广泛评估中,CPL在多种场景下有效缓解了遗忘。

英文摘要:

Catastrophic forgetting during knowledge injection impairs the ability of large language models to acquire new knowledge without overwriting previously mastered knowledge. Recent studies analyze forgetting from a gradient similarity perspective and mitigate forgetting through vector projection. However, these methods primarily characterize gradient similarity at the aggregate direction level, leaving the parameter wise contributions to forgetting underexplored. In this paper, we decompose gradient similarity into parameter wise contributions and identify two types of parameters during forgetting: Conflicting Parameters, whose updates contribute to forgetting and typically account for 50 percent to 75 percent of parameters, and Collaborative Parameters, whose updates mitigate forgetting and account for 25 percent to 50 percent. Based on this analysis, we propose Collaborative Parameter Learning, CPL, a parameter wise training rule that freezes Conflicting Parameters and updates only Collaborative Parameters. Experiments comparing CPL with seven baseline methods show that CPL learns 20.2% to 48.2% more questions with negligible forgetting, while reducing peak VRAM by approximately 3 GB per billion model parameters and computation time by 16.5 percent. Extensive evaluations on parameter consumption, out of set generalization, cross prompt generalization, multimodal tasks, open ended question answering, and multilingual settings demonstrate that CPL effectively mitigates forgetting across diverse scenarios.

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

↑