English

Fast k-NN search

Machine Learning 2019-04-24 v2 Data Structures and Algorithms Machine Learning

Abstract

Efficient index structures for fast approximate nearest neighbor queries are required in many applications such as recommendation systems. In high-dimensional spaces, many conventional methods suffer from excessive usage of memory and slow response times. We propose a method where multiple random projection trees are combined by a novel voting scheme. The key idea is to exploit the redundancy in a large number of candidate sets obtained by independently generated random projections in order to reduce the number of expensive exact distance evaluations. The method is straightforward to implement using sparse projections which leads to a reduced memory footprint and fast index construction. Furthermore, it enables grouping of the required computations into big matrix multiplications, which leads to additional savings due to cache effects and low-level parallelization. We demonstrate by extensive experiments on a wide variety of data sets that the method is faster than existing partitioning tree or hashing based approaches, making it the fastest available technique on high accuracy levels.

Keywords

Cite

@article{arxiv.1509.06957,
  title  = {Fast k-NN search},
  author = {Ville Hyvönen and Teemu Pitkänen and Sotiris Tasoulis and Elias Jääsaari and Risto Tuomainen and Liang Wang and Jukka Corander and Teemu Roos},
  journal= {arXiv preprint arXiv:1509.06957},
  year   = {2019}
}
R2 v1 2026-06-22T11:03:34.875Z