Calibrated Early Termination with Bounded Optimality Gaps for Constrained Vector Search
On the map: Retrieval-augmented generation → Vector search and ANN indexes
Abstract (arXiv)
Vector search over learned embeddings is the retrieval layer of recommendation and retrieval-augmented generation, and many applications cap how many answer items one category may contribute. Graph indexes answer a query by best-first traversal, and where it stops determines its cost and whether its answer is exact. We study early termination for such constrained k-nearest-neighbor (k-NN) queries, with plain k-NN as a special case, and seek the cheapest stopping rule whose answer is exact with probability at least 1-varepsilon. Learned early-termination methods instead target average recall, which does not guarantee exact answers. Multiple testing can calibrate any parameterized stopping rule to our target, but it cannot tell how much a better rule with the same risk and observations would save. Answering this needs a lower bound on the optimum of a rule family too large to enumerate, valid for the query population. Our key idea is to declare the observations a rule may use and to consider every rule monotone in them. Risk-constrained stopping then becomes a linear program over an order polytope, whose Lagrangian minimizers form a nested chain of staircase rules computed exactly by dynamic programming. Fixed-sequence binomial tests along this chain calibrate our rule, CaST, whose failure probability is at most varepsilon with confidence 1-δ. Lagrangian weak duality bounds the optimum of the declared class from below at all risk levels at once, without a union bound over the rules. On two datasets of one million items each, CaST replayed on logged searches costs at most 1.132 times the class optimum for risk levels from 0.03 to 0.10, at 95% joint confidence per setting. Larger savings thus need a rule outside the class. At a common risk target on held-out queries, CaST is faster than every other calibrated rule we time, which take 4.8% to 45.5% more mean time.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Vector search and ANN indexes, one of 15 directions in Retrieval-augmented generation. Builds on 22 of its 52 references that are in the map. Submitted 12 Nov 2026.
Builds on
22 of 52 references.
References · 22
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 893
- 2022Conformal Risk Controlcited by 369
- 2022Confident Adaptive Language Modelingcited by 348
- 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 345
- 2016YouTube-8M: A Large-Scale Video Classification Benchmarkcited by 339
- 2021Distribution-Free, Risk-Controlling Prediction Setscited by 329
- 2024Bridging Language and Items for Retrieval and Recommendation: Benchmarking LLMs as Semantic Encoderscited by 253
- 2017Ranking with Fairness Constraintscited by 84
- 2024ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Datacited by 38
- 2024Fast yet Safe: Early-Exiting with Risk Controlcited by 35
10 more
- 2023High-Dimensional Approximate Nearest Neighbor Search: with Reliable and Efficient Distance Comparison Operationscited by 27
- 2024Results of the Big ANN: NeurIPS'23 competitioncited by 25
- 2024RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Searchcited by 14
- 2025Graph-Based Algorithms for Diverse Similarity Searchcited by 4
- 2025DARTH: Declarative Recall Through Early Termination for Approximate Nearest Neighbor Searchcited by 4
- 2025Distribution-Aware Exploration for Adaptive HNSW Searchcited by 4
- 2021Tao: A Learning Framework for Adaptive Nearest Neighbor Search using Static Features Onlycited by 3
- 2025Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Searchcited by 2
- 2026E2E: Efficient Filtered AKNN Search via Adaptive Terminationcited by 2
- 2026Ranking and Rank Aggregation with Matroid Prefix Constraintscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026TASR: Training-Free Adaptive Stopping for Iterative Retrieval
- 2025Breaking the Curse of Dimensionality: On the Stability of Modern Vector Retrieval
- 2025Beyond Nearest Neighbors: Semantic Compression and Graph-Augmented Retrieval for Enhanced Vector Search
- 2026Query-aware Routing for Filtered Approximate Nearest Neighbors Search
- 2026BoundaryMORPH: Budgeted Reranking via Active Set Selection for Diffuse Retrieval
- 2026Unified Dominance Graph for Interval-Predicate Approximate Nearest Neighbor Search ↗
- 2026Lower Bounds for the Algorithmic Complexity of Learned Indexes
- 2025Graph-based Nearest Neighbors with Dynamic Updates via Random Walks