English

E2E: Efficient Filtered AKNN Search via Adaptive Termination

Databases 2026-05-29 v2

Abstract

Approximate k-Nearest Neighbor (AKNN) search is widely used in vector databases. When vectors carry additional attributes (e.g., labels or numerical values), filtered AKNN search retrieves the nearest vectors to a query vector under attribute constraints. Most existing methods use a fixed termination condition, searching the entire index while respecting attribute filters. However, this leads to substantial redundant computations, since different queries require different amounts of search effort, and thus misses early termination opportunities for easy queries. This paper proposes a lightweight model to estimate the search cost of filtered AKNN queries and enable adaptive termination: For easy queries, the search stops early to reduce latency, while for hard queries, it continues longer to preserve accuracy. The key challenge is accurate cost prediction under attribute filters. To address this, we show that information collected during an early probing phase (e.g., attribute distributions and intermediate distance statistics) can effectively predict the overall search cost. Experiments on six real-world datasets demonstrate 1.1-3.7 speedup over state-of-the-art baselines at 95% recall, while maintaining search accuracy.

Keywords

Cite

@article{arxiv.2602.06721,
  title  = {E2E: Efficient Filtered AKNN Search via Adaptive Termination},
  author = {Wenxuan Xia and Mingyu Yang and Wentao Li and Wei Wang},
  journal= {arXiv preprint arXiv:2602.06721},
  year   = {2026}
}

Comments

Accepted at KDD 2026

R2 v1 2026-07-01T10:24:29.163Z