Adaptive Test-Time Compute Allocation for Reasoning LLMs via Constrained Policy Optimization
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Test-time compute scaling, the practice of spending extra computation during inference via repeated sampling, search, or extended reasoning, has become a powerful lever for improving large language model performance. Yet deploying these techniques under finite inference budgets requires a decision that current systems largely ignore: which inputs deserve more compute, and which can be answered cheaply? We formalize this as a constrained optimization problem (maximize expected accuracy subject to an average compute budget) and solve it with a two-stage Solve-then-Learn pipeline. In the solve stage, Lagrangian relaxation decomposes the global constraint into per-instance sub-problems, each admitting a closed-form oracle action that optimally prices accuracy against cost. We prove that the induced cost is monotone in the dual variable, enabling exact budget targeting via binary search. In the learn stage, a lightweight classifier is trained to predict oracle actions from cheap input features, amortizing the allocation rule for real-time deployment. We establish that the task-level regret of the learned policy is bounded by its imitation error times the worst-case per-instance gap, yielding a clean reduction from constrained inference to supervised classification. Experiments on MATH and GSM8K with three LLMs (DeepSeek-V3, GPT-4o-mini, Qwen2.5-7B) show that our method consistently outperforms uniform and heuristic allocation baselines, achieving up to 12.8% relative accuracy improvement on MATH under matched budget constraints, while closely tracking the Lagrangian oracle upper bound with over 91% imitation accuracy.
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 42 of its 50 references that are in the map. First posted on arXiv 16 Apr 2026.
Builds on
42 of 50 references.
Closest ancestors · 9
Same direction, newest first
- 2025The Art of Scaling Test-Time Compute for Large Language Models1 Dec
- 2025Route to Reason: Adaptive Routing for LLM and Reasoning Strategy Selection26 May
- 2025SelfBudgeter: Adaptive Token Allocation for Efficient LLM Reasoning16 May
- 2025Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling10 Feb
- 2024Learning How Hard to Think: Input-Adaptive Allocation of LM Computation7 Oct
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
- 2024Inference Scaling Laws: An Empirical Analysis of Compute-Optimal Inference for Problem-Solving with Language Models1 Aug
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May
- 2023Self-Refine: Iterative Refinement with Self-Feedback30 Mar
Other references · 33
- 2023GPT-4 Technical Reportcited by 18,132
- 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
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Let's Verify Step by Stepcited by 3,598
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
21 more
- 2021Convex optimizationcited by 2,479
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2022Solving math word problems with process- and outcome-based feedbackcited by 871
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2017Selective Classification for Deep Neural Networkscited by 799
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
- 2021Dynamic Neural Networks: A Surveycited by 405
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 222
- 2015Conditional Computation in Neural Networks for faster modelscited by 166
- 2013Bandits with Knapsackscited by 163
- 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 156
- 2015Linear Contextual Bandits with Knapsackscited by 82
- 2021Scaling Scaling Laws with Board Gamescited by 62
- 2024The Larger the Better? Improved LLM Code-Generation via Budget Reallocationcited by 41
- 2025Adaptive LLM Routing under Budget Constraintscited by 21
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verificationcited by 1
- 2026Think Again or Think Longer? Selective Verification for Budget-Aware Reasoningcited by 1
- 2026Thinking Hard, Not Smart: Reasoning Models Fail to Ration Test-Time Compute Across Questionscited by 1
- 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding taskscited by 1
- 2026Solver-Hard Is Not Model-Hard: A Hardness-Controlled Diagnostic for LLM Constraint Reasoningcited by 0
- 2026Steering Recurrent Reasoners at Inference Time with Readout Feedbackcited by 0
- 2026Sampling headroom is not selection gain: a compute-value audit of test-time scaling for video world modelscited by 0
- 2026BudgetVerify: Budget-Tiered Verification for Financial QAcited by 0
- 2026BudgetVerify: Budget-Tiered Verification for Financial QA27 Sep 2026
- 2026Sampling headroom is not selection gain: a compute-value audit of test-time scaling for video world models6 Sep 2026
- 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding tasks26 Aug 2026
- 2026Steering Recurrent Reasoners at Inference Time with Readout Feedback25 Aug 2026
- 2026Thinking Hard, Not Smart: Reasoning Models Fail to Ration Test-Time Compute Across Questions8 Aug 2026
- 2026Solver-Hard Is Not Model-Hard: A Hardness-Controlled Diagnostic for LLM Constraint Reasoning19 Jul 2026
- 2026Think Again or Think Longer? Selective Verification for Budget-Aware Reasoning18 Jun 2026
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification17 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026What If We Allocate Test-Time Compute Adaptively?
- 2026Adaptive Test-Time Compute Allocation via Learned Heuristics over Categorical Structure
- 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approach
- 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs
- 2026Adaptive Test-Time Compute Allocation with Evolving In-Context Demonstrations
- 2025Reward Model Generalization for Compute-Aware Test-Time Reasoning
- 2025Optimizing Anytime Reasoning via Budget Relative Policy Optimization
- 2025Less is More: Improving LLM Reasoning with Minimal Test-Time Intervention