Counterexamples expose gaps in the proof of time complexity for cover trees introduced in 2006



Elkin, Yury and Kurlin, Vitaliy ORCID: 0000-0001-5328-5351
(2022) Counterexamples expose gaps in the proof of time complexity for cover trees introduced in 2006. .

[img] PDF
cover-tree-counter-examples.pdf - Unspecified

Download (306kB) | Preview

Abstract

This paper is motivated by the k-nearest neighbors search: given an arbitrary metric space, and its finite subsets (a reference set R and a query set Q), design a fast algorithm to find all k-nearest neighbors in R for every point q in Q. In 2006, Beygelzimer, Kakade, and Langford introduced cover trees to justify a near-linear time complexity for the neighbor search in the sizes of Q,R. Section 5.3 of Curtin's PhD (2015) pointed out that the proof of this result was wrong. The key step in the original proof attempted to show that the number of iterations can be estimated by multiplying the length of the longest root-to-leaf path in a cover tree by a constant factor. However, this estimate can miss many potential nodes in several branches of a cover tree, that should be considered during the neighbor search. The same argument was unfortunately repeated in several subsequent papers using cover trees from 2006. This paper explicitly constructs challenging datasets that provide counterexamples to the past proofs of time complexity for the cover tree construction, the k-nearest neighbor search presented at ICML 2006, and the dual-tree search algorithm published in NIPS 2009. The corrected near-linear time complexities with extra parameters are proved in another forthcoming paper by using a new compressed cover tree simplifying the original tree structure.

Item Type: Conference or Workshop Item (Unspecified)
Additional Information: Accepted in peer-reviewed Proceedings of TopoInVis 2022 (IEEE Workshop on Topological Data Analysis and Visualization, https://topoinvis-workshop.github.io/2022). arXiv admin note: substantial text overlap with arXiv:2205.10194; text overlap with arXiv:2111.15478
Uncontrolled Keywords: cs.CG, cs.CG, cs.DS
Depositing User: Symplectic Admin
Date Deposited: 29 Nov 2022 15:28
Last Modified: 18 Jan 2023 19:41
Related URLs:
URI: https://livrepository.liverpool.ac.uk/id/eprint/3166412