Approximate nearest neighbor queries in fixed dimensions

Sunil Arya*, David M. Mount

*Corresponding author for this work

Research output: Contribution to conferenceConference Paperpeer-review

Abstract

Given a set of n points in d-dimensional Euclidean space, S⊂Ed, and a query point qqqEd, we wish to determine the nearest neighbor of q, that is, the point of S whose Euclidean distance to q is minimum. The goal is to preprocess the point set S, such that queries can be answered as efficiently as possible. We assume that the dimension d is a constant independent of n. Although reasonably good solutions to this problem exist when d is small, as d increases the performance of these algorithms degrades rapidly. We present a randomized algorithm for approximate nearest neighbor searching. Given any set of n points S⊂Ed, and a constant ε>0, we produce a data structure, such that given any query point, a point of S will be reported whose distance from the query point is at most a factor of (1+ε) from that of the true nearest neighbor. Our algorithm runs in O(log3 n) expected time and requires O(n log n) space. The data structure can be built in O(n2) expected time. The constant factors depend on d and ε. Because of the practical importance of nearest neighbor searching in higher dimensions, we have implemented a practical variant of this algorithm, and show empirically that for many point distributions this variant of the algorithm finds the nearest neighbor in moderately large dimension significantly faster than existing practical approaches.

Original languageEnglish
Pages271-280
Number of pages10
Publication statusPublished - 1993
Externally publishedYes
EventProceedings of the Fourth Annual ACM-SIAM Symposium on Discrete Algorithms - Austin, TX, USA
Duration: 25 Jan 199327 Jan 1993

Conference

ConferenceProceedings of the Fourth Annual ACM-SIAM Symposium on Discrete Algorithms
CityAustin, TX, USA
Period25/01/9327/01/93

Fingerprint

Dive into the research topics of 'Approximate nearest neighbor queries in fixed dimensions'. Together they form a unique fingerprint.

Cite this