{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T16:28:09Z","timestamp":1787329689963,"version":"build-2736575974"},"reference-count":46,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"5","funder":[{"DOI":"10.13039\/100000181","name":"Air Force Office of Scientific Research","doi-asserted-by":"publisher","award":["FA9550-09-1-0679"],"award-info":[{"award-number":["FA9550-09-1-0679"]}],"id":[{"id":"10.13039\/100000181","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["CNS-0929947"],"award-info":[{"award-number":["CNS-0929947"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["OCI-0749285"],"award-info":[{"award-number":["OCI-0749285"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["OCI-0749334"],"award-info":[{"award-number":["OCI-0749334"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000015","name":"U.S. Department of Energy","doi-asserted-by":"publisher","award":["DE-FG02-08ER2585"],"award-info":[{"award-number":["DE-FG02-08ER2585"]}],"id":[{"id":"10.13039\/100000015","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Sci. Comput."],"published-print":{"date-parts":[[2016,1]]},"abstract":"<jats:p>The nearest neighbor search problem in general dimensions finds application in computational geometry, computational statistics, pattern recognition, and machine learning. Although there is a significant body of work on theory and algorithms, surprisingly little work has been done on algorithms for high-end computing platforms, and no open source library exists that can scale efficiently to thousands of cores. In this paper, we present algorithms and a library built on top of the message passing interface (MPI) and OpenMP that enable nearest neighbor searches to hundreds of thousands of cores for arbitrary-dimensional datasets. The library supports both exact and approximate nearest neighbor searches. The latter is based on iterative, randomized, and greedy KD-tree ($k$-dimensional tree) searches. We describe novel algorithms for the construction of the KD-tree, give complexity analysis, and provide experimental evidence for the scalability of the method. In our largest runs, we were able to perform an all-neighbors query search on a 13 TB synthetic dataset of 0.8 billion points in 2,048 dimensions on the 131K cores on Oak Ridge's XK6 \u201cJaguar\u201d system. These results represent several orders of magnitude improvement over current state-of-the-art methods. Also, we apply our method to nonsynthetic data from machine learning data repositories. For example, we perform an all-nearest-neighbors search on a variant of the \u201cMNIST\u201d handwritten digit dataset with 8 million points in 784 dimensions on 16,384 cores of the \u201cStampede\u201d system at the Texas Advanced Computing Center, achieving less than one second per \\tt RKDT iteration.<\/jats:p>","DOI":"10.1137\/15m1026377","type":"journal-article","created":{"date-parts":[[2016,10,27]],"date-time":"2016-10-27T12:06:54Z","timestamp":1477570014000},"page":"S667-S699","source":"Crossref","is-referenced-by-count":21,"title":["Parallel Algorithms for Nearest Neighbor Search Problems in High Dimensions"],"prefix":"10.1137","volume":"38","author":[{"given":"Bo","family":"Xiao","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"George","family":"Biros","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2016,10,27]]},"reference":[{"key":"atypb1","volume-title":"Technical report","author":"Kegelmeyer P.","year":"2008"},{"key":"atypb2","doi-asserted-by":"publisher","DOI":"10.1109\/ICCV.2013.431"},{"key":"atypb3","doi-asserted-by":"publisher","DOI":"10.1109\/71.841750"},{"key":"atypb4","volume-title":"E\\textup2LSH \\textup0.1 User Manual","author":"Andoni A.","year":"2005"},{"key":"atypb5","doi-asserted-by":"publisher","DOI":"10.1145\/1327452.1327494"},{"key":"atypb6","doi-asserted-by":"publisher","DOI":"10.1145\/1143844.1143857"},{"key":"atypb7","first-page":"426","volume-title":"Proceedings of the 23rd International Conference on Very Large Data Bases (VLDB'97)","author":"Ciaccia P.","year":"1997"},{"key":"atypb8","first-page":"801","volume":"14","author":"Curtin R. R.","year":"2013","journal-title":"J. Machine Learning Res."},{"key":"atypb9","doi-asserted-by":"publisher","DOI":"10.1145\/1374376.1374452"},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.1137\/1.9780898718133.ch6"},{"key":"atypb11","first-page":"802","volume-title":"Proceedings of the Workshop on Large-Scale Parallel KDD Systems (SIGKDD)","author":"Dhillon I.","year":"2000"},{"key":"atypb12","doi-asserted-by":"publisher","DOI":"10.1145\/355744.355745"},{"key":"atypb13","volume-title":"The Elements of Statistical Learning","author":"Friedman J.","year":"2001"},{"key":"atypb14","doi-asserted-by":"publisher","DOI":"10.1109\/T-C.1975.224297"},{"key":"atypb15","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcp.2008.03.023"},{"key":"atypb16","volume-title":"Fast k Nearest Neighbor Search Using GPU, preprint, arXiv:0804.1448","author":"Garcia V.","year":"2008"},{"key":"atypb17","first-page":"32","volume-title":"Proceedings of the 31st International Conference on Machine Learning (ICML), J. Mach. Learning Res.","author":"Gieseke F.","year":"2014"},{"key":"atypb18","first-page":"521","volume":"13","author":"Gray A. G.","year":"2001","journal-title":"Adv. Neural Inform. Process. Syst."},{"key":"atypb19","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.1107769108"},{"key":"atypb20","doi-asserted-by":"publisher","DOI":"10.1145\/509907.510013"},{"key":"atypb21","first-page":"791","volume-title":"Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), SIAM","author":"Krauthgamer R.","year":"2004"},{"key":"atypb22","doi-asserted-by":"publisher","DOI":"10.1145\/1654059.1654118"},{"key":"atypb23","unstructured":"M. Lichman,\n                      UCI Machine Learning Repository\n                      ,http:\/\/archive.ics.uci.edu\/ml\/, 2013."},{"key":"atypb24","doi-asserted-by":"publisher","DOI":"10.1137\/140989546"},{"key":"atypb25","doi-asserted-by":"publisher","DOI":"10.1109\/IPDPS.2015.86"},{"key":"atypb26","doi-asserted-by":"publisher","DOI":"10.1145\/256292.256294"},{"key":"atypb27","volume-title":"ANN: A library for approximate nearest neighbor searching, v. 1.1.2","author":"Mount D. M.","year":"2010"},{"key":"atypb28","first-page":"331","volume-title":"Proceedings of the International Conference on Computer Vision Theory and Application (VISSAPP'09)","author":"Muja M.","year":"2009"},{"key":"atypb29","first-page":"331","volume-title":"Proceedings of the International Conference on Computer Vision Theory and Applications (VISSAPP'09)","author":"Muja M.","year":"2009"},{"key":"atypb30","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2014.2321376"},{"key":"atypb31","first-page":"273","volume":"2","author":"Omohundro S. M.","year":"1987","journal-title":"J. Complex Systems"},{"key":"atypb32","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2006.75"},{"key":"atypb33","first-page":"2243","volume-title":"Proceedings of the 2010 IEEE\/RSJ International Conference on Intelligent Robots and Systems (IROS), IEEE Press","author":"Pan J.","year":"2010"},{"key":"atypb34","doi-asserted-by":"publisher","DOI":"10.1145\/2093973.2094002"},{"key":"atypb35","doi-asserted-by":"publisher","DOI":"10.1109\/SC.2010.42"},{"key":"atypb36","first-page":"1527","volume":"23","author":"Ram P.","year":"2009","journal-title":"Adv. Neural Inform. Process. Syst."},{"key":"atypb37","volume-title":"Gaussian Processes for Machine Learning","author":"Rasmussen C. E.","year":"2006"},{"key":"atypb38","doi-asserted-by":"publisher","DOI":"10.1126\/science.290.5500.2323"},{"key":"atypb39","volume-title":"Foundations of Multidimensional and Metric Data Structures","author":"Samet H.","year":"2006"},{"key":"atypb40","volume-title":"Regularization, Optimization, and Beyond","author":"Sch\u00f6lkopf B.","year":"2002"},{"key":"atypb41","doi-asserted-by":"publisher","DOI":"10.1109\/HPEC.2012.6408667"},{"key":"atypb42","doi-asserted-by":"publisher","DOI":"10.1145\/2464996.2465442"},{"key":"atypb43","doi-asserted-by":"publisher","DOI":"10.1126\/science.290.5500.2319"},{"key":"atypb44","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2008.128"},{"key":"atypb45","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(91)90074-R"},{"key":"atypb46","first-page":"194","volume-title":"Proceedings of the 24th International Conference on Very Large Data Bases (VLDB'98)","author":"Weber R.","year":"1998"}],"container-title":["SIAM Journal on Scientific Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/15M1026377","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T15:29:18Z","timestamp":1787326158000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/15M1026377"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,1]]},"references-count":46,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2016,1]]}},"alternative-id":["10.1137\/15M1026377"],"URL":"https:\/\/doi.org\/10.1137\/15m1026377","relation":{},"ISSN":["1064-8275","1095-7197"],"issn-type":[{"value":"1064-8275","type":"print"},{"value":"1095-7197","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,1]]}}}