Scalable Nearest Neighbor Algorithms for High Dimensional Data

被引:905
作者
Muja, Marius [1 ]
Lowe, David G. [2 ]
机构
[1] BitLit Media Inc, Vancouver, BC, Canada
[2] Univ British Columbia, Dept Comp Sci, Vancouver, BC V6T 1Z4, Canada
关键词
Nearest neighbor search; big data; approximate search; algorithm configuration; SEARCH; OBJECT; TREES;
D O I
10.1109/TPAMI.2014.2321376
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
For many computer vision and machine learning problems, large training sets are key for good performance. However, the most computationally expensive part of many computer vision and machine learning algorithms consists of finding nearest neighbor matches to high dimensional vectors that represent the training data. We propose new algorithms for approximate nearest neighbor matching and evaluate and compare them with previous algorithms. For matching high dimensional features, we find two algorithms to be the most efficient: the randomized k-d forest and a new algorithm proposed in this paper, the priority search k-means tree. We also propose a new algorithm for matching binary features by searching multiple hierarchical clustering trees and show it outperforms methods typically used in the literature. We show that the optimal nearest neighbor algorithm and its parameters depend on the data set characteristics and describe an automated configuration procedure for finding the best algorithm to search a particular data set. In order to scale to very large data sets that would otherwise not fit in the memory of a single machine, we propose a distributed nearest neighbor matching framework that can be used with any of the algorithms described in the paper. All this research has been released as an open source library called fast library for approximate nearest neighbors (FLANN), which has been incorporated into OpenCV and is now one of the most popular libraries for nearest neighbor matching.
引用
收藏
页码:2227 / 2240
页数:14
相关论文
共 65 条
  • [1] Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions
    Andoni, Alexandr
    Indyk, Piotr
    [J]. COMMUNICATIONS OF THE ACM, 2008, 51 (01) : 117 - 122
  • [2] [Anonymous], 2007, P 33 INT C VER LARG
  • [3] [Anonymous], 2009, ICRA WORKSH OP SOURC
  • [4] [Anonymous], 2006, 2006 IEEE COMP SOC C
  • [5] [Anonymous], BRIT MACH VIS C DUDU
  • [6] [Anonymous], 2009, NIPS
  • [7] [Anonymous], P EUR PLAN SCI C
  • [8] [Anonymous], 2007, IEEE INT C COMPUTER, DOI DOI 10.1109/ICCV.2007.4408871
  • [9] [Anonymous], ROB SCI SYST C SEATT
  • [10] [Anonymous], 2013, Learning OpenCV: Computer Vision in C++ with the OpenCVLibrary