potentialpaper

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

Zhiyuan Zhai, Lishui Fan, Mingkang Zhang, Bingjin Chen, Ming Li, Zheng-Fan Wu

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Spending more compute at inference time can improve large language model (LLM) accuracy, but not every query benefits equally. Under a limited budget, which queries should receive more compute, and which can be answered with less? We formulate this decision as a constrained optimization problem: assign a compute budget to each query to maximize expected accuracy, subject to a limit on average compute cost. To solve this problem, we propose a two-stage Solve-then-Learn (STL) framework. In the solve stage, we use Lagrangian relaxation to construct a budget-allocation oracle with provable optimality guarantees on a calibration set. In the learn stage, we use the oracle allocations as supervision to train a lightweight classifier that predicts a compute budget for each new query before generation. For LLM reasoning, STL assigns different token caps to different questions to improve overall accuracy under a shared average token budget, while keeping the underlying LLM unchanged. Experiments across two benchmarks and three LLMs show that STL outperforms the strongest evaluated baseline in 17 of 18 settings, with an average accuracy gain of 3.90 percentage points and a maximum gain of 8.46 points under the same budget constraint.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
17 Sep 2026ICLR 2027submittedICLR 2027Withdrawnreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Withdrawn · 3 reviews · OpenReview

Updated 24 Nov 2026, 16:56 UTC.

Reviewer b8oaOpenReview ↗
Rating
2/4
Confidence
3/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper studies how to allocate a shared completion-token budget across questions for a fixed language model. The proposed Solve-then-Learn framework first estimates question-specific accuracy and cost at several token caps, uses a Lagrangian solver to construct allocation labels, and trains a lightweight classifier to predict these labels before generation. A separate sequential executor enforces the total budget by reserving a minimum allowance for unanswered questions. The paper provides finite-table allocation and imitation-error bounds, together with a budget-feasibility guarantee. Experiments cover two mathematics datasets and three models. The primary results report improvements over the strongest evaluated baseline in 17 of 18 settings, averaging 3.90 percentage points, although these results use a cost-calibrated variant that differs from the direct-budget training procedure emphasized in the main description.

Strengths

1.The Lagrangian formulation explicitly coordinates compute allocation across questions without requiring diminishing returns in accuracy.

2.The lightweight policy and hard-budget executor support deployment without modifying the underlying model or sampling preliminary answers.

3.Experiments across three models and two datasets show consistent improvements, with ten comparisons against Random remaining significant after multiple-testing correction.

Weaknesses

1.The headline results use an earlier cost-calibrated variant, leaving the emphasized direct-budget training procedure insufficiently validated by the primary evaluation.

2.The absence of stronger learned-allocation baselines makes the specific contribution of oracle-label supervision difficult to establish.

3.Incomplete generation records and uncertainty estimates conditioned on fixed response pools limit reproducibility and assessment of robustness to fresh sampling.

Questions for the authors

1.Which training variant is intended as the final method, and do the headline conclusions hold under a matched comparison of direct-budget and cost-calibrated training?

2.How does STL compare with learned utility or marginal-reward predictors using the same training data, input features, candidate caps, and budget executor?

3.Can the missing mini/nano sampling settings be recovered, and do the gains persist across independent training runs and newly generated response pools?

Reviewer 8xPVOpenReview ↗
Rating
2/4
Confidence
2/4
Soundness
1/3
Presentation
3/3
Informativeness
1/3
Read review
Summary

This paper proposes the Solve-Then-Learn (STL) framework to optimize the allocation of test-time token budgets on a per-problem basis. In the Solve stage, the authors derive an oracle for compute budget allocation via Lagrangian relaxation. In the Learn stage, they train a lightweight classifier to predict compute budgets, using the oracle allocations as supervision. This allows STL to maximize problem-solving accuracy by assigning different token limits to different problems. Experiments evaluating GPT-5.4 mini, GPT-5.4 nano, and Qwen3-235B-A22B on OlympiadBench and AIME-extended report that the proposed method outperforms the baseline methods.

Strengths
  • Adapting the maximum number of tokens allocated to each problem is important for practical applications of LLMs, particularly for reducing inference costs and environmental impact.
  • Rather than only predicting problem difficulty, this work addresses the problem of maximizing accuracy under a constrained token budget and proposes the STL framework as a solution.
  • The experimental results demonstrate the effectiveness of the proposed method across all evaluated models.
Weaknesses
  • The novelty of the proposed method is not convincing.
    • First, the paper does not cite closely related work, such as Zuo and Zhu (2026), which addresses a very similar problem. Although their approach may not be applicable to black-box LLMs, a comparison should be possible at least for Qwen3-235B-A22B. Such an experimental comparison would also be valuable for investigating the differences between black-box and white-box settings.
    • Section 2 (Related Work) describes the research background and prior work. However, the discussion of prior work largely consists of summarizing existing studies, without clearly comparing them with the present work or explaining how it is positioned relative to them. Consequently, the novelty of this work remains unclear.
  • The baseline methods are too weak to establish the advantages of the proposed method over existing approaches.
    • The experimental results essentially show that the proposed method performs better than a random baseline, but this is insufficient to demonstrate its effectiveness.
    • "Learning How Hard to Think" (Damani et al., 2025), which is cited in the paper, should also be included as a baseline for comparison.
    • As discussed above, a comparison with Zuo and Zhu (2026) is also desirable.

Bowen Zuo and Yinglun Zhu. 2026. Strategic Scaling of Test-Time Compute: A Bandit Learning Approach. ICLR.

Questions for the authors

Nothing in particular.

Reviewer LAvkOpenReview ↗
Rating
1/4
Confidence
2/4
Soundness
1/3
Presentation
2/3
Informativeness
2/3
Flag for ethics review
Yes
Read review
Summary

The paper proposes Solve-then-Learn (STL) to maximize reasoning accuracy by assigning different token budgets to questions under a shared average compute constraint. It uses Lagrangian optimization to derive allocations from calibration data, then trains a lightweight classifier to predict token caps for new questions without modifying the underlying LLM. The authors bound allocation and imitation errors and introduce an execution rule that enforces the total token budget. Across OlympiadBench and AIME-extended with three LLMs, STL outperforms the strongest evaluated baseline in 17 of 18 settings.

Strengths
  • The paper addresses a practical problem by optimizing reasoning accuracy under a shared compute budget while accounting for differences in how questions benefit from additional tokens.
  • The proposed framework is practical to deploy since it selects token caps before generation without retraining the underlying LLM.
Weaknesses
  • The experiments seem not to be ready. Sec 7 says that "Table 1, Figure 3, and Sections 7.2–7.3 retain results from the earlier procedure. Section 7.4 reports the completed direct-budget cross domain experiment; the primary table and budget sweep have not yet been replaced with results from this revised procedure."
  • Some work already study the budge allocation problem, like Damani et al. (2025). The paper does not compare with these methods.
Questions for the authors

Please clarify whether the results are reliable.

Ethics concerns

In Sec 7, the paper writes "Table 1, Figure 3, and Sections 7.2–7.3 retain results from the earlier procedure. Section 7.4 reports the completed direct-budget cross domain experiment; the primary table and budget sweep have not yet been replaced with results from this revised procedure.". The paper may not be ready to publish.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…