Spherical Interpolation for Backward-Compatible Multimodal Representations

Simone Ricci, Niccolò Biondi, Federico Pernici
9/30/2026
1 citation
cs.CVcs.LG

Official code: miccunifi/SLERP_backward_compatibility (3 stars, Jupyter Notebook, last commit 2026-10-07).

Abstract

Contrastive vision-language models map visual and textual representations into a shared normalized embedding space, making cosine similarity the natural metric for cross-modal retrieval. A practical challenge arises during model upgrades: independently trained models generally produce incompatible representation spaces, so replacing a deployed model typically requires recomputing embeddings for the entire gallery, which is prohibitively expensive at scale.

Show full abstract

Orthogonal post-hoc alignment can partially mitigate this problem by mapping new-model queries into the old-model gallery space. However, because independently trained models can differ in fine-grained representation structure, the orthogonal alignment remains approximate, leaving a residual angular discrepancy between the old-model query and the aligned new-model query. We study whether interpolation along the spherical geodesic between these two normalized query representations can improve retrieval without re-indexing the gallery. We characterize when this path contains an interior query direction closer to an idealized retrieval-optimal direction than either endpoint, and connect this characterization to Recall@$K$ through a local margin-based certification result. Experiments across multiple benchmarks and model families show that post-alignment spherical interpolation improves over orthogonal alignment alone, recovering backward-compatibility in most evaluated settings. Consistent with our geometric characterization, per-query oracle analysis shows that retrieval-favorable interior points occur frequently in practice. Code is available at https://github.com/miccunifi/SLERP_backward_compatibility .

View on arXivView PDF

Code Implementations(1)

[NeurIPS2026] Spherical Interpolation for Backward-Compatible Multimodal Representations

30Jupyter Notebook, PythonSep 28, 20261 months ago

Similar Papers

Cite this paper

@article{ricci2026spherical,
  title  = {Spherical Interpolation for Backward-Compatible Multimodal Representations},
  author = {Simone Ricci and Niccolò Biondi and Federico Pernici},
  year   = {2026},
  eprint = {2609.39836},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.39836v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.39836.svg)](https://codeofpaper.com/paper/2609.39836)

Discussion