arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.08147cs.LGcs.AIstat.ML
收藏

变分模型合并用于多任务微调中的帕累托前沿估计

Variational Model Merging for Pareto Front Estimation in Multitask Finetuning

RIKEN Center for AI Project, Japan(日本人工智能研究中心(AI项目));Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science, Technical University of Darmstadt and National Research Center for Applied Cybersecurity ATHENE, Germany(大众知识处理实验室(UKP实验室),计算机科学系,达姆施塔特技术大学和应用网络安全国家研究中心ATHENE,德国)

Hugo Monzón Maldonado, Nico Daheim, Thomas Möllenhoff, Iryna Gurevych, Mohammad Emtiyaz Khan

AI总结:

提出变分模型合并方法,通过贝叶斯后验合并直接改进帕累托前沿质量,理论上证明更灵活的后验分布能获得更好的帕累托前沿估计,并在视觉和语言模型上验证。

摘要:

帕累托前沿有助于找到多任务微调的良好任务混合策略,但计算成本高昂。为降低成本,近期工作利用现有模型合并方法训练廉价代理模型来估计帕累托前沿。然而,尚无工作考虑设计新的模型合并方法以直接且可证明地提高帕累托前沿质量。本文通过提出一种名为变分模型合并的新贝叶斯方法填补了这一空白。在该方法中,现有模型合并方法可视为高斯后验下“后验合并”的特例,而通过使用非高斯后验可以推导出新的模型合并策略。我们的主要理论结果是证明更灵活的后验必然产生更好的帕累托前沿估计。例如,通过合并全高斯后验获得的帕累托前沿估计预期优于使用各向同性高斯后验的结果。我们通过在视觉和语言变换器上的广泛实证结果验证了该理论,其中更好的高斯族一致地产生更好或可比的帕累托前沿。我们的工作是贝叶斯思想用于改进帕累托分析的罕见实例。

英文摘要:

Pareto fronts are useful to find good task-mixing strategies for multitask finetuning, but they are also costly to compute. To reduce costs, recent works have used existing model merging methods to help train cheap surrogate models to estimate the Pareto fronts. However, no work has yet considered designing new model-merging methods to directly, and provably, improve the quality of Pareto fronts. Here, we fill this gap by proposing a new Bayesian approach called Variational Model Merging. In this approach, existing model-merging methods are obtained as special cases of "posterior-merging" when Gaussian posteriors are used and new model-merging strategies can be derived by using non-Gaussian posteriors. Our main theoretical result is to show that more flexible posteriors necessarily yield better estimates of Pareto fronts. For instance, a Pareto front estimate obtained by merging full-Gaussian posteriors is expected to be better than that obtained by using isotropic Gaussian posteriors. We validate the theory through extensive empirical results on vision and language transformers where better Gaussian families consistently yields better or comparable Pareto fronts. Our work is a rare instance where Bayesian ideas are used to improve Pareto analysis.

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

↑