mlsanityData to 7 Oct 2026

Benchmarking Filtered Approximate Nearest Neighbor Search Algorithms on Transformer-based Embedding Vectors

arXiv 2507.21989 ↗First posted 29 Jul 2025cs.DB cs.DS cs.IRcited by 2

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

Abstract (arXiv)

Advances in embedding models for text, image, audio, and video drive progress across multiple domains, including retrieval-augmented generation, recommendation systems, and others. Many of these applications require an efficient method to retrieve items that are close to a given query in the embedding space while satisfying a filter condition based on the item's attributes, a problem known as filtered approximate nearest neighbor search (FANNS). By performing an in-depth literature analysis on FANNS, we identify a key gap in the research landscape: publicly available datasets with embedding vectors from state-of-the-art transformer-based text embedding models that contain abundant real-world attributes covering a broad spectrum of attribute types and value distributions. To fill this gap, we introduce the arxiv-for-fanns dataset of transformer-based embedding vectors for the abstracts of over 2.7 million arXiv papers, enriched with 11 real-world attributes such as authors and categories. We benchmark eleven different FANNS methods on our new dataset to evaluate their performance across different filter types, numbers of retrieved neighbors, dataset scales, and query selectivities. We distill our findings into eight key observations that guide users in selecting the most suitable FANNS method for their specific use cases.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Vector search and ANN indexes, one of 15 directions in Retrieval-augmented generation. Builds on 34 of its 143 references that are in the map. First posted on arXiv 29 Jul 2025.

Builds on

34 of 143 references.

References · 34

  1. 2014Going Deeper with Convolutionscited by 4,231
  2. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
  3. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
  4. 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 266
  5. 2016SoundNet: Learning Sound Representations from Unlabeled Videocited by 244
  6. 2021RedCaps: web-curated image-text data created by the people, for the peoplecited by 175
  7. 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
  8. 2019PyTorch-BigGraph: A Large-scale Graph Embedding Systemcited by 118
  9. 2024Jasper and Stella: distillation of SOTA embedding modelscited by 109
  10. 2015Practical and Optimal LSH for Angular Distancecited by 105
  11. 2021A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Searchcited by 82
  12. 2023A Comprehensive Survey on Vector Database: Storage and Retrieval Technique, Challengecited by 55
22 more
  1. 2024RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor Searchcited by 46
  2. 2015Optimal Data-Dependent Hashing for Approximate Near Neighborscited by 43
  3. 2021FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Searchcited by 36
  4. 2024ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Datacited by 31
  5. 2023High-Throughput Vector Similarity Search in Knowledge Graphscited by 19
  6. 2020Qd-tree: Learning Data Layouts for Big Data Analyticscited by 18
  7. 2019The Design and Implementation of a Real Time Visual Search System on JD E-commerce Platformcited by 16
  8. 2024Approximate Nearest Neighbor Search with Window Filterscited by 11
  9. 2024CheckEmbed: Effective Verification of LLM Solutions to Open-Ended Taskscited by 10
  10. 2024UNIFY: Unified Index for Range Filtered Approximate Nearest Neighbors Searchcited by 10
  11. 2025Optimizing Retrieval Strategies for Financial Question Answering Documents in Retrieval-Augmented Generation Systemscited by 9
  12. 2022HQANN: Efficient and Robust Similarity Search for Hybrid Queries with Structured and Unstructured Constraintscited by 8
  13. 2023CAPS: A Practical Partition Index for Filtered Similarity Searchcited by 7
  14. 2022Navigable Proximity Graph-Driven Native Hybrid Queries with Structured and Unstructured Constraintscited by 6
  15. 2025Enhancing Lexicon-Based Text Embeddings with Large Language Modelscited by 6
  16. 2018Reconfigurable Inverted Indexcited by 5
  17. 2025Survey of Filtered Approximate Nearest Neighbor Search over the Vector-Scalar Hybrid Datacited by 5
  18. 2024iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Searchcited by 4
  19. 2015A Unified Deep Neural Network for Speaker and Language Recognitioncited by 2
  20. 2019High Dimensional Similarity Search with Satellite System Graph: Efficiency, Scalability, and Unindexed Query Compatibilitycited by 1
  21. 2020mmLSH: A Practical and Efficient Technique for Processing Approximate Nearest Neighbor Queries on Multimedia Datacited by 1
  22. 2022Generalized Relative Neighborhood Graph (GRNG) for Similarity Searchcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026EMA: Approximate Nearest Neighbor Search with General Attribute Filtering and Dynamic Updates
  2. 2024Exploring the Meaningfulness of Nearest Neighbor Search in High-Dimensional Space
  3. 2026A Comprehensive Empirical Evaluation of Vector Database Systems for Approximate Nearest Neighbor Search: Performance, Quality, and Resource Trade-offs
  4. 2024NUDGE: Lightweight Non-Parametric Fine-Tuning of Embeddings for Retrieval
  5. 2026Query-aware Routing for Filtered Approximate Nearest Neighbors Search
  6. 2025VIBE: Vector Index Benchmark for Embeddings
  7. 2025LEANN: A Low-Storage Vector Index
  8. 2023Rethinking Similarity Search: Embracing Smarter Mechanisms over Smarter Data