通过定位任务信息改进模型合并与压缩
Localizing Task Information for Improved Model Merging and Compression
AI总结:
该研究提出TALL-masks定位任务专属权重,发现任务信息在合并后仍保留,进而提出Consensus Merging消除有害权重以提升模型合并性能,同时实现高效的模型压缩。
摘要:
模型合并与任务算术已成为将多个单任务检查点合并为一个多任务模型的颇具前景的可扩展方法,但其性能损失显著,降低了实用性。以往研究将这类性能下降归因于权重空间的干扰以及重要任务特定特征的丢失。而在本研究中,我们发现每个任务所需的信息在合并后仍然得以保留,因为不同任务大多使用互不重叠的权重集合。我们提出TALL-masks(任务定位掩码),这是一种在给定任务向量集合的情况下识别这些任务支撑集的方法,并且证明通过将我们的掩码应用于多任务向量,可以恢复超过99%的单任务准确率,有效实现了单个检查点的压缩。我们研究了所构建掩码之间的交集统计特征,揭示了“自私权重”和“灾难性权重”的存在,即那些仅对单个任务重要、对所有其他任务无关且对多任务融合有害的参数。基于此,我们提出Consensus Merging(共识合并)算法,该算法会消除这类权重,提升现有模型合并方法的整体性能。我们在包含最多20个任务的视觉与NLP基准上开展的实验表明,Consensus Merging始终能提升现有方法的性能。此外,我们提出的压缩方案将存储量从57Gb降至8.2Gb,同时保留了99.7%的原始性能。
英文摘要:
Model merging and task arithmetic have emerged as promising scalable approaches to merge multiple single-task checkpoints to one multi-task model, but their applicability is reduced by significant performance loss. Previous works have linked these drops to interference in the weight space and erasure of important task-specific features. Instead, in this work we show that the information required to solve each task is still preserved after merging as different tasks mostly use non-overlapping sets of weights. We propose TALL-masks, a method to identify these task supports given a collection of task vectors and show that one can retrieve >99% of the single task accuracy by applying our masks to the multi-task vector, effectively compressing the individual checkpoints. We study the statistics of intersections among constructed masks and reveal the existence of selfish and catastrophic weights, i.e., parameters that are important exclusively to one task and irrelevant to all tasks but detrimental to multi-task fusion. For this reason, we propose Consensus Merging, an algorithm that eliminates such weights and improves the general performance of existing model merging approaches. Our experiments in vision and NLP benchmarks with up to 20 tasks, show that Consensus Merging consistently improves existing approaches. Furthermore, our proposed compression scheme reduces storage from 57Gb to 8.2Gb while retaining 99.7% of original performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。