ZICQ
中 Log in / Sign up
Newsroom Paper Frontier Research #Slate-ANN #Disk-backed ANN #Vector Search #Product Quantization #RAG

Slate-ANN Hits 0.97 Recall with a 247 MB Resident Graph for Disk-Backed ANN

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Slate-ANN is a from-scratch Rust engine for approximate nearest-neighbor search over secondary storage. It combines sequential block layout, an elevator-style I/O scheduler, graph-aware relabeling, float16 or int8 on-disk vectors, and a product-quantization fetch gate. On SIFT1M, the reported configuration keeps a roughly 247 MB graph in memory while streaming about 132 MB of int8 vectors from disk, reaching 0.97 recall. For comparison, FAISS HNSW reaches 0.9988 recall with roughly 660 MB of mem


Core Finding

The Slate-ANN research team presents an approximate nearest-neighbor search engine designed for secondary storage and implements it from scratch in Rust. Its central idea is not simply to place an HNSW index on disk. Instead, it makes query execution aware of sequential reads, random block access, and the cost of fetching quantized vectors.

On the million-scale, 128-dimensional SIFT1M dataset, the paper reports a roughly 247 MB graph held in memory while the query workload streams about 132 MB of int8-quantized vectors from disk, reaching 0.97 recall. FAISS HNSW reaches 0.9988 recall with roughly 660 MB of memory, while FAISS IVF-PQ uses about 90 MB but reaches only 0.589 recall. Slate-ANN therefore occupies the middle ground: it does not beat HNSW on recall, but it seeks a more deployable balance between memory pressure and storage-aware execution.

The most consequential observation for engineers is the gap between cold and warm storage. The paper reports that an identical query workload can run approximately 4,000 times slower from a cold disk than from warm memory, even though graph traversal counts remain unchanged. Evaluation of disk-backed ANN therefore cannot rely on visited-node counts, recall, or index size alone.

How Storage-Aware Graph Traversal Works

Sequential Blocks and Graph-Aware Relabeling

Conventional HNSW generally assumes that both vectors and the adjacency graph fit in memory, making CPU work and cache access the main constraints. Slate-ANN retains the graph in memory, stores narrow vector representations on disk, and organizes those vectors into contiguous blocks.

Graph-aware relabeling is intended to make logically adjacent graph vertices physically close in the storage layout. When traversal expands from one node to its neighbors, the corresponding vector reads are more likely to fall into nearby disk blocks, reducing random seek and block-fetch overhead. The end-to-end cost can be approximated as:

T_query ≈ T_graph_CPU + T_IO_queue + T_disk_service + T_decode

Graph traversal accounts for only the first term. Once vectors cannot be served from the page cache, I/O queueing, device service time, and decoding may dominate. Optimizing neighbor expansion alone cannot keep reducing true service latency.

This design also introduces constraints. Relabeling and contiguous block organization favor indexes that are mostly immutable after construction. Frequent insertions, deletions, or updates may break locality and increase compaction or rebuild costs. The available abstract provides no results for incremental writes, post-update recall, or compaction overhead.

Elevator-Style I/O Scheduling

An elevator-style scheduler orders pending block requests by location and sweeps along the disk address range in both directions, much like an elevator serving floors. The objective is not to increase the bandwidth of an individual read, but to prevent candidates arriving in completely random order from causing repeated seeks and queue congestion.

This mechanism can matter more on spinning disks. NVMe SSDs have much lower seek penalties, but request merging, queue depth, read amplification, and tail latency still matter. Actual gains will depend heavily on the SSD model, concurrency, page-cache state, and block size. The reported cold-disk versus warm-memory gap therefore cannot be converted directly into a universal deployment speedup.

float16, int8, and the PQ Fetch Gate

For one million 128-dimensional vectors, each vector occupies approximately 512B in FP32, 256B in FP16, and 128B in int8. The corresponding full raw payloads are roughly 512MB, 256MB, and 128MB. The reported 132MB disk volume is consistent with an int8 payload plus block headers, alignment, or metadata.

If a query fetches M_fetch vectors and each disk representation occupies b bytes, the main data traffic is approximately:

B_read ≈ M_fetch × b + B_meta

Quantization therefore optimizes the number of bytes moved per query rather than merely shrinking the index on disk.

The paper also introduces a Product Quantization fetch gate, allowing PQ codes to participate in deciding whether more expensive vector retrieval is necessary. The supplied abstract does not disclose the gate threshold, candidate count, whether float16 vectors are read back, or the memory overhead of the PQ codes themselves. It is therefore unsafe to infer the exact fetch path for every candidate.

Quantization also has a clear cost. INT8 and PQ errors can compound, displacing boundary candidates in the ranking; an overly aggressive PQ gate may suppress the high-precision checks needed for exact boundary cases. Engineers should separately test a full-precision reference, int8 alone, PQ alone, and the combined configuration instead of attributing the reported 0.97 recall to a single component.

Reading the Benchmark Correctly

| System | Reported storage or memory profile | SIFT1M recall | |---|---:|---:| | Slate-ANN | About 247 MB resident graph; about 132 MB of int8 vectors streamed from disk | 0.97 | | FAISS HNSW | About 660 MB of memory | 0.9988 | | FAISS IVF-PQ | About 90 MB of memory | 0.589 |

Slate-ANN trails HNSW by 0.0288 in recall but exceeds IVF-PQ by 0.381. It does not strictly dominate either baseline; instead, it selects an intermediate point among recall, memory pressure, and disk traffic.

The figures also are not a like-for-like memory ranking. Slate-ANN's 247 MB explicitly refers to the resident graph, whereas HNSW's 660 MB is an overall memory footprint. The two systems may also use different index parameters, distance metrics, vector representations, and construction budgets. Establishing a genuine Pareto advantage requires end-to-end latency, QPS, and total working-set measurements at matched recall.

The approximately 4,000-fold cold-versus-warm difference exposes another measurement issue: once the operating-system page cache is warm, the benchmark may primarily measure cached memory reads rather than the disk algorithm. This is not a direct Slate-ANN speedup over competing systems, but it proves that graph metrics cannot substitute for storage-layer measurements.

Questions That Remain Open

  1. Absolute performance is missing. The abstract does not report p50, p95, or p99 latency, QPS, IOPS, disk bytes per query, CPU utilization, or concurrency.
  2. The relevant baseline set is incomplete. The supplied material does not show a direct comparison with a dedicated disk ANN system such as DiskANN, nor does it specify FAISS versions, parameters, or build time.
  3. Dataset coverage is limited. SIFT1M contains traditional local descriptors and does not represent the dimensions, distributions, or cluster structures of modern text, image-text, or multimodal embeddings.
  4. The recall definition is absent. The material does not specify recall@K, query count, ground-truth construction, or whether the FAISS baselines received comparable tuning.
  5. Cold-cache methodology is unspecified. Storage media, filesystem, cache-drop procedure, warm-up strategy, queue depth, and block size are not provided.
  6. Availability is unclear. The engine is described as implemented from scratch in Rust, but the supplied material does not say whether the code, configurations, or reproduction scripts are open.

Deployment Recommendations

  • Test Slate-ANN first in memory-constrained RAG or edge deployments, but treat it as a disk-ANN candidate rather than an unconditional replacement for FAISS HNSW.
  • Separate cold-cache, warm-page-cache, and controlled-cache test conditions. Report p95 and p99 latency, QPS, disk reads, and page-cache hit rate for each.
  • Build indexes from production embeddings at million-, ten-million-, and larger scales. Compare Slate-ANN, FAISS HNSW, IVF-PQ, and DiskANN under a common recall constraint.
  • Validate int8 and the PQ gate as separate variables. If 0.97 recall is already below the application threshold, test float16 or adjust the gate before compressing further.
  • Favor read-mostly indexes that can be rebuilt in batches; sequential blocks and relabeling are more likely to pay off there. Update-heavy workloads also need measurements for fragmentation, compaction, and cache invalidation.
  • Monitor queue depth, disk bytes per query, and p99 latency in production. A page cache or explicit prefetch can reduce tail latency for hot blocks, but the resulting memory consumption must be included in the deployment budget.

Bottom Line

Slate-ANN broadens ANN design from a graph-traversal problem into a joint graph-and-storage execution problem. A 247 MB resident graph with 0.97 recall demonstrates a potentially useful memory-to-recall compromise, but the current evidence does not establish broad superiority over FAISS or mature disk-ANN systems. Production value will be determined not by the headline cold-to-warm latency ratio, but by an end-to-end Pareto curve measured on real embedding data under identical hardware and cache conditions.


Source: ArXiv Machine Learning (cs.LG) (2026-12-02)

— END —

Tags: #Slate-ANN #Disk-backed ANN #Vector Search #Product Quantization #RAG

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…