Enhancing K-nearest neighbor algorithm: a comprehensive review and performance analysis of modifications
Open accessThe DOI matches its Crossref record; 86 of the 86 references it cites were found in a registry or an index.
Abstract
The k-Nearest Neighbors (kNN) method, established in 1951, has since evolved into a pivotal tool in data mining, recommendation systems, and Internet of Things (IoT), among other areas. This paper presents a comprehensive review and performance analysis of modifications made to enhance the exact kNN techniques, particularly focusing on kNN Search and kNN Join for high-dimensional data. We delve deep into 31 kNN search methods and 12 kNN join methods, providing a methodological overview and analytical insight into each, emphasizing their strengths, limitations, and applicability. An important feature of our study is the provision of the source code for each of the kNN methods discussed, fostering ease of experimentation and comparative analysis for readers. Motivated by the rising significance of kNN in high-dimensional spaces and a recognized gap in comprehensive surveys on exact kNN techniques, our work seeks to bridge this gap. Additionally, we outline existing challenges and present potential directions for future research in the domain of kNN techniques, offering a holistic guide that amalgamates, compares, and dissects existing methodologies in a coherent manner. Graphical Abstract
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.
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
MapReduce: simplified data processing on large clusters
Dean, J., & Ghemawat, S. (2008) · Communications of the ACM · doi:10.1145/1327452.1327492 · Cited by 18,476
Nearest neighbor pattern classification
Cover, T., & Hart, P. (1967) · IEEE Transactions on Information Theory · doi:10.1109/tit.1967.1053964 · Cited by 16,936
Wold, S., Esbensen, K., & Geladi, P. (1987) · Chemometrics and Intelligent Laboratory Systems · doi:10.1016/0169-7439(87)80084-9 · Cited by 11,606
Abdi, H., & Williams, L. J. (2010) · WIREs Computational Statistics · doi:10.1002/wics.101 · Cited by 11,104
An efficient k-means clustering algorithm: analysis and implementation
Kanungo, T., Mount, D. M., Netanyahu, N. S., Piatko, C. D., Silverman, R., & Wu, A. Y. (2002) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2002.1017616 · Cited by 5,660
LOF: identifying density-based local outliers
Breunig, M. M., Kriegel, H.-P., Ng, R. T., & Sander, J. (2000) · ACM SIGMOD Record · doi:10.1145/335191.335388 · Cited by 5,207
The R*-tree: an efficient and robust access method for points and rectangles
Beckmann, N., Kriegel, H.-P., Schneider, R., & Seeger, B. (1990) · Proceedings of the 1990 ACM SIGMOD international conference on Management of data · doi:10.1145/93597.98741 · Cited by 4,161
OpenMP: an industry standard API for shared-memory programming
Dagum, L., & Menon, R. (1998) · IEEE Computational Science and Engineering · doi:10.1109/99.660313 · Cited by 3,343
Product 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
Sorting networks and their applications
Batcher, K. E. (1968) · Proceedings of the April 30--May 2, 1968, spring joint computer conference on - AFIPS '68 (Spring) · doi:10.1145/1468075.1468121 · Cited by 2,417
When Is ''Nearest Neighbor'' Meaningful?
Beyer, K., Goldstein, J., Ramakrishnan, R., & Shaft, U. (1999) · Lecture Notes in Computer Science · doi:10.1007/3-540-49257-7_15 · Cited by 2,403
KNN Model-Based Approach in Classification
Guo, G., Wang, H., Bell, D., Bi, Y., & Greer, K. (2003) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-39964-3_62 · Cited by 2,099
Efficient algorithms for mining outliers from large data sets
Ramaswamy, S., Rastogi, R., & Shim, K. (2000) · ACM SIGMOD Record · doi:10.1145/335191.335437 · Cited by 1,860
Consistent Nonparametric Regression
Stone, C. J. (1977) · The Annals of Statistics · doi:10.1214/aos/1176343886 · Cited by 1,792
R-trees: a dynamic index structure for spatial searching
Guttman, A. (1984) · ACM SIGMOD Record · doi:10.1145/971697.602266 · Cited by 1,612
Efficient kNN classification with different numbers of nearest neighbors
Zhang, S., Li, X., Zong, M., Zhu, X., & Wang, R. (2018) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2017.2673241 · Cited by 1,378
The MPI Message Passing Interface Standard
Clarke, L., Glendinning, I., & Hempel, R. (1994) · Programming Environments for Massively Parallel Distributed Systems · doi:10.1007/978-3-0348-8534-8_21 · Cited by 1,295
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
Emotion recognition using multi-modal data and machine learning techniques: A tutorial and review
Zhang, J., Yin, Z., Chen, P., & Nichele, S. (2020) · Information Fusion · doi:10.1016/j.inffus.2020.01.011 · Cited by 806
A 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
Database-friendly random projections
Achlioptas, D. (2001) · Proceedings of the twentieth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems · doi:10.1145/375551.375608 · Cited by 699
iDistance: An adaptive B + -tree based indexing method for nearest neighbor search
Jagadish, H. V., Ooi, B. C., Tan, K.-L., Yu, C., & Zhang, R. (2005) · ACM Transactions on Database Systems · doi:10.1145/1071610.1071612 · Cited by 595
The reduced nearest neighbor rule (Corresp.)
Gates, G. (1972) · IEEE Transactions on Information Theory · doi:10.1109/tit.1972.1054809 · Cited by 566
Proceedings of the 33rd international conference on Very large data bases
Klas, W., & Neuhold, E. J. (2007) · Very Large Data Bases · Cited by 509
An efficient instance selection algorithm for k nearest neighbor regression
Song, Y., Liang, J., Lu, J., & Zhao, X. (2017) · Neurocomputing · doi:10.1016/j.neucom.2017.04.018 · Cited by 492
Li, W., Zhang, Y., Sun, Y., Wang, W., Li, M., Zhang, W., & Lin, X. (2020) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2019.2909204 · Cited by 454
Fast k nearest neighbor search using GPU
Garcia, V., Debreuve, E., & Barlaud, M. (2008) · 2008 IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops · doi:10.1109/cvprw.2008.4563100 · Cited by 447
Refinements to nearest-neighbor searching ink-dimensional trees
Sproull, R. F. (1991) · Algorithmica · doi:10.1007/bf01759061 · Cited by 440
An Investigation of Practical Approximate Nearest Neighbor Algorithms
Liu, T., Moore, A., Yang, K., & Gray, A. (2004) · Cited by 375
LSH forest: self-tuning indexes for similarity search
Bawa, M., Condie, T., & Ganesan, P. (2005) · Proceedings of the 14th international conference on World Wide Web - WWW '05 · doi:10.1145/1060745.1060840 · Cited by 353
Vidal, R., Ma, Y., & Sastry, S. S. (2016) · Interdisciplinary Applied Mathematics · doi:10.1007/978-0-387-87811-9_2 · Cited by 324
An algorithm for a selective nearest neighbor decision rule (Corresp.)
Ritter, G., Woodruff, H., Lowry, S., & Isenhour, T. (1975) · IEEE Transactions on Information Theory · doi:10.1109/tit.1975.1055464 · Cited by 323
An improved K-nearest-neighbor algorithm for text categorization
Jiang, S., Pang, G., Wu, M., & Kuang, L. (2012) · Expert Systems with Applications · doi:10.1016/j.eswa.2011.08.040 · Cited by 322
Indexing the Distance: An Efficient Method to KNN Processing
Cui, Y. J., Ooi, B. C., Tan, K., & Jagadish, H. V. (2001) · Very Large Data Bases · Cited by 321
A New Intrusion Detection System Based on KNN Classification Algorithm in Wireless Sensor Network
Li, W., Yi, P., Wu, Y., Pan, L., & Li, J. (2014) · Journal of Electrical and Computer Engineering · doi:10.1155/2014/240217 · Cited by 295
Distance-based detection and prediction of outliers
Angiulli, F., Basta, S., & Pizzuti, C. (2006) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2006.29 · Cited by 291
Efficient processing of k nearest neighbor joins using MapReduce
Lu, W., Shen, Y., Chen, S., & Ooi, B. C. (2012) · Proceedings of the VLDB Endowment · doi:10.14778/2336664.2336674 · Cited by 250
Efficient parallel kNN joins for large data in MapReduce
Zhang, C., Li, F., & Jestes, J. (2012) · Proceedings of the 15th International Conference on Extending Database Technology · doi:10.1145/2247596.2247602 · Cited by 250
PRINCIPAL COMPONENT ANALYSIS: A BEGINNER'S GUIDE — I. Introduction and application
Jolliffe, I. T. (1990) · Weather · doi:10.1002/j.1477-8696.1990.tb05558.x · Cited by 246
A Note on Distance-Weighted k-Nearest Neighbor Rules
(1978) · IEEE Transactions on Systems, Man, and Cybernetics · doi:10.1109/tsmc.1978.4309958 · Cited by 231
Fast mining of distance-based outliers in high-dimensional datasets
Ghoting, A., Parthasarathy, S., & Otey, M. E. (2008) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-008-0093-2 · Cited by 192
An Enhanced Intrusion Detection Model Based on Improved kNN in WSNs
Liu, G., Zhao, H., Fan, F., Liu, G., Xu, Q., & Nazir, S. (2022) · Sensors · doi:10.3390/s22041407 · Cited by 187
An Improved KNN Text Classification Algorithm Based on Clustering
Zhou, Y., Li, Y., & Xia, S. (2009) · Journal of Computers · doi:10.4304/jcp.4.3.230-237 · Cited by 182
Garcia, V., Debreuve, E., Nielsen, F., & Barlaud, M. (2010) · 2010 IEEE International Conference on Image Processing · doi:10.1109/icip.2010.5654017 · Cited by 164
S07---GPGPU: general-purpose computation on graphics hardware
Luebke, D. P., Harris, M., Govindaraju, N. K., Lefohn, A. E., Houston, M., Owens, J. D., Segal, M., Papakipos, M., & Buck, I. (2006) · ACM/IEEE Conference on Supercomputing (SC) · doi:10.1145/1188455.1188672 · Cited by 153
The condensed nearest neighbor rule using the concept of mutual nearest neighborhood (Corresp.)
Gowda, K., & Krishna, G. (1979) · IEEE Transactions on Information Theory · doi:10.1109/tit.1979.1056066 · Cited by 150
The k-Nearest Neighbour Join: Turbo Charging the KDD Process
B�hm, C., & Krebs, F. (2004) · Knowledge and Information Systems · doi:10.1007/s10115-003-0122-9 · Cited by 149
A Survey on Nearest Neighbor Search Methods
RezaAbbasifard, M., Ghahremani, B., & Naderi, H. (2014) · International Journal of Computer Applications · doi:10.5120/16754-7073 · Cited by 144
Fast nearest neighbor retrieval for bregman divergences
Cayton, L. (2008) · International Conference on Machine Learning · doi:10.1145/1390156.1390171 · Cited by 133
The Effects of Dimensionality Curse in High Dimensional kNN Search
Kouiroukidis, N., & Evangelidis, G. (2011) · Panhellenic Conference on Informatics · doi:10.1109/pci.2011.45 · Cited by 124
Locally nearest neighbor classifiers for pattern classification
Zheng, W., Zhao, L., & Zou, C. (2004) · Pattern Recognition · doi:10.1016/j.patcog.2003.11.004 · Cited by 119
Performance evaluation of the nearest feature line method in image classification and retrieval
Wang, C., Chan, K. L., & Li, S. Z. (2000) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/34.888719 · Cited by 112
Jian, L., Wang, C., Liu, Y., Liang, S., Yi, W., & Shi, Y. (2011) · The Journal of Supercomputing · doi:10.1007/s11227-011-0672-7 · Cited by 104
Human emotion classification using wavelet transform and KNN
Murugappan, M. (2011) · International Conference on Pattern Analysis and Intelligence Robotics (ICPAIR) · doi:10.1109/icpair.2011.5976886 · Cited by 102
Human Activity Recognition Using K-Nearest Neighbor Machine Learning Algorithm
Mohsen, S., Elkaseer, A., & Scholz, S. G. (2021) · Smart innovation, systems and technologies · doi:10.1007/978-981-16-6128-0_29 · Cited by 99
An Empirical Comparison of Exact Nearest Neighbour Algorithms
Kibriya, A. M., & Frank, E. (2007) · Lecture notes in computer science · doi:10.1007/978-3-540-74976-9_16 · Cited by 91
Fiorini, L., Mancioppi, G., Semeraro, F., Fujita, H., & Cavallo, F. (2019) · Knowledge-Based Systems · doi:10.1016/j.knosys.2019.105217 · Cited by 84
Keyword-aware continuous kNN query on road networks
Zheng, B., Zheng, K., Xiao, X., Su, H., Yin, H., Zhou, X., & Li, G. (2016) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2016.7498297 · Cited by 83
Location-dependent queries in mobile contexts: distributed processing using mobile agents
Ilarri, S., Mena, E., & Illarramendi, A. (2006) · IEEE Transactions on Mobile Computing · doi:10.1109/tmc.2006.118 · Cited by 79
High-dimensional kNN joins with incremental updates
Cui, Y. J., Zhang, R., Huang, Y., & Xiong, H. (2009) · GeoInformatica · doi:10.1007/s10707-009-0076-5 · Cited by 72
Large-scale distance metric learning for k-nearest neighbors regression
Nguyen, B., Morell, C., & Baets, B. D. (2016) · Neurocomputing · doi:10.1016/j.neucom.2016.07.005 · Cited by 72
Cost-sensitive Risk Induced Bayesian Inference Bagging (RIBIB) for credit card fraud detection
Akila, S., & Reddy, U. S. (2018) · Journal of Computational Science · doi:10.1016/j.jocs.2018.06.009 · Cited by 72
Parallel search of k-nearest neighbors with synchronous operations
Sismanis, N., Pitsianis, N. P., & Sun, X. (2012) · IEEE High Performance Extreme Computing Conference · doi:10.1109/hpec.2012.6408667 · Cited by 64
A new general nearest neighbor classification based on the mutual neighborhood information
Pan, Z., Wang, Y., & Ku, W. (2017) · Knowledge-Based Systems · doi:10.1016/j.knosys.2017.01.021 · Cited by 63
A KNN-SVM hybrid model for cursive handwriting recognition
Zanchettin, C., Bezerra, B. L. D., & da Silva, W. W. A. (2012) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn.2012.6252719 · Cited by 59
Fault Detection Using the Clustering-kNN Rule for Gas Sensor Arrays
Yang, J., Sun, Z., & Chen, Y. (2016) · Sensors · doi:10.3390/s16122069 · Cited by 55
Automatic Fruit Image Recognition System Based on Shape and Color Features
Zawbaa, H. M., Abbass, M., Hazman, M., et al. (2014) · Communications in computer and information science · doi:10.1007/978-3-319-13461-1_27 · Cited by 54
Object recognition using laser range finder and machine learning techniques
Pinto, A. M., Rocha, L. F., & Moreira, A. P. (2012) · Robotics and Computer-Integrated Manufacturing · doi:10.1016/j.rcim.2012.06.002 · Cited by 53
Similarity search on Bregman divergence: towards non-metric indexing
Zhang, Z., Ooi, B. C., Parthasarathy, S., & Tung, A. K. H. (2009) · Proceedings of the VLDB Endowment · doi:10.14778/1687627.1687630 · Cited by 52
$k$ NNVWC: An Efficient $k$ -Nearest Neighbors Approach Based on Various-Widths Clustering
Almalawi, A., Fahad, A., Tari, Z., Cheema, M. A., & Khalil, I. (2015) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2015.2460735 · Cited by 51
Pan, Y., Pan, Z., Wang, Y., & Wang, W. (2019) · Knowledge-Based Systems · doi:10.1016/j.knosys.2019.105088 · Cited by 50
Unconstrained Face Recognition Using a Set-to-Set Distance Measure on Deep Learned Features
Zhao, J., Han, J., & Shao, L. (2017) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2017.2710120 · Cited by 48
K Nearest Neighbour Joins for Big Data on MapReduce: A Theoretical and Experimental Analysis
Song, G., Rochas, J., Beze, L. E., et al. (2016) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2016.2562627 · Cited by 46
A k-Nearest Neighbor Based Algorithm for Human Arm Movements Recognition Using EMG Signals
Al-Faiz, M. Z., Ali, A. A., & Miry, A. H. (2010) · Iraqi Journal for Electrical And Electronic Engineering · doi:10.33762/eeej.2010.54888 · Cited by 45
Feature Selection and Predictors of Falls with Foot Force Sensors Using KNN-Based Algorithms
Liang, S., Ning, Y., Li, H., Wang, L., Mei, Z., Ma, Y., & Zhao, G. (2015) · Sensors · doi:10.3390/s151129393 · Cited by 41
Parameter k search strategy in outlier detection
Ning, J., Chen, L., Zhou, C., & Wen, Y. (2018) · Pattern Recognition Letters · doi:10.1016/j.patrec.2018.06.007 · Cited by 39
Continuous KNN Join Processing for Real-Time Recommendation
Yang, C., Yu, X., & Liu, Y. (2014) · Proceedings · doi:10.1109/icdm.2014.20 · Cited by 38
Supporting KDD Applications by the k-Nearest Neighbor Join
Böhm, C., & Krebs, F. (2003) · Lecture notes in computer science · doi:10.1007/978-3-540-45227-0_50 · Cited by 34
High dimensional nearest neighbor searching
Ferhatosmanoğlu, H., Tuncel, E., Agrawal, D., & Abbadi, A. E. (2005) · Information Systems · doi:10.1016/j.is.2005.01.001 · Cited by 30
Tripathy, D. P., Parida, S., & Khandu, L. (2021) · Journal of The Institution of Engineers (India) Series D · doi:10.1007/s40033-021-00290-1 · Cited by 26
Zhou, C., & Tham, C. (2018) · IEEE International Conference on Parallel and Distributed Systems (ICPADS) · doi:10.1109/padsw.2018.8644943 · Cited by 22
Learning to Prune in Metric and Non-Metric Spaces
Boytsov, L., & Naidan, B. (2013) · neural information processing systems · Cited by 20
Dziubany, M., Machhamer, R., Laux, H., Schmeink, A., Gollmer, K.-U., Burger, G., & Dartmann, G. (2018) · European Signal Processing Conference (EUSIPCO) · doi:10.23919/eusipco.2018.8553155 · Cited by 17
Schuh, M. A., Wylie, T., Banda, J. M., & Angryk, R. A. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-39467-6_22 · Cited by 12
Wang, Y., Pan, Z., & Li, R. (2019) · IEEE Access · doi:10.1109/access.2019.2900730 · Cited by 11
An Improved KNN Algorithm Based on Adaptive Cluster Distance Bounding for High Dimensional Indexing
Hong, H., Guo, J., & Wang, B. (2012) · Global Congress on Intelligent Systems · doi:10.1109/gcis.2012.86 · Cited by 10
Cited by
Darvishvand, L., Kamkari, B., Huang, M. J., & Hewitt, N. J. (2025) · Sustainable Cities and Society · doi:10.1016/j.scs.2025.106492 · Cited by 42
A Hybrid Artificial Intelligence Framework for Melanoma Diagnosis Using Histopathological Images
Nogales, A., Garrido, M. C., Guitian, A., Rodriguez-Peralto, J.-L., Villanueva, C. P., Díaz-Prieto, D., & García-Tejedor, Á. J. (2025) · Technologies · doi:10.3390/technologies13080330 · Cited by 7
A Deep Model Framework for Morphological Trait Imputation Across Taxonomic Groups
Wang, Y., Shi, X., Bai, Y., Zhu, H., Yin, X., Song, P., Ergu, D., Zhang, T., Pan, S., Gu, Z., et al. (2026) · Integrative Zoology · doi:10.1111/1749-4877.70178
Metadata
- Authors
- Halder, R. K., Uddin, M. N., Uddin, M. A., Aryal, S., & Khraisat, A.
- Venue
- Journal of Big Data
- Published
- 2024-08-11
- Volume
- 11
- Issue
- 1
- ISSN
- 2196-1115 (ISSN-L)
- OpenAlex
- W4401495975
- Cited by
- 520
- References
- 86
- FWCI
- 96.17
- Type
- journal article
- Language
- en
- Open access
- gold
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.