{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:44:13Z","timestamp":1787341453925,"version":"build-2736575974"},"reference-count":38,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2014,1]]},"abstract":"<jats:p>We consider the following problem, which arises in many database and web-based applications: Given a set $P$ of $n$ points in a high-dimensional space $\\mathbb{R}^d$ and a distance $r$, we want to report all pairs of points of $P$ at Euclidean distance at most $r$. We present two randomized algorithms, one based on randomly shifted grids, and the other on randomly shifted and rotated grids. The running time of both algorithms is of the form $C(d)(n+k)\\log n$, where $k$ is the output size and $C(d)$ is a constant that depends on the dimension $d$. The $\\log n$ factor is needed to guarantee, with high probability, that all neighbor pairs are reported and can be dropped if it suffices to report, in expectation, an arbitrarily large fraction of the pairs. When only translations are used, $C(d)$ is of the form $(a\\sqrt{d})^d$ for some (small) absolute constant $a\\approx 0.484$; this bound is worst-case tight, up to an exponential factor of about $2^d$. When both rotationsand translations are used, $C(d)$ can be improved to roughly $6.74^d$, getting rid of the superexponential factor $\\sqrt{d}^d$. When the input set (lies in a subset of $d$-space that) has low doubling dimension $\\delta$, the performance of the first algorithm improves to $C(d,\\delta)(n+k)\\log n$ (or to $C(d,\\delta)(n+k)$), where $C(d,\\delta) = O((ed\/\\delta)^\\delta)$ for $\\delta \\le \\sqrt{d}$. Otherwise, $C(d,\\delta) = O( e^{\\sqrt{d}} \\sqrt{d}^\\delta )$. We also present experimental results on several large data sets, demonstrating that our algorithms run significantly faster than all the leading existing algorithms for reporting neighbors.<\/jats:p>","DOI":"10.1137\/12089867x","type":"journal-article","created":{"date-parts":[[2014,7,24]],"date-time":"2014-07-24T10:42:14Z","timestamp":1406198534000},"page":"1363-1395","source":"Crossref","is-referenced-by-count":6,"title":["Reporting Neighbors in High-Dimensional Euclidean Space"],"prefix":"10.1137","volume":"43","author":[{"given":"Dror","family":"Aiger","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Haim","family":"Kaplan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Micha","family":"Sharir","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2014,7,24]]},"reference":[{"key":"atypb1","doi-asserted-by":"crossref","unstructured":"C. C. Aggarwal, A. Hinneburg, and D. A. Keim,\n                      On the surprising behavior of distance metrics in high dimensional spaces\n                      , in Proceedings on the 8th International Conference on Database Theory, 2001, pp. 420-434.","DOI":"10.1007\/3-540-44503-X_27"},{"key":"atypb2","first-page":"3471","author":"Aiger D.","year":"2013","journal-title":"Proceedings of the IEEE Annual International Conference on Computer Vision (ICCV)"},{"key":"atypb4","doi-asserted-by":"crossref","unstructured":"A. Andoni and P. Indyk,\n                      Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions\n                      , in Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science, 2006, pp. 459-468.","DOI":"10.1109\/FOCS.2006.49"},{"key":"atypb5","doi-asserted-by":"crossref","unstructured":"A. Andoni and P. Indyk,\n                      Efficient algorithms for substring near neighbor problem\n                      , in Proceedings of the 17th Annual ACM-SIAM Symposium on Discrete Algorithms, 2006, pp. 1203-1212.","DOI":"10.1145\/1109557.1109690"},{"key":"atypb6","doi-asserted-by":"publisher","DOI":"10.1145\/1327452.1327494"},{"key":"atypb7","doi-asserted-by":"crossref","unstructured":"S. Arya, G. D. Fonseca, and D. M. Mount,\n                      Approximate polytope membership queries\n                      , in Proceedings of the 43rd Annual ACM Symposium on the Theory of Computing, 2011, pp. 579-586.","DOI":"10.1145\/1993636.1993713"},{"key":"atypb8","doi-asserted-by":"publisher","DOI":"10.1145\/1613676.1613677"},{"key":"atypb9","doi-asserted-by":"publisher","DOI":"10.1145\/293347.293348"},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.24033\/bsmf.1997"},{"key":"atypb11","doi-asserted-by":"publisher","DOI":"10.1016\/j.cviu.2007.09.014"},{"key":"atypb12","doi-asserted-by":"crossref","unstructured":"S. N. Bespamyatnikh,\n                      Dynamic algorithms for approximate neighbor searching\n                      , in Procedings of the 8th Canadian Conference on Computational Geometry, 1996, pp. 252-257.","DOI":"10.1515\/9780773591134-044"},{"key":"atypb13","first-page":"217","author":"Beyer K.","year":"1999","journal-title":", in Proceedings of the International Conference on Database Theory"},{"key":"atypb14","doi-asserted-by":"crossref","unstructured":"K. B\u00f6r\u00f6czky,\n                      Finite Packing and Covering\n                      , Cambridge Tracts in Math. 154, Cambridge University Press, Cambridge 2004.","DOI":"10.1017\/CBO9780511546587"},{"key":"atypb15","doi-asserted-by":"publisher","DOI":"10.1142\/S0218195901000511"},{"key":"atypb16","unstructured":"T. M. Chan,\n                      Closest-point problems simplified on the RAM\n                      , in Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms, 2002, pp. 472-473."},{"key":"atypb18","doi-asserted-by":"crossref","unstructured":"M. Charikar, C. Chekuri, A. Goel, S. Guha, and S. A. Plotkin,\n                      Approximating a finite metric by a small number of tree metrics\n                      , in Proceedings of the 39th Annual Symposium on Foundations of Computer Science, 1998, pp. 379-388.","DOI":"10.1109\/SFCS.1998.743488"},{"key":"atypb19","doi-asserted-by":"crossref","unstructured":"M. Datar, N. Immorlica, P. Indyk, and V. S. Mirrokni,\n                      Locality-sensitive hashing scheme based on $p$-stable distributions\n                      , in Proceedings of the 20th Annual Symposium on Computational Geometry, 2004, pp. 253-262.","DOI":"10.1145\/997817.997857"},{"key":"atypb20","first-page":"193","author":"Devroye L.","year":"1982","journal-title":"Amsterdam"},{"key":"atypb21","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.2000.1135"},{"key":"atypb22","unstructured":"R. J. Gardner,\n                      Geometric Tomography\n                      , 2nd ed., Encyclopedia Math. Appl. 58, Cambridge University Press, New York, 2006."},{"key":"atypb23","first-page":"199","author":"Genz A.","year":"1999","journal-title":"Berlin"},{"key":"atypb24","doi-asserted-by":"crossref","unstructured":"A. Gersho and R. M. Gray,\n                      Vector Quantization and Data Compression\n                      , Kluwer Academic Press, Boston, 1991.","DOI":"10.1007\/978-1-4615-3626-0"},{"key":"atypb25","unstructured":"J. E. Goodman and J. O'Rourke, eds.\n                      Handbook of Discrete and Computational Geometry\n                      , 2nd ed., CRC Press, Boca Raton, FL, 2004."},{"key":"atypb26","doi-asserted-by":"crossref","unstructured":"S. Har-Peled,\n                      Geometric Approximation Algorithms\n                      , Math. Surveys Monogr. 173, AMS, Providence, RI, 2011.","DOI":"10.1090\/surv\/173"},{"key":"atypb27","doi-asserted-by":"crossref","unstructured":"S. Har-Peled,\n                      A replacement for Voronoi diagrams of near linear size\n                      , in Proceedings of the 42nd Annual IEEE Symposium on Foundations of Computer Science, 2001, pp. 94-103.","DOI":"10.1109\/SFCS.2001.959884"},{"key":"atypb28","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539704446281"},{"key":"atypb29","unstructured":"A. Hinneburg, C. C. Aggarwal, and D. A. Keim,\n                      What is the nearest neighbor in high dimensional spaces?\n                      , in Proceedings of the 26th International Conferemce on Very Large Data Bases, 2000, pp. 506-515."},{"key":"atypb30","doi-asserted-by":"crossref","unstructured":"G. Shakhnarovish, T. Darrell, and P. Indyk, eds.\n                      Nearest-Neighbor Methods in Learning and Vision\n                      , MIT Press, Cambridge, MA, 2006.","DOI":"10.7551\/mitpress\/4908.001.0001"},{"key":"atypb31","first-page":"177","author":"Indyk P.","year":"2004","journal-title":"Boca Raton, FL"},{"key":"atypb32","doi-asserted-by":"crossref","unstructured":"P. Indyk and R. Motwani,\n                      Approximate nearest neighbors: Towards removing the curse of dimensionality\n                      , in Proceedings of the 30th Annual ACM Syposium on Theory of Computing, 1998, pp. 604-613.","DOI":"10.1145\/276698.276876"},{"key":"atypb33","unstructured":"R. Krauthgamer and J. R. Lee,\n                      Navigating nets: Simple algorithms for proximity search\n                      , in Proceedings of the 15th Annual ACM-SIAM Symposium on Discrete Algorithms, 2004, pp. 798-807."},{"key":"atypb34","doi-asserted-by":"publisher","DOI":"10.1142\/S0218195995000167"},{"key":"atypb35","doi-asserted-by":"crossref","unstructured":"M. Muja and D. G. Lowe,\n                      Fast approximate nearest neighbors with automatic algorithm configuration\n                      , in Proceedings of the International Conference on Computer Vision Theory and Applications (VISAPP'09), 2009, pp. 331-340","DOI":"10.5220\/0001787803310340"},{"key":"atypb37","doi-asserted-by":"publisher","DOI":"10.1145\/377939.377946"},{"key":"atypb38","doi-asserted-by":"publisher","DOI":"10.1142\/S0218195992000044"},{"key":"atypb39","doi-asserted-by":"crossref","unstructured":"R. Schneider,\n                      Convex Bodies: The Brunn-Minkowski Theory\n                      , Cambridge University Press, Cambridge, 1993.","DOI":"10.1017\/CBO9780511526282"},{"key":"atypb40","unstructured":"D. M. Y. Sommerville,\n                      An Introduction to the Geometry of $n$ Dimensions\n                      , Dover, New York, 1958."},{"key":"atypb41","doi-asserted-by":"publisher","DOI":"10.1142\/S0218195905001622"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/12089867X","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:21:12Z","timestamp":1787340072000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/12089867X"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2014,1]]},"references-count":38,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2014,1]]}},"alternative-id":["10.1137\/12089867X"],"URL":"https:\/\/doi.org\/10.1137\/12089867x","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2014,1]]}}}