Abstract
Multi-vector dense retrieval models like ColBERT offer superior effectiveness by representing documents at the token level, but they suffer from high computational costs and memory requirements. We present EMVB (Efficient Multi-Vector dense retrieval with Bit vectors), a framework that optimizes the retrieval pipeline through bit vector pre-filtering and Product Quantization. EMVB achieves up to a 2.8x speedup and a 1.8x reduction in memory footprint compared to the state-of-the-art PLAID engine, while maintaining high retrieval accuracy on benchmarks like MS MARCO and LoTTE.
Introduction
Dense retrieval has transformed information retrieval by leveraging Large Language Models to map queries and documents into vector spaces. While single-vector models are efficient, multi-vector models like ColBERT achieve higher precision by employing "late interaction," which calculates similarities between all query and document token embeddings. However, this approach is computationally intensive. Even optimized engines like PLAID face bottlenecks in centroid selection and decompression. EMVB addresses these challenges with hardware-aware optimizations and efficient quantization to make multi-vector retrieval practical for real-time, large-scale applications.
The EMVB Framework
EMVB introduces several key optimizations to the multi-vector retrieval pipeline:
- Fast Closest Centroids Selection: By applying a similarity threshold before sorting, EMVB reduces the cost of finding candidate centroids by nearly two orders of magnitude, turning a major bottleneck into a negligible cost.
- Pre-filtering with Bit Vectors: A novel pre-filtering stage uses bit vectors to quickly estimate document relevance based on the presence of tokens associated with top query centroids.
- Vectorized Fast Set Membership: To accelerate bit vector checks, EMVB "stacks" vectors vertically, enabling the use of AVX512 SIMD instructions to process 32 query terms simultaneously with a single bitwise operation.
- Product Quantization (PQ): Replacing bitwise compression with PQ allows for faster similarity computations without full vector decompression, yielding up to a 3x speedup in the scoring phase.
- Per-document Term Filtering: The final late interaction stage is further optimized by only computing residual scores for document terms that already exhibit high initial centroid similarity.
Experimental Evaluation
The performance of EMVB was evaluated on the MS MARCO (8.8M passages) and LoTTE datasets. EMVB demonstrates significant improvements in both speed and efficiency across these benchmarks.
Speed and Latency
EMVB achieves a 2.8x speedup on MS MARCO and a 2.9x speedup on the out-of-domain LoTTE dataset compared to PLAID. For a typical retrieval task (k=1000), average query latency is reduced from 260ms to just 93ms. These gains are primarily driven by the hardware-aware vectorized bit vector filtering and the efficiency of Product Quantization.
Memory Efficiency and Accuracy
By utilizing Product Quantization with m=16 sub-partitions, EMVB reduces the memory footprint per vector from 36 bytes to 20 bytes, a 1.8x improvement. Critically, these optimizations do not sacrifice retrieval quality; EMVB maintains competitive MRR@10 and Recall@100 scores, even slightly outperforming PLAID in certain configurations (e.g., m=32) while remaining significantly faster.
Conclusion
EMVB represents a significant step forward in making multi-vector dense retrieval practical for large-scale applications. By focusing on hardware-aware design and efficient data representations, EMVB eliminates major bottlenecks in the retrieval pipeline. Future work includes exploring the integration of bit vector techniques with hardware accelerators like GPUs and further refining quantization for out-of-domain scenarios.
Summary updated