对齐与否:训练前检查你的COMPASS
研究论文 · 2026/10/15
结合预训练模型是构建AI系统的常见策略,无论是将视觉编码器与语言模型对齐,还是合并微调检查点。然而,找到兼容的模型对通常需要昂贵的经验搜索,因为兼容性只有在对齐或合并后才能知道。我们提出了COMPASS(兼容性评估分数),一种理论驱动的诊断方法,可以在对齐或合并之前估计模型对是否兼容。基于表示收敛在局部邻域层面最为稳健的观察,COMPASS将模型兼容性分解为两个计算成本低的轴:一对特定的易度,定义为两个编码器之间的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.