Search arXiv⌕ Search

arXiv · 2612.04573

MARS: Multi-Vector Retrieval with Fine-Grained Filtering on CPUs and SSDs

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Juelin Liu, Yanqi Chen, Qi Qi, Alexandra Meliou, Marco Serafini. 2026-12-02. MARS: Multi-Vector Retrieval with Fine-Grained Filtering on CPUs and SSDs. https://searcharxiv.org/abs/2612.04573

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Realistic Performance-Aware Query Generation

Database research and development rely heavily on representative workloads for benchmarking, regression testing, and system evaluation. However, acquiring real-world SQL queries is notoriously difficult due to strict privacy constraints. While cloud database vendors have begun releasing anonymized performance traces, these traces typically expose only execution statistics rather than executable SQL queries, which limits their usefulness for end-to-end evaluation. Existing methods either operate at coarse granularity or fail to generate runnable workloads that reproduce per-query execution behavior with both high fidelity and efficiency. To address this gap, we propose ResQ, a fine-grained workload synthesis system that generates executable SQL workloads matching the per-query execution targets and operator composition of production traces. ResQ decomposes trace-driven synthesis into bounded query-graph construction and predicate instantiation, while using repetition-aware reuse and lightweight local models to make search practical and scalable. Across public cloud traces and a new industrial trace, ResQ substantially outperforms prior workload-generation baselines, reducing the 99th-percentile q-error by geometric-mean factors of 9.0x for CPU time and 120.4x for scanned bytes relative to the baseline method, while also cutting prompt-token usage and end-to-end generation time by 96.0% and 96.3%, respectively.

cs.DB↗

GenDB-V: AI-Generated and Formally Verified Database Systems

For over 50 years, the database community has developed many successful engines to answer two questions: how can database systems run faster, and how to ensure their correctness? Our experience shows that performance depends on hardware and workloads. As both change over time, we repeatedly redesign and rebuild database systems, a time-consuming and expensive process. Correctness remains another challenge: recent studies continue to uncover wrong-answer bugs even in mature engines, despite years of development and testing. We present GenDB-V, a system that enables AI agents to synthesize database engines specialized to hardware and workloads for performance, and formally verified for correctness. It supports specialized implementations of SQL templates and general-purpose engines. First, we develop SQLSpec to formalize SQL semantics and deterministically construct fixed, implementation-agnostic synthesis targets. Second, we enable joint synthesis of fast code and formal proofs through storage-execution co-optimization, performance-first exploration, three-layer modular proofs that bridge low-level execution to SQLSpec semantics, and robust code synthesis that generalizes verified code beyond the given database state. Third, we verify the synthesized code and proofs against the fixed synthesis targets in an isolated pipeline, proving SQL correctness and program safety. We evaluate GenDB-V on TPC-H and SEC-EDGAR. On TPC-H SF100, the robust verified code is 5.69x faster than DuckDB and 2.22x faster than Umbra, and it remains the fastest system on attack databases built by the agents and on held-out databases built independently. Joint storage and query optimization raises the speedups to 22.0-61.3x, and a verified general-purpose engine outperforms both systems by 1.09-5.02x. Our experiments expose incorrect answers in both a human-built engine and a testing-based LLM synthesis method.

cs.DB↗

Read Boundaries in Agent Memory: Consistency, Completeness, and Repair

Agent-memory services assemble evidence through several reads across connections or stores. An update between those reads can pair an assertion with source content from another revision. We protect the complete recall, including enrichment and materialization, and evaluate the resulting evidence and service behavior in Hindsight and Cognee. A 600-run Cognee study compares unprotected recall, a repeated recall, a read/write lock, and optimistic epoch validation under default incremental updates and full rebuilds. At approximately 20 recalls/s, unprotected default updates yield 199 conflicting responses among 12,010 scheduled recalls with spaced writes and 284 among 12,010 with bursts. The lock and epoch validation each deliver complete, compatible evidence for all 24,020 default-update recalls. With default bursts, epoch validation reduces update p95 by 109 ms while adding 290 ms to recall p95 relative to the lock. A separate 160-run incremental-failure study distinguishes mixed revisions from complete new derived content whose canonical source record remains old. Both protected policies refuse service after failure; the first default retry restores all 80 fault runs through native full-rebuild fallback. In Hindsight, a shared PostgreSQL snapshot removes the mismatch in ten controlled pairs, with recall p95 rising from 19 ms to 29 ms. These results identify the read boundary needed for coherent evidence and the publication and recovery conditions governing service after an update fails.

cs.DB↗