OrchANN:用于倾斜的核外向量搜索的分层编排
Beyond Overlap: Hierarchical Graph Abstraction for Out-of-Core Vector Search
AI总结:
研究在十亿规模下近似最近邻搜索的核外问题,提出OrchANN引擎,通过编排查询路由等,在严格内存限制下存储簇并利用图抽象,提升了QPS并降低延迟,比现有基线在准确性和效率平衡上表现更优。
摘要:
在十亿规模下,近似最近邻搜索(ANNS)常成为核外问题:完整向量集和索引结构超出内存容量,查询性能受固态硬盘访问和DRAM-固态硬盘数据移动主导。现有系统难以在准确性和效率间平衡:物理重叠方法跨分区复制向量或索引项,增加固态硬盘驻留索引并产生额外I/O;基于量化的方法减少内存使用,但近似距离可靠性低,常需从固态硬盘进行昂贵的原始向量重排以保持召回率。我们提出OrchANN(编排式ANN搜索),一种在严格内存限制下编排查询路由、分区访问和查询执行的核外ANNS引擎。OrchANN将每个簇存储为具有规模感知索引的不相交固态硬盘分区,而内存驻留图抽象在固态硬盘访问前提供逻辑重叠。服务期间,OrchANN利用图抽象中的查询热度和簇优先级修剪低价值簇并改善访问局部性。在严格内存限制下的五个数据集上,OrchANN比现有基线实现了高达17.2倍的更高QPS和25.0倍的更低延迟,同时保持准确性。
英文摘要:
At billion scale, approximate nearest neighbor search (ANNS) often becomes an out-of-core problem: the full vector collection and index structures exceed memory capacity, making query performance dominated by SSD accesses and DRAM-SSD data movement. Existing systems struggle to strike a balance between accuracy and efficiency: physical-overlap methods replicate vectors or index entries across partitions, enlarging the SSD-resident index and incurring extra I/O; quantization-based methods reduce memory usage, but their approximate distances are less reliable and often require costly raw-vector reranking from SSD to preserve recall. We present GANNS (Graph-Abstraction ANNS), a hierarchical out-of-core ANNS engine that improves accuracy and I/O efficiency simultaneously. GANNS stores each cluster as a disjoint SSD partition with scale-aware indexes, while a memory-resident graph abstraction provides logical overlap before SSD access. During serving, GANNS uses query hotness and cluster priorities from the graph abstraction to prune low-value clusters and improve access locality. Across five datasets under strict memory constraints, GANNS delivers representative QPS improvements of 2.0--4.7x over state-of-the-art baselines, while preserving accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。