Oriel — AI & technology worth noticing, every day.

Slate-ANN: A Scalable Locality-Aware Traversal Engine for Disk-Backed Approximate Nearest Neighbor Search

Paper · https://arxiv.org/abs/2612.00002

arXiv:2612.00002v1 Announce Type: new Abstract: Approximate nearest-neighbor (ANN) search is a core component of retrieval-augmented generation, recommendation, and semantic search. Widely used graph-based methods such as HNSW achieve high recall and low latency when indexes and vectors reside in memory, but their memory requirements can limit deployment at large scale and on resource-constrained devices. Moreover, conventional graph search optimizes traversal efficiency without explicitly accounting for heterogeneous storage-access costs, which can dominate latency when vectors are stored on secondary storage. We present Slate-ANN, a disk-backed ANN engine implemented from scratch in Rust and designed around storage-aware query execution. Slate-ANN combines a sequential block layout, an elevator-style I/O scheduler, graph-aware relabeling, narrow on-disk vector representations (float16 and int8), and a product-quantization fetch gate to reduce expensive storage accesses while preserving retrieval quality. On SIFT1M, containing one million 128-dimensional vectors, Slate-ANN keeps an approximately 247 MB graph resident in memory and streams approximately 132 MB of int8-quantized vectors from disk, achieving 0.97 recall. In comparison, FAISS HNSW uses approximately 660 MB of memory and achieves 0.9988 recall, while FAISS IVF-PQ uses approximately 90 MB but achieves 0.589 recall. We further observe that an identical query workload can run approximately 4000 times slower from cold disk than from warm memory despite unchanged traversal counts, demonstrating that graph traversal metrics alone are insufficient predictors of latency for disk-backed ANN. These results motivate storage-aware ANN designs for large-scale and on-device retrieval, where memory capacity is constrained and shared with increasingly large local models.

First seen by Oriel on .

AI summary

Slate-ANN is a Rust engine for disk-backed approximate nearest-neighbor search that reduces storage-access costs while maintaining high recall under memory constraints.

  • It combines sequential block layout, elevator-style I/O scheduling, graph-aware relabeling, float16 and int8 vectors, and a product-quantization fetch gate.
  • On SIFT1M, it keeps an approximately 247 MB graph in memory and streams approximately 132 MB of int8 vectors from disk, reaching 0.97 recall.
  • FAISS HNSW uses approximately 660 MB and reaches 0.9988 recall, while FAISS IVF-PQ uses approximately 90 MB and reaches 0.589 recall.
  • The same workload ran approximately 4000 times slower from cold disk than warm memory despite unchanged traversal counts, showing traversal metrics alone do not predict disk-backed latency.

#approximate nearest neighbors #vector search #rust #storage systems

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
arXiv AI Papersoai:arXiv.org:2612.00002v1https://arxiv.org/abs/2612.00002 Read discussion