Look Before You Leap: Re-Architecting Disk-Resident Vector Search with TriVS
Yizou Chen, Baotong Lu, Peiqi Yin, Zhisheng Hu, Qi Chen, Ming-Chang Yang
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.
Create a lesson
Metadata
- Categories
- cs.DB, cs.IR
- Comments
- 16 pages
Related papers
HyperPage: Learned Page Layouts for Disk-Resident Graph Vector Indexes
Shared title terminologycs.DBXinyu Zhang, Jingze Li, Baihua Zheng et al.
CoWalk: Cooperative Walks for Agentic Batch Queries on Disk-Resident Graphs
Shared title terminologycs.DBQiao Liang, Zhiguang Chen, Yue Yu et al.
Adapting Graph Construction with Learned Matrices for Cross-Modal Vector Search
Shared title terminologycs.DBZekai Wu, Rong-Hua Li, Junjie Yao et al.
Errpedia: Is Your Exact k-NN Vector Search Really Exact?
Shared title terminologycs.DBYinuo Deng, Ying Zhang, Hanchen Wang et al.
Pelorus: Warped-Product Graph Indexing for Hyperbolic Vector Search
Shared title terminologycs.DBWenxuan Xiao, Xu Cao
HorizANN: Elastically Scaling Vector Search with Ghost Edges
Shared title terminologycs.DBTalika Gupta, Yunqi Li, Aditya Kunte et al.