Comparison Based Nearest Neighbor Search
Not on the map. Why?
Abstract (arXiv)
We consider machine learning in a comparison-based setting where we are given a set of points in a metric space, but we have no access to the actual distances between the points. Instead, we can only ask an oracle whether the distance between two points i and j is smaller than the distance between the points i and k. We are concerned with data structures and algorithms to find nearest neighbors based on such comparisons. We focus on a simple yet effective algorithm that recursively splits the space by first selecting two random pivot points and then assigning all other points to the closer of the two (comparison tree). We prove that if the metric space satisfies certain expansion conditions, then with high probability the height of the comparison tree is logarithmic in the number of points, leading to efficient search performance. We also provide an upper bound for the failure probability to return the true nearest neighbor. Experiments show that the comparison tree is competitive with algorithms that have access to the actual distance values, and needs less triplet comparisons than other competitors.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Apr 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 1; 2025: 1.
6 papers.
- 2024Learning-Augmented Priority Queuescited by 7
- 2022Empirical complexity of comparator-based nearest neighbor descentcited by 2
- 2021Nearest Neighbor Search Under Uncertaintycited by 0
- 2022A Revenue Function for Comparison-Based Hierarchical Clusteringcited by 0
- 2023Fast Interactive Search with a Scale-Free Comparison Oraclecited by 0
- 2025Verbalized Algorithms: Classical Algorithms are All You Need (Mostly)cited by 0
- 2025Verbalized Algorithms: Classical Algorithms are All You Need (Mostly)9 Sep 2025
- 2024Learning-Augmented Priority Queues7 Jun 2024
- 2023Fast Interactive Search with a Scale-Free Comparison Oracle2 Jun 2023
- 2022A Revenue Function for Comparison-Based Hierarchical Clustering29 Nov 2022
- 2022Empirical complexity of comparator-based nearest neighbor descent30 Jan 2022
- 2021Nearest Neighbor Search Under Uncertainty8 Mar 2021