[Paper Review] iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search
iRangeGraph proposes a novel method for efficient range-filtering approximate nearest neighbor (RFANN) search by materializing a small set of elemental graphs during indexing and dynamically constructing range-dedicated graphs at query time. The approach achieves superior and stable query performance with moderate space overhead, outperforming existing methods that rely on lossy compression or fixed strategy selection.
Range-filtering approximate nearest neighbor (RFANN) search is attracting increasing attention in academia and industry. Given a set of data objects, each being a pair of a high-dimensional vector and a numeric value, an RFANN query with a vector and a numeric range as parameters returns the data object whose numeric value is in the query range and whose vector is nearest to the query vector. To process this query, a recent study proposes to build $O(n^2)$ dedicated graph-based indexes for all possible query ranges to enable efficient processing on a database of $n$ objects. As storing all these indexes is prohibitively expensive, the study constructs compressed indexes instead, which reduces the memory consumption considerably. However, this incurs suboptimal performance because the compression is lossy. In this study, instead of materializing a compressed index for every possible query range in preparation for querying, we materialize graph-based indexes, called elemental graphs, for a moderate number of ranges. We then provide an effective and efficient algorithm that during querying can construct an index for any query range using the elemental graphs. We prove that the time needed to construct such an index is low. We also cover an experimental study on real-world datasets that provides evidence that the materialized elemental graphs only consume moderate space and that the proposed method is capable of superior and stable query performance across different query workloads.
Motivation & Objective
- To address the inefficiency of traditional RFANN query strategies—pre-filtering, post-filtering, and in-filtering—each of which underperforms under specific workloads.
- To overcome the prohibitive storage cost of building dedicated graph indexes for all possible query ranges in large datasets.
- To reduce the performance degradation caused by lossy compression in prior compressed index approaches.
- To enable efficient, dynamic construction of range-dedicated graphs during query processing using a small set of precomputed elemental graphs.
- To achieve stable and high-performance RFANN search across diverse query workloads with minimal space overhead.
Proposed method
- iRangeGraph materializes a moderate number of elemental graphs, each corresponding to a representative query range, during the index construction phase.
- During query processing, the algorithm dynamically constructs a range-dedicated graph by combining and adapting the precomputed elemental graphs based on the query range.
- The construction process leverages graph composition and pruning techniques to ensure the resulting graph supports efficient nearest neighbor traversal.
- The method is proven to have low construction time, making it practical for real-time query processing.
- The approach is extended to support multi-attribute range filtering by generalizing the graph composition logic to multiple dimensions.
- The framework is designed to be metric-agnostic, allowing integration with various graph-based ANN methods in general metric spaces.
Experimental results
Research questions
- RQ1Can a dynamic, on-the-fly construction of range-dedicated graphs achieve better performance than precomputed or compressed indexes?
- RQ2Can a small set of elemental graphs be used to effectively represent all possible query ranges without significant performance loss?
- RQ3Does the proposed method maintain low construction time while ensuring high query accuracy and speed?
- RQ4How does the method scale across different data distributions and query selectivity levels?
- RQ5Can the approach be generalized to multi-attribute range filtering and other metric spaces?
Key findings
- iRangeGraph achieves superior and stable query performance across diverse workloads, outperforming existing methods that rely on fixed strategy selection or lossy compression.
- The method consumes only moderate space, as it materializes a small number of elemental graphs instead of O(n²) range-specific indexes.
- The dynamic graph construction process is efficient, with low time overhead, enabling real-time query processing.
- Experiments on real-world datasets confirm that iRangeGraph maintains high accuracy while significantly reducing query latency compared to baseline approaches.
- The approach demonstrates robustness across varying query selectivity, avoiding the performance pitfalls of pre-filtering, post-filtering, and in-filtering strategies.
- The framework is extensible to multi-attribute range filtering and general metric spaces, showing broad applicability beyond Euclidean vector spaces.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.