Lune

KDD2026Top-tier venue

Generalized Range Filtering Approximate Nearest Neighbor Search: Containment and Overlap

Yingfan Liu, Tong Wu, Jiadong Xie, Yang Zhao, Jeffrey Xu Yu, Jiangtao Cui

Abstract

Approximate nearest neighbor (ANN) search with range filters has recently garnered significant attention. This paper delves into a generalized form of this problem, i.e., ANN search with exact range-range (RR) predicates on a range-valued attribute, named RR filtering ANN (RRANN). Specifically, given a set of objects consisting of n vectors in ℝd, where each vector vi is associated with a numeric range [li, ri], symbolizing aspects like a price range or time interval. An RRANN query (vq, lq, rq) aims at finding k vectors closest to vq within the vectors satisfying an arbitrary RR predicate defined between the query range [lq, rq] and the object range [li, ri]. The RR predicate remains unspecified, enabling user-defined conditions. It may encompass containment ([li, ri] ⊆ [lq, rq] or [lq, rq] ⊆ [li, ri]), overlap (li ≤ lq ≤ ri ≤ rq or lq ≤ li ≤ rq ≤ ri), or a disjunction of them. RRANN has broad applications in queries related to price ranges or time intervals, and serves as the general form for all existing variations of ANN search with range filters. However, existing dedicated approaches for these problems lack the capacity to support queries with arbitrary RR predicates. Hence, we introduce a new approach, labeled multi-segment tree graph. It efficiently handles queries with arbitrary RR predicates by avoiding traversal through non-predicate-satisfied nodes, and maintains index size and construction time equivalent to state-of-the-art methods for RFANN. Extensive experiments on real-world data demonstrate the efficacy of our approach in RRANN queries, achieving up to 12.5x speedups with the same accuracy as the baselines. Moreover, our approach attains comparable RFANN search performance and notably superior IFANN and TSANN search performance compared to the respective state-of-the-art approaches. Our code is available at https://github.com/FanEDG/MSTG.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Elpis: Graph-Based Similarity Search for Scalable Data Science cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
  • Efficient Approximate Nearest Neighbor Search in Multi-dimensional Databases cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
  • An Efficient and Robust Framework for Approximate Nearest Neighbor Search with Attribute Constraint cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on21

  1. A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
  2. VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed MonotonicityQianxi Zhang, Shuotao Xu, Qi Chen, Guoxin Sui et al.OSDI 2023 · 75 citations
  3. Efficient Approximate Nearest Neighbor Search in Multi-dimensional DatabasesYun Peng, Byron Choi, Tsz Nam Chan, Jianye Yang et al.SIGMOD 2023 · 74 citations
  4. An Efficient and Robust Framework for Approximate Nearest Neighbor Search with Attribute ConstraintMengzhao Wang, Lingwei Lv, Xiaoliang Xu, Yuxiang Wang et al.NeurIPS 2023 · 70 citations
  5. Elpis: Graph-Based Similarity Search for Scalable Data ScienceIlias Azizi, Karima Echihabi, Themis PalpanasVLDB 2023 · 67 citations

Related papers

  1. SeRF: Segment Graph for Range-Filtering Approximate Nearest Neighbor SearchChaoji Zuo, Miao Qiao, Wenchao Zhou, Feifei Li et al.SIGMOD 2024 · 41 citations
  2. RNSG: A Range-Aware Graph Index for Efficient Range-Filtered Approximate Nearest Neighbor SearchZhiqiu Zou, Ziqi Yin, Rong-Hua Li, Hongchao Qin et al.VLDB 2026 · 1 citation
  3. DIGRA: A Dynamic Graph Indexing for Approximate Nearest Neighbor Search with Range FilterMengxu Jiang, Zhi Yang, Fangyuan Zhang, Guanhao Hou et al.SIGMOD 2025 · 12 citations
  4. iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor SearchYuexuan Xu, Jianyang Gao, Yutong Gou, Cheng Long et al.SIGMOD 2025 · 17 citations
  5. WoW: A Window-to-Window Incremental Index for Range-Filtering Approximate Nearest Neighbor SearchZiqi Wang, Jingzhe Zhang, Wei HuSIGMOD 2026 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines