Look Before You Leap: Re-Architecting Disk-Resident Vector Search with TriVS

Yizou Chen, Baotong Lu, Peiqi Yin, Zhisheng Hu, Qi Chen, Ming-Chang YangarXiv 2026

TL;DR

Vector search at a billion-scale is hitting a wall: even the fastest modern SSDs can't keep up with the way we currently fetch data. This paper introduces TriVS, a "trilogy" approach that intelligently sifts through data in memory using "blurry" versions of vectors before ever touching the disk, slashing I/O by over 60% and tripling search throughput.

What Problem Does This Paper Address?

Imagine you’re looking for a specific book in a massive, city-sized library. Modern "vector search" does this for data—finding the most similar items (images, text, etc.) in a sea of billions. Because these datasets are too big for expensive RAM, we store them on SSDs.

The authors found that even with top-of-the-line PCIe 5.0 SSDs, current systems spend 87–93% of their time just waiting for the disk. They identified a "granularity mismatch" in existing designs:

  1. Cluster-based systems (like SPANN) find the right "shelf" quickly in memory, but then they have to grab the entire shelf from the disk, even if they only need one book. This wastes bandwidth.
  2. Graph-based systems (like DiskANN) are great at picking up individual books, but they have to wander through the library aisles, checking one book at a time to find the next one. This creates a long chain of "wait-and-see" disk reads.
Figure 1: Data placement and query flow in existing disk-resident ANNS. Cluster-based systems locate nearby clusters through an in-memory centroid index and read each selected cluster as a unit, avoiding navigation I/O but potentially fetching many vectors in each cluster. Graph-based systems store a full-precision vector and its proximity-graph neighbors in each disk record, so expanding a vertex (i.e., vector) requires I/O to read its neighbor list, which guides the subsequent search path.

Methods

The authors propose TriVS, which re-architects the search into a three-act "trilogy" to get the best of both worlds:

  • Act I: Approach Coarsely. Like cluster systems, it uses a small index in RAM to find the general "neighborhood" of the answer. No disk hits yet.
  • Act II: Distill Progressively. This is the secret sauce. Instead of going to the disk immediately, TriVS uses "quantized" (highly compressed, slightly blurry) versions of the vectors stored in RAM. It sifts through the neighborhood, discarding the obvious mismatches until it has a tiny "shortlist" of candidates.
  • Act III: Converge Exactly. Finally, it goes to the disk—but only to fetch the exact, full-precision vectors for that tiny shortlist.

To make this work without blowing the RAM budget, TriVS uses coarser clustering. By having fewer, larger clusters, it shrinks the "map" (centroid index), freeing up space to store those compressed vectors used in the distillation phase.

Datasets

The researchers put TriVS through its paces on five diverse, large-scale datasets:

  • DEEP-100M & DEEP-1B: Standard benchmarks for deep learning descriptors.
  • Text-to-Image: A cross-modal dataset (searching images with text queries).
  • Wiki: A 100-million vector dataset built from Wikipedia text using the BGE embedding model.
  • SIFT-1B: A classic billion-scale dataset for image features.

Key Insights and Ideas

  • Granularity Decoupling: You don't have to use the same "zoom level" for the whole search. Start with a wide lens (clusters) to save time, and switch to a microscope (individual vectors) only at the very end.
  • The "I/O Volume" Bottleneck: The paper proves that simply making SSDs faster isn't enough. To scale, you must fundamentally reduce the amount of data requested per query.
  • Memory Reallocation: Instead of asking for more RAM, TriVS "recycles" it. By making the initial search index coarser (and thus smaller), it creates a "distillation budget" in the existing memory footprint.
Existing architectures incur phase-specific I/O costs.

Key Results

TriVS consistently outperformed the state-of-the-art (PipeANN) across all tests:

  • 3.42× higher throughput on average.
  • 51.2% lower latency, meaning queries return twice as fast.
  • 63.7% less disk I/O, proving the "distillation" phase effectively shields the SSD from unnecessary work.
  • Smaller Footprint: It achieved these gains while using less memory and storage than its competitors.

Limitations and Future Work

  • Quantization Sensitivity: The efficiency of the "distill" phase depends on how well the compressed vectors represent the real ones. While TriVS uses a robust method (RaBitQ), extremely high-dimensional or "noisy" data might require more bits in RAM to maintain accuracy.
  • Online Updates: While the authors discuss how TriVS could handle adding or deleting data (by assigning vectors to unique clusters without replication), they didn't focus on building a high-frequency update system in this specific paper.
  • Hardware Orthogonality: The current work focuses on standard CPUs and SSDs. Future versions could potentially leverage specialized hardware like GPUs or "SmartSSDs" to accelerate the in-memory distillation even further.

Summary updated

Abstract

Disk-resident approximate nearest-neighbor search (ANNS) scales vector search beyond DRAM, yet state-of-the-art systems remain I/O-bound, even with fast SSDs and sophisticated I/O execution. To understand this bottleneck, we conduct an I/O-centric analysis that breaks each query down into an approach phase that locates a query-near region and a converge phase that resolves the final top-k. This analysis reveals complementary I/O tradeoffs: cluster-based search circumvents approach-phase I/O through in-memory routing but reads coarse-grained, full clusters during convergence, whereas graph-based search employs fine-grained, vector-level I/O throughout, enabling efficient convergence at the cost of inevitable I/O during the approach phase. To combine the complementary I/O benefits of the two granularities, we present TriVS, a new paradigm that re-architects disk-resident vector search as a trilogy: approach coarsely, distill progressively, and converge exactly. Its key innovations come in two parts. First, it decouples the approach and converge phases from a single search granularity, employing cluster-based search to avoid approach-phase I/O and leveraging vector-level I/O for efficient convergence. Second, to bridge the two granularities, it introduces a new in-memory distill phase between the original two, progressively reducing routed clusters to a vector-level shortlist using compact quantized vectors before disk access. Moreover, coarser clustering shrinks the centroid-routing index, allowing TriVS to reallocate existing memory to distillation rather than expand its memory budget. Our evaluation on five datasets spanning diverse vector types and scales shows that, at Recall@10=0.9, TriVS achieves on average 3.42X PipeANN's throughput, 51.2% lower latency, and 63.7% less disk I/O, while using less memory and storage than PipeANN.
BibTeX
@misc{chen2026look,
  author = {Yizou Chen and Baotong Lu and Peiqi Yin and Zhisheng Hu and Qi Chen and Ming-Chang Yang},
  title = {{Look Before You Leap: Re-Architecting Disk-Resident Vector Search with TriVS}},
  year = {2026},
  eprint = {2611.29948},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29948},
}
Figure