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
Items 201–300 of 1,001
In Defence of Negative Mining for Annotating Weakly Labelled Data
Siva, P., Russell, C., & Xiang, T. (2012) · Lecture notes in computer science · doi:10.1007/978-3-642-33712-3_43 · Cited by 120
“As such, the key to an efficient algorithm is fast nearest neighbour look-up, and to handle the large volume of data efficiently we make use of a KD-tree based approximate nearest neighbour algorithm [19], with 16 trees.”
MethodUnsupervised Video Object Segmentation Using Motion Saliency-Guided Spatio-Temporal Propagation
Hu, Y.-T., Huang, J., & Schwing, A. G. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-01246-5_48 · Cited by 120
Shu, F., Wang, J., Pagani, A., & Stricker, D. (2023) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra48891.2023.10160452 · Cited by 119
Synthetic 2D LIDAR for precise vehicle localization in 3D urban environment
Chong, Z. J., Qin, B., Bandyopadhyay, T., Ang, M. H., Frazzoli, E., & Rus, D. (2013) · 2013 IEEE International Conference on Robotics and Automation · doi:10.1109/icra.2013.6630777 · Cited by 106
Spherical Hashing: Binary Code Embedding with Hyperspheres
Heo, J., Lee, Y., He, J., Chang, S., & Yoon, S. (2015) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2015.2408363 · Cited by 120
“Muja and Lowe [5] have proposed an automatic parameter selection algorithm of some of techniques mentioned in above.”
Solovey, K., Salzman, O., & Halperin, D. (2015) · Springer tracts in advanced robotics · doi:10.1007/978-3-319-16595-0_34 · Cited by 117
Multi-scale, multi-sensor data integration for automated 3-D geological mapping
Thiele, S. T., Lorenz, S., Kirsch, M., Acosta, I. C. C., Tuşa, L., Herrmann, E., Möckel, R., & Gloaguen, R. (2021) · Ore Geology Reviews · doi:10.1016/j.oregeorev.2021.104252 · Cited by 117
Hu, H., Ding, Y., Zhu, Q., Wu, B., Lin, H., Du, Z., Zhang, Y., & Zhang, Y. (2014) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2014.02.014 · Cited by 119
“The radius search can be efficiently implemented based on a k-d tree (Muja and Lowe, 2009) with an algorithm complexity of O(logn).”
MethodThe Visual Turing Test for Scene Reconstruction
Shan, Q., Adams, R., Curless, B., Furukawa, Y., & Seitz, S. M. (2013) · International Conference on 3D Vision (3DV) · doi:10.1109/3dv.2013.12 · Cited by 116
“To accelerate the process, we find nearest PMVS neighbors using FLANN [11] (set for exact neighbor-finding), and we use pre-computed z-buffers instead of ray casting for occlusion testing.”
MethodSampling Strategies for Real-Time Action Recognition
Shi, F., Petriu, E. M., & Laganière, R. (2013) · 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.2013.335 · Cited by 116
“We also tested single core speed with the same parameters as the experiments in Table 4, but using FLANN [20] for bag of word matching instead of brute-force.”
InfluentialLearning a Confidence Measure for Optical Flow
Aodha, O. M., Humayun, A., Pollefeys, M., & Brostow, G. (2012) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2012.171 · Cited by 115
A pipeline and comparative study of 12 machine learning models for text classification
Occhipinti, A., Rogers, L., & Angione, C. (2022) · Expert Systems with Applications · doi:10.1016/j.eswa.2022.117193 · Cited by 115
“Even if this might not be always a correct assumption, KD-tree has been widely used to reduce the computational cost of kNN (Muja, 2009).”
MethodIntrinsically motivated goal exploration for active motor learning in robots: A case study
Baranès, A., & Oudeyer, P. (2010) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2010.5651385 · Cited by 121
Fast neighbor search by using revised k-d tree
Chen, Y., Zhou, L., Tang, Y., Singh, J. P., Bouguila, N., Wang, C., Wang, H., & Du, J. (2018) · Information Sciences · doi:10.1016/j.ins.2018.09.012 · Cited by 114
“Muja et al. Muja and Lowe (2009) proposed an automatic nearest neighbor algorithm configuration method by combining grid search with85 a finer grained NelderMead downhill simplex optimization process.”
MethodLearning Binary Hash Codes for Large-Scale Image Search
Grauman, K. L., & Fergus, R. (2012) · Studies in computational intelligence · doi:10.1007/978-3-642-28661-2_3 · Cited by 112
“Efficient algorithms to address the basic similarity search task have received much attention over the years, yielding a variety of tree-based and hashing-based algorithms [22, 9, 66, 44, 47].”
BackgroundMethodFrom Google Street View to 3D city models
Torii, A., Havlena, M., & Pajdla, T. (2009) · IEEE International Conference on Computer Vision Workshops · doi:10.1109/iccvw.2009.5457551 · Cited by 118
“We use Fast Library for Ap-proximate Nearest Neighbors (FLANN) [29] which delivers approximate nearest neighbours significantly faster than exact matching thanks to using several random kd-trees.”
MethodObject detection and classification from large‐scale cluttered indoor scans
Mattausch, O., Panozzo, D., Mura, C., Sorkine‐Hornung, O., & Pajarola, R. (2014) · Computer Graphics Forum · doi:10.1111/cgf.12286 · Cited by 110
Image Matting with Local and Nonlocal Smooth Priors
Chen, X., Zou, D., Zhou, S. Z., Zhao, Q., & Tan, P. (2013) · 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.2013.248 · Cited by 110
“We find the K nearest samples for each unknown pixel by using FLANN [13].”
MethodInfluentialZhang, T., Qi, G.-J., Tang, J., & Wang, J. (2015) · 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.2015.7299085 · Cited by 110
“The approximate nearest neighbor search algorithms are in general developed from two main aspects: (1) comparing the query with only a small subset of database vectors through special data structures, such as k-d trees [4, 31], FLANN [19], and neighborhood graph [26, 30], and (2) accelerating the distance computation…”
MethodConcrete Column Recognition in Images and Videos
Zhu, Z., & Brilakis, I. K. (2010) · Journal of Computing in Civil Engineering · doi:10.1061/(asce)cp.1943-5487.0000053 · Cited by 110
Identifying rice grains using image analysis and sparse-representation-based classification
Kuo, T.-Y., Chung, C., Chen, S., Lin, H., & Kuo, Y. (2016) · Computers and Electronics in Agriculture · doi:10.1016/j.compag.2016.07.020 · Cited by 109
Graph-Cut RANSAC: Local Optimization on Spatially Coherent Structures
Baráth, D., & Matas, J. (2021) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2021.3071812 · Cited by 108
“To provide a neighborhood graph, we used FLANN [46] in the 4D correspondence space using a hypersphere with radius 20 to assign neighbors to points.”
MethodInfluentialBOLD Features to Detect Texture-less Objects
Tombari, F., Franchi, A., & Di, L. (2013) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2013.160 · Cited by 108
“Successively, we rely on the Euclidean distance and the FLANN Randomized Kd-tree Forest [18] to match BOLD descriptors extracted from the input image to those gathered at training time from the objects belonging to the model library.”
BackgroundMethodHedman, P., & Kopf, J. (2018) · ACM Transactions on Graphics · doi:10.1145/3197517.3201384 · Cited by 99
“We use the IMU orientation estimate to choose overlapping image pairs, and then compute matches using the FLANN library [Muja and Lowe 2009], taking care to discard outliers with a ratio test (threshold = 0.85) and simple geometric filtering, which discards matches whose offset vector deviates too…”
MethodInfluentialBlind Recognition of Touched Keys on Mobile Devices
Yue, Q., Ling, Z., Fu, X., Liu, B., Ren, K., & Zhao, W. (2014) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/2660267.2660288 · Cited by 105
“Matching methods such as FLANN (Fast Library for Approximate Nearest Neighbors) [31] can be used to match feature points in the two images.”
MethodComparison of OpenCV's feature detectors and feature matchers
Noble, F. K. (2016) · International Conference on Mechatronics and Machine Vision in Practice (M2VIP) · doi:10.1109/m2vip.2016.7827292 · Cited by 105
“Brute Force (BF) and Fast Library for Approximate Nearest Neighbors (FLANN) [8]; many of which have been implemented in the Open Computer Vision (OpenCV) library [9].”
BackgroundInfluentialReturn of the Lernaean Hydra: experimental evaluation of data series approximate similarity search
Echihabi, K., Zoumpatianos, K., Palpanas, T., & Benbrahim, H. (2019) · Proceedings of the VLDB Endowment · doi:10.14778/3368289.3368303 · Cited by 108
“We use the most efficient C/C++ implementation available for each method: iSAX2+ [2], DSTree [2] and VA+file [2] representing exact data series methods with support for approximate queries; and HNSW [5], Faiss IMI [4], SRS [149], FLANN [111], and QALSH [71] representing strictly approximate methods for vectors.”
InfluentialStealing Neural Network Structure Through Remote FPGA Side-Channel Analysis
Zhang, Y., Yasaei, R., Chen, H., Li, Z., & Faruque, M. A. A. (2021) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2021.3106169 · Cited by 105
Parametrized shape models for clothing
Miller, S., Fritz, M., Darrell, T., & Abbeel, P. (2011) · 2011 IEEE International Conference on Robotics and Automation · doi:10.1109/icra.2011.5980453 · Cited by 93
MacInnes, J., Iqbal, S., Pearson, J., & Johnson, E. N. (2018) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/299925 · Cited by 104
“The FLANN algorithm can be tuned using a variety of parameters (in our pipeline, we specified 5 trees and 10 iterative searches through the trees; threshold for “match” was set using a Euclidean distance ratio of 0.5).”
MethodInfluentialLocality-Sensitive Hashing for Chi2 Distance
Gorisse, D., Cord, M., & Precioso, F. (2011) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2011.193 · Cited by 103
GPU accelerated t-distributed stochastic neighbor embedding
Chan, D. M., Rao, R., Huang, F., & Canny, J. (2019) · Journal of Parallel and Distributed Computing · doi:10.1016/j.jpdc.2019.04.008 · Cited by 106
“Their implementation is based on the FLANN [32] library.”
MethodMulti-modal authentication system for smartphones using face, iris and periocular
Raja, K. B., Ramachandra, R., Stokkenes, M., & Busch, C. (2015) · International Conference on Biometrics · doi:10.1109/icb.2015.7139044 · Cited by 103
“FLANN uses a priority-queue (Best-Bin-First) to approximate the Hierachical K-Means Tree [16].”
MethodSantra, B., & Mukherjee, D. P. (2019) · Image and Vision Computing · doi:10.1016/j.imavis.2019.03.005 · Cited by 103
Web scale photo hash clustering on a single machine
Gong, Y., Pawlowski, M., Yang, F., Brandy, L., Boundev, L., & Fergus, R. (2015) · 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.2015.7298596 · Cited by 101
“We can also use kd-tree [32, 28] to index the real valued centers and perform fast lookup to speedup the clustering process.”
MethodEfficient Boosted Exemplar-Based Face Detection
Li, H., Lin, Z., Brandt, J., Shen, X., & Hua, G. (2014) · 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.2014.238 · Cited by 101
“Fast approximate kmeans [14] is used for training the vocabulary of 100,000 visual words and FLANN [15] is used for quantizing the extracted feature descriptors.”
MethodMAV urban localization from Google street view data
Majdik, A. L., Albers-Schoenberg, Y., & Scaramuzza, D. (2013) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2013.6696925 · Cited by 101
“The search is performed by using the FLANN [23] library that implements multiple randomized KD-tree or K-means Algorithm 1: Vision based global localization of MAVs”
MethodInfluentialA Scalable Tree-Based Approach for Joint Object and Pose Recognition
Lai, K., Bo, L., Ren, X., & Fox, D. (2011) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v25i1.7986 · Cited by 102
“Methods for speeding up nearest neighbors include using a kd-tree and doing approximate nearest neighbors (FLANN) (Muja and Lowe 2009).”
MethodVisual memes in social media: tracking real-world news in YouTube videos
Xie, L., Natsev, A., Kender, J. R., Hill, M., & Smith, J. R. (2011) · ACM International Conference on Multimedia (ACM MM) · doi:10.1145/2072298.2072307 · Cited by 100
“We use the Fast Library for Approximate Nearest Neighbor (FLANN) [21] to implement the indexing structure and ANN lookup.”
MethodMemory management for real-time appearance-based loop closure detection
Labbé, M., & Michaud, F. (2011) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2011.6094602 · Cited by 100
“An image signature is represented by a set of visual words contained in a visual dictionary incrementally constructed online using a randomized forest of kd-trees [28].”
MethodPinkham, R., Zeng, S., & Zhang, Z. (2020) · IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca47549.2020.00024 · Cited by 99
“Currently, LiDAR data is typically processed on a large multi-core CPU, so we benchmarked the performance of both the linear and the k-d tree search on an Intel i7-7700k CPU using the popular FLANN library [32,33].”
Methodmaplab 2.0 – A Modular and Multi-Modal Mapping Framework
Cramariuc, A., Bernreiter, L., Tschopp, F., Fehr, M., Reijgwart, V., Nieto, J. I., Siegwart, R., & Cadena, C. (2022) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2022.3227865 · Cited by 100
“Binary descriptors are matched, as in maplab , using an inverted multi-index [27], while floating point descriptors are matched using a Fast Library for Approximate Nearest Neighbors (FLANN) [28].”
MethodPapazov, C., Marks, T. K., & Jones, M. (2015) · 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.2015.7299104 · Cited by 99
“Besides solving the problem illustrated in Figure 1(c), this also improves computational performance, since we use a fast radius search from the highly optimized FLANN library [18, 19] to retrieve the points inside the circumsphere of the base triangle.”
MethodFast-SeqSLAM: A fast appearance based place recognition algorithm
Siam, S. M., & Zhang, H. (2017) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2017.7989671 · Cited by 98
“Then we use an approximate nearest neighbor (ANN) algorithm [7] to search for N best nearest neighbor images for a current view where N is constant and much smaller than the number of images in the map, n.”
MethodInfluentialGeoGaussian: Geometry-Aware Gaussian Splatting for Scene Rendering
Li, Y., Lyu, C., Di, Y., Zhai, G., Lee, G. H., & Tombari, F. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-72761-0_25 · Cited by 98
Efficient Nearest Neighbor Language Models
He, J., Neubig, G., & Berg-Kirkpatrick, T. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.461 · Cited by 97
Cloud-Based Networked Visual Servo Control
Wu, H., Lou, L., Chen, C.-C., Hirche, S., & Kuhnlenz, K. (2013) · IEEE Transactions on Industrial Electronics · doi:10.1109/tie.2012.2186775 · Cited by 92
“After feature matching [68], RANSAC (RANdom Sample Consensus) [69] is selected for outliers rejection.”
MethodLarge scale place recognition in 2D LIDAR scans using Geometrical Landmark Relations
Himstedt, M., Frost, J., Hellbach, S., Böhme, H.-J., & Maehle, E. (2014) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2014.6943277 · Cited by 97
Localization in Urban Environments Using a Panoramic Gist Descriptor
Murillo, A. C., Singh, G., Košecká, J., & Guerrero, J. J. (2012) · IEEE Transactions on Robotics · doi:10.1109/tro.2012.2220211 · Cited by 96
“In previous works, such as [44], it has been shown that given a desired precision for an approximate nearest neighbor method, the efficiency decreases dramatically with the increased dimensionality , making them comparable with linear search methods.”
Chen, Q., Li, D., & Tang, C. (2012) · 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.2012.6247760 · Cited by 96
“Since kernel size is not an issue in this paper due to efficient KNN search, the running time for computing one row of A is O(Kq) where O(q) is the per-query time in FLANN.”
InfluentialIMGpedia: A Linked Dataset with Content-Based Analysis of Wikimedia Images
Ferrada, S., Bustos, B., & Hogan, A. (2017) · Lecture notes in computer science · doi:10.1007/978-3-319-68204-4_8 · Cited by 97
“To avoid ( n 2 ) brute-force comparisons, we use approximate search methods where we selected the Fast Library for Approximated Nearest Neighbors (FLANN) since it has been proven to scale for large datasets [7](5).”
MethodStacked Quantizers for Compositional Vector CompressionPreprint
Martínez, J., Hoos, H. H., & Little, J. J. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1411.2173 · Cited by 96
“Several algorithms, such as kd-trees and hierarchical k-means, alleviate the search and encoding problems by indexing the codebook with complex data structures [14], achieving sublinear search time as a trade-off for recall.”
MethodVisual localization by linear combination of image descriptors
Torii, A., Šivic, J., & Pajdla, T. (2011) · IEEE International Conference on Computer Vision Workshops · doi:10.1109/iccvw.2011.6130230 · Cited by 95
“The images are then described by the bag-of-features represen tation [31, 23]: I) SURF descriptors [2] are extracted, 2) vi sual vocabulary of 100,000 visual words from SURF's from every 20th image is built by approximate k-means cluster ing [20, 23], 3) tf-idf weighted vectors [27] are computed by quantizing the S…”
Large Language Models Enhanced Collaborative Filtering
Sun, Z., Si, Z., Zang, X., Zheng, K., Song, Y., Zhang, X., & Xu, J. (2024) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3627673.3679558 · Cited by 96
“To implement this process efficiently, the retrieval process is based on the Approximate Nearest Neighbor search [27].”
MethodInfluentialEfficient radius neighbor search in three-dimensional point clouds
Behley, J., Steinhage, V., & Cremers, A. B. (2015) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2015.7139702 · Cited by 96
“However, both implementations report for all k 1 We used libnabo 1.0.4, ANN 1.1.2, FLANN 1.8.4, and PCL 1.7.1.”
MethodInfluentialGraph-Based Consistent Matching for Structure-from-Motion
Shen, T., Zhu, S., Fang, T., Zhang, R., & Quan, L. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-46487-9_9 · Cited by 95
“Tremendous progress has been achieved either on reducing the cost of feature matching [19] or image indexing techniques [15,22] to pre-compute a subset of match candidates.”
BackgroundA computational study of mental health awareness campaigns on social media
Saha, K., Torous, J., Ernala, S. K., Rizuto, C., Stafford, A., & De Choudhury, M. (2019) · Translational Behavioral Medicine · doi:10.1093/tbm/ibz028 · Cited by 93
When Large Language Models Meet Vector Databases: A Survey
Jing, Z., Su, Y., & Han, Y. (2025) · 2025 Conference on Artificial Intelligence x Multimedia (AIxMM) · doi:10.1109/aixmm62960.2025.00008 · Cited by 93
“Vector indexing can solve both of these problems, which optimized for ANN search within VDBMS include tree-based [24], [25], hash-based [26], and graph-based methods [27].”
Uniform Manifold Approximation and Projection (UMAP) and its Variants: Tutorial and SurveyPreprint
Ghojogh, B., Ghodsi, A., Karray, F. O., & Crowley, M. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2109.02508 · Cited by 93
“PANENE uses randomized kd-trees (Muja & Lowe, 2009) for approximating and up-dating k NN graph.”
MethodNonparametric Scene Parsing with Adaptive Feature Relevance and Semantic Context
Singh, G., & Košecká, J. (2013) · 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.2013.405 · Cited by 92
“To help speed up the computation of the weights, we approximate the neighbourhood construction of [3] through k-d trees [19].”
MethodDong, J., Nelson, E., Indelman, V., Michael, N., & Dellaert, F. (2015) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2015.7140012 · Cited by 92
“The generated descriptors are inserted into randomized kd-trees provided by the FLANN library [20], granting the 0 20 40 60 80 0 5 10 Scans Indices Matched Feature Counts (a) Feature histogram 0 5 10 15 0 5 X(m) Y(m) (b ) RANSAC between matched features Fig.”
MethodApproximate Nearest Subspace Search
Basri, R., Hassner, T., & Zelnik‐Manor, L. (2010) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2010.110 · Cited by 91
“As was shown by Muja and Lowe [27], this higher dimensionality does not pose a problem when applying kd-tree-based approximate nearest neighbor search.”
BackgroundPose estimation using local structure-specific shape and appearance context
Buch, A. G., Kraft, D., Kamarainen, J.-K., Petersen, H. G., & Krüger, N. (2013) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2013.6630856 · Cited by 92
“For speeding up nearest neighbor searches, we use the Fast Library for Approximate Nearest Neighbors [26].”
MethodMotion capture from body-mounted cameras
Shiratori, T., Park, H. S., Sigal, L., Sheikh, Y. A., & Hodgins, J. K. (2011) · ACM Transactions on Graphics · doi:10.1145/2010324.1964926 · Cited by 92
Franceschini, M. H. D., Bartholomeus, H. M., van Apeldoorn, D. F., Suomalainen, J. M., & Kooistra, L. (2019) · Remote Sensing · doi:10.3390/rs11030224 · Cited by 91
“Evaluation of the final registration accuracy was performed using point based automatic feature extraction (SIFT; [55]) and matching (FLANN; [56]), due to unavailability of control points in the imaged areas that could be used for this purpose.”
MethodSLAM Overview: From Single Sensor to Heterogeneous Fusion
Chen, W., Zhou, C., Shang, G., Wang, X., Li, Z., Xu, C., & Hu, K. (2022) · Remote Sensing · doi:10.3390/rs14236033 · Cited by 91
Universal encoding of pan-cancer histology by deep texture representations
Komura, D., Kawabe, A., Fukuta, K., Sano, K., Umezaki, T., Koda, H., Suzuki, R., Tominaga, K., Ochi, M., Konishi, H., et al. (2022) · Cell Reports · doi:10.1016/j.celrep.2022.110424 · Cited by 60
Multilevel Weighted Support Vector Machine for Classification on Healthcare Data with Missing Values
Razzaghi, T., Roderick, O., Safro, I., & Marko, N. F. (2016) · PLoS ONE · doi:10.1371/journal.pone.0155119 · Cited by 90
“Several attempts have been made to propose an approximate search [41,42], in which not all the neighbors obtained are exact, but still generally close to the exact neighbors.”
BackgroundMethodInfluentialLong-term online multi-session graph-based SPLAM with memory management
Labbé, M., & Michaud, F. (2017) · Autonomous Robots · doi:10.1007/s10514-017-9682-5 · Cited by 91
StickyPillars: Robust and Efficient Feature Matching on Point Clouds using Graph Neural Networks
Fischer, K., Simón, M., Ölsner, F., Milz, S., Groß, H., & Mäder, P. (2021) · 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/cvpr46437.2021.00038 · Cited by 91
“First, we are using Nearest Neighbor search (NN) [26] for 3D coordinates of key-points based on a k-d tree [2] which is widely used as starting point for point cloud feature matching methods.”
MethodGraph-Based Vector Search: An Experimental Evaluation of the State-of-the-Art
Azizi, I., Echihabi, K., & Palpanas, T. (2025) · Proceedings of the ACM on Management of Data · doi:10.1145/3709693 · Cited by 94
“• We propose a new taxonomy that categorizes graph-based vector search methods according to”
Recent developments in large-scale tie-point matching
Hartmann, W., Havlena, M., & Schindler, K. (2015) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2015.09.005 · Cited by 89
Trinary-Projection Trees for Approximate Nearest Neighbor Search
Wang, J., Wang, N., Jia, Y., Li, J., Zeng, G., Zha, H., & Hua, X. (2013) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2013.125 · Cited by 91
OpenCorr: An open source library for research and development of digital image correlation
Jiang, Z. (2023) · Optics and Lasers in Engineering · doi:10.1016/j.optlaseng.2023.107566 · Cited by 88
Multimodal Single-Cell Analysis Reveals Physiological Maturation in the Developing Human Neocortex
Mayer, S., Chen, J., Velmeshev, D., Mayer, A., Eze, U. C., Bhaduri, A., Cunha, C. E., Jung, D., Arjun, A., Li, E., et al. (2019) · Neuron · doi:10.1016/j.neuron.2019.01.027 · Cited by 81
“Specifically, features were detected with the scale invariant feature transform (SIFT) package (Lowe, 2004) and subsequently matched with The Fast Library for Approximate Nearest Neighbors (FLANN) (Muja and Lowe, 2009).”
MethodQuery-driven iterated neighborhood graph search for large scale indexing
Wang, J., & Li, S. (2012) · Proceedings of the 20th ACM international conference on Multimedia · doi:10.1145/2393347.2393378 · Cited by 51
“The paper [8] suggests a sub-optimal search order, increasing gradually the radius R in R -NN search, to access NN candidates, which is shown to be much slower than partitioning trees [27].”
BackgroundMethodResultInfluentialToward real-time grocery detection for the visually impaired
Winlock, T., Christiansen, E., & Belongie, S. (2010) · 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition - Workshops · doi:10.1109/cvprw.2010.5543576 · Cited by 77
“Finally, we overwrite the mosaic in these coordinates with the pixel values from the current FOV.”
MethodFinding Moments in Video Collections Using Natural LanguagePreprint
Escorcia, V. A., Soldan, M., Šivic, J., Ghanem, B., & Russell, B. C. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1907.12763 · Cited by 153
“Similarly, Shao et al. (2018) adopts a two-stage approach for the text-to-video retrieval task where the goal is to retrieve entire videos given a natural language query.”
BackgroundMethodELPIS: Graph-Based Similarity Search for Scalable Data Science
Azizi, I., Echihabi, K., & Palpanas, T. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3583140.3583166 · Cited by 64
“Flann [82] is an in-memory ensemble technique for ng-approximate search including both randomized kd-trees [107] and hierarchical k-means trees [82].”
MethodTowards Optimal Naive Bayes Nearest Neighbor
Behmo, R., Marcombes, P., Dalalyan, A. S., & Prinet, V. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-15561-1_13 · Cited by 86
“Further improvement in the execution times can be achieved using recent approximate NNsearch methods [19,20].”
MethodIn-Hand Object Pose Estimation Using Covariance-Based Tactile To Geometry Matching
Bimbo, J., Luo, S., Althoefer, K. A., & Liu, H. (2016) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2016.2517244 · Cited by 86
Camposeco, F., Cohen, A., Pollefeys, M., & Sattler, T. (2018) · 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.2018.00022 · Cited by 86
“For each query image, we match all detected SIFT features against the SfM’s 3D features using an approximate nearest neighbor search [20].”
MethodVehicle localization using mono-camera and geo-referenced traffic signs
Qu, X., Soheilian, B., & Paparoditis, N. (2015) · 2015 IEEE Intelligent Vehicles Symposium (IV) · doi:10.1109/ivs.2015.7225751 · Cited by 85
“In this paper, SIFT(Scale Invariant Feature Transform) algorithm is chosen to detect and describe the key points [28] and FLANN (Fast Library for Approximate Nearest Neighbors) [29] is used to speed up corresponding point searching.”
MethodMobile Augmented Reality in Museums : Towards Enhancing Visitor's Learning Experience
Ghouaiel, N., Garbaya, S., Cieutat, J.-M., & Jessel, J. (2017) · International Journal of Virtual Reality · doi:10.20870/ijvr.2017.17.1.2885 · Cited by 85
Information-theoretic measures of influence based on content dynamics
Steeg, G. V., & Galstyan, A. (2013) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/2433396.2433400 · Cited by 86
“This could be sped up if we only look for approximate nearest neighbors [24].”
BackgroundOptimal Parameters for Locality-Sensitive Hashing
Slaney, M., Lifshits, Y., & He, J. (2012) · Proceedings of the IEEE · doi:10.1109/jproc.2012.2193849 · Cited by 84
Multi-Camera Imaging System for UAV Photogrammetry
Wierzbicki, D. (2018) · Sensors · doi:10.3390/s18082433 · Cited by 84
“In the first stage of relative orientation, the search for homological points takes place using the SIFT descriptor [55] and FLANN based matcher [52].”
MethodLarge Scale Graph Learning from Smooth SignalsPreprint
Kalofolias, V., & Perraudin, N. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1710.05654 · Cited by 84
“computations, approximate nearest neighbors (A-NN) algorithms [23, 24, 25, 21] offer a good compromise between accuracy and speed.”
BackgroundIntrinsically Motivated Learning of Real-World Sensorimotor Skills with Developmental Constraints
Oudeyer, P., Baranès, A., & Kaplan, F. (2012) · Springer eBooks · doi:10.1007/978-3-642-32375-1_13 · Cited by 86
“…method: we first compute the set L of the l nearest neighbors of (u g , v g , θ g ) and their corresponding motor synergies using an ANN method (Muja and Lowe, 2009): L = {{u, v, θ, Υ } 1 , {u, v, θ, Υ } 2 , ..., {u, v, θ, Υ } l } (11) Then, we consider the set M which contains l sets of m…”
MethodScene Reconstruction and Visualization from Internet Photo Collections: A Survey
Snavely, N. (2011) · IPSJ Transactions on Computer Vision and Applications · doi:10.2197/ipsjtcva.3.44 · Cited by 85
POP: Privacy-Preserving Outsourced Photo Sharing and Searching for Mobile Devices
Zhang, L., Jung, T., Liu, C., Ding, X. X., Li, X., & Liu, Y. (2015) · IEEE International Conference on Distributed Computing Systems (ICDCS) · doi:10.1109/icdcs.2015.39 · Cited by 82
“However, this non-negligible extra overhead comes from the linear search in all photos of an owner with a linear complexity, and it is promising and not trivial to reduce the complexity with existing optimized search mechanisms such as k-d tree [22].”
BackgroundOzog, P., Carlevaris‐Bianco, N., Kim, A., & Eustice, R. M. (2015) · Journal of Field Robotics · doi:10.1002/rob.21582 · Cited by 82
“Finding the minimum over all I is quite slow for large graphs, so this operation is approximated using a k-dimensional (KD) tree from the FLANN library (Muja & Lowe, 2009).”
MethodBundle min-hashing for logo recognition
Romberg, S., & Lienhart, R. W. (2013) · International Conference on Multimedia Retrieval · doi:10.1145/2461466.2461486 · Cited by 82
“We use a forest of 8 randomized kd-trees to index the visual word centers [12].”
MethodLazyLSH: Approximate Nearest Neighbor Search for Multiple Distance Functions with a Single Index
Zheng, Y., Guo, Q., Tung, A. K. H., & Wu, S. (2016) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2882903.2882930 · Cited by 82
“To process approximate kNN queries, several methods have been proposed [5, 26, 2, 33], among which, localitysensitive hashing (LSH) [26] is widely used for its theoretical guarantees and empirical performance.”
MethodFast approximate k-means via cluster closures
Wang, J., Wang, J., Ke, Q., Zeng, G., & Li, S. (2012) · 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.2012.6248034 · Cited by 84
Query-Adaptive Image Search With Hash Codes
Jiang, Y., Wang, J., Xue, X., & Chang, S. (2012) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2012.2231061 · Cited by 80
“Finally, Section VIII concludes this paper.”
Learning Vocabularies over a Fine Quantization
Mikulík, A., Perďoch, M., Chum, O., & Matas, J. (2012) · International Journal of Computer Vision · doi:10.1007/s11263-012-0600-1 · Cited by 82
“In the assignment stage of k-means, an approximate nearest neighbour algorithm, FLANN (Muja and Lowe 2009), is used for efficiency reasons.”
MethodDynamic terrain traversal skills using reinforcement learning
Peng, X. B., Berseth, G., & van de Panne, M. (2015) · ACM Transactions on Graphics · doi:10.1145/2766910 · Cited by 63
MEVBench: A mobile computer vision benchmarking suite
Clemons, J., Zhu, H., Savarese, S., & Austin, T. (2011) · 2011 IEEE International Symposium on Workload Characterization (IISWC) · doi:10.1109/iiswc.2011.6114206 · Cited by 74
“for allowing the use of their FLANN library [24].”
MethodInfluentialAUTOMATIC ARCHITECTURAL STYLE RECOGNITION
Mathias, M., Martinović, A., Weissenberg, J., Haegler, S., & Gool, L. V. (2012) · The international archives of the photogrammetry, remote sensing and spatial information sciences/International archives of the photogrammetry, remote sensing and spatial information sciences · doi:10.5194/isprsarchives-xxxviii-5-w16-171-2011 · Cited by 80
“Then, for every descriptor di of the query image the nearest neighbor distances to each class is approximated using the FlANN library(Muja and Lowe, 2009).”
Method
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
- Semantic Scholar
- 35d81066cb1369acf4b6c5117fcbb862be2af350
- 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.