ESG: Elastic Graphs for Range-Filtering Approximate k-Nearest Neighbor Search
Abstract
Range-filtering approximate -nearest neighbor (RFAKNN) search takes as input a vector and a numeric value, returning points from a database of high-dimensional points. The returned points must satisfy two criteria: their numeric values must lie within the specified query range, and they must be approximately the nearest points to the query vector. To strike a better balance between query accuracy and efficiency, we propose novel methods that relax the strict requirement for subranges to \textit{exactly} match the query range. This elastic relaxation is based on a theoretical insight: allowing the controlled inclusion of out-of-range points during the search does not compromise the bounded complexity of the search process. Building on this insight, we prove that our methods reduce the number of required subranges to at most \textit{two}, eliminating the query overhead inherent in existing methods. Extensive experiments on real-world datasets demonstrate that our proposed methods outperform state-of-the-art approaches, achieving performance improvements of 1.5x to 6x while maintaining high accuracy.
Cite
@article{arxiv.2504.04018,
title = {ESG: Elastic Graphs for Range-Filtering Approximate k-Nearest Neighbor Search},
author = {Mingyu Yang and Wentao Li and Zhitao Shen and Chuan Xiao and Wei Wang},
journal= {arXiv preprint arXiv:2504.04018},
year = {2025}
}
Comments
14 pages