arXiv:2611.02765cs.DBNov 2026

Manuscript Offprint

arXiv:2611.02765

Recast: Refinement-Centered Approximate Nearest Neighbor Search Optimized for Storage

Zehai Yang, Fengyi Tao, Wenzhuo Dong, Shimin Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Large-scale ANNS systems often exploit storage in addition to DRAM for supporting vector search. The central question is how to divide the work between memory and storage for achieving both high query throughput-recall and good index maintenance performance. Existing storage-optimized ANNS paradigms fall short of providing a complete answer: disk-resident graph indexes have difficulty in supporting efficient vector deletions, while posting list based systems often incur larger amount of disk I/Os for queries.

In this paper, we introduce a refinement-centered paradigm for storage-optimized ANNS systems. We propose Recast as a concrete design of this paradigm. Recast stores the raw vectors on disk, and keeps an IVF index with our proposed RecastQ quantization encoding in memory. For an ANNS query, Recast selects nprobe inverted lists, and performs SIMD-based FastScan on the RecastQ codes in the lists to compute a list of refinement candidates in memory. Then, it performs disk I/Os to retrieve the candidate vectors, compute exact distances, and refine the top-K result. To reduce disk I/Os, RecastQ supports the computation of uncertainty intervals so that the true distance falls in the corresponding interval with high probability. Then, we propose a QUIC policy to select a minimal set of candidates to refine based on the uncertainty intervals, thereby minimizing the number of I/Os for retrieving the candidate vectors. For index maintenance, both the on-disk raw vectors and the in-memory IVF structure are amenable to insertions and deletions.

Experiments on real-world data sets show that Recast processes batched insertions and deletions 3.10−37.27×3.10-37.27\times faster than SPFresh and OdinANN, while its QPS at 0.99 recall changes by at most 6.9% after updating 50% of the corpus. For static queries at 0.99 recall, Recast achieves 1.56−2.01×1.56-2.01\times the QPS of the strongest baseline with the matched memory budget on each data set, while requiring 1.22−6.75×1.22-6.75\times less external storage than the evaluated systems. At matched in-memory space, RecastQ also provides a better Recall-refinement frontier than RaBitQ.

KEYWORDS

Vector Database, Approximate Nearest Neighbor Search, Vector Quantization, Refinement, Storage