mlsanityData to 7 Oct 2026

Adaptive Test-Time Compute Allocation for Reasoning LLMs via Constrained Policy Optimization

arXiv 2604.14853 ↗First posted 16 Apr 2026cs.LGcited by 8

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

  1. 2025The Art of Scaling Test-Time Compute for Large Language Models1 Dec
  2. 2025Route to Reason: Adaptive Routing for LLM and Reasoning Strategy Selection26 May
  3. 2025SelfBudgeter: Adaptive Token Allocation for Efficient LLM Reasoning16 May
  4. 2025Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling10 Feb
  5. 2024Learning How Hard to Think: Input-Adaptive Allocation of LM Computation7 Oct
  6. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
  7. 2024Inference Scaling Laws: An Empirical Analysis of Compute-Optimal Inference for Problem-Solving with Language Models1 Aug
  8. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May
  9. 2023Self-Refine: Iterative Refinement with Self-Feedback30 Mar

Other references · 33

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  7. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  9. 2023Let's Verify Step by Stepcited by 3,598
  10. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  12. 2022Training Compute-Optimal Large Language Modelscited by 2,927
21 more
  1. 2021Convex optimizationcited by 2,479
  2. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  3. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
  4. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  5. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  6. 2023Reasoning with Language Model is Planning with World Modelcited by 846
  7. 2017Selective Classification for Deep Neural Networkscited by 799
  8. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  9. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
  10. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
  11. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
  12. 2021Dynamic Neural Networks: A Surveycited by 405
  13. 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
  14. 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 222
  15. 2015Conditional Computation in Neural Networks for faster modelscited by 166
  16. 2013Bandits with Knapsackscited by 163
  17. 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 156
  18. 2015Linear Contextual Bandits with Knapsackscited by 82
  19. 2021Scaling Scaling Laws with Board Gamescited by 62
  20. 2024The Larger the Better? Improved LLM Code-Generation via Budget Reallocationcited by 41
  21. 2025Adaptive LLM Routing under Budget Constraintscited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 8.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026What If We Allocate Test-Time Compute Adaptively?
  2. 2026Adaptive Test-Time Compute Allocation via Learned Heuristics over Categorical Structure
  3. 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approach
  4. 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs
  5. 2026Adaptive Test-Time Compute Allocation with Evolving In-Context Demonstrations
  6. 2025Reward Model Generalization for Compute-Aware Test-Time Reasoning
  7. 2025Optimizing Anytime Reasoning via Budget Relative Policy Optimization
  8. 2025Less is More: Improving LLM Reasoning with Minimal Test-Time Intervention