Fast k-NN search

Ville Hyvönen, Teemu Pitkänen, Sotiris Tasoulis, Elias Jääsaari, Risto Tuomainen +3 more
9/23/2015
56 citations
stat.MLcs.DScs.LG

Official code: ejaasaari/mrpt-comparison (28 stars, C++, last commit 2018-01-11).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Performance comparison of the MRPT algorithm to other approximate nearest neighbor search libraries

287C++, CAug 5, 20168 years ago
approximate-nearest-neighbor-searchnearest-neighborsperformance-comparison

Similar Papers

Cite this paper

@article{hyvnen2015fast,
  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},
  year   = {2015},
  eprint = {1509.06957},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1509.06957}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1509.06957.svg)](https://codeofpaper.com/paper/1509.06957)

Discussion