FAST APPROXIMATE NEAREST NEIGHBORS WITH AUTOMATIC ALGORITHM CONFIGURATION
Open accessThe DOI matches its Crossref record; 17 of the 17 references it cites were found in a registry or an index.
Abstract
nearest-neighbors search, randomized kd-trees, hierarchical k-means tree, clustering. For many computer vision problems, the most time consuming component consists of nearest neighbor matching in high-dimensional spaces. There are no known exact algorithms for solving these high-dimensional problems that are faster than linear search. Approximate algorithms are known to provide large speedups with only minor loss in accuracy, but many such algorithms have been published with only minimal guidance on selecting an algorithm and its parameters for any given problem. In this paper, we describe a system that answers the question, “What is the fastest approximate nearest-neighbor algorithm for my data? ” Our system will take any given dataset and desired degree of precision and use these to automatically determine the best algorithm and parameter values. We also describe a new algorithm that applies priority search on hierarchical k-means trees, which we have found to provide the best known performance on many datasets. After testing a range of alternatives, we have found that multiple randomized k-d trees provide the best performance for other datasets. We are releasing public domain code that implements these approaches. This library provides about one order of magnitude improvement in query time over the best previously available software and provides fully automated parameter selection. 1
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“In practice, the k NN search process is often performed only approximately (ANN, Gionis et al. (1999); Muja and Lowe (2009)) to reduce computational cost.”
From Efficient Nearest Neighbor Language Models (2021) · cites this paper as Muja and Lowe (2009)
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Distinctive Image Features from Scale-Invariant Keypoints
Lowe, D. G. (2004) · International Journal of Computer Vision · doi:10.1023/b:visi.0000029664.99615.94 · Cited by 62,647 · cited 2×
“Examples of such problems include finding the best matches for local image features in large datasets (Lowe, 2004; Philbin et al., 2007), clustering local features into visual words using the k-means or similar algorithms (Sivic and Zisserman, 2003), or performing normalized cross-correlation to…”
BackgroundSelf-citationVideo Google: a text retrieval approach to object matching in videos
Sivic, & Zisserman (2003) · Proceedings Ninth IEEE International Conference on Computer Vision · doi:10.1109/iccv.2003.1238663 · Cited by 6,367 · cited 1×
“…local image features in large datasets (Lowe, 2004; Philbin et al., 2007), clustering local features into visual words using the k-means or similar algorithms (Sivic and Zisserman, 2003), or performing normalized cross-correlation to compare image patches in large datasets (Torralba et al., 2008).”
MethodScalable Recognition with a Vocabulary Tree
Nister, D., & Stewenius, H. (2006) · 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition - Volume 2 (CVPR'06) · doi:10.1109/cvpr.2006.264 · Cited by 3,579 · cited 2×
“Nister and Stewenius (Nister and Stewenius, 2006) present a fast method for nearest-neighbor feature search in very large databases.”
MethodObject retrieval with large vocabularies and fast spatial matching
Philbin, J., Chum, O., Isard, M., Sivic, J., & Zisserman, A. (2007) · 2007 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2007.383172 · Cited by 2,929
An Algorithm for Finding Best Matches in Logarithmic Expected Time
Friedman, J. H., Bentley, J. L., & Finkel, R. A. (1977) · ACM Transactions on Mathematical Software · doi:10.1145/355744.355745 · Cited by 2,813 · cited 2×
“The most widely used algorithm for nearest-neighbor search is the kd-tree (Freidman et al., 1977), which works well for exact nearest neighbor search in lowdimensional data, but quickly loses its effectiveness as dimensionality increases.”
MethodAn optimal algorithm for approximate nearest neighbor searching fixed dimensions
Arya, S., Mount, D. M., Netanyahu, N. S., Silverman, R., & Wu, A. Y. (1998) · Journal of the ACM · doi:10.1145/293347.293348 · Cited by 2,300 · cited 8×
“The results for ANN are consistent with the experiment in figure 2, as ANN uses only a single kd-tree and does not benefit from the speedup due to using multiple randomized trees.”
MethodInfluential80 Million Tiny Images: A Large Data Set for Nonparametric Object and Scene Recognition
Torralba, A., Fergus, R., & Freeman, W. T. (2008) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2008.128 · Cited by 1,921
Near-Optimal Hashing Algorithms for Approximate Nearest Neighbor in High Dimensions
Andoni, A., & Indyk, P. (2006) · 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06) · doi:10.1109/focs.2006.49 · Cited by 1,067
Shape indexing using approximate nearest-neighbour search in high-dimensional spaces
Beis, J. S., & Lowe, D. G. (2002) · Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.1997.609451 · Cited by 879 · cited 3×
“Examples of such problems include finding the best matches for local image features in large datasets (Lowe, 2004; Philbin et al., 2007), clustering local features into visual words using the k-means or similar algorithms (Sivic and Zisserman, 2003), or performing normalized cross-correlation to compare image patches…”
MethodInfluentialSelf-citationA Branch and Bound Algorithm for Computing k-Nearest Neighbors
Fukunaga, K., & Narendra, P. M. (1975) · IEEE Transactions on Computers · doi:10.1109/t-c.1975.224297 · Cited by 736 · cited 3×
“The gray values indicate the ratio between the distances to the nearest and the second-nearest cluster center at each tree level, so that the darkest values (ratio≈1) fall near the boundaries between k-means regions. cal k-means tree similar to that proposed by Fukunaga and Narendra (Fukunaga and Narendra, 1975).”
MethodResultInfluential
Cited by
ORB: An efficient alternative to SIFT or SURF
Rublee, E., Rabaud, V., Konolige, K., & Bradski, G. (2011) · 2011 International Conference on Computer Vision · doi:10.1109/iccv.2011.6126544 · Cited by 11,037
“We compare the performance of rBRIEF LSH with kdtrees of SIFT features using FLANN [20].”
MethodData clustering: 50 years beyond K-means
Jain, A. K. (2010) · Pattern Recognition Letters · doi:10.1016/j.patrec.2009.09.011 · Cited by 9,368
3D is here: Point Cloud Library (PCL)
Rusu, R. B., & Cousins, S. (2011) · 2011 IEEE International Conference on Robotics and Automation · doi:10.1109/icra.2011.5980567 · Cited by 4,885
“The backbone for fast k-nearest neighbor search operations is provided by FLANN (Fast Library for Approximate Nearest Neighbors) [3].”
MethodProduct Quantization for Nearest Neighbor Search
Jégou, H., Douze, M., & Schmid, C. (2011) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2010.57 · Cited by 2,956
“An evaluation of the parameters of our approach and a comparison with the state of the art is given in Section V. II.”
BackgroundMethodAggregating local descriptors into a compact image representation
Jegou, H., Douze, M., Schmid, C., & Perez, P. (2010) · 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2010.5540039 · Cited by 2,692
“Approximate nearest neighbors search methods [4, 11, 15, 24, 27] are required to handle large databases in computer vision applications [22].”
BackgroundMethodVlfeat: an open and portable library of computer vision algorithms
Vedaldi, A., & Fulkerson, B. (2010) · Proceedings of the 18th ACM international conference on Multimedia · doi:10.1145/1873951.1874249 · Cited by 2,664
“Right: speedup in the approximated NN matching of two sets of SIFT features (comparison between FLANN [11] and VLFeat implementations).”
MethodAccelerating t-SNE using tree-based algorithms
van der Maaten, L. (2014) · doi:10.5555/2627435.2697068 · Cited by 2,226
Bags of Binary Words for Fast Place Recognition in Image Sequences
Galvez-López, D., & Tardos, J. D. (2012) · IEEE Transactions on Robotics · doi:10.1109/tro.2012.2197158 · Cited by 1,913
“A second technique consists in calculating approximate nearest neighbors by arranging the descriptor vectors in k-dimensional (k-d) trees [27].”
MethodFAST-LIO2: Fast Direct LiDAR-Inertial Odometry
Xu, W., Cai, Y., He, D., Lin, J., & Zhang, F. (2022) · IEEE Transactions on Robotics · doi:10.1109/tro.2022.3141876 · Cited by 1,750
Aggregating Local Image Descriptors into Compact Codes
Jegou, H., Perronnin, F., Douze, M., Sanchez, J., Perez, P., & Schmid, C. (2012) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2011.235 · Cited by 1,503
“However, these approaches and the one of Muja and Lowe [37] are memory consuming, as multiple hash tables or trees are required.”
BackgroundMethodScalable Nearest Neighbor Algorithms for High Dimensional Data
Muja, M., & Lowe, D. G. (2014) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2014.2321376 · Cited by 1,407
“In a previous paper [14] we have proposed an automatic nearest neighbor algorithm configuration method by combining grid search with a finer grained NelderMead downhill simplex optimization process [43].”
MethodSelf-citationLabbé, M., & Michaud, F. (2019) · Journal of Field Robotics · doi:10.1002/rob.21831 · Cited by 989
Wang, J., Zhang, T., Song, J., Sebe, N., & Shen, H. T. (2018) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2017.2699960 · Cited by 971
“, treebased [103], [105], [152] or neighborhood graph-based [151], the time-constrained search is usually transformed to another approximate way: terminate the search after examining a fixed number of data points.”
BackgroundMethodInfluentialFast 3D recognition and pose using the Viewpoint Feature Histogram
Rusu, R. B., Bradski, G., Thibaux, R., & Hsu, J. (2010) · 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems · doi:10.1109/iros.2010.5651280 · Cited by 847
“For the reasons given in Section I, we base our recognition architecture on fast approximate K-Nearest Neighbors (KNN) searches using kd-trees [1].”
MethodThe devil is in the details: an evaluation of recent feature encoding methods
Chatfield, K., Lempitsky, V., Vedaldi, A., & Zisserman, A. (2011) · Procedings of the British Machine Vision Conference 2011 · doi:10.5244/c.25.76 · Cited by 834
Semi-Supervised Hashing for Large-Scale Search
Wang, J., Kumar, S., & Chang, S.-F. (2012) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2012.48 · Cited by 810
“A more detailed survey of the tree based ANN search algorithms can be found in [10].”
BackgroundAn Evaluation of Popular Copy-Move Forgery Detection Approaches
Christlein, V., Riess, C., Jordan, J., Riess, C., & Angelopoulou, E. (2012) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2012.2218597 · Cited by 802
“In our setup we matched feature vectors using the approximate nearest neighbor method of Muja et al. [33].”
Improving Bag-of-Features for Large Scale Image Search
Jégou, H., Douze, M., & Schmid, C. (2010) · International Journal of Computer Vision · doi:10.1007/s11263-009-0285-2 · Cited by 743
“14 Speedup, over exhaustive distance computation, as a function of the obtained precision for our graph-structured quantizer and for the FLANN algorithm (Muja and Lowe 2009)”
Chen, R. J., Lu, M. Y., Wang, J., Williamson, D. F. K., Rodig, S. J., Lindeman, N. I., & Mahmood, F. (2022) · IEEE Transactions on Medical Imaging · doi:10.1109/tmi.2020.3021387 · Cited by 729
Weinmann, M., Jutzi, B., Hinz, S., & Mallet, C. (2015) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2015.01.016 · Cited by 709
Hamming Distance Metric Learning
Norouzi, M., Fleet, D. J., & Salakhutdinov, R. (2012) · neural information processing systems · Cited by 701
Scale Invariant Feature Transform
Lindeberg, T. (2012) · Scholarpedia · doi:10.4249/scholarpedia.10491 · Cited by 621
“In later work (Muja and Lowe 2009), this approach has been furthered to hierarchical k means trees and randomized kd trees.”
MethodAppearance-only SLAM at large scale with FAB-MAP 2.0
Cummins, M., & Newman, P. (2011) · The International Journal of Robotics Research · doi:10.1177/0278364910385483 · Cited by 609
“(2007), where, at the beginning of each k-means iteration, a randomized forest of kdtrees (Silpa-Anan and Hartley 2008; Muja and Lowe 2009) is constructed over the cluster centers, which is then used for fast (approximate) distance calculations.”
BackgroundMethodSemi-supervised hashing for scalable image retrieval
Wang, J., Kumar, S., & Chang, S.-F. (2010) · 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2010.5539994 · Cited by 601
“Although there exist many tree-based methods e.g., [3] [1] [11] [14] [10], for applications with memory constraints, hashing based ANN techniques have attracted more attention.”
BackgroundGMS: Grid-Based Motion Statistics for Fast, Ultra-Robust Feature Correspondence
Bian, J., Lin, W.-Y., Matsushita, Y., Yeung, S.-K., Nguyen, T.-D., & Cheng, M.-M. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.302 · Cited by 594
“In addition, there are FLANN works for accelerating feature matching [14, 27, 28].”
Efficient & Effective Prioritized Matching for Large-Scale Image-Based Localization
Sattler, T., Leibe, B., & Kobbelt, L. (2017) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2016.2611662 · Cited by 563
“For Active Search, we build a vocabulary tree on top of this dictionary using a modified implementation from the FLANN library [38] that visits only a single leaf node and does not perform back-tracking.”
MethodInfluential24/7 place recognition by view synthesis
Torii, A., Arandjelovic, R., Sivic, J., Okutomi, M., & Pajdla, T. (2015) · 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2015.7298790 · Cited by 536
“A vocabulary of 200,000 visual words is built by approximate k-means clustering [31, 33].”
The Generalized PatchMatch Correspondence Algorithm
Barnes, C., Shechtman, E., Goldman, D. B., & Finkelstein, A. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-15558-1_3 · Cited by 530
“We also compare with FLANN [22], a package that includes kd-tree, k-means tree, a hybrid algorithm, and a large number of parameters that can be tuned for performance.”
MethodInfluentialMargolin, R., Tal, A., & Zelnik-Manor, L. (2013) · 2013 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2013.151 · Cited by 513
“We compare our accuracy and run-times against those of the k-nearest neighbours approach, using both accurate and approximate search [18].”
MethodFast image-based localization using direct 2D-to-3D matching
Sattler, T., Leibe, B., & Kobbelt, L. (2011) · 2011 International Conference on Computer Vision · doi:10.1109/iccv.2011.6126302 · Cited by 480
“In order to demonstrate this potential, we perform the following systematic experiment: To establish 2D-to-3D correspondences, we use the kd-tree based approach proposed by Lowe [17], based on the FLANN library [18].”
BackgroundMethodActive learning of inverse models with intrinsically motivated goal exploration in robots
Baranes, A., & Oudeyer, P.-Y. (2013) · Robotics and Autonomous Systems · doi:10.1016/j.robot.2012.05.008 · Cited by 455
Efficient Dense-Field Copy–Move Forgery Detection
Cozzolino, D., Poggi, G., & Verdoliva, L. (2015) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2015.2455334 · Cited by 451
“A significant speed-up can be obtained by adopting some approximate nearest-neighbor search strategy, in which case accuracy becomes a further aspect of interest.”
BackgroundInLoc: Indoor Visual Localization with Dense Matching and View Synthesis
Taira, H., Okutomi, M., Sattler, T., Cimpoi, M., Pollefeys, M., Sivic, J., Pajdla, T., & Torii, A. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00752 · Cited by 449
Deep Multitask Learning for Railway Track Inspection
Gibert, X., Patel, V. M., & Chellappa, R. (2017) · IEEE Transactions on Intelligent Transportation Systems · doi:10.1109/tits.2016.2568758 · Cited by 441
“To perform approximate nearest neighbor we used FLANN [44] with the “autotune” parameter set to a target precision of 70%.”
MethodThe MOPED framework: Object recognition and pose estimation for manipulation
Collet, A., Martinez, M., & Srinivasa, S. S. (2011) · The International Journal of Robotics Research · doi:10.1177/0278364911401765 · Cited by 421
“1998), randomized kd-trees (Silpa-Anan and Hartley 2008), FLANN (Muja and Lowe 2009)) or hashing (e.”
BackgroundDeepPano: Deep Panoramic Representation for 3-D Shape Recognition
Shi, B., Bai, S., Zhou, Z., & Bai, X. (2015) · IEEE Signal Processing Letters · doi:10.1109/lsp.2015.2480802 · Cited by 410
Image matching across wide baselines: From paper to practice
Jin, Y., Mishkin, D., Mishchuk, A., Matas, J., Fua, P., Yi, K. M., & Trulls, E. (2021) · International Journal of Computer Vision · doi:10.1007/s11263-020-01385-0 · Cited by 388
“We thus compare exact (brute-force) nearest neighbor search with a popular choice for approximate nearest neighbor search, FLANN [64], as implemented in OpenCV.”
BackgroundMethodUnsupervised Deep Homography: A Fast and Robust Homography Estimation Model
Nguyen, T., Chen, S. W., Shivakumar, S. S., Taylor, C. J., & Kumar, V. (2018) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2018.2809549 · Cited by 374
Data Clustering: 50 Years Beyond K-means
Jain, A. K. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-87479-9_3 · Cited by 373
Appearance-Based Loop Closure Detection for Online Large-Scale and Long-Term Operation
Labbe, M., & Michaud, F. (2013) · IEEE Transactions on Robotics · doi:10.1109/tro.2013.2242375 · Cited by 372
“Neverthe-less, processing time for each image acquired still increases with the number of key images.”
BackgroundFAST SEMANTIC SEGMENTATION OF 3D POINT CLOUDS WITH STRONGLY VARYING DENSITY
Hackel, T., Wegner, J. D., & Schindler, K. (2016) · ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences · doi:10.5194/isprs-annals-iii-3-177-2016 · Cited by 371
“We use the method of (Muja and Lowe, 2009) to automatically select and configure the most suitable k D-tree ensemble for our problem.”
MethodDifferentially Private High-Dimensional Approximate Range Counting, Revisited
Wang, J., Shen, H. T., Song, J., & Ji, J. (2014) · arXiv (Cornell University) · doi:10.4230/lipics.cpm.2023.20 · Cited by 370
SimpleTree —An Efficient Open Source Tool to Build Tree Models from TLS Clouds
Hackenberg, J., Spiecker, H., Calders, K., Disney, M., & Raumonen, P. (2015) · Forests · doi:10.3390/f6114245 · Cited by 367
“PCL’s mathematical operations are based on the linear algebra library Eigen [79]. k-nearest neighbour searches are performed by the Fast Library for Approximate Nearest Neighbours (FLANN) [80].”
MethodAccurate Image Localization Based on Google Maps Street View
Zamir, A. R., & Shah, M. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-15561-1_19 · Cited by 366
“Then, the descriptor vectors (and their corresponding GPS tags) are organized into a tree using FLANN [12] .”
MethodOpenMVG: Open Multiple View Geometry
Moulon, P., Monasse, P., Perrot, R., & Marlet, R. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-56414-2_5 · Cited by 361
“The concrete implementations are: (i) BruteForce; (ii) ANNkD trees [19]; (iii) Cascade hashing [21].”
MethodVisual Place Recognition with Repetitive Structures
Torii, A., Sivic, J., Pajdla, T., & Okutomi, M. (2013) · 2013 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2013.119 · Cited by 359
“We build a visual vocabulary of 100,000 visual words by approximate k-means clustering [22, 26].”
Barath, D., & Matas, J. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00704 · Cited by 352
Tutorial: Point Cloud Library: Three-Dimensional Object Recognition and 6 DOF Pose Estimation
Aldoma, A., Marton, Z.-C., Tombari, F., Wohlkinger, W., Potthast, C., Zeisl, B., Rusu, R. B., Gedikli, S., & Vincze, M. (2012) · IEEE Robotics & Automation Magazine · doi:10.1109/mra.2012.2206675 · Cited by 345
“Finally, efficient approximated matching schemes are deployed to speed up the matching stage: in particular, the fast approximate NN (FLANN) algorithmwas used [15].”
MethodMAGSAC++, a Fast, Reliable and Accurate Robust Estimator
Barath, D., Noskova, J., Ivashechkin, M., & Matas, J. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00138 · Cited by 340
Segmentation-Driven 6D Object Pose Estimation
Hu, Y., Hugonot, J., Fua, P., & Salzmann, M. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00350 · Cited by 333
“Over the years, much effort has been invested in designing local feature descriptors that are invariant to various transformations [27, 40, 41, 42, 34, 32], so that they can be matched more robustly [29, 30, 14].”
BackgroundDeep Learning Advances in Computer Vision with 3D Data: A Survey
Ioannidou, A., Chatzilari, E., Nikolopoulos, S., & Kompatsiaris, I. (2018) · ACM Computing Surveys · doi:10.1145/3042064 · Cited by 327
Hough Transform and 3D SURF for Robust Three Dimensional Classification
Knopp, J., Prasad, M., Willems, G., Timofte, R., & Van Gool, L. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-15567-3_43 · Cited by 326
“To reduce the dimensionality of feature matching and limit the effects of noise, we quantize the SURF features to a vocabulary of visual words, which we define as the cluster centers of an approximate K-means algorithm (see Muja et al. [ 18 ]).”
MethodEnergy-Based Geometric Multi-model Fitting
Isack, H., & Boykov, Y. (2012) · International Journal of Computer Vision · doi:10.1007/s11263-011-0474-7 · Cited by 318
“In principle, it is possible to replace exhaustive search with ”smarter” methods as in [1,23].”
MethodSearching in one billion vectors: Re-rank with source coding
Jegou, H., Tavenard, R., Douze, M., & Amsaleg, L. (2011) · 2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2011.5946540 · Cited by 313
Comparative Evaluation of Hand-Crafted and Learned Local Features
Schonberger, J. L., Hardmeier, H., Sattler, T., & Pollefeys, M. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.736 · Cited by 310
“Not only is such a pass computationally more complex than computing a single L2 distance, but the network also prevents the use of traditional spatial subdivision schemes for fast (approximate) nearest neighbor search, such as kd-trees or hierarchical k-means trees [30].”
BackgroundApproximated and User Steerable tSNE for Progressive Visual Analytics
Pezzotti, N., Lelieveldt, B. P. F., Maaten, L. V. D., Hollt, T., Eisemann, E., & Vilanova, A. (2017) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2016.2570755 · Cited by 308
Deep learning for biological image classification
Affonso, C., Rossi, A. L. D., Vieira, F. H. A., & de Carvalho, A. C. P. D. L. F. (2017) · Expert Systems with Applications · doi:10.1016/j.eswa.2017.05.039 · Cited by 305
“For the material classification task, the CNN predictive perormance was evaluated and compared to a fast K-NN algorithm Muja & Lowe, 2009 ).”
MethodImage Retrieval for Image-Based Localization Revisited
Sattler, T., Weyand, T., Leibe, B., & Kobbelt, L. (2012) · Procedings of the British Machine Vision Conference 2012 · doi:10.5244/c.26.76 · Cited by 304
“To compute the visual word assignments, we use a single kd-tree built using the FLANN library [20] and stop the search for the closest word after visiting at most 10 leaves.”
BackgroundMethodANN-Benchmarks: A benchmarking tool for approximate nearest neighbor algorithms
Aumüller, M., Bernhardsson, E., & Faithfull, A. (2020) · Information Systems · doi:10.1016/j.is.2019.02.006 · Cited by 300
Evaluation of local detectors and descriptors for fast feature matching
Mikšík, O., & Mikolajczyk, K. (2012) · University of Surrey Open Research repository · Cited by 300
Locality sensitive hashing: A comparison of hash function types and querying mechanisms
Paulevé, L., Jégou, H., & Amsaleg, L. (2010) · Pattern Recognition Letters · doi:10.1016/j.patrec.2010.04.004 · Cited by 297
“Therefore, the results we give here for the k-means give a good approximation of the selectivity / recall tradeo ff that the package of (Muja and Lowe, 2009) would provide, with a lower query preparation cost, however.”
InfluentialFast Matching of Binary Features
Muja, M., & Lowe, D. G. (2012) · 2012 Ninth Conference on Computer and Robot Vision · doi:10.1109/crv.2012.60 · Cited by 297
“A similar cross-validation approach to the one proposed in [16] can be used for choosing the optimum parameters for a particular application.”
MethodSelf-citationRegistration with the Point Cloud Library: A Modular Framework for Aligning in 3-D
Holz, D., Ichim, A. E., Tombari, F., Rusu, R. B., & Behnke, S. (2015) · IEEE Robotics & Automation Magazine · doi:10.1109/mra.2015.2432331 · Cited by 296
“For this purpose, PCL depends on FLANN [4], an open-source library for fast (approximate) nearest neighbor searches.”
MethodCAD-model recognition and 6DOF pose estimation using 3D cues
Aldoma, A., Vincze, M., Blodow, N., Gossow, D., Gedikli, S., Rusu, R. B., & Bradski, G. (2011) · 2011 IEEE International Conference on Computer Vision Workshops (ICCV Workshops) · doi:10.1109/iccvw.2011.6130296 · Cited by 294
Working hard to know your neighbor's margins: Local descriptor learning loss
Mishchuk, A., Mishkin, D., Radenović, F., & Matas, J. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.10872 · Cited by 291
Highly scalable appearance-only SLAM - FAB-MAP 2.0
Cummins, M., & Newman, P. (2009) · Robotics: Science and Systems V · doi:10.15607/rss.2009.v.039 · Cited by 282
“Instead we apply the fast approximate k-means algorithm discussed in [14], where, at the beginning of each k-means iteration, a randomized forest of kd-trees [22], [23] is constructed over the cluster centres, which is then used for fast (approximate) distance calculations.”
MethodLarge-Scale Remote Sensing Image Retrieval by Deep Hashing Neural Networks
Li, Y., Zhang, Y., Huang, X., Zhu, H., & Ma, J. (2018) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2017.2756911 · Cited by 276
“decrease dramatically, especially when the dimension of the 92 original feature descriptor is very high [23].”
BackgroundLocally Optimized Product Quantization for Approximate Nearest Neighbor Search
Kalantidis, Y., & Avrithis, Y. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2014.298 · Cited by 275
“Focusing on large datasets where index space is the bottleneck, we exclude e.g. tree-based methods like [14] that require all data uncompressed in memory.”
BackgroundMethodComposite Quantization for Approximate Nearest Neighbor Search
Zhang, T., Du, C., & Wang, J. (2014) · International Conference on Machine Learning · Cited by 272
DeepMatching: Hierarchical Deformable Dense Matching
Revaud, J., Weinzaepfel, P., Harchaoui, Z., & Schmid, C. (2016) · International Journal of Computer Vision · doi:10.1007/s11263-016-0908-3 · Cited by 267
“We compare DM with several baselines and state-of-the-art matching algorithms, namely: – SIFT keypoints extracted with DoG detector (Lowe 2004) and matched with FLANN (Muja and Lowe 2009), referred to as SIFT-NN, – dense HOG matching, followed by nearest-neighbor matching with reciprocal verification as done in LDOF (B…”
Resource Aware Person Re-identification Across Multiple Resolutions
Wang, Y., Wang, L., You, Y., Zou, X., Chen, V., Li, S., Huang, G., Hariharan, B., & Weinberger, K. Q. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00839 · Cited by 266
Fast search in Hamming space with multi-index hashing
Norouzi, M., Punjani, A., & Fleet, D. J. (2012) · 2012 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2012.6248043 · Cited by 263
“, [1, 10, 15]), we restrict our attention in this paper to the use of compact binary codes.”
BackgroundImproving Image-Based Localization by Active Correspondence Search
Sattler, T., Leibe, B., & Kobbelt, L. (2012) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-33718-5_54 · Cited by 261
“A key observation is that information about a coarser vocabulary can be obtained without additional cost by using a vocabulary tree [14, 21] to perform the initial 2D-to-3D matching.”
BackgroundMethodFast Similarity Search for Learned Metrics
Kulis, B., Jain, P., & Grauman, K. (2009) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2009.151 · Cited by 256
“In addition, the proposed method stands to benefit several existing methods for metric learning.”
MethodContent-Based Photo Quality Assessment
Tang, X., Luo, W., & Wang, X. (2013) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2013.2269899 · Cited by 253
“For each test photo, we employ the mentioned visual features and find its nearest neighbors using the kd-tree [51] in both low- and high-quality photo training sets.”
MethodTowards autonomous robotic butlers: Lessons learned with the PR2
Bohren, J., Rusu, R. B., Gil Jones, E., Marder-Eppstein, E., Pantofaru, C., Wise, M., Mosenlechner, L., Meeussen, W., & Holzer, S. (2011) · 2011 IEEE International Conference on Robotics and Automation · doi:10.1109/icra.2011.5980058 · Cited by 246
“1) create a kd-tree representation [16] for P; 2) set up an empty list of clusters C; 3) then for every pi ∈ P , perform the following steps: • add pi to a new cluster Cj ∈ C; • for every pi ∈ Cj do: – search for the set P i of neighbors of pi in a sphere with radius r < dth; – for every neighbor pi ∈ P i , check if i…”
BackgroundTunnel inspection using photogrammetric techniques and image processing: A review
Attard, L., Debono, C. J., Valentino, G., & Di Castro, M. (2018) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2018.07.010 · Cited by 246
NavCog: a navigational cognitive assistant for the blind
Ahmetovic, D., Gleason, C., Ruan, C., Kitani, K., Takagi, H., & Asakawa, C. (2016) · Proceedings of the 18th International Conference on Human-Computer Interaction with Mobile Devices and Services · doi:10.1145/2935334.2935361 · Cited by 244
“We use this data to train a fast variant of the classic K-nearest neighbor (KNN) algorithm [25] to estimate the position of the device by comparing the current RSSI readings with previously gathered RSSI fingerprints.”
MethodA Survey on Deep Hashing Methods
Luo, X., Wang, H., Wu, D., Chen, C., Deng, M., Huang, J., & Hua, X.-S. (2023) · ACM Transactions on Knowledge Discovery from Data · doi:10.1145/3532624 · Cited by 241
A geometric approach to robotic laundry folding
Miller, S., van den Berg, J., Fritz, M., Darrell, T., Goldberg, K., & Abbeel, P. (2012) · The International Journal of Robotics Research · doi:10.1177/0278364911430417 · Cited by 241
Efficient Feature Extraction, Encoding, and Classification for Action Recognition
Kantorov, V., & Laptev, I. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2014.332 · Cited by 239
“The motivation for using kd-trees is the significant improvement in processing speed over the brute-force algorithm (see Subsection 5.2).”
MethodInfluentialA survey on Visual-Based Localization: On the benefit of heterogeneous data
Piasco, N., Sidibé, D., Demonceaux, C., & Gouet-Brunet, V. (2018) · Pattern Recognition · doi:10.1016/j.patcog.2017.09.013 · Cited by 236
“Several nearest neighbour search algorithms are implemented in the FLANN library [134], and in the new Facebook FAISS library [76].”
MethodTurcot, P., & Lowe, D. G. (2009) · 2009 IEEE 12th International Conference on Computer Vision Workshops, ICCV Workshops · doi:10.1109/iccvw.2009.5457541 · Cited by 235
“In such cases, we use approximate nearest word search [13], which provides significant speedup over linear search while maintaining high accuracy.”
MethodSelf-citationRepeatability Is Not Enough: Learning Affine Regions via Discriminability
Mishkin, D., Radenović, F., & Matas, J. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01240-3_18 · Cited by 233
“A flat vocabulary with 1M centroids is created with the k-means algorithm and approximate nearest neighbor search [59].”
MethodImage retrieval from remote sensing big data: A survey
Li, Y., Ma, J., & Zhang, Y. (2021) · Information Fusion · doi:10.1016/j.inffus.2020.10.008 · Cited by 233
Introduction to the Bag of Features Paradigm for Image Classification and RetrievalPreprint
O′Hara, S., & Draper, B. A. (2011) · arXiv (Cornell University) · doi:10.48550/arxiv.1101.3354 · Cited by 233
“Lowe describes the use of a k-d tree to approximate nearest neighbor computations of SIFT descriptors (Lowe, 2004), and others have further developed the concept for increased speed and accuracy (Silpa-Anan and Hartley, 2004, 2008; Moosmann et al, 2006, 2007; Muja and Lowe, 2008).”
MethodKonolige, K., Bowman, J., Chen, J. D., Mihelich, P., Calonder, M., Lepetit, V., & Fua, P. (2010) · The International Journal of Robotics Research · doi:10.1177/0278364910370376 · Cited by 227
“nearest neighbor algorithms [30, 26] and various refinements for improving the response or efficiency of the tree [8, 17, 18].”
BackgroundMethodMulti-label Cross-Modal Retrieval
Ranjan, V., Rasiwasia, N., & Jawahar, C. V. (2015) · 2015 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2015.466 · Cited by 227
“To this end, an approximate nearest neighbor search [19] is performed over the label space in order to determine (xi, yj) pairs with high similarity score f(zi, zj).”
BackgroundMethodA Review on Deep Learning Techniques for 3D Sensed Data Classification
Griffiths, D., & Boehm, J. (2019) · Remote Sensing · doi:10.3390/rs11121499 · Cited by 229
City-Scale Localization for Cameras with Known Vertical Direction
Svarm, L., Enqvist, O., Kahl, F., & Oskarsson, M. (2017) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2016.2598331 · Cited by 222
FANNG: Fast Approximate Nearest Neighbour Graphs
Harwood, B., & Drummond, T. W. (2016) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2016.616 · Cited by 222
“One consequence of the occlusion rule is that the angle between edges must be at least 60o, and thus the edges have to be well spread out.”
BackgroundScene Text Localization and Recognition with Oriented Stroke Detection
Neumann, L., & Matas, J. (2013) · 2013 IEEE International Conference on Computer Vision · doi:10.1109/iccv.2013.19 · Cited by 220
“The nearest-neighbor classifierNK was implemented by an approximative nearest-neighbor classifier [10] for performance reasons and K was set to 11.”
MethodA Sparse Embedding and Least Variance Encoding Approach to Hashing
Zhu, X., Zhang, L., & Huang, Z. (2014) · IEEE Transactions on Image Processing · doi:10.1109/tip.2014.2332764 · Cited by 220
“However, the retrieval perfo rmance of tree-based methods will drastically degrade for hi ghdimensional data [16].”
MethodUAV Bridge Inspection through Evaluated 3D Reconstructions
Chen, S., Laefer, D. F., Mangina, E., Zolanvari, S. M. I., & Byrne, J. (2019) · Journal of Bridge Engineering · doi:10.1061/(asce)be.1943-5592.0001343 · Cited by 217
“In this algorithm, 5% of the points were randomly taken 254 from the original data as querying points and used in a nearest neighbour searching (NNS) 255 algorithm (Muja and Lowe, 2009) to find the closest point to each query point.”
BackgroundMethodAvoiding Confusing Features in Place Recognition
Knopp, J., Sivic, J., & Pajdla, T. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-15549-9_54 · Cited by 208
“The vocabulary is built from a subset of 2942 images (about 6M features) of the geotagged image database using the approximate k-means algorithm [32, 13].”
MethodDo We Need More Training Data?
Zhu, X., Vondrick, C., Fowlkes, C. C., & Ramanan, D. (2016) · International Journal of Computer Vision · doi:10.1007/s11263-015-0812-2 · Cited by 204
“Prior work has explored approximate methods such as hashing (Shakhnarovich et al, 2003, 2005) and kd-trees (Muja and Lowe, 2009; Beis and Lowe, 1997).”
MethodKNN-BLOCK DBSCAN: Fast Clustering for Large-Scale Data
Chen, Y., Zhou, L., Pei, S., Yu, Z., Chen, Y., Liu, X., Du, J., & Xiong, N. (2021) · IEEE Transactions on Systems, Man, and Cybernetics: Systems · doi:10.1109/tsmc.2019.2956527 · Cited by 204
“For example, FLANN [18], [38] uses the priority search k -means tree or the multiple randomized kd forest [39] which can give the best performance on a wide range of dimensional data space.”
Methodikd-Tree: An Incremental K-D Tree for Robotic ApplicationsPreprint
Cai, Y., Xu, W. D., & Zhang, F. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.10808 · Cited by 204
“The well-known point cloud library (PCL) [15] uses the fast library for approximate nearest neighbors (FLANN) search [27].”
MethodObject retrieval and localization with spatially-constrained similarity measure and k-NN re-ranking
Shen, X., Lin, Z., Brandt, J., Avidan, S., & Wu, Y. (2012) · 2012 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2012.6248031 · Cited by 200
Orientation and 3D modelling from markerless terrestrial images: combining accuracy with automation
Barazzetti, L., Scaioni, M., & Remondino, F. (2010) · The Photogrammetric Record · doi:10.1111/j.1477-9730.2010.00599.x · Cited by 200
“Two fast libraries are the approximate nearest neighbours (ANN) library (Arya et al., 1998) and the fast library for approximate nearest neighbours (FLANN) (Muja and Lowe, 2009).”
Background
Metadata
- Authors
- Muja, M., & Lowe, D. G.
- Affiliations
- University of British Columbia (CA)
- ORCID
- David G. Lowe
- Venue
- Proceedings of the Fourth International Conference on Computer Vision Theory and Applications
- Published
- 2009
- Pages
- 331-340
- OpenAlex
- W1627400044
- Cited by
- 2,640
- References
- 17
- Citations by year
- 2026: 17 · 2025: 63 · 2024: 102 · 2023: 93 · 2022: 101 · 2021: 137 · 2020: 147 · 2019: 188 · 2018: 206 · 2017: 233 · 2016: 235 · 2015: 269 · 2014: 249 · 2013: 219 · 2012: 153
- FWCI
- 102.63
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by-nc-nd
- Locations
- International Conference on Computer Vision Theory and Applications (publishedVersion, cc-by-nc-nd)
- Funders
- Natural Sciences and Engineering Research Council of Canada
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image and Video Retrieval Techniques
- Physical Sciences › Computer Science › Information Systems › Data Management and Algorithms
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Image Retrieval and Classification Techniques
- Keywords
- approximate nearest neighbor search, algorithm configuration, high-dimensional data, auto-tuning, nearest neighbor matching, computer vision
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.