Generalized Range Filtering Approximate Nearest Neighbor Search: Containment and Overlap
Yingfan Liu, Tong Wu, Jiadong Xie, Yang Zhao, Jeffrey Xu Yu, Jiangtao Cui
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Elpis: Graph-Based Similarity Search for Scalable Data Science 引用了 A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
- Efficient Approximate Nearest Neighbor Search in Multi-dimensional Databases 引用了 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 引用了 A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
它引用的 Paper21
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 次引用
- VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed MonotonicityQianxi Zhang, Shuotao Xu, Qi Chen, Guoxin Sui 等OSDI 2023 · 75 次引用
- Efficient Approximate Nearest Neighbor Search in Multi-dimensional DatabasesYun Peng, Byron Choi, Tsz Nam Chan, Jianye Yang 等SIGMOD 2023 · 74 次引用
- An Efficient and Robust Framework for Approximate Nearest Neighbor Search with Attribute ConstraintMengzhao Wang, Lingwei Lv, Xiaoliang Xu, Yuxiang Wang 等NeurIPS 2023 · 70 次引用
- Elpis: Graph-Based Similarity Search for Scalable Data ScienceIlias Azizi, Karima Echihabi, Themis PalpanasVLDB 2023 · 67 次引用
相关 Paper
- SeRF: Segment Graph for Range-Filtering Approximate Nearest Neighbor SearchChaoji Zuo, Miao Qiao, Wenchao Zhou, Feifei Li 等SIGMOD 2024 · 41 次引用
- RNSG: A Range-Aware Graph Index for Efficient Range-Filtered Approximate Nearest Neighbor SearchZhiqiu Zou, Ziqi Yin, Rong-Hua Li, Hongchao Qin 等VLDB 2026 · 1 次引用
- DIGRA: A Dynamic Graph Indexing for Approximate Nearest Neighbor Search with Range FilterMengxu Jiang, Zhi Yang, Fangyuan Zhang, Guanhao Hou 等SIGMOD 2025 · 12 次引用
- iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor SearchYuexuan Xu, Jianyang Gao, Yutong Gou, Cheng Long 等SIGMOD 2025 · 17 次引用
- WoW: A Window-to-Window Incremental Index for Range-Filtering Approximate Nearest Neighbor SearchZiqi Wang, Jingzhe Zhang, Wei HuSIGMOD 2026 · 3 次引用
