SeRF: Segment Graph for Range-Filtering Approximate Nearest Neighbor Search
Chaoji Zuo, Miao Qiao, Wenchao Zhou, Feifei Li, Dong Deng
Abstract
Effective vector representation models, e.g., word2vec and node2vec, embed real-world objects such as images and documents in high dimensional vector space. In the meanwhile, the objects are often associated with attributes such as timestamps and prices. Many scenarios need to jointly query the vector representations of the objects together with their attributes. These queries can be formalized as range-filtering approximate nearest neighbor search (ANNS) queries. Specifically, given a collection of data vectors, each associated with an attribute value whose domain has a total order. The range-filtering ANNS consists of a query range and a query vector. It finds the approximate nearest neighbors of the query vector among all the data vectors whose attribute values fall in the query range. Existing approaches suffer from a rapidly degrading query performance when the query range width shifts. The query performance can be optimized by a solution that builds an ANNS index for every possible query range; however, the index time and index size become prohibitive -- the number of query ranges is quadratic to the number n of data vectors. To overcome these challenges, for the query range contains all attribute values smaller than a user-provided threshold, we design a structure called the segment graph whose index time and size are the same as a single ANNS index, yet can losslessly compress the n ANNS indexes, reducing the indexing cost by a factor of Ω(n). To handle general range queries, we propose a 2D segment graph with average-case index size O(n log n) to compress n segment graphs, breaking the quadratic barrier. Extensive experiments conducted on real-world datasets show that our proposed structures outperformed existing methods significantly; our index also exhibits superior scalability.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 621a542d-75ef-48a5-93aa-19f0d8b2b4adCited by top-tier papers37
- Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor SearchJianyang Gao, Yutong Gou, Yuexuan Xu, Yongyi Yang et al.SIGMOD 2025 · 29 citations
- UNIFY: Unified Index for Range Filtered Approximate Nearest Neighbors SearchAnqi Liang, Pengcheng Zhang, Bin Yao, Zhongpu Chen et al.VLDB 2025 · 27 citations
- 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
- Revisiting the Index Construction of Proximity Graph-Based Approximate Nearest Neighbor SearchShuo Yang, Jiadong Xie, Yingfan Liu, Jeffrey Xu Yu et al.VLDB 2025 · 16 citations
Builds on4
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 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
- DeltaPQ: Lossless Product Quantization Code Compression for High Dimensional Similarity SearchRunhui Wang, Dong DengVLDB 2020 · 31 citations
- ARKGraph: All-Range Approximate K-Nearest-Neighbor GraphChaoji Zuo, Dong DengVLDB 2023 · 18 citations
Related papers
- Dynamic Range-Filtering Approximate Nearest Neighbor SearchZhencan Peng, Miao Qiao, Wenchao Zhou, Feifei Li et al.VLDB 2025 · 10 citations
- Generalized Range Filtering Approximate Nearest Neighbor Search: Containment and OverlapYingfan Liu, Tong Wu, Jiadong Xie, Yang Zhao et al.KDD 2026 · 1 citation
- 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
- 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
