Lune

ICML2023Top-tier venue

A new near-linear time algorithm for k-nearest neighbor search using a compressed cover tree

Yury Elkin, Vitaliy Kurlin

2023Year
18Citations
4Top-tier citations

Abstract

Given a reference set RR of nn points and a query set QQ of mm points in a metric space, this paper studies an important problem of finding kk-nearest neighbors of every point q∈Qq \in Q in the set RR in a near-linear time. In the paper at ICML 2006, Beygelzimer, Kakade, and Langford introduced a cover tree on RR and attempted to prove that this tree can be built in O(nlog⁡n)O(n\log n) time while the nearest neighbor search can be done in O(nlog⁡m)O(n\log m) time with a hidden dimensionality factor. This paper fills a substantial gap in the past proofs of time complexity by defining a simpler compressed cover tree on the reference set RR. The first new algorithm constructs a compressed cover tree in O(nlog⁡n)O(n \log n) time. The second new algorithm finds all kk-nearest neighbors of all points from QQ using a compressed cover tree in time O(m(k+log⁡n)log⁡k)O(m(k+\log n)\log k) with a hidden dimensionality factor depending on point distributions of the given sets R,QR,Q but not on their sizes.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext d6eb9610-8c86-482e-909f-241fc8fec7e9

Cited by top-tier papers4

Ask how each one uses it

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines