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

ZipIt! 无需训练即可合并不同任务的模型

ZipIt! Merging Models from Different Tasks without Training

Georgia Tech(佐治亚理工学院)

George Stoica, Daniel Bolya, Jakob Bjorner, Pratik Ramesh, Taylor Hearn, Judy Hoffman

AI总结:

本文提出ZipIt!方法,通过特征压缩与部分压缩策略,无需训练即可合并不同初始化、不同任务的模型,性能较先前工作提升20-60%。

摘要:

典型的深度视觉识别模型只能执行其训练时对应的单一任务。本文中,我们解决了将具有不同初始化、各自解决独立任务的多个模型组合成一个多任务模型且无需任何额外训练的极其困难的问题。先前的模型合并工作将一个模型排列到另一个模型的空间中,然后对它们进行平均。虽然这种方法适用于在相同任务上训练的模型,但我们发现它未能考虑在不相交任务上训练的模型之间的差异。因此,我们引入了“ZipIt!”,一种合并相同架构的两个任意模型的通用方法,它包含两种简单策略。首先,为了处理模型之间不共享的特征,我们扩展了模型合并问题,通过定义一个通用的“压缩”操作,允许在每个模型内部合并特征。其次,我们支持将模型部分压缩到指定层,自然形成一个多头模型。我们发现,这两种改变的结合比先前工作提升了20-60%的性能,使得在不重新训练的情况下合并针对不相交任务训练的模型变得更加可行。

英文摘要:

Typical deep visual recognition models are capable of performing the one task they were trained on. In this paper, we tackle the extremely difficult problem of combining distinct models with different initializations, each solving a separate task, into one multi-task model without any additional training. Prior work in model merging permutes one model to the space of the other then averages them together. While this works for models trained on the same task, we find that this fails to account for the differences in models trained on disjoint tasks. Thus, we introduce "ZipIt!", a general method for merging two arbitrary models of the same architecture that incorporates two simple strategies. First, in order to account for features that aren't shared between models, we expand the model merging problem to allow for merging features within each model by defining a general "zip" operation. Second, we add support for partially zipping the models up until a specified layer, naturally creating a multi-head model. We find that these two changes combined account for 20-60% improvement over prior work, making it more feasible to merge models trained on disjoint tasks without retraining.

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

↑