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

线性链变换:为大语言模型微调拓展优化动力学

Linear Chain Transformation: Expanding Optimization Dynamics for Fine-Tuning Large Language Models

State Key Laboratory of Networking and Switching Technology(网络与交换技术国家重点实验室);School of Computer Science (National Pilot Software Engineering School)(计算机学院(国家示范性软件学院));Beijing University of Posts and Telecommunications(北京邮电大学);Guizhou University(贵州大学);Fudan University(复旦大学)

Yulong Wang, Chang Zuo, Yin Xuan, Hong Li, Ni Wei

AI总结:

针对大语言模型微调适配下游任务的需求,提出引入多重线性变换的LinChain方法,拓展更新有效秩与优化路径,在更少可学习参数下实现更优泛化与任务适配,同时保持推理效率。

摘要:

大语言模型(LLM)微调已成为让预训练模型适配特定下游任务的关键环节。本文提出线性链变换(Linear Chain Transformation,简称LinChain)——一种在微调过程中引入一系列线性变换以丰富优化动力学的新方法。通过在参数更新过程中融入多重线性变换,LinChain拓展了更新的有效秩,增强了模型学习复杂任务特定表示的能力。我们证明,该方法通过在训练期间提供更灵活的优化路径,同时保持所得模型的推理效率,相比现有最优方法显著提升了LLM微调性能。我们在多个基准任务上的实验表明,LinChain能带来更好的泛化能力、更少的可学习参数以及更优的任务适配效果,是一种极具吸引力的LLM微调策略。

英文摘要:

Fine-tuning large language models (LLMs) has become essential for adapting pretrained models to specific downstream tasks. In this paper, we propose Linear Chain Transformation (LinChain), a novel approach that introduces a sequence of linear transformations during fine-tuning to enrich optimization dynamics. By incorporating multiple linear transformations into the parameter update process, LinChain expands the effective rank of updates and enhances the model's ability to learn complex task-specific representations. We demonstrate that this method significantly improves the performance of LLM fine-tuning over state-of-the-art methods by providing more flexible optimization paths during training, while maintaining the inference efficiency of the resulting model. Our experiments on various benchmark tasks show that LinChain leads to better generalization, fewer learnable parameters, and improved task adaptation, making it a compelling strategy for LLM fine-tuning.

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

↑