arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.02575cs.LGcs.CV
收藏

AdaMerging:面向多任务学习的自适应模型合并

AdaMerging: Adaptive Model Merging for Multi-Task Learning

Northeastern University(东北大学);University of Oxford(牛津大学);Nanyang Technological University(南洋理工大学);University of Maryland(马里兰大学);JD Explore Academy(京东探索研究院)

Enneng Yang, Zhenyi Wang, Li Shen, Shiwei Liu, Guibing Guo, Xingwei Wang, Dacheng Tao

AI总结:

本文提出AdaMerging,一种无需原始训练数据的自适应模型合并方法,通过任务级或层级系数学习及熵最小化优化,在多任务学习中实现11%的性能提升并增强泛化与鲁棒性。

摘要:

多任务学习(MTL)旨在使一个模型能够同时处理多个任务。近期的一项进展称为任务算术,揭示了多个分别针对不同任务微调的模型可以直接合并为一个模型来执行多任务学习,而无需使用初始训练数据进行重新训练。然而,这种直接相加模型的方式往往会导致合并后模型的整体性能显著下降。这种下降是由于多个任务之间潜在冲突和复杂关联所致。因此,挑战在于如何在不使用原始训练数据的情况下更有效地合并预训练模型。本文介绍了一种名为自适应模型合并(AdaMerging)的创新技术。该方法旨在以任务级或层级的方式自动学习模型合并的系数,而不依赖原始训练数据。具体而言,我们的AdaMerging方法作为一种自动、无监督的任务算术方案运行。它利用多任务设置中未标记测试样本上的熵最小化作为替代目标函数,以迭代方式优化多个模型的合并系数。我们在八个任务上的实验结果表明,我们提出的AdaMerging方案的有效性。与当前最先进的任务算术合并方案相比,AdaMerging展示了显著的11%性能提升。值得注意的是,AdaMerging在应用于未见过的下游任务时也表现出优越的泛化能力。此外,它对测试阶段可能发生的数据分布偏移显示出显著增强的鲁棒性。

英文摘要:

Multi-task learning (MTL) aims to empower a model to tackle multiple tasks simultaneously. A recent development known as task arithmetic has revealed that several models, each fine-tuned for distinct tasks, can be directly merged into a single model to execute MTL without necessitating a retraining process using the initial training data. Nevertheless, this direct addition of models often leads to a significant deterioration in the overall performance of the merged model. This decline occurs due to potential conflicts and intricate correlations among the multiple tasks. Consequently, the challenge emerges of how to merge pre-trained models more effectively without using their original training data. This paper introduces an innovative technique called Adaptive Model Merging (AdaMerging). This approach aims to autonomously learn the coefficients for model merging, either in a task-wise or layer-wise manner, without relying on the original training data. Specifically, our AdaMerging method operates as an automatic, unsupervised task arithmetic scheme. It leverages entropy minimization on unlabeled test samples from the multi-task setup as a surrogate objective function to iteratively refine the merging coefficients of the multiple models. Our experimental findings across eight tasks demonstrate the efficacy of the AdaMerging scheme we put forth. Compared to the current state-of-the-art task arithmetic merging scheme, AdaMerging showcases a remarkable 11\% improvement in performance. Notably, AdaMerging also exhibits superior generalization capabilities when applied to unseen downstream tasks. Furthermore, it displays a significantly enhanced robustness to data distribution shifts that may occur during the testing phase.

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

↑