Lune

ICLR2022Top-tier venue

Graph-based Nearest Neighbor Search in Hyperbolic Spaces

Liudmila Prokhorenkova, Dmitry Baranchuk, Nikolay Bogachev, Yury Demidovich, Alexander Kolpakov

Abstract

The nearest neighbor search (NNS) problem is widely studied in Euclidean space, and graph-based algorithms are known to outperform other approaches for this task. However, hyperbolic geometry often allows for better data representation in various domains, including graphs, words, and images. In this paper, we show that graph-based approaches are also well suited for hyperbolic geometry. From a theoretical perspective, we rigorously analyze the time and space complexity of graph-based NNS, assuming that an nn-element dataset is uniformly distributed within a dd-dimensional ball of radius RR in the hyperbolic space of curvature −1-1. Under some conditions on RR and dd, we derive the time and space complexity of graph-based NNS and compare the obtained results with known guarantees for the Euclidean case. Interestingly, in the dense setting (d≪log⁡nd \ll \log n) and under some assumptions on the radius RR, graph-based NNS has lower time complexity in the hyperbolic space. This agrees with our experiments: we consider datasets embedded in hyperbolic and Euclidean spaces and show that graph-based NNS can be more efficient in the hyperbolic space. We also demonstrate that graph-based methods outperform other existing baselines for hyperbolic NNS. Overall, our theoretical and empirical analysis suggests that graph-based NNS can be considered a default approach for similarity search in hyperbolic spaces.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Graph-based Nearest Neighbor Search: From Practice to TheoryLiudmila Prokhorenkova, Aleksandr ShekhovtsovICML 2020 · 68 citations
  2. Tight and fast generalization error bound of graph embedding in metric spaceAtsushi Suzuki, Atsushi Nitanda, Taiji Suzuki, Jing Wang et al.ICML 2023 · 1 citation
  3. Generalization Bounds for Graph Embedding Using Negative Sampling: Linear vs HyperbolicAtsushi Suzuki, Atsushi Nitanda, Jing Wang, Linchuan Xu et al.NeurIPS 2021 · 16 citations
  4. GTI: Graph-based Tree Index with Logarithm Updates for Nearest Neighbor Search in High-Dimensional SpacesRuiyao Ma, Yifan Zhu, Baihua Zheng, Lu Chen et al.VLDB 2025 · 4 citations
  5. A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
Dusk over the sea between two cliffs drawn in fine vertical lines