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

基于部分线性化的参数高效多任务模型融合

Parameter Efficient Multi-task Model Fusion with Partial Linearization

Wuhan University(武汉大学);JD Explore Academy(京东探索研究院);Beijing Institute of Technology(北京理工大学);Washington University(华盛顿大学);Nanyang Technological University(南洋理工大学)

Anke Tang, Li Shen, Yong Luo, Yibing Zhan, Han Hu, Bo Du, Yixin Chen, Dacheng Tao

AI总结:

针对大型预训练模型多任务融合效率低的问题,提出仅对LoRA等适配器模块部分线性化并执行任务算术的方法,可高效构建统一多任务模型,性能优于标准参数高效微调技术。

摘要:

大型预训练模型已推动机器学习取得重大进展,并成为基础组件。模型融合方法(如task arithmetic(任务算术))已被证明功能强大且可扩展,能够将来自不同任务的微调权重整合到一个多任务模型中。然而,在多个下游任务上高效微调大型预训练模型仍然具有挑战性,导致多任务模型融合效率低下。在本研究中,我们提出了一种新方法,用于改进针对LoRA微调等参数高效微调技术的多任务融合。具体而言,我们的方法仅对适配器模块进行部分线性化,并在线性化的适配器上应用任务算术。这使我们能够利用线性化微调中模型融合的优势,同时仍能高效执行微调和推理。我们证明,我们的部分线性化技术能够将多个任务更有效地融合到单个模型中,性能优于标准适配器调优和单独使用任务算术的方法。实验结果证明了我们提出的部分线性化技术通过融合微调任务向量来有效构建统一多任务模型的能力。我们在数量不断增加的任务上评估了性能,发现我们的方法优于标准参数高效微调技术。这些结果凸显了部分线性化对于可扩展且高效的多任务模型融合的优势。代码可在https://github.com/tanganke/peta获取。

英文摘要:

Large pre-trained models have enabled significant advances in machine learning and served as foundation components. Model fusion methods, such as task arithmetic, have been proven to be powerful and scalable to incorporate fine-tuned weights from different tasks into a multi-task model. However, efficiently fine-tuning large pre-trained models on multiple downstream tasks remains challenging, leading to inefficient multi-task model fusion. In this work, we propose a novel method to improve multi-task fusion for parameter-efficient fine-tuning techniques like LoRA fine-tuning. Specifically, our approach partially linearizes only the adapter modules and applies task arithmetic over the linearized adapters. This allows us to leverage the the advantages of model fusion over linearized fine-tuning, while still performing fine-tuning and inference efficiently. We demonstrate that our partial linearization technique enables a more effective fusion of multiple tasks into a single model, outperforming standard adapter tuning and task arithmetic alone. Experimental results demonstrate the capabilities of our proposed partial linearization technique to effectively construct unified multi-task models via the fusion of fine-tuned task vectors. We evaluate performance over an increasing number of tasks and find that our approach outperforms standard parameter-efficient fine-tuning techniques. The results highlight the benefits of partial linearization for scalable and efficient multi-task model fusion. The code is available at https://github.com/tanganke/peta

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

↑