mlsanityData to 7 Oct 2026

Filtered Approximate Nearest Neighbor Search in Vector Databases: System Design and Performance Analysis

arXiv 2602.11443 ↗First posted 11 Feb 2026cs.DB cs.IRcited by 0

On the map: Retrieval-augmented generation → Vector search and ANN indexes

Abstract (arXiv)

Retrieval-Augmented Generation (RAG) applications increasingly rely on Filtered Approximate Nearest Neighbor Search (FANNS) to combine semantic retrieval with metadata constraints. While algorithmic innovations for FANNS have been proposed, there remains a lack of understanding regarding how generic filtering strategies perform within Vector Databases. In this work, we systematize the taxonomy of filtering strategies and evaluate their integration into FAISS, Milvus, and pgvector. To provide a robust benchmarking framework, we introduce a new relational dataset, textitMoReVec, consisting of two tables, featuring 768-dimensional text embeddings and a rich schema of metadata attributes. We further propose the textitGlobal-Local Selectivity (GLS) correlation metric to quantify the relationship between filters and query vectors. Our experiments reveal that algorithmic adaptations within the engine often override raw index performance. Specifically, we find that: (1) textitMilvus achieves superior recall stability through hybrid approximate/exact execution; (2) textitpgvector's cost-based query optimizer frequently selects suboptimal execution plans, favoring approximate index scans even when exact sequential scans would yield perfect recall at comparable latency; and (3) partition-based indexes (IVFFlat) outperform graph-based indexes (HNSW) for low-selectivity queries. To facilitate this analysis, we extend the widely-used textitANN-Benchmarks to support filtered vector search and make it available online. Finally, we synthesize our findings into a set of practical guidelines for selecting index types and configuring query optimizers for hybrid search workloads.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Vector search and ANN indexes, one of 15 directions in Retrieval-augmented generation. Builds on 31 of its 64 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

31 of 64 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Benchmarking Filtered Approximate Nearest Neighbor Search Algorithms on Transformer-based Embedding Vectors29 Jul

Other references · 30

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  7. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  8. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  9. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  10. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
  11. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  12. 2022MTEB: Massive Text Embedding Benchmarkcited by 623
18 more
  1. 2024The Faiss librarycited by 370
  2. 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
  3. 2023A Comprehensive Survey on Vector Database: Storage and Retrieval Technique, Challengecited by 55
  4. 2021A Survey on Locality Sensitive Hashing Algorithms and their Applicationscited by 40
  5. 2024When Large Language Models Meet Vector Databases: A Surveycited by 39
  6. 2023Survey of Vector Database Management Systemscited by 38
  7. 2024ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Datacited by 31
  8. 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 29
  9. 2023ParlayANN: Scalable and Deterministic Parallel Graph-Based Approximate Nearest Neighbor Search Algorithmscited by 24
  10. 2024Results of the Big ANN: NeurIPS'23 competitioncited by 21
  11. 2019The Design and Implementation of a Real Time Visual Search System on JD E-commerce Platformcited by 16
  12. 2022HQANN: Efficient and Robust Similarity Search for Hybrid Queries with Structured and Unstructured Constraintscited by 8
  13. 2022Navigable Proximity Graph-Driven Native Hybrid Queries with Structured and Unstructured Constraintscited by 6
  14. 2025Survey of Filtered Approximate Nearest Neighbor Search over the Vector-Scalar Hybrid Datacited by 5
  15. 2025Attribute Filtering in Approximate Nearest Neighbor Search: An In-depth Experimental Studycited by 3
  16. 2026Curator: Efficient Vector Search with Low-Selectivity Filterscited by 3
  17. 2025Filtered Approximate Nearest Neighbor Search: A Unified Benchmark and Systematic Experimental Study [Experiment, Analysis & Benchmark]cited by 1
  18. 2026E2E: Efficient Filtered AKNN Search via Adaptive Terminationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026A Comprehensive Empirical Evaluation of Vector Database Systems for Approximate Nearest Neighbor Search: Performance, Quality, and Resource Trade-offs
  2. 2026EMA: Approximate Nearest Neighbor Search with General Attribute Filtering and Dynamic Updates
  3. 2025Approximate Diverse k-nearest Neighbor Search in Vector Database
  4. 2026FAVOR: Efficient Filter-Agnostic Vector ANNS Based on Selectivity-Aware Exclusion Distances
  5. 2025Beyond Nearest Neighbors: Semantic Compression and Graph-Augmented Retrieval for Enhanced Vector Search
  6. 2025MicroNN: An On-device Disk-resident Updatable Vector Database
  7. 2026Query-aware Routing for Filtered Approximate Nearest Neighbors Search
  8. 2026NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processing