Skip to content

RaG-Tree: Combining R-Tree and HNSW for Multi-Attribute Range Filtered Approximate Nearest Neighbor Search

Aug 2026 · arXiv.org · Vol abs/2608.01255 · 0 citations · 37 references
Computer Science

TL;DR

RaG-Tree is proposed, a unified index that couples an R-tree with partition-aware HNSW graphs for MR-ANNS and leverages hierarchical R-tree partitions for effective range pruning and adapts the sparsity of each HNSW graph to the local vector distributions within its partition, enabling lightweight indexing and efficient query processing.

Abstract

Multi-attribute range-filtered approximate nearest neighbor search (MR-ANNS), which retrieves high-dimensional vectors satisfying multiple attribute constraints, is a fundamental operation in modern AI applications. Existing MR-ANNS indexes either exploit a single attribute for range localization or recursively partition objects along individual attributes, which may limit their ability to exploit attribute correlations for effective range pruning and attribute-vector correlations for efficient nearest-neighbor search. In this paper, we propose RaG-Tree, a unified index that couples an R-tree with partition-aware HNSW graphs for MR-ANNS. RaG-Tree leverages hierarchical R-tree partitions for effective range pruning and adapts the sparsity of each HNSW graph to the local vector distributions within its partition, enabling lightweight indexing and efficient query processing. To support efficient query processing and dynamic updates, we develop a cost-based adaptive search algorithm that minimizes unnecessary graph exploration, together with an efficient index maintenance mechanism for incrementally updating affected partition-aware HNSW graphs. Extensive experiments on three real-world datasets show that RaG-Tree achieves superior query performance over state-of-the-art baselines, while also providing lightweight indexing and fast incremental updates.

View source

Similar papers

Preprint Oct 2026

ACTIVE: A Dynamic Pareto-Frontier-Based Unified Index for Dual-Vector Query

Existing approximate nearest neighbor search (ANNS) methods generally assume that each entity has a single vector. In many real-world applications, however, an entity is associated with more than one vector, and queries may jointly consider two attributes. With different queries assigning different weights to each attr...

Sheng-Yuan Lin, Shu-Feng Gong, Zheng Wang et al. · 0 citations
Preprint Sep 2026

Fast Label-Filtering Approximate Nearest Neighbor Search via Progressive Label Set Stratification

Approximate nearest neighbor search (ANNS) retrieves the most similar vectors to a query vector in high-dimensional space. Label-filtering ANNS (LFANNS) extends ANNS with a label filter that the labels of base vectors must satisfy a set relation (e.g., equality, containment, or overlap) with the query labels. Existing...

Zi-Qi Wang, Jingzhe Zhang, Shuo Shen et al. · 0 citations
Preprint Oct 2026

Grant: A Framework for Approximate Nearest Neighbor Search with Multi-Attribute Range Filters

Recently, academia and industry have considered the problem of approximate nearest neighbor search (ANNS) with filters. In this setting, each object consists of a high-dimensional vector and attribute values. Given a query vector, filters for attribute values, and $k$, this problem retrieves $k$ vectors approximately n...

Daichi Amagata · 0 citations
Open access Sep 2026

ANNex: Efficient Filtered Approximate Nearest Neighbor Search via Graph-Traversal Metadata Filtering

Approximate Nearest Neighbor (ANN) search is a foundational primitive in modern recommendation and retrieval systems. However, production deployments routinely require filtered ANN search-retrieving the top- K nearest neighbors that also satisfy metadata predicates-a requirement that popular highperformance libraries s...

D. Shaikh · 0 citations
Book Open access Nov 2026

Personalized kNN Query Execution in Vector Databases

This work proposes a query execution strategy for personalized k-nearest neighbour search that retrieves an enlarged candidate set using a standard Euclidean index and refines it under the user's subjective metric and shows that a Cholesky-based whitening transformation can reorganize embeddings so that personalized se...

Matúš Šikyňa, P. Zezula · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.