$\oldsymbol{Steiner}$-Hardness:一种基于图的ANN索引的查询难度度量
$\boldsymbol{Steiner}$-Hardness: A Query Hardness Measure for Graph-Based ANN Indexes
AI总结:
本文提出 $Steiner$-hardness,一种图原生查询难度度量,通过归约到 Directed $Steiner$ Tree 问题高效计算,显著优于 LID 等传统度量,并揭示了增强图索引鲁棒性的新方向。
摘要:
基于图的索引已被广泛用于加速高维向量的近似相似性搜索。然而,图索引在回答不同查询时的性能差异巨大,导致下游应用的服务质量不稳定。这 necessitates 一种有效的度量来测试图索引上的查询难度。尽管如此,像 LID 这样流行的基于距离的难度度量由于忽略了图结构而失去效果。在本文中,我们提出了 $Steiner$-hardness,一种新颖的基于连接的图原生查询难度度量。具体而言,我们首先提出了一个理论框架来分析图索引上的最小查询努力,然后将 $Steiner$-hardness 定义为代表性图上的最小努力。此外,我们证明了我们的 $Steiner$-hardness 与经典的 Directed $Steiner$ Tree (DST) 问题高度相关。在这种情况下,我们设计了一种新颖的算法,将我们的问题归约到 DST 问题,然后利用其求解器来帮助高效计算 $Steiner$-hardness。与 LID 和其他类似度量相比,$Steiner$-hardness 在各种数据集上显示出与实际查询努力的显著更好的相关性。此外,基于 $Steiner$-hardness 设计的无偏评估揭示了新的排名结果,指示了增强图索引鲁棒性的有意义的方向。本文已被 PVLDB 2025 接收。
英文摘要:
Graph-based indexes have been widely employed to accelerate approximate similarity search of high-dimensional vectors. However, the performance of graph indexes to answer different queries varies vastly, leading to an unstable quality of service for downstream applications. This necessitates an effective measure to test query hardness on graph indexes. Nonetheless, popular distance-based hardness measures like LID lose their effects due to the ignorance of the graph structure. In this paper, we propose $Steiner$-hardness, a novel connection-based graph-native query hardness measure. Specifically, we first propose a theoretical framework to analyze the minimum query effort on graph indexes and then define $Steiner$-hardness as the minimum effort on a representative graph. Moreover, we prove that our $Steiner$-hardness is highly relevant to the classical Directed $Steiner$ Tree (DST) problems. In this case, we design a novel algorithm to reduce our problem to DST problems and then leverage their solvers to help calculate $Steiner$-hardness efficiently. Compared with LID and other similar measures, $Steiner$-hardness shows a significantly better correlation with the actual query effort on various datasets. Additionally, an unbiased evaluation designed based on $Steiner$-hardness reveals new ranking results, indicating a meaningful direction for enhancing the robustness of graph indexes. This paper is accepted by PVLDB 2025.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。