A scalable solution to the nearest neighbor search problem through local-search methods on neighbor graphs

Eric S. Tellez, Guillermo Ruiz, Edgar Chavez, Mario Graff
5/29/2017
4 citations
cs.DScs.IR

Official code: sadit/SimilaritySearch.jl (55 stars, Julia, MIT, last commit 2026-11-05).

Abstract

Near neighbor search (NNS) is a powerful abstraction for data access; however, data indexing is troublesome even for approximate indexes. For intrinsically high-dimensional data, high-quality fast searches demand either indexes with impractically large memory usage or preprocessing time.

Show full abstract

In this paper, we introduce an algorithm to solve a nearest-neighbor query $q$ by minimizing a kernel function defined by the distance from $q$ to each object in the database. The minimization is performed using metaheuristics to solve the problem rapidly; even when some methods in the literature use this strategy behind the scenes, our approach is the first one using it explicitly. We also provide two approaches to select edges in the graph's construction stage that limit memory footprint and reduce the number of free parameters simultaneously. We carry out a thorough experimental comparison with state-of-the-art indexes through synthetic and real-world datasets; we found out that our contributions achieve competitive performances regarding speed, accuracy, and memory in almost any of our benchmarks.

View on arXivView PDF

Code Implementations(1)

MIT

A nearest neighbor search library with exact and approximate algorithms

559JuliaMay 22, 20173 weeks agoMIT
information-retrievaljuliametric-searchsearch-enginesimilarity-search

Similar Papers

Cite this paper

@article{tellez2017scalable,
  title  = {A scalable solution to the nearest neighbor search problem through local-search methods on neighbor graphs},
  author = {Eric S. Tellez and Guillermo Ruiz and Edgar Chavez and Mario Graff},
  year   = {2017},
  eprint = {1705.10351},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.10351}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1705.10351.svg)](https://codeofpaper.com/paper/1705.10351)

Discussion