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

Fabian Gröger, Petar Damjanović, Maria BrbicNeurIPS 2026

TL;DR

Combining pretrained AI models—like snapping a vision encoder onto a language model, or averaging two fine-tuned checkpoints together—usually feels like blind matchmaking: you only find out if they are compatible after burning serious compute. This paper introduces COMPASS, a fast, theoretically grounded diagnostic that predicts whether two models will play nicely before you train or merge them. By simply checking if the models agree on which data points are "neighbors" over a tiny probe set, COMPASS tells you which pairs to prioritize, which need more compute, and which to abandon altogether.

What Problem Does This Paper Address?

Modern AI engineering rarely starts from scratch; it’s an exercise in modular assembly. Two common ways to build new capabilities are cross-modal alignment (training a lightweight adapter to translate between a frozen vision model and a frozen language model) and model merging (combining the weights of two specialized checkpoints, like via task arithmetic, to get a single multi-task model).

The catch? With hundreds of open-weight models available, choosing which pair to combine is a bottleneck. Compatibility is typically discovered the hard way—by running the alignment or merge and seeing if downstream accuracy tanks. If you have $M$ vision models and $N$ language models, testing every combination scales multiplicatively ($M \times N$). The authors ask: can we evaluate each model just once on a small set of examples, and reliably predict how well any pair will combine?

Methods

Recent work on the "Aristotelian Representation Hypothesis" showed that while different models might organize their global feature spaces very differently, compatible models tend to agree locally—they agree on "who is close to whom."

Building on standard mutual $k$-nearest neighbors ($k$-NN) overlap ($k=10$), the authors propose COMPASS (COMPatibility ASsessment Score). Using only forward passes on a tiny probe dataset (1,024 to 2,048 samples), COMPASS measures the fraction of shared nearest neighbors between representations and decomposes compatibility into two novel, theoretically motivated axes:

Figure 1: Given a library of candidate encoders, the compatibility of a model pair is typically unknown before running the downstream transfer. Using COMPASS, we estimate the compatibility based on local neighborhood agreement: for each probe sample, we compare its local k-NN overlap across the two representation spaces. Aggregating this local overlap across different axes gives two scores computed before alignment or merging. Ease is a pair-specific score that measures how close the selected pair is at the start of the relevant dynamics: before encoder training in cross-modal alignment, and before weight merging in task arithmetic. Ceiling is a paradigm-level score that estimates how much agreement the corresponding training paradigms can support on average. Candidate pairs are ranked by combining ease and ceiling. Each axis is thresholded at its median value: green compatibility scores are above the corresponding median while the red ones are below it. The resulting high/low pattern assigns each pair to one of four regimes: act now (high ease, high ceiling), budget-limited (low ease, high ceiling), ceiling-limited (high ease, low ceiling), or incompatible (low ease, low ceiling).
  1. Ease (Pair-Specific): How much $k$-NN neighborhood agreement do the two specific models already share at $t=0$ (before adapter training or weight averaging)? High ease means they start close and require modest effort to align.
  2. Ceiling (Paradigm-Level): How much agreement can their underlying training paradigms (e.g., contrastive vs. masked autoencoding vs. autoregressive) ever support in principle? Even with infinite training, mismatched training objectives cap how well local neighborhoods can align.

Multiplying Ease × Ceiling yields a continuous score to rank candidate pairs. Thresholding each axis at its median neatly sorts pairs into four actionable regimes: act now (high ease, high ceiling), budget-limited (low ease, high ceiling—invest more data/compute), ceiling-limited (high ease, low ceiling—switch pretraining paradigms), and incompatible (deprioritize).

Datasets

No new benchmarks are introduced; instead, existing datasets are used as lightweight probe sets and downstream testbeds:

  • Cross-Modal Alignment: Uses a 1,024-pair subset of WIT (Wikipedia-based Image Text) as the probe set. Adapters are trained on MS-COCO, and image-to-text retrieval is evaluated on Flickr30k and COCO.
  • Model Merging: Uses a 2,048-sample probe set from MNIST (with ablations across other datasets). Checkpoints are fine-tuned and evaluated across the standard 8-task image-classification benchmark from task arithmetic.

