Skip to content
Book Open access

Recall-Aware Early Termination in Approximate Nearest Neighbor Search

Aug 2026 · Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2 · pp. 1578-1589 · 0 citations · 13 references

Abstract

Approximate nearest neighbor search (ANNS) is a fundamental operation in large-scale vector retrieval systems, where achieving high recall under strict latency constraints is essential. Existing ANNS approaches typically control recall using fixed search parameters, such as a predefined candidate neighbor set (CNS) size, which require significant effort to fine-tune for each use case. Even worse, due to substantial heterogeneity in query difficulty and data distribution, static parameterization often results in over-searching for easy queries and under-searching for hard ones. In this paper, we propose an adaptive framework for ANNS that explicitly incorporates user-specified recall requirements into the search process by employing an early termination strategy. We introduce two learning-based mechanisms, one for dynamically predicting the achieved recall during the search and triggers early termination once the predicted recall satisfies the target threshold, and another for estimating the minimal CNS size required to satisfy user needs during the search, enabling dynamic scaling of the CNS. Our framework is index-agnostic and can be seamlessly integrated into widely used graph-based ANN indexes, including HNSW, with negligible overhead. Extensive experiments on benchmark datasets and various graph indexes demonstrate that our methods significantly reduce query latency compared to state-of-the-art baselines. Our code is available at https://github.com/lxxabb/Recall-Aware-Early-Termination-in-Approximate-Nearest-Neighbor-Search.

Read PDF

Similar papers

Jul 2026

QBAT: Model-Based Query Budget Autotuner for Clustering-Based Approximate Nearest Neighbor Search

Two predictive models are explored: a highly accurate gradient-boosted decision tree and a simple, interpretable heuristic formula derived using the AlphaEvolve framework that can optimize budget allocation for both system performance or recall consistency priorities.

Jonghyun Bae, Tae Jun Ham, Alan Li et al. · 0 citations
Preprint Aug 2026

Analyzing and Reducing Search Quality Differences in Vector Similarity Search

Modern database services scalably search over large data collections via Approximate Nearest Neighbor Search, which improves search performance at the cost of search quality, measured by recall. In practice, a database operator seeks to achieve a target mean recall while maximizing throughput across search queries. We...

S. M. Shahri, Martin Prammer, Jignesh M. Patel et al. · 0 citations
Preprint Sep 2026

Fast Label-Filtering Approximate Nearest Neighbor Search via Progressive Label Set Stratification

Approximate nearest neighbor search (ANNS) retrieves the most similar vectors to a query vector in high-dimensional space. Label-filtering ANNS (LFANNS) extends ANNS with a label filter that the labels of base vectors must satisfy a set relation (e.g., equality, containment, or overlap) with the query labels. Existing...

Zi-Qi Wang, Jingzhe Zhang, Shuo Shen et al. · 0 citations
Open access Jun 2026

Aker: Density-Aware Approximate Caching for Vector Search

Aker is presented, an approximate cache for disk-based ANNS that implements a low-overhead refresh mechanism that bounds cache staleness while preserving search accuracy and integrates into pgvector and is evaluated on representative workloads.

Sukjoon Oh, Minki Kang, Dohyun Kim et al. · 0 citations
Jul 2026

QASP: Query-Adaptive Robust Vector Search Policy

A fundamental challenge of vector search is achieving consistently high recall while minimizing computational costs. Fixed search parameters cause significant performance variance across queries, and conventional evaluation on average recall masks these per-query disparities. We introduce QASP (Query-Adaptive robust ve...

Hakan Ferhatosmanoglu, Kushal Kumar, Tal Wagner et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.