BOA: Beamwidth Online Adaptation for Filtered-ANNS on a GPU
Abstract
Filtered approximate nearest neighbor search, i.e. returning the top-k vectors nearest to a query vector among those satisfying one or more attribute predicates, has become a fundamental operation in modern vector search systems. Graph-based solutions employ beam search to solve a batch of queries in parallel for high throughput and employ high fixed beamwidth of 100 or greater for ensuring high recall. We observe that, given a batch of queries, more than half of the queries across multiple data sets can be solved precisely with a beamwidth of just 50 or less. Therefore, existing systems based on fixed high beamwidth sacrifice throughput to achieve high recall by forcing every query to search as thoroughly as the hardest query in the batch even though majority of queries can be resolved by a shallow search. In this paper we present a filtered ANNS engine for a single GPU named BOA that uses online beamwidth adaptation to customize the search effort across queries within a batch under multi-attribute range filters. We address the recall throughput tradeoff with a multi-phase search: all queries are first evaluated under a narrow beam, and only those with uncertain results are progressively refined with wider beamwidths. This renders recall largely insensitive to the starting beamwidth, whereas prior methods must use a fixed high beamwidth for high recall. BOA+ overlaps execution of phases to further enhance throughput. Our experiments show that, for 10,000 queries, online adaptation achieves 94.05% to 99.96% recall with average beamwidth ranging from 22 to 77, while a non-adaptive approach requires a fixed beamwidth of 500 to achieve similar or lower recall. Consequently, adaptivity increases throughput by 7x to 12.5x
Create a lesson
Related papers
Adaptive Warm-State Retention for Serverless Cold-Start Mitigation: Treating Keep-Alive Time as an Online Control Parameter
Shared title terminologycs.DCSanjeet Raj Pandey, Axel Küpper
Adaptive Overlay for Fast Peer-to-Peer Dissemination
Shared title terminologycs.DCEvangelos Kolyvas, Spyros Voulgaris
How Are Multi-Adapter LLM Serving Systems Evaluated? An Empirical Study of Baselines, Workloads and Artifacts in 62 Multi-LoRA Serving Papers
Shared title terminologycs.DCGeorgii Kliukovkin
CCAMoE: Cache-Conditioned Adaptive Inference for Offloaded MoE
Shared title terminologycs.DCXuan Zhang, Haisheng Tan, Han Tian et al.
Weave: Routing-Adaptive Runtime Warp Scheduling for MoE Megakernels
Shared title terminologycs.DCZiyu Huang, Yangjie Zhou, Chenhao Zhu et al.
No-Restart Elasticity in an Adaptive Runtime System for Cloud-Native HPC
Shared title terminologycs.DCAditya Bhosale, Laxmikant Kale