Practical construction of k-nearest neighbor graphs in metric spaces

  • Authors:
  • Rodrigo Paredes;Edgar Chávez;Karina Figueroa;Gonzalo Navarro

  • Affiliations:
  • Center for Web Research, Dept. of Computer Science, University of Chile;Escuela de Ciencias Físico-Matemáticas, Univ. Michoacana, Mexico;Center for Web Research, Dept. of Computer Science, University of Chile;Center for Web Research, Dept. of Computer Science, University of Chile

  • Venue:
  • WEA'06 Proceedings of the 5th international conference on Experimental Algorithms
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Let $\mathbb{U}$ be a set of elements and d a distance function defined among them. Let NNk(u) be the k elements in $\mathbb{U}-\{u\}$ having the smallest distance to u. The k-nearest neighbor graph (knng) is a weighted directed graph $G(\mathbb{U},E)$ such that E={(u,v), v∈NNk(u)}. Several knng construction algorithms are known, but they are not suitable to general metric spaces. We present a general methodology to construct knngs that exploits several features of metric spaces. Experiments suggest that it yields costs of the form c1n1.27 distance computations for low and medium dimensional spaces, and c2n1.90 for high dimensional ones.