WARP: An Efficient Engine for Multi-Vector Retrieval

Jan Luca Scheerer, Matei Zaharia, Christopher Potts, Gustavo Alonso, Omar Khattab

Introduction

Multi-vector retrieval models, such as ColBERT and the ConteXtualized Token Retriever (XTR), have emerged as the gold standard for information retrieval accuracy. Unlike single-vector models that compress a document into a single embedding, multi-vector models represent documents as a collection of token-level embeddings. This allows for "late interaction," where query tokens are compared individually against document tokens, capturing fine-grained semantic nuances.

However, this superior accuracy comes at a high computational cost. The reference implementations for these models often suffer from high latency and significant memory requirements, making them difficult to deploy in production environments. WARP is a high-performance retrieval engine specifically designed to address these efficiency bottlenecks, achieving a 41x speedup over the XTR reference implementation and a 3x speedup over the state-of-the-art ColBERTv2/PLAID engine.

Technical Innovations in WARP

WARP introduces three primary technical innovations to streamline the retrieval pipeline and eliminate traditional bottlenecks:

1. WARPSELECT: Dynamic Similarity Imputation

In XTR, not every token similarity is explicitly calculated to save time. To handle missing values, the original model uses a static, conservative estimate. WARP replaces this with WARPSELECT, which utilizes query-centroid scores to dynamically estimate missing similarities. Since these centroid scores are already computed during the initial candidate generation phase, this dynamic imputation is computationally "free" and leads to more accurate document ranking.

2. Implicit Decompression

Perhaps the most significant innovation is implicit decompression. Traditional engines like PLAID decompress quantized vectors into their full representation before scoring. WARP leverages the linear nature of the scoring function to calculate final scores by combining pre-computed query-centroid similarities with small "residual" adjustments. This approach allows the system to compute scores without ever fully reconstructing the original vectors, drastically reducing CPU cycles.

The WARP retrieval pipeline architecture.

3. Optimized C++ Kernels

To eliminate the overhead of high-level languages, WARP implements highly optimized C++ kernels for the two-stage reduction process. These kernels are hardware-aware and specifically designed to handle the "MaxSim" operation efficiently, replacing slow Python loops with high-performance computation.

Evaluation and Results

The authors evaluated WARP using the BEIR and LoTTE benchmarks, comparing it against the XTR reference implementation (using ScaNN) and the ColBERTv2/PLAID engine.

Performance and Efficiency

The results demonstrate a transformative improvement in speed. On the LoTTE Pooled dataset, WARP reduced end-to-end latency from 6,862ms (XTR reference) to just 171ms—a 41x improvement. Furthermore, WARP outperformed the previous state-of-the-art, PLAID, by a factor of 3x.

Latency comparison between WARP and existing retrieval engines.

Beyond speed, WARP also offers a significantly smaller memory footprint. It reduces index size by 2x to 4x compared to ScaNN-based baselines, making it more cost-effective to host large-scale document collections in RAM. The engine also demonstrates excellent multi-threaded scalability, achieving a 3.1x speedup when moving from 1 to 16 CPU threads.

A New Bottleneck: Query Encoding

An interesting finding from the evaluation is the shift in system bottlenecks. By optimizing the retrieval process so aggressively, the authors revealed that Query Encoding—the time taken by a Transformer model to convert input text into vectors—has become the new primary bottleneck. In many tests, encoding the query now takes longer than searching through millions of documents.

Conclusion and Future Work

WARP represents a major leap forward in making high-accuracy multi-vector retrieval practical for real-world applications. By rethinking the retrieval pipeline from the ground up and focusing on implicit operations, it removes long-standing bottlenecks in decompression and scoring. Future work includes developing a GPU-accelerated version of WARP and exploring more lightweight query encoders to match the engine's retrieval speed.

Summary updated

BibTeX
@inproceedings{scheerer2025warp,
  author = {Jan Luca Scheerer and Matei Zaharia and Christopher Potts and Gustavo Alonso and Omar Khattab},
  title = {{WARP: An Efficient Engine for Multi-Vector Retrieval}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2025},
}
Figure