When Embedding Models Meet: Procrustes Bounds and Applications
Lucas Maystre, Alvaro Ortega Gonzalez, Charles Park, Rares Dolga, Tudor Berariu, Yu Zhao, Kamil Ciosek
TL;DR
The paper addresses interoperability gaps between independently trained embedding models by showing that approximate preservation of pairwise dot products implies the existence of a close orthogonal Procrustes alignment between spaces, with a tight bound $\min_{\bm{Q} \in \mathcal{O}_D} \lVert \bm{Q}\bm{X} - \bm{Y} \rVert_F \le (2D)^{1/4} \sqrt{\varepsilon}$ where $\varepsilon = \lVert \bm{X}^\top\bm{X} - \bm{Y}^\top\bm{Y} \rVert_F$. This yields a simple Procrustes post-processing recipe to make embeddings interoperable without distorting each space's geometry. The authors validate the approach across three practical applications—maintaining compatibility across retrainings, combining different text models for retrieval, and improving mixed-modality search—demonstrating improved performance and, in some cases, state-of-the-art results. Overall, the work provides a solid theoretical guarantee for embedding interoperability and a practical tool for real-world multimodel pipelines that rely on cross-model similarity computations.
Abstract
Embedding models trained separately on similar data often produce representations that encode stable information but are not directly interchangeable. This lack of interoperability raises challenges in several practical applications, such as model retraining, partial model upgrades, and multimodal search. Driven by these challenges, we study when two sets of embeddings can be aligned by an orthogonal transformation. We show that if pairwise dot products are approximately preserved, then there exists an isometry that closely aligns the two sets, and we provide a tight bound on the alignment error. This insight yields a simple alignment recipe, Procrustes post-processing, that makes two embedding models interoperable while preserving the geometry of each embedding space. Empirically, we demonstrate its effectiveness in three applications: maintaining compatibility across retrainings, combining different models for text retrieval, and improving mixed-modality search, where it achieves state-of-the-art performance.
