Multi-vector retrieval, which represents queries and documents as sets of vectors, has become an important primitive for text and multimodal retrieval, with emerging applications in biological sequence analysis. However, its high computational cost and large index make it expensive to serve. Existing CPU engines mitigate these costs by filtering candidates before reranking and compressing embeddings, but their computation still limits their throughput and the in-DRAM index becomes costly as corpora grow. We present MARS, a CPU engine that can serve its whole index from much cheaper SSD with efficient computation and storage access. MARS speeds up merging partial scores and scoring candidates with partitioned document-score reduction and MaxSim scoring on matrix units, and reduces wasted SSD bandwidth with similarity-based placement and uncertainty-guided reranking. We evaluate MARS against five state-of-the-art in-memory engines on three ColBERTv2 corpora and against PLAID on two larger ones. With its whole index on SSD, MARS achieves up to 7.9x (4.4x on geometric mean) the throughput of the fastest state-of-the-art engine at Recall@100 >= 0.95 while using 77-174x less DRAM than that engine. With its whole index in DRAM, it achieves up to 30x (20x), and with only its one-bit codes in DRAM, it retains 81% of that throughput on geometric mean with 29% of the memory on average. On the larger corpora, with up to 7.9 billion token vectors, all-SSD MARS achieves 12-19x the throughput of PLAID while using at most 13.9 GiB of DRAM.
翻译:暂无翻译