MUVERA: Multi-Vector Retrieval via Fixed Dimensional Encoding

Rajesh Jayaram, Laxman Dhulipala, Majid Hadian, Jason Lee, Vahab Mirrokni

TL;DR

MUVERA (Multi-Vector Retrieval Algorithm) bridges the efficiency gap between fast single-vector search and high-accuracy multi-vector retrieval models like ColBERT. By transforming sets of embeddings into "Fixed Dimensional Encodings" (FDEs), MUVERA allows standard, highly optimized search engines to handle complex multi-vector similarities with theoretical guarantees, achieving 10% better recall and 90% lower latency than current state-of-the-art systems.

What Problem Does This Paper Address?

In modern information retrieval, there is a tug-of-war between speed and accuracy. Single-vector (SV) models represent a document as one point in space, allowing for lightning-fast searches using Maximum Inner Product Search (MIPS). However, they often lose the nuance of complex documents. Multi-vector (MV) models (like ColBERT) represent documents as a set of embeddings (one per token), which is much more accurate but computationally expensive.

Scoring these sets requires the "Chamfer Similarity" (or MaxSim), which involves comparing every token in a query to every token in a document. Current solutions rely on complex, multi-stage "heuristics" that are difficult to tune and often require searching through massive indexes for every single query token. The authors sought a way to get the accuracy of multi-vector models with the simplicity and speed of single-vector search.

Comparison of MUVERA and PLAID retrieval pipelines.

Methods

The heart of the paper is the Fixed Dimensional Encoding (FDE). Instead of searching for individual tokens, MUVERA compresses an entire set of vectors into a single, high-dimensional proxy vector.

Illustration of the Fixed Dimensional Encoding (FDE) mapping process.
  1. Space Partitioning: MUVERA uses SimHash (a type of Locality Sensitive Hashing) to divide the vector space into $B$ clusters.
  2. Centroid Mapping: For a document, vectors falling into the same cluster are averaged. If a cluster is empty, MUVERA "fills" it with the nearest available vector to ensure the encoding remains robust.
  3. Random Projections: To prevent the dimensionality from exploding, the authors apply random linear projections to each cluster's representation.
  4. Asymmetric Encoding: Queries and documents are encoded slightly differently to ensure that their inner product mathematically approximates the Chamfer Similarity.
  5. Ball Carving: For the final re-ranking stage, MUVERA employs a "ball carving" technique to group similar query embeddings. This reduces the number of expensive MaxSim operations needed during the final check without sacrificing recall.

Datasets

The authors evaluated MUVERA using the BEIR (Benchmarking IR) suite, focusing on six diverse datasets:

  • MS MARCO: The industry standard for passage retrieval.
  • HotpotQA: Multi-hop question answering.
  • NQ (Natural Questions): Real-world Google search queries.
  • Quora: Duplicate question detection.
  • SciDocs: Scientific document citations.
  • ArguAna: Argument retrieval.

These datasets vary significantly in corpus size (8K to 8.8M documents) and document length, providing a rigorous test of the algorithm's versatility.

Key Insights and Ideas

  • Theoretical Rigor: Unlike previous "best-guess" heuristics, MUVERA comes with a mathematical proof. The authors demonstrate that FDEs provide an $\epsilon$-approximation of the true multi-vector similarity, giving researchers a principled way to trade off vector size for accuracy.
  • The Power of "Data-Oblivious" Transforms: Because the FDE mapping doesn't depend on the specific data distribution (it uses randomized hashing and projections), it is robust to "distribution shift"—meaning it won't break if the type of documents in your index changes over time.
  • Compression is Practical: While FDEs can be high-dimensional (e.g., 10,240 dimensions), they are highly compressible. By using Product Quantization (PQ), the authors shrunk the encodings by 32x with negligible loss in quality, making the memory footprint manageable for production systems.

Key Results

MUVERA was compared against PLAID, the previous gold standard for efficient ColBERT retrieval.

  • Massive Speedup: MUVERA achieved an average of 90% lower latency (up to 5.7x faster) than PLAID across the BEIR datasets.
  • Higher Accuracy: It delivered a 10% average improvement in recall. On datasets like NQ and HotpotQA, the recall gains were as high as 56%.
  • Efficiency in Candidate Retrieval: On MS MARCO, MUVERA reached 95% recall while retrieving only 75 candidates, whereas standard heuristics required retrieving hundreds or thousands of candidates to reach the same level.

Limitations and Future Work

  • Tuning for Specific Datasets: While MUVERA outperformed PLAID on 5 out of 6 datasets, PLAID still held a slight edge on MS MARCO. The authors attribute this to the fact that PLAID was heavily optimized and "hand-tuned" specifically for the MS MARCO benchmark over several years.
  • Average Embedding Count: The study did not deeply explore how the average number of embeddings per document ($m_{avg}$) affects the quality of the FDEs, which could be a factor for extremely long documents.
  • Future Directions: The authors suggest that further optimizing the FDE construction and exploring different space-partitioning methods (beyond SimHash) could yield even greater efficiency gains.

Summary updated

BibTeX
@inproceedings{jayaram2024muvera,
  author = {Rajesh Jayaram and Laxman Dhulipala and Majid Hadian and Jason Lee and Vahab Mirrokni},
  title = {{MUVERA: Multi-Vector Retrieval via Fixed Dimensional Encoding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=X3ydKRcQr6},
}
Figure