arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18638cs.AIcs.CLcs.LG
收藏

对齐还是不对齐:训练前请检查你的COMPASS

To Align or Not To Align: Check Your COMPASS Before You Train

EPFL(洛桑联邦理工学院);University of Basel(巴塞尔大学);HSLU(卢塞恩应用科学与艺术大学)

Fabian Gröger, Petar Damjanović, Maria Brbić

AI总结:

本研究提出COMPASS,一种可在模型对齐或合并前评估兼容性的诊断方法,经72个跨模态对齐和392个模型合并实验验证,其兼容性估计与下游任务表现高度相关。

摘要:

结合预训练模型是构建AI系统的常用策略,无论是将视觉编码器与语言模型对齐,还是合并微调后的检查点。然而,寻找兼容的模型对通常需要代价高昂的经验搜索,因为兼容性只有在对齐或合并后才能知晓。我们提出COMPASS(COMPatibility ASsessment Score,兼容性评估分数),这是一种具有理论依据的诊断方法,可在对齐或合并前估计模型对是否兼容。基于表征收敛在局部邻域层面最为鲁棒的观察,COMPASS将模型兼容性分解为两个易于计算的维度:特定对的易用性,定义为两个编码器之间的k近邻(k-NN)重叠度;以及范式层面的上限,捕捉它们的训练范式所能允许的最大重叠度。这两个维度共同为候选模型对提供排名,并规定对每个对的行动:(i)优先选择已达成一致且范式兼容的对;(ii)对范式兼容但初始一致性低的对投入额外计算;(iii)当预训练范式无法支持足够一致性时,切换该范式;(iv)降低对两个维度得分均低的对的优先级。我们将COMPASS应用于72个跨模态对齐实验和392个任务算术模型合并实验,结果显示COMPASS的兼容性估计与下游成功高度相关,在跨模态对齐任务上平均皮尔逊相关系数为0.91,在模型合并任务上为0.70。

英文摘要:

Combining pretrained models is a common strategy for building AI systems, whether by aligning a vision encoder with a language model or merging fine-tuned checkpoints. However, finding compatible pairs typically requires costly empirical search, as compatibility is known only after alignment or merging. We propose COMPASS (COMPatibility ASsessment Score), a theoretically motivated diagnostic that estimates whether a model pair will be compatible prior to alignment or merging. Building on the observation that representational convergence is most robust at the level of local neighborhoods, COMPASS decomposes model compatibility into two cheap-to-compute axes: a pair-specific ease, defined as the $k$-NN overlap between the two encoders, and a paradigm-level ceiling, capturing the maximum overlap their training paradigms allow. Together, these two axes provide a ranking of candidate model pairs and prescribe how to act on each pair: (i) prioritize pairs that already agree and whose paradigms are compatible, (ii) invest additional compute on pairs with compatible paradigms but low initial agreement, (iii) switch the pretraining paradigm when it cannot support sufficient agreement, or (iv) deprioritize pairs that score poorly on both axes. We apply COMPASS to $72$ cross-modal alignment experiments and $392$ task-arithmetic model merges and show that compatibility estimates by COMPASS strongly correlate with downstream success, achieving average Pearson correlation of $0.91$ on cross-modal alignment tasks and $0.70$ on model merging.

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

↑