The kernel of graph indices for vector search

Mariano Tepper, Ted Willke
6/25/2025
cs.LG

No official code found. Best implementation: marianotepper/svg (2 stars, Apache-2.0, last commit 2025-12-18).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

marianotepper/svgCommunity100%
Apache-2.0
20PythonMar 18, 202510 months agoApache-2.0

Similar Papers

Cite this paper

@article{tepper2025kernel,
  title  = {The kernel of graph indices for vector search},
  author = {Mariano Tepper and Ted Willke},
  year   = {2025},
  eprint = {2506.20584},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.20584v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.20584.svg)](https://codeofpaper.com/paper/2506.20584)

Discussion