Strategic Scaling of Test-Time Compute: A Bandit Learning Approach
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Scaling test-time compute has emerged as an effective strategy for improving the performance of large language models. However, existing methods typically allocate compute uniformly across all queries, overlooking variation in query difficulty. To address this inefficiency, we formulate test-time compute allocation as a novel bandit learning problem and propose adaptive algorithms that estimate query difficulty on the fly and allocate compute accordingly. Compared to uniform allocation, our algorithms allocate more compute to challenging queries while maintaining accuracy on easier ones. Among challenging queries, our algorithms further learn to prioritize solvable instances, effectively reducing excessive computing on unsolvable queries. We theoretically prove that our algorithms achieve better compute efficiency than uniform allocation and empirically validate their effectiveness on math and code benchmarks. Specifically, our algorithms achieve up to an 11.10% performance improvement (15.04% relative) on the MATH-500 dataset, up to 10.82% (14.44% relative) on the AIME25 dataset, and up to an 11.23% performance improvement (15.29% relative) on the LiveCodeBench dataset.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 47 of its 63 references that are in the map. First posted on arXiv 15 Jun 2025.
Builds on
47 of 63 references.
Closest ancestors · 11
Same direction, newest first
- 2025Rethinking Inference-Time Scaling: Efficiency Limits and Linguistic Signals18 Apr
- 2025Adaptive Rectification Sampling for Test-Time Compute Scaling2 Apr
- 2025s1: Simple test-time scaling31 Jan
- 2024Learning How Hard to Think: Input-Adaptive Allocation of LM Computation7 Oct
- 2024Adaptive Inference-Time Compute: LLMs Can Predict if They Can Do Better, Even Mid-Generation3 Oct
- 2024Make Every Penny Count: Difficulty-Adaptive Self-Consistency for Cost-Efficient Reasoning24 Aug
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
- 2023Alphazero-like Tree-Search can Guide Large Language Model Decoding and Training29 Sep
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing19 May
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May
- 2023Self-Refine: Iterative Refinement with Self-Feedback30 Mar
Other references · 36
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2022Solving math word problems with process- and outcome-based feedbackcited by 871
24 more
- 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 688
- 2017A Tutorial on Thompson Samplingcited by 420
- 2025The Lessons of Developing Process Reward Models in Mathematical Reasoningcited by 402
- 2021The Statistical Complexity of Interactive Decision Makingcited by 208
- 2020Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oraclescited by 195
- 2013lil' UCB : An Optimal Exploration Algorithm for Multi-Armed Banditscited by 148
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
- 2015Multi-armed Bandit Models for the Optimal Design of Clinical Trials: Benefits and Challengescited by 113
- 2024Fast Best-of-N Decoding via Speculative Rejectioncited by 112
- 2019Sequential Experimental Design for Transductive Linear Banditscited by 88
- 2016An optimal algorithm for the Thresholding Bandit Problemcited by 62
- 2020An Empirical Process Approach to the Union Bound: Practical Algorithms for Combinatorial and Linear Banditscited by 45
- 2024Efficient Prompt Optimization Through the Lens of Best Arm Identificationcited by 35
- 2022Contextual Bandits with Large Action Spaces: Made Practicalcited by 32
- 2018KL-UCB-switch: optimal regret bounds for stochastic bandits from both a distribution-dependent and a distribution-free viewpointscited by 20
- 2022Contextual Bandits with Smooth Regret: Efficient Learning in Continuous Action Spacescited by 17
- 2020On Regret with Multiple Best Armscited by 16
- 2024Efficient Sequential Decision Making with Large Language Modelscited by 16
- 2021Pareto Optimal Model Selection in Linear Banditscited by 14
- 2021Pure Exploration in Kernel and Neural Banditscited by 13
- 2021Collaborative Pure Exploration in Kernel Banditcited by 13
- 2021Near Instance Optimal Model Selection for Pure Exploration Linear Banditscited by 4
- 2020Robust Outlier Arm Identificationcited by 3
- 2023Infinite Action Contextual Bandits with Reusable Data Exhaustcited by 2
Built on by
Citing papers per year: 2025: 3; 2026: 5.
8 papers.
- 2025On the Limits of Test-Time Compute: Sequential Reward Filtering for Better Inferencecited by 6
- 2026Active Testing of Large Language Models via Approximate Neyman Allocationcited by 4
- 2025Distributional Biases in Post-Training: A Markovian Analysis of Reasoning Trajectoriescited by 3
- 2025Adaptive Test-Time Reasoning via Reward-Guided Dual-Phase Searchcited by 2
- 2026PETS: A Principled Framework Towards Optimal Trajectory Allocation for Efficient Test-Time Self-Consistencycited by 2
- 2026Resample or Reroute? Recoverable Stopping Debt Without Identified Action Selectioncited by 0
- 2026Speculative Evaluation of Stochastic LLMscited by 0
- 2026Test-Time Scaling via Budgeted Multi-Attribute Verificationcited by 0
- 2026Test-Time Scaling via Budgeted Multi-Attribute Verification28 Sep 2026
- 2026Speculative Evaluation of Stochastic LLMs23 Sep 2026
- 2026Resample or Reroute? Recoverable Stopping Debt Without Identified Action Selection9 Jul 2026
- 2026Active Testing of Large Language Models via Approximate Neyman Allocation11 May 2026
- 2026PETS: A Principled Framework Towards Optimal Trajectory Allocation for Efficient Test-Time Self-Consistency18 Feb 2026
- 2025On the Limits of Test-Time Compute: Sequential Reward Filtering for Better Inference4 Dec 2025
- 2025Distributional Biases in Post-Training: A Markovian Analysis of Reasoning Trajectories10 Nov 2025
- 2025Adaptive Test-Time Reasoning via Reward-Guided Dual-Phase Search29 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Adaptive Test-Time Compute Allocation with Evolving In-Context Demonstrations
- 2026Test-Time Scaling in the Wild: Why Exploitation, Not Exploration, Is the Bottleneck
- 2026Adaptive Test-Time Compute Allocation for Reasoning LLMs via Constrained Policy Optimization
- 2025Latency and Token-Aware Test-Time Compute
- 2025Every Rollout Counts: Optimal Resource Allocation for Efficient Test-Time Scaling
- 2026Predicting and improving test-time scaling laws via reward tail-guided search
- 2025The Art of Scaling Test-Time Compute for Large Language Models
- 2024Provable Scaling Laws for the Test-Time Compute of Large Language Models