mlsanityData to 7 Oct 2026

Query-aware Routing for Filtered Approximate Nearest Neighbors Search

arXiv 2606.19898 ↗First posted 18 Jun 2026cs.DB cs.IRcited by 0

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

Abstract (arXiv)

Filtered ANN search, which combines vector similarity with attribute predicates, is a core primitive in modern vector databases and retrieval-augmented generation. We benchmark all major categorical filtered ANN methods across multiple datasets under three predicates and find that no single method dominates. Moreover, even within a single dataset and predicate type, the best method for a query can vary. Therefore, we propose a query-aware routing framework. A lightweight ML model predicts each candidate method's recall on the query, and the router consults an offline benchmark table that maps every method and parameter setting to its measured recall and QPS, then selects the method with the best recall--QPS trade-off. Our ablation study narrows 22 candidate features to a minimal set of three and we adopt regression rather than classification as the prediction target to sharpen accuracy. Our model is trained on six real-world datasets and applied to five unseen validation datasets. The final result shows that our router achieves state-of-the-art recall and QPS balance across all five validation datasets compared to existing filtered ANN baselines, while incurring negligible latency overhead.

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 8 of its 28 references that are in the map. First posted on arXiv 18 Jun 2026.

Builds on

8 of 28 references.

References · 8

  1. 2017Billion-scale similarity search with GPUscited by 2,477
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  3. 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
  4. 2024Approximate Nearest Neighbor Search with Window Filterscited by 11
  5. 2024UNIFY: Unified Index for Range Filtered Approximate Nearest Neighbors Searchcited by 10
  6. 2022HQANN: Efficient and Robust Similarity Search for Hybrid Queries with Structured and Unstructured Constraintscited by 8
  7. 2025SIEVE: Effective Filtered Vector Search with Collection of Indexescited by 6
  8. 2026Efficient Filtered-ANN via Learning-based Query Planningcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ANN Search: Recall What Matters
  2. 2026FAVOR: Efficient Filter-Agnostic Vector ANNS Based on Selectivity-Aware Exclusion Distances
  3. 2026Filtered Approximate Nearest Neighbor Search in Vector Databases: System Design and Performance Analysis
  4. 2026A Comprehensive Empirical Evaluation of Vector Database Systems for Approximate Nearest Neighbor Search: Performance, Quality, and Resource Trade-offs
  5. 2026QVCache: A Query-Aware Vector Cache
  6. 2026Lightweight Query Routing for Adaptive RAG: A Baseline Study on RAGRouter-Bench
  7. 2026EMA: Approximate Nearest Neighbor Search with General Attribute Filtering and Dynamic Updates
  8. 2025Graph-based Nearest Neighbors with Dynamic Updates via Random Walks