Skip to main content
Journal cover image

Fast kNN graph construction with locality sensitive hashing

Publication ,  Chapter
Zhang, YM; Huang, K; Geng, G; Liu, CL
October 31, 2013

The k nearest neighbors (kNN) graph, perhaps the most popular graph in machine learning, plays an essential role for graph-based learning methods. Despite its many elegant properties, the brute force kNN graph construction method has computational complexity of O(n2), which is prohibitive for large scale data sets. In this paper, based on the divide-and-conquer strategy, we propose an efficient algorithm for approximating kNN graphs, which has the time complexity of O(l(d + logn)n) only (d is the dimensionality and l is usually a small number). This is much faster than most existing fast methods. Specifically, we engage the locality sensitive hashing technique to divide items into small subsets with equal size, and then build one kNN graph on each subset using the brute force method. To enhance the approximation quality, we repeat this procedure for several times to generate multiple basic approximate graphs, and combine them to yield a high quality graph. Compared with existing methods, the proposed approach has features that are: (1) much more efficient in speed (2) applicable to generic similarity measures; (3) easy to parallelize. Finally, on three benchmark large-scale data sets, our method beats existing fast methods with obvious advantages. © 2013 Springer-Verlag.

Duke Scholars

DOI

ISBN

9783642409905

Publication Date

October 31, 2013

Volume

8189 LNAI

Start / End Page

660 / 674

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 46 Information and computing sciences
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Zhang, Y. M., Huang, K., Geng, G., & Liu, C. L. (2013). Fast kNN graph construction with locality sensitive hashing (Vol. 8189 LNAI, pp. 660–674). https://doi.org/10.1007/978-3-642-40991-2_42
Zhang, Y. M., K. Huang, G. Geng, and C. L. Liu. “Fast kNN graph construction with locality sensitive hashing,” 8189 LNAI:660–74, 2013. https://doi.org/10.1007/978-3-642-40991-2_42.
Zhang YM, Huang K, Geng G, Liu CL. Fast kNN graph construction with locality sensitive hashing. In 2013. p. 660–74.
Zhang, Y. M., et al. Fast kNN graph construction with locality sensitive hashing. Vol. 8189 LNAI, 2013, pp. 660–74. Scopus, doi:10.1007/978-3-642-40991-2_42.
Zhang YM, Huang K, Geng G, Liu CL. Fast kNN graph construction with locality sensitive hashing. 2013. p. 660–674.
Journal cover image

DOI

ISBN

9783642409905

Publication Date

October 31, 2013

Volume

8189 LNAI

Start / End Page

660 / 674

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 46 Information and computing sciences