Key Insights and Ideas

  • Evaluation scales linearly, not quadratically: Because you only extract features on a small probe set once per model and compare neighbor lists, testing a $19 \times 10$ grid takes 29 forward-pass runs instead of 190 training runs—cutting wall-clock selection cost by over two orders of magnitude.
  • Local beats global: Standard global similarity metrics like CKA (Centered Kernel Alignment) are surprisingly poor predictors of merge quality ($r = 0.25$), whereas local neighborhood overlap captures what actually matters for transfer ($r = 0.70$).
  • No "one-size-fits-all" paradigm: Contrastive models (like CLIP and SigLIP) sit in the sweet spot (act now) for language alignment because their pretraining already links to text, while pixel-reconstructors like MAE hit a hard ceiling. Remarkably, in classification model merging, this flips: discriminative and self-distilled models (like DINOv2) merge cleanly, whereas contrastive models drift heavily during classification fine-tuning and merge poorly.
Figure 2: Theorem 4.1 across four settings, each showing a start-condition score against the corresponding endpoint. Top: unimodal validation. Initial random k-NN overlap predicts final pretrained overlap across n = 21 vision family pairs (left; r = 0.69, p < 10−4) and n = 42 text family pairs (right; r = 0.91, p < 10−17). Bottom left: cross-modal alignment. Pretrained k-NN overlap predicts Flickr30k I2T R@1 after alignment (r = 0.84, p < 10−20) across n = 72 vision-language pairs. Bottom right: model merging via task arithmetic. k-NN overlap between fine-tuned checkpoints predicts merge quality (r = 0.67, p < 10−52) across n = 392 model merges. Color encodes the vision/text family throughout. In the top panels (unimodal) and bottom-left (cross-modal alignment), marker shape encodes the other family of the pair (text family in the cross-modal case). The bottom-right merging panel uses a single shape, since each point has a single base-model family. Initialization structure that underlies the unimodal panels is reported in Appendix H.1. The same qualitative pattern holds at k ∈{20, 50, 100} (Appendix H.2).

Key Results

Tested across 72 vision-language alignment pairs and 392 ViT task-arithmetic merges, COMPASS strongly predicts downstream success before a single gradient step or weight average is taken:

  • Cross-modal alignment: COMPASS (Ease × Ceiling) achieves a Pearson correlation of $0.90$ on Flickr30k and $0.91$ on COCO retrieval (Recall@1), substantially beating global CKA ($0.63$ and $0.68$). Pairs in the act now quadrant average $46\%$ R@1 on Flickr30k, compared to just $21\%$ for incompatible pairs.
  • Model merging: COMPASS achieves a correlation of $0.70$ with retained accuracy across merged tasks (vs. $0.25$ for global CKA). Act now merges retain $84\%$ of original task accuracy on average, while incompatible merges drop to $35\%$.
  • Fast optimal search: Under a strict evaluation budget, ranking by COMPASS picks the #1 best cross-modal pair on the very first try, and finds the optimal model merge within the top 5 out of 392 candidates.

Limitations and Future Work

The main text notes that the theoretical derivations connecting local overlap to finite-budget convergence and target discrepancy are sufficient conditions that motivate the score rather than universal guarantees. Furthermore, the four quadrant regimes are meant as interpretable summaries rather than rigid boundaries (for fine-grained decisions, the continuous Ease × Ceiling score should be used). Specific theoretical failure modes and broader limitations of COMPASS are deferred by the authors to Appendix A and Appendix F.1, which are outside the provided main text, and specific future work directions are not discussed in the main paper.

Summary updated

Abstract

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.
BibTeX
@inproceedings{groger2026align,
  author = {Fabian Gröger and Petar Damjanović and Maria Brbic},
  title = {{To Align or Not To Align: Check Your COMPASS Before You Train}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pi5rLDk0WR},
}
Figure