Approximate Nearest Neighbor Search with Window Filters
Joshua Engels, Benjamin Landrum, Shangdi Yu, Laxman Dhulipala, Julian Shun
Abstract
We define and investigate the problem of : approximate nearest neighbor search where each point in the dataset has a numeric label, and the goal is to find nearest neighbors to queries within arbitrary label ranges. Many semantic search problems, such as image and document search with timestamp filters, or product search with cost filters, are natural examples of this problem. We propose and theoretically analyze a modular tree-based framework for transforming an index that solves the traditional c-approximate nearest neighbor problem into a data structure that solves window search. On standard nearest neighbor benchmark datasets equipped with random label values, adversarially constructed embeddings, and image search embeddings with real timestamps, we obtain up to a speedup over existing solutions at the same level of recall.
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.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DIGRA: A Dynamic Graph Indexing for Approximate Nearest Neighbor Search with Range Filter cites iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search
- DIGRA: A Dynamic Graph Indexing for Approximate Nearest Neighbor Search with Range Filter cites VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed Monotonicity
- iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search cites VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed Monotonicity
- iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search cites Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with Filters
- iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search cites Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
- Dynamic Range-Filtering Approximate Nearest Neighbor Search cites iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search
- Attribute Filtering in Approximate Nearest Neighbor Search: An In-depth Experimental Study cites iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search
- Attribute Filtering in Approximate Nearest Neighbor Search: An In-depth Experimental Study cites VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed Monotonicity
- Attribute Filtering in Approximate Nearest Neighbor Search: An In-depth Experimental Study cites Dynamic Range-Filtering Approximate Nearest Neighbor Search
- Attribute Filtering in Approximate Nearest Neighbor Search: An In-depth Experimental Study cites Learning Transferable Visual Models From Natural Language Supervision
- Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations cites Graph-based Nearest Neighbor Search: From Practice to Theory
Cited by top-tier papers21
- iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor SearchYuexuan Xu, Jianyang Gao, Yutong Gou, Cheng Long et al.SIGMOD 2025 · 17 citations
- SIEVE: Effective Filtered Vector Search with Collection of IndexesZhaoheng Li, Silu Huang, Wei Ding, Yongjoo Park et al.VLDB 2025 · 17 citations
- 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
- Dynamic Range-Filtering Approximate Nearest Neighbor SearchZhencan Peng, Miao Qiao, Wenchao Zhou, Feifei Li et al.VLDB 2025 · 10 citations
- Attribute Filtering in Approximate Nearest Neighbor Search: An In-depth Experimental StudyMocheng Li, Xiao Yan, Baotong Lu, Yue Zhang et al.SIGMOD 2026 · 8 citations
Builds on5
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with FiltersSiddharth Gollapudi, Neel Karia, Varun Sivashankar, Ravishankar Krishnaswamy et al.WWW 2023 · 102 citations
- 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
- Graph-based Nearest Neighbor Search: From Practice to TheoryLiudmila Prokhorenkova, Aleksandr ShekhovtsovICML 2020 · 68 citations
- Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and LimitationsPiotr Indyk, Haike XuNeurIPS 2023 · 55 citations
Related papers
- SeRF: Segment Graph for Range-Filtering Approximate Nearest Neighbor SearchChaoji Zuo, Miao Qiao, Wenchao Zhou, Feifei Li et al.SIGMOD 2024 · 41 citations
- Generalized Range Filtering Approximate Nearest Neighbor Search: Containment and OverlapYingfan Liu, Tong Wu, Jiadong Xie, Yang Zhao et al.KDD 2026 · 1 citation
- WoW: A Window-to-Window Incremental Index for Range-Filtering Approximate Nearest Neighbor SearchZiqi Wang, Jingzhe Zhang, Wei HuSIGMOD 2026 · 3 citations
- Navigating Labels and Vectors: A Unified Approach to Filtered Approximate Nearest Neighbor SearchYuzheng Cai, Jiayang Shi, Yizhuo Chen, Weiguo ZhengSIGMOD 2025 · 26 citations
- Curator: Efficient Vector Search with Low-Selectivity FiltersYicheng Jin, Yongji Wu, Wenjun Hu, Bruce M. Maggs et al.SIGMOD 2026 · 5 citations
