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:
- 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.
- 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.
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