任务对齐:一种简单的有效代理,用于计算机视觉中的模型融合
Task Alignment: A Simple Proxy for Practical Model Merging Across Diverse Vision Tasks
AI总结:
本文提出任务对齐代理,解决多任务视觉模型中模型融合的超参数选择问题,提升模型融合在复杂场景中的实用性。
摘要:
高效地融合多个针对不同任务微调但源自相同预训练基础模型的模型具有重要的实际价值。尽管已有大量研究,但大多数视觉模型融合的评估仍局限于使用CLIP进行图像分类,其中不同的分类数据集定义不同的任务。在本文中,我们的目标是使模型融合更加实用,并展示其在超越此特定设置的挑战性场景中的相关性。在大多数视觉场景中,不同任务依赖于可训练且通常异构的解码器。与之前研究中冻结解码器不同,其中融合模型可以立即评估,解码器训练的非平凡成本使得基于下游性能的超参数选择变得不切实际。为了解决这个问题,我们引入了任务对齐代理,并展示了如何利用它通过数量级的速度加快超参数选择,同时保持性能。配备了任务对齐代理,我们扩展了模型融合在基于CLIP的分类之外的多任务视觉模型中的适用性。
英文摘要:
Efficiently merging several models fine-tuned for different tasks, but stemming from the same pretrained base model, is of great practical interest. Despite extensive prior work, most evaluations of model merging in computer vision are restricted to image classification using CLIP, where different classification datasets define different tasks. In this work, our goal is to make model merging more practical and show its relevance on challenging scenarios beyond this specific setting. In most vision scenarios, different tasks rely on trainable and usually heterogeneous decoders. Differently from previous studies with frozen decoders, where merged models can be evaluated right away, the non-trivial cost of decoder training renders hyperparameter selection based on downstream performance impractical. To address this, we introduce the task alignment proxy, and show how it can be used to speed up hyperparameter selection by orders of magnitude while retaining performance. Equipped with the task alignment proxy, we extend the applicability of model merging to multi-task vision models beyond CLIP-based classification. Project page: https://europe.naverlabs.com/task-alignment
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。