English

Vector search with small radiuses

Computer Vision and Pattern Recognition 2024-03-19 v1 Databases

Abstract

In recent years, the dominant accuracy metric for vector search is the recall of a result list of fixed size (top-k retrieval), considering as ground truth the exact vector retrieval results. Although convenient to compute, this metric is distantly related to the end-to-end accuracy of a full system that integrates vector search. In this paper we focus on the common case where a hard decision needs to be taken depending on the vector retrieval results, for example, deciding whether a query image matches a database image or not. We solve this as a range search task, where all vectors within a certain radius from the query are returned. We show that the value of a range search result can be modeled rigorously based on the query-to-vector distance. This yields a metric for range search, RSM, that is both principled and easy to compute without running an end-to-end evaluation. We apply this metric to the case of image retrieval. We show that indexing methods that are adapted for top-k retrieval do not necessarily maximize the RSM. In particular, for inverted file based indexes, we show that visiting a limited set of clusters and encoding vectors compactly yields near optimal results.

Keywords

Cite

@article{arxiv.2403.10746,
  title  = {Vector search with small radiuses},
  author = {Gergely Szilvasy and Pierre-Emmanuel Mazaré and Matthijs Douze},
  journal= {arXiv preprint arXiv:2403.10746},
  year   = {2024}
}
R2 v1 2026-06-28T15:22:30.482Z