arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.19778cs.LGcs.CL
收藏

GaLLoP:基于低幅值参数的梯度稀疏学习

GaLLoP: Gradient-based Sparse Learning on Low-Magnitude Parameters

Sony Europe Ltd., Stuttgart Technology Center, EUREC(索尼欧洲有限公司,斯图加特技术中心,EUREC);EPFL, Switzerland(瑞士联邦理工学院);University of Stuttgart, Germany(德国斯图加特大学)

Anand Choudhary, Yasser Sulaıman, Lukas Mauch, Ghouthi Boukli Hacene, Fabien Cardinaux, Antoine Bosselut

AI总结:

GaLLoP是一种基于低幅值参数的梯度稀疏微调方法,通过选择梯度大且预训练幅值小的参数进行微调,在LLaMA3 8B和Gemma 2B上优于或匹配LoRA等方法,缓解遗忘并提升泛化。

摘要:

稀疏微调技术通过仅调整模型参数的一个稀疏子集,使大型语言模型适应下游任务。然而,稀疏适应的有效性取决于对要微调的模型参数进行最优选择。在这项工作中,我们引入了一种新颖的稀疏微调技术,名为GaLLoP:基于低幅值参数的梯度稀疏学习,该技术仅微调那些在下游任务上具有最大梯度幅值且预训练幅值最小的模型参数,直观上优先选择与任务高度相关但对预训练知识干扰最小的参数。我们以LLaMA3 8B和Gemma 2B作为基础模型的实验表明,GaLLoP持续改进或匹配了通过使用其他领先的参数高效微调技术(包括LoRA、DoRA和SAFT)所获得的分布内和分布外性能。我们的分析表明,GaLLoP缓解了灾难性遗忘和任务数据的记忆化,因为重要的预训练参数保持不变,并且相对于其他微调技术稳定了性能,在大多数随机种子上稳健地泛化。

英文摘要:

Sparse fine-tuning techniques adapt LLMs to downstream tasks by only tuning a sparse subset of model parameters. However, the effectiveness of sparse adaptation depends on optimally selecting the model parameters to be fine-tuned. In this work, we introduce a novel sparse fine-tuning technique named GaLLoP: Gradient-based Sparse Learning on Low-Magnitude Parameters, which fine-tunes only those model parameters which have the largest gradient magnitudes on downstream tasks and the smallest pre-trained magnitudes, intuitively prioritizing parameters that are highly task-relevant, but minimally disruptive to pre-trained knowledge. Our experimentation with LLaMA3 8B and Gemma 2B as base models shows that GaLLoP consistently improves or matches the in-distribution as well as out-of-distribution performance obtained via the usage of other leading parameter-efficient fine-tuning techniques, including LoRA, DoRA, and SAFT. Our analysis demonstrates that GaLLoP mitigates catastrophic forgetting and memorization of task data, as important pre-trained parameters remain unchanged, and stabilizes performance relative to other fine-tuning techniques, robustly generalizing across most random seeds.

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

↑