Computer Science > Data Structures and Algorithms
[Submitted on 29 May 2017 (v1), revised 31 May 2017 (this version, v2), latest version 29 Jun 2021 (v4)]
Title:Local Search Methods for Fast Near Neighbor Search
View PDFAbstract:Near neighbor search (NNS) has been traditionally addressed from an algorithmic perspective, that is, given a dataset and a distance function, the goal is to build a data structure along with discarding rules that quickly find the near neighbor of a query under the given distance function. In this manuscript, we take another approach. We restate NNS as a combinatorial optimization problem, being the goal to minimize the distance from the query to the data set. This cost function is well defined, and the minimum is realized precisely with the nearest object to the query. Adopting this new view allows the use of a rich collection of optimization algorithms with a long tradition. We present three local search algorithms that solve the NNS problem from the combinatorial optimization point of view. Two of the algorithms can be described as the hyper-parameter optimization of two known indexing methods, simplifying their adoption for final users. The third method achieves excellent search tradeoffs among speed, memory, and quality of the approximation. For instance, for moderately large dimensions, our indexes can reach above 0.99 recall reviewing less than 1% of the database. We conducted extensive experimentation with five real-world standard benchmark and five synthetic datasets to prove our claims.
Submission history
From: Eric Tellez Dr. [view email][v1] Mon, 29 May 2017 18:32:00 UTC (281 KB)
[v2] Wed, 31 May 2017 11:49:06 UTC (285 KB)
[v3] Thu, 17 Jan 2019 00:26:50 UTC (143 KB)
[v4] Tue, 29 Jun 2021 14:46:02 UTC (209 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.