arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25401cs.DBcs.IR
收藏

DGAI: 解耦的磁盘图基ANN索引用于高效更新和查询

DGAI: Decoupled On-Disk Graph-Based ANN Index for Efficient Updates and Queries

Northeastern Univ.(东北大学);Tsinghua Univ.(清华大学)

Jiahao Lou, Shufeng Gong, Quan Yu, Hao Guo, Youyou Lu, Song Yu, Yanfeng Zhang, Tiezheng Nie, Ge Yu

AI总结:

本文提出解耦存储架构,通过分离重向量与轻量图拓扑,提升更新性能,同时引入相似性感知动态布局和两阶段查询机制,实现高效更新与低延迟查询。

摘要:

磁盘图基索引因其高性能和成本效益而被广泛用于十亿级近似最近邻搜索(ANNS)。然而,现有系统通常依赖耦合存储架构,将向量和图拓扑置于同一位置,导致索引更新时产生大量冗余I/O,从而在动态工作负载下降低实用性。本文提出解耦存储架构,将重向量与轻量图拓扑物理分离,显著提高了更新性能,通过减少冗余I/O。然而,这导致ANNS时出现I/O放大,影响查询效率。为在更新友好的架构中提高查询性能,我们提出两种与解耦存储协同设计的技术。我们开发了相似性感知动态布局,优化数据在线放置,使冗余获取的数据能在后续搜索步骤中重用,有效将读放大转化为有用的预取。此外,我们提出了一种增强的两阶段查询机制,通过分层PQ快速准确地识别有前途的候选者,并对少量候选者执行精确细化。此设计显著降低了细化阶段的I/O和计算成本。整体而言,DGAI实现了资源高效的更新和低延迟的查询。实验结果表明,\oursys在插入和删除时分别提高了8.17倍和8.16倍的更新速度,同时在混合负载下将峰值查询延迟降低了67%相比最先进的基线。

英文摘要:

On-disk graph-based indexes are favored for billion-scale Approximate Nearest Neighbor Search (ANNS) due to their high performance and cost-efficiency. However, existing systems typically rely on a coupled storage architecture that co-locates vectors and graph topology, which introduces substantial redundant I/O during index updates, thereby degrading usability in dynamic workloads. In this paper, we propose a decoupled storage architecture that physically separates heavy vectors from the lightweight graph topology. This design substantially improves update performance by reducing redundant I/O during updates. However, it introduces I/O amplification during ANNS, leading to degraded query efficiency.To improve query performance within the update-friendly architecture, we propose two techniques co-designed with the decoupled storage. We develop a similarity-aware dynamic layout that optimizes data placement online so that redundantly fetched data can be reused in subsequent search steps, effectively turning read amplification into useful prefetching. In addition, we propose a two-stage query mechanism enhanced by hierarchical PQ, which uses hierarchical PQ to rapidly and accurately identify promising candidates and performs exact refinement on raw vectors for only a small number of candidates. This design significantly reduces both the I/O and computational cost of the refinement stage. Overall, DGAI achieves resource-efficient updates and low-latency queries simultaneously. Experimental results demonstrate that \oursys improves update speed by 8.17x for insertions and 8.16x for deletions, while reducing peak query latency under mixed workloads by 67\% compared to state-of-the-art baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