CGIF: Combining Proximity Graphs and Inverted Files for Efficient Filtered Vector Search over Arbitrary Predicates
Jiarui Luo, Chaoji Zuo, Dong Deng
Abstract
Modern retrieval systems increasingly require filtered vector search under arbitrary predicate constraints, where users filter results by attributes such as category, price, location, keywords, and their combinations. Existing solutions either specialize in a single predicate type (e.g., range or equality filters), rely on dense, high-overhead indexes, or fail to handle predicates with diverse selectivities. As a result, they fail to simultaneously achieve efficiency, scalability, and flexibility. In this paper, we propose CGIF, an index that efficiently supports approximate nearest neighbor search (ANNS) both with and without predicates, while preserving the lightweight and scalable structure of the widely adopted vector index HNSW. Our design builds on an observation from previous works that HNSW traversal naturally consists of two phases: (1) a navigation phase, where the search rapidly moves toward the query's vicinity, and (2) a local exploration phase, where traversal expands locally to refine results. CGIF retains the original HNSW search strategy during navigation to efficiently reach the query region, and introduces a predicate-aware traversal during local exploration. When a neighbor does not satisfy the query predicates, CGIF replaces it with alternative candidates drawn via inverted-file (IVF) indexing, ensuring effective local exploration under diverse predicates. Extensive experiments on multiple real-world datasets show that CGIF consistently outperforms state-of-the-art filtered vector search methods, delivering up to 2× faster query performance while maintaining high recall across diverse predicate types and selectivities.
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 30421957-59e0-464c-bdfb-5bc778d03a0aBuilds on16
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
- Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis et al.EMNLP 2020 · 142 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
Related papers
- FAVOR: Efficient Filter-Agnostic Vector ANNS Based on Selectivity-Aware Exclusion DistancesJunjie Song, Yu Liu, Guoyu Hu, Zhongle Xie et al.SIGMOD 2026 · 1 citation
- ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured DataLiana Patel, Peter Kraft, Carlos Guestrin, Matei ZahariaSIGMOD 2024 · 58 citations
- SIEVE: Effective Filtered Vector Search with Collection of IndexesZhaoheng Li, Silu Huang, Wei Ding, Yongjoo Park et al.VLDB 2025 · 17 citations
- UNIFY: Unified Index for Range Filtered Approximate Nearest Neighbors SearchAnqi Liang, Pengcheng Zhang, Bin Yao, Zhongpu Chen et al.VLDB 2025 · 27 citations
- NaviX: A Native Vector Index Design for Graph DBMSs With Robust Predicate-Agnostic Search PerformanceGaurav Sehgal, Semih SalihogluVLDB 2025 · 12 citations
