Latency-Aware Adaptive Best-of-N
New in LLM reasoning; no direction yet. LLM reasoning
Abstract (arXiv)
Test-time compute (TTC) improves language model responses by spending additional computation at inference time, and the right amount of compute depends on the prompt. Adaptive TTC methods allocate compute based on signals of response quality such as observed rewards, often by stopping once the signal exceeds a fixed threshold, and generally measure cost by the number of generations or tokens. But in online serving, latency is also a cost: it grows with server load, so a method using a fixed threshold spends too little compute when generation is fast and too much when it is slow. For Best-of-N sampling, a widely used TTC method, we propose a two-stage adaptive algorithm that draws an initial batch, then uses the observed rewards and the batch's latency to decide whether to draw a second batch and at what size by comparing expected improvement against predicted cost: it draws one when the first batch's best reward is below a threshold that decreases with the first batch's latency, without explicitly measuring server load. We map each reward to its value under the cumulative distribution function (CDF) of the prompt's reward distribution, so the same tradeoff parameters can be reused across tasks; a regression fitted offline on other prompts predicts a distribution for the CDF value of the first batch's best reward, giving the expected improvement in closed form. We evaluate the method by simulation on a preference-based alignment benchmark, measuring generations-equivalent cost: generations plus latency, converted to generations. The method reaches Best-of-N's reward at lower generations-equivalent cost, and conditioning on the measured first-batch latency saves at least as much of that cost as fixed-threshold (latency-unaware) baselines, and more when latency is highly variable, when it grows with batch size, and when the second batch's latency is highly predictable from the first's.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 30 of its 38 references that are in the map. Submitted 5 Nov 2026.
Builds on
30 of 38 references.
References · 30
- 2022Training language models to follow instructions with human feedbackcited by 16,493
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,903
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2023Reasoning with Language Model is Planning with World Modelcited by 908
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 766
- 2024Inference Scaling Laws: An Empirical Analysis of Compute-Optimal Inference for Problem-Solving with Language Modelscited by 308
- 2023Alphazero-like Tree-Search can Guide Large Language Model Decoding and Trainingcited by 305
- 2025Dynamic Early Exit in Reasoning Modelscited by 242
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 143
18 more
- 2023Let's Sample Step by Step: Adaptive-Consistency for Efficient Reasoning and Coding with LLMscited by 141
- 2024Escape Sky-high Cost: Early-stopping Self-Consistency for Multi-step Reasoningcited by 124
- 2024Fast Best-of-N Decoding via Speculative Rejectioncited by 119
- 2024Learning How Hard to Think: Input-Adaptive Allocation of LM Computationcited by 82
- 2024Adaptive Inference-Time Compute: LLMs Can Predict if They Can Do Better, Even Mid-Generationcited by 73
- 2025Sampling-Efficient Test-Time Scaling: Self-Estimating the Best-of-N Sampling in Early Decodingcited by 67
- 2023Rewarding Chatbots for Real-World Engagement with Millions of Userscited by 61
- 2025ServeGen: Workload Characterization and Generation of Large Language Model Serving in Productioncited by 34
- 2025AdaBoN: Adaptive Best-of-N Alignmentcited by 13
- 2025Optimal Stopping vs Best-of-N for Inference Time Optimizationcited by 13
- 2025BEACON: Bayesian Optimal Stopping for Efficient LLM Samplingcited by 11
- 2025The Gittins Index: A Design Principle for Decision-Making Under Uncertaintycited by 9
- 2025Latency and Token-Aware Test-Time Computecited by 9
- 2023Let AI Entertain You: Increasing User Engagement with Generative AI and Rejection Samplingcited by 4
- 2026LASER: Load-Aware Serving with Early-Exit for Reasoning LLMs at the Edgecited by 1
- 2026FineServe: A Fine-Grained Dataset and Characterization of Global LLM Serving Workloadscited by 1
- 2026Batched Pandora's Boxcited by 1
- 2026LAND: Learning an Adaptive Number of Draws for Bayesian Best-of-N Selectioncited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025RTTC: Reward-Guided Collaborative Test-Time Compute
- 2025On the Limits of Test-Time Compute: Sequential Reward Filtering for Better Inference
- 2026Small RL Controller, Large Language Model: RL-Guided Adaptive Sampling for Test-Time Scaling
- 2025Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
- 2025Faster and Better LLMs via Latency-Aware Test-Time Scaling
- 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approach
- 2026FLOP-Efficient Training: Early Stopping Based on Test-Time Compute Awareness
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters