基于磁盘的近似最近邻搜索的I/O优化:设计空间探索
I/O Optimizations for Graph-Based Disk-Resident Approximate Nearest Neighbor Search: A Design Space Exploration
AI总结:
本文提出一个以I/O为导向的框架,通过内存布局、磁盘布局和搜索算法三个维度优化磁盘基于的近似最近邻搜索,提出页面级复杂度模型并验证其有效性,最终提出OctopusANN系统在I/O和吞吐量上优于现有系统。
摘要:
近似最近邻(ANN)搜索在SSD支持的索引上日益成为I/O瓶颈(I/O占查询延迟的70-90%)。我们提出一个以I/O为导向的磁盘基于ANN框架,沿三个维度组织技术:内存布局、磁盘布局和搜索算法。我们引入一个页面级复杂度模型,解释页面局部性和路径长度如何共同决定页面读取,并通过经验验证该模型。使用四个公开数据集的一致实现,我们量化了单因素效应和跨维度协同效应。我们发现(i)内存驻留导航和动态宽度提供了最强的独立增益;(ii)页面洗牌和页面搜索单独效果较弱但互补;(iii)一个系统化组合OctopusANN显著减少了I/O并实现了比现有系统Starling高4.1-37.9%的吞吐量,比DiskANN在Recall@10=90时高87.5-149.5%的吞吐量。最后,我们总结了在不同并发水平和精度约束下选择存储导向或混合设计的可行指南,倡导在推动磁盘基于ANN性能前沿时采用系统化组合而非孤立调整。
英文摘要:
Approximate nearest neighbor (ANN) search on SSD-backed indexes is increasingly I/O-bound (I/O accounts for 70--90\% of query latency). We present an I/O-first framework for disk-based ANN that organizes techniques along three dimensions: memory layout, disk layout, and search algorithm. We introduce a page-level complexity model that explains how page locality and path length jointly determine page reads, and we validate the model empirically. Using consistent implementations across four public datasets, we quantify both single-factor effects and cross-dimensional synergies. We find that (i) memory-resident navigation and dynamic width provide the strongest standalone gains; (ii) page shuffle and page search are weak alone but complementary together; and (iii) a principled composition, OctopusANN, substantially reduces I/O and achieves 4.1--37.9\% higher throughput than the state-of-the-art system Starling and 87.5--149.5\% higher throughput than DiskANN at matched Recall@10=90\%. Finally, we distill actionable guidelines for selecting storage-centric or hybrid designs across diverse concurrency levels and accuracy constraints, advocating systematic composition rather than isolated tweaks when pushing the performance frontier of disk-based ANN.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。