TL;DR
Embedding models trained independently often live in completely different coordinate spaces, preventing their vectors from being directly compared. This paper proves that if two models capture similar underlying relationships, they can be precisely aligned using a simple rotation and reflection (orthogonal Procrustes transformation). The authors provide a tight theoretical bound on the alignment error and demonstrate state-of-the-art results across model retraining, partial upgrades, and multimodal search.
What Problem Does This Paper Address?
Embedding models map real-world objects (like text, images, or user profiles) into dense vector spaces where geometric closeness corresponds to semantic similarity. However, the loss functions used to train these models are typically orthogonally invariant—meaning that rotating or reflecting the entire embedding space results in the exact same loss value.
Because of this under-specification, two models trained on similar data will almost certainly end up with completely different coordinate systems. This lack of interoperability causes major headaches in production:
- Model Retraining: Updating a recommendation model on fresh data breaks all downstream systems because the new vectors don't align with the old ones.
- Partial Upgrades: Upgrading a query encoder in a search system normally forces you to re-embed billions of existing documents, which can be prohibitively expensive or impossible if raw documents are lost.
- Multimodal Search: Jointly trained models like CLIP suffer from a "modality gap" where text and images cluster into separate regions, degrading mixed-modality retrieval.
The authors tackle a fundamental question: When and how well can we align two separate embedding spaces using a simple, geometry-preserving transformation?
Methods
The paper focuses on the Orthogonal Procrustes problem, a classical geometric method that finds an orthogonal matrix $Q$ (representing pure rotation and reflection) to minimize the distance between two sets of corresponding vectors ($X$ and $Y$). This is solved efficiently in practice using Singular Value Decomposition (SVD).
The core theoretical contribution is a new, tight upper bound on the alignment error. The authors prove that if two embedding matrices approximately preserve pairwise dot products, the optimal orthogonal transformation is guaranteed to closely align them. Crucially, unlike prior work, this new bound is entirely data-independent and does not degrade when the number of data points grows large.
This theory justifies a simple, computationally cheap pipeline: Procrustes post-processing. You take a small set of anchor points, pass them through both models, compute the optimal rotation matrix via SVD, and apply it to one of the models to make them instantly interoperable.
Datasets
The authors evaluated their approach across three distinct applications using several standard benchmarks:
- MovieLens-25M: Containing 25 million movie ratings, used to simulate a rolling production environment with monthly model retrainings.
- MMTEB (Massive Text Embedding Benchmark - Retrieval subset): Specifically evaluating on HotpotQA-HN, FEVER-HN, and TREC-COVID across 7 popular open-source text encoders (e.g., Nomic, BGE, Qwen3, MiniLM).
- MixBench: A benchmark designed for mixed-modality search, combining four image-text datasets (WIT, OVEN, COCO, and VisualNews) to test CLIP and SigLIP models.
Key Insights and Ideas
- Geometry Preservation is Vital: Unconstrained linear transformations (like standard linear regression) can warp and distort vector spaces. The authors show that enforcing an orthogonal constraint preserves the internal geometry of the stronger model, which is critical when upgrading to a more powerful encoder.
- High Sample Efficiency: You don't need millions of parallel examples to align two massive vector spaces. Empirically, the alignment performance saturates at just around 10,000 sample pairs.
- Matryoshka Alignment: For models trained with Matryoshka Representation Learning (MRL)—which packs the most important semantic information into the first few dimensions—the Procrustes matrix naturally aligns these leading dimensions across different models.
Key Results
- Fixing Cross-Model Retrieval: Without alignment, trying to match a query from one text model with a document from another results in a dismal 0% retrieval performance (nDCG@10). Applying Procrustes post-processing completely restores retrieval capability. Remarkably, upgrading just the query encoder to a stronger model often yields substantial performance gains over the original single-model baseline.
- Closing the Modality Gap: On the MixBench benchmark, combining Procrustes alignment with vector centering successfully bridges the gap between text and image clusters, achieving new state-of-the-art results across multiple multimodal models.
Limitations and Future Work
While highly effective, Procrustes post-processing still requires a small set of overlapping anchor data (i.e., the same objects embedded by both models) to learn the transformation matrix.
For future work, the authors propose moving beyond post-processing by integrating orthogonal alignment directly into the training phase. They envision developing an "alignment layer" (analogous to batch normalization) to make embedding interoperability a standard, built-in feature of representation learning from day one.
Summary updated