arXiv:2506.20584cs.LG2025-06

用核方法构建适用于任意向量空间的图索引,突破传统几何限制。

The kernel of graph indices for vector search

  • 基于核方法设计新图索引SVG,支持度量与非度量空间
  • 提出SVG-L0实现有界出度,避免启发式截断
  • 理论可导航性覆盖多种相似度计算,适合高效向量搜索

现有主流向量搜索图索引依赖计算几何原理,其导航性保证仅适用于欧氏空间。本文提出支持向量图(SVG),利用核方法构建图连接关系,可在度量与非度量向量空间中提供形式化导航性保证。我们证明了HNSW和DiskANN等经典索引是SVG的特例,并据此衍生新导航索引。进一步提出SVG-L0,引入ℓ₀稀疏约束以控制出度,实现有界的图结构,避免传统截断策略;该方法具有自调优特性,无需候选集筛选,保持低计算复杂度。

原文摘要 · Abstract (English)

The most popular graph indices for vector search use principles from computational geometry to build the graph. Hence, their formal graph navigability guarantees are only valid in Euclidean space. In this work, we show that machine learning can be used to build graph indices for vector search in metric and non-metric vector spaces (e.g., for inner product similarity). From this novel perspective, we introduce the Support Vector Graph (SVG), a new type of graph index that leverages kernel methods to establish the graph connectivity and that comes with formal navigability guarantees valid in metric and non-metric vector spaces. In addition, we interpret the most popular graph indices, including HNSW and DiskANN, as particular specializations of SVG and show that new navigable indices can be derived from the principles behind this specialization. Finally, we propose SVG-L0 that incorporates an $\ell_0$ sparsity constraint into the SVG kernel method to build graphs with a bounded out-degree. This yields a principled way of implementing this practical requirement, in contrast to the traditional heuristic of simply truncating the out edges of each node. Additionally, we show that SVG-L0 has a self-tuning property that avoids the heuristic of using a set of candidates to find the out-edges of each node and that keeps its computational complexity in check.

图索引向量搜索核方法可导航性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。