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 -element dataset is uniformly distributed within a -dimensional ball of radius in the hyperbolic space of curvature . Under some conditions on and , 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 () and under some assumptions on the radius , 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 about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- Graph-based Nearest Neighbor Search: From Practice to TheoryLiudmila Prokhorenkova, Aleksandr ShekhovtsovICML 2020 · 68 citations
- 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
- Generalization Bounds for Graph Embedding Using Negative Sampling: Linear vs HyperbolicAtsushi Suzuki, Atsushi Nitanda, Jing Wang, Linchuan Xu et al.NeurIPS 2021 · 16 citations
- 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
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
