Skip to content
ImagineWorld

What If We Allocate Test-Time Compute Adaptively?

node_idnode-paper_arxiv-2602.01070_what-if-we-allocate-test-time-compute-adaptively
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2602.01070
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the value-estimation field, the work allocates test-time compute adaptively, spending more inference effort exactly where the estimated value of further computation is highest — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleWhat If We Allocate Test-Time Compute Adaptively?
paper_authorsAhsan Bilal, Ahmed Mohsin, Muhammad Umer, Ali Subhan, Hassan Rizwan, Ayesha Mohsin, Dean Hougen
arxiv_id2602.01070
arxiv_urlhttps://arxiv.org/abs/2602.01070
arxiv_categories{"primary":"cs.CL","secondary":[]}
arxiv_v5
arxiv_submitted_at2026-02-01
arxiv_updated_at2026-06-29
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:10:36Z
local graph

What If We Allocate Test-Time Compute Adaptively?

Section titled “What If We Allocate Test-Time Compute Adaptively?”

Authors: Ahsan Bilal, Ahmed Mohsin, Muhammad Umer, Ali Subhan, Hassan Rizwan, Ayesha Mohsin, Dean Hougen

arxiv: 2602.01070

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Test-time compute scaling allocates inference computation uniformly, uses fixed sampling strategies, and applies verification only for reranking. In contrast, we propose a verifier-guided adaptive framework treating reasoning as iterative trajectory generation and selection. For each problem, the agent runs multiple inference iterations. In each iteration, it optionally produces a high-level plan, selects a set of reasoning tools and a compute strategy together with an exploration parameter, and then generates a candidate reasoning trajectory. A process reward model (PRM) serves as a unified control signal: within each iteration, step-level PRM scores are aggregated to guide pruning and expansion during generation, and across iterations, aggregated trajectory rewards are used to select the final response. Across datasets, our dynamic, PRM-guided approach consistently outperforms direct test-time scaling, yielding large gains on MATH-500 and several-fold improvements on harder benchmarks such as AIME24 and AMO-Bench. We characterize efficiency using theoretical FLOPs and a compute intensity metric penalizing wasted generation and tool overhead, demonstrating that verification-guided allocation concentrates computation on high-utility reasoning paths.

Test-Time Compute, Mathematical Reasoning, Process Reward Models, Adaptive Agents

††affiliationnotice: †Equal contribution.

The paradigm for improving LLM reasoning performance has increasingly shifted from scaling model parameters during pretraining to scaling computation at test time (Snell et al., 2025; Brown et al., 2024). This shift reframes inference as an optimization problem: given additional inference-time computation, the objective is no longer simply to generate an answer, but to decide how that computation should be allocated across reasoning steps, strategies, and alternatives to maximize solution reliability and accuracy. Current test-time compute scaling methods, however, face three fundamental limitations in addressing this optimization problem.

First, they lack control over where and how additional inference-time computation is applied: expensive reasoning procedures are typically applied uniformly across all inputs, wasting computation on easy problems while under-allocating exploration to genuinely hard instances (Brown et al., 2024).

Second, inference strategies are typically fixed a priori, for example, by pre-specifying the number of samples in Best-of-NN or the depth of a search procedure, rather than adapting based on intermediate reasoning quality (Rakhsha et al., 2025). As a result, the same exploration budget is applied regardless of whether early reasoning steps are clearly correct or already flawed.

Third, while several recent methods incorporate intermediate verification or scoring to guide search (e.g., via MCTS-style expansion and pruning (Lightman et al., 2024; Xie et al., 2024)), such mechanisms are typically tied to a fixed inference procedure and act only within a predetermined search algorithm. In contrast, existing approaches do not use verification signals to dynamically select which reasoning tools to invoke or which compute strategy to apply on a per-problem basis. As a result, verification is used only to rerank completed candidates produced by a predetermined inference procedure, rather than to influence which reasoning tools are invoked or how much computation is allocated while reasoning is still in progress.

We address this challenge in the context of mathematical reasoning with a verifier-guided adaptive test-time inference framework that treats reasoning as an iterative, trajectory-level decision process rather than a single-shot generation. Mathematical problem solving is particularly sensitive to early errors and branching choices, making it a natural testbed for adaptive allocation of test-time compute (Mirzadeh et al., 2024). While we focus on mathematics, the framework is general and can be applied to other reasoning-intensive domains where intermediate verification signals are available. For each problem, the agent runs multiple iterations, selecting tools and compute strategies per iteration and using step-level PRM scores to guide trajectory generation and final answer selection.

Contribution. We make three main contributions:

    Trajectory-level formulation. We cast adaptive test-time reasoning as a trajectory-level generation and selection problem, in which reasoning is produced incrementally and evaluated at each step. A process reward model (PRM) provides local correctness signals during generation, grounding trajectory construction in verified step transitions and actively steering the model toward better reasoning paths as they are formed. This enables online pruning to improve reasoning quality.

    Empirical gains over static inference strategies. On MATH-500, adaptive inference improves accuracy from 43.8%43.8\% to 65.4%65.4\% (+21.6) for Llama-3.1-8B-Instruct and from 71.2%71.2\% to 81.4%81.4\% (+10.2) for Qwen-2.5-7B-Instruct; on AIME24, it improves from 3.3%3.3\% to 10.0%10.0\% and from 6.67%6.67\% to 13.3%13.3\%, respectively, and on AMO-Bench it doubles accuracy from 2.0%2.0\% to 4.0%4.0\% for both models.

    Compute-efficiency analysis. We evaluate inference-time efficiency using two complementary metrics: theoretical FLOPs F_theoF\_{\text{theo}}, which accounts for the total computation across all model invocations, and a compute intensity score S_CIS\_{\text{CI}}, which penalizes redundant generation and verification overhead. Together, these metrics show that performance gains arise from selectively allocating computation to high-utility reasoning trajectories, rather than uniformly increasing inference-time compute.

Figure 1 : Universal reasoning agent architecture. The system generates K K candidate trajectories { I 1 , … , I K } {I_{1},\ldots,I_{K}} with answers { y 1 , … , y K } {y_{1},\ldots,y_{K}} , scored by a PRM to produce rewards R R for each trajectory τ i \tau_{i} for selecting the best response (top). Each iteration follows a four-stage workflow (bottom): planning ( 𝒜 P \mathcal{A}{P} ), tool selection ( 𝒜 T \mathcal{A}{T} ), compute strategy selection ( 𝒜 C \mathcal{A}{C} ), and answer extraction ( 𝒜 F \mathcal{A}{F} ).

Problem Formulation. Given a problem xx, the agent allocates inference-time computation by generating multiple reasoning trajectories across iterations. In each iteration, a specific configuration of reasoning tools (e.g., Chain-of-Thought, self-reflection, numeric or logical verification) and a compute strategy (e.g., Best-of-NN, beam search, or lookahead with an exploration parameter) is selected, defining how the trajectory is generated. During generation, a PRM-based verifier evaluates intermediate reasoning steps and completed trajectories, assigning higher scores to locally consistent and mathematically valid transitions. These step-level signals are aggregated to prioritize promising reasoning paths, prune low-quality continuations, and ultimately favor trajectories that maintain consistent local correctness, which empirically leads to more reliable final answers. Each iteration yields a candidate trajectory, and the final output is selected via PRM-guided trajectory selection. Although we describe the framework using a trajectory-level decision formalism, the controller is not a learned policy. Instead, adaptivity is implemented entirely at inference time via deterministic, role-conditioned prompt templates applied to the same base LLM for planning, tool selection, compute strategy selection, verification, and answer extraction, without any pretraining, finetuning, or parameter updates as detailed in Appendix B. Finally, we analyze the compute metrics F_theoF\_{\text{theo}} and S_CIS\_{\text{CI}} to show that additional computation is selectively concentrated on high-utility reasoning trajectories rather than being uniformly scaled.

Agent Architecture. To operationalize this adaptive framework, we design a modular agent with four hierarchical components that progressively refine the reasoning strategy for each problem, as shown in Figure 1. The agent does not learn a policy; instead, each component operates via heuristic, prompt-conditioned decisions using the same base LLM.

  1. First, a planning agent A_P\mathcal{A}\_{P} generates a structured high-level plan π=A_P(x)\pi=\mathcal{A}\_{P}(x) before detailed reasoning to guide downstream tool and strategy selection and is conditioned on problem characteristics.

  2. Second, the tool selection agent A_T\mathcal{A}\_{T} dynamically chooses a subset of reasoning tools T=A_T(x,π)\mathcal{T}=\mathcal{A}\_{T}(x,\pi) from the toolkit as shown in the Tool Selector in Figure 1. Decisions in A_T\mathcal{A}\_{T} are produced by a structured, role-specific prompt that maps (x,π)(x,\pi) to a tool subset under explicit selection rules as detailed in Appendix B.3. Each tool serves a distinct purpose: Chain-of-Thought (CoT) performs step-by-step problem decomposition; Self-Reflection (SR) enables iterative refinement through self-critique; general Verifier (V) checks logical consistency; Numeric Verifier (NV) validates numerical correctness; Reframer (R) reformulates ambiguous problems; and Summarizer (S) compresses long trajectories.

  3. Third, the compute selection agent A_C\mathcal{A}\_{C} determines both the inference strategy cc and its exploration parameter m∈N+m\in\mathbb{N}^{+} via c,m=A_C(x,π,T).c,m=\mathcal{A}\_{C}(x,\pi,\mathcal{T}). Here, mm specifies the exploration budget associated with the chosen strategy: N=mN=m for Best-of-NN (BoN), beam width k=mk=m for Beam Search (BS), and lookahead depth d=md=m for Lookahead Search (LA). The compute selector uses a structured prompt conditioned on (x,π,T)(x,\pi,\mathcal{T}) to jointly select c,mc,m as detailed in Appendix B.4. These strategies trade off between exploration and exploitation: small mm commits early to a single trajectory, while larger mm explores multiple candidates to mitigate early errors at a higher compute cost. Jointly selecting (c,m)(c,m) enables per-problem adaptation, avoiding under-exploration on hard problems and wasted compute on easy ones. Tables 2 and 9 present comprehensive ablations across all tool-strategy-parameter combinations.

  4. Finally, the answer extraction agent A_F\mathcal{A}\_{F} synthesizes the final answer y=A_F(τ)y=\mathcal{A}\_{F}(\tau) from the completed trajectory τ=(s_1,…,s_T)\tau=(s\_{1},\ldots,s\_{T}) in standardized format as detailed in Appendix B.7. This modular architecture cleanly decouples reasoning strategy selection (tools T\mathcal{T}), exploration extent, and output formatting, enabling independent study of each component’s contribution while maintaining flexible composition.

Process Reward Models and Multi-Iteration Selection. We use a PRM as a unified control signal for both intra-iteration compute allocation and inter-iteration selection. In all experiments, we employ a pretrained, math-specialized PRM based on Qwen2.5-Math-PRM-7B (Zhang et al., 2025). In our implementation, the PRM is applied as a local step validator: it evaluates the correctness of individual reasoning steps rather than directly predicting final-answer correctness. Verification tools, including the general Verifier and the Numeric Verifier, only produce additional reasoning steps. All such steps are evaluated uniformly by the PRM. Concretely, each tool emits step-delimited transitions (s_t−1 ⁣→ ⁣s_t)(s\_{t-1}\!\rightarrow\!s\_{t}) that are scored by the same PRM using identical inputs and aggregation, without access to tool identity. Thus, Verifier and Numeric Verifier differ only in the type of reasoning they generate, while correctness assessment is always performed by the PRM.

Step segmentation and scoring. A reasoning trajectory is denoted τ=(s_1,…,s_T)\tau=(s\_{1},\dots,s\_{T}), where each s_ts\_{t} is an atomic reasoning step generated incrementally at explicit step boundaries, determined jointly by the selected reasoning tools and compute strategy. For each step transition (s_t−1 ⁣→ ⁣s_t)(s\_{t-1}\!\rightarrow\!s\_{t}), the PRM assigns a scalar validity score v_t=PRM(s_t−1,s_t)∈[0,1]v\_{t}=\mathrm{PRM}(s\_{t-1},s\_{t})\in[0,1] that evaluates local correctness while intentionally ignoring global strategy, in accordance with the step-level prompting in Appendix B.6. Within a single trajectory (intra-iteration selection as shown at the bottom of Figure 1), PRM scores are used to guide step-level selection among candidate continuations, enabling intra-trajectory control during generation. Across iterations, i.e., inter-iteration selection as shown at the top of Figure 1, each iteration produces a completed trajectory, and PRM-based trajectory scores are used to select the final output via inter-iteration selection.

R(τ)  ≜  R_mean(τ)  =  1T∑_t=1Tv_t,R(\tau)\;\triangleq\;R\_{\text{mean}}(\tau)\;=\;\frac{1}{T}\sum\_{t=1}^{T}v\_{t},(1)

which measures aggregated local correctness rather than direct final-answer accuracy and provides a stable estimate of the overall trajectory of sound reasoning.

1) Intra-iteration control. Within each iteration, PRM scores are used online to guide compute allocation. Generation is step-delimited, and the PRM evaluates individual step transitions (s_t−1 ⁣→ ⁣s_t)(s\_{t-1}\!\rightarrow\!s\_{t}) by taking the previous and current reasoning steps as input and outputting a scalar validity score that reflects local mathematical correctness. These step-level scores are aggregated online to choose among candidate continuations (and prune low-scoring ones) before the iteration completes. Across inference strategies, intra-iteration control follows a common rule: among candidate prefixes or continuations at a given step, we retain the option with the highest aggregated PRM score.

For Best-of-NN, we sample NN independent trajectories within iteration I_i\mathcal{I}\_{i} and select τ^_i  =  arg⁡max⁡_τ∈S_iR(τ).\hat{\tau}\_{i}\;=\;\arg\max\_{\tau\in\mathcal{S}\_{i}}R(\tau). Here, the PRM is used to select the best completed trajectory within an iteration, rather than to prune partial prefixes during generation.

For Beam Search, we maintain a beam set B_t\mathcal{B}\_{t} over partial prefixes and prune candidates using the mean step validity accumulated so far, R(τ_1:t)  =  1t∑_u=1tv_u,R(\tau\_{1:t})\;=\;\frac{1}{t}\sum\_{u=1}^{t}v\_{u}, where v_uv\_{u} denotes the PRM score of the uu-th step transition. Completed trajectories in the final beam are then ranked by R(τ)R(\tau). Pruning occurs only when all candidate prefixes reach the same step boundary, ensuring that partial generations are not interrupted mid-step.

For Lookahead Search, intra-iteration control operates at a partial prefix τ_1:t\tau\_{1:t}. Candidate next-step actions are evaluated by rolling out short, depth-dd continuations using step-delimited generation. Each rollout is segmented into intermediate steps, each step transition is scored by the PRM, and the rollout score is computed as the mean over these step-level scores. The highest-scoring continuation is selected, after which only the chosen next step is committed, and generation proceeds from the updated prefix. Unselected rollouts are discarded at the step boundary, and generation continues from the committed prefix without revisiting discarded branches. This process repeats at subsequent step boundaries until the iteration reaches the maximum depth.

2) Inter-iteration selection. Across KK independent iterations, each iteration produces one completed trajectory τ^_i\hat{\tau}\_{i}. The final output is chosen by maximizing aggregated step validity across iterations:

τ^_i=arg⁡max⁡_τ∈S_iR(τ),  i^=arg⁡max⁡_i∈{1,…,K}R(τ^_i),  y^=y(τ^_i^).\hat{\tau}\_{i}=\arg\max\_{\tau\in\mathcal{S}\_{i}}R(\tau),\;\hat{i}=\arg\max\_{i\in\{1,\dots,K\}}R(\hat{\tau}\_{i}),\;\hat{y}=y(\hat{\tau}\_{\hat{i}}).(2)

Here, S_i\mathcal{S}\_{i} denotes the set of candidate trajectories generated within iteration ii, and i^\hat{i} indexes the selected iteration. In the qualitative examples as shown in Appendix A.7, the Selected Iteration Index denotes which iteration is chosen during inter-iteration selection (e.g., iteration 1 of K=10K{=}10). The displayed reasoning steps correspond to the step-delimited trajectory generated within that selected iteration via intra-iteration control (e.g., Lookahead Search).

Compute Cost Metrics for Efficiency Analysis.

Section titled “Compute Cost Metrics for Efficiency Analysis.”

To evaluate accuracy-efficiency trade-offs independently of hardware and wall-clock time, we report two complementary inference-time compute metrics that explicitly account for all model executions performed during adaptive inference, including controller decisions and verification (see Tables 3–4). Theoretical FLOPs are defined as

F_theo  =  ∑_j∈M2 M_j⋅min⁡ ⁣(Tˉ(j)_total, L(j)_ctx)⋅Gˉ(j),F\_{\text{theo}}\;=\;\sum\_{j\in\mathcal{M}}2\,M\_{j}\cdot\min\!\bigl(\bar{T}^{(j)}\_{\text{total}},\,L^{(j)}\_{\text{ctx}}\bigr)\cdot\bar{G}^{(j)},

where the sum runs over all models invoked at inference time, namely the base reasoning LLM, the LLM-based controller modules (A_P\mathcal{A}\_{P}, A_T\mathcal{A}\_{T}, A_C\mathcal{A}\_{C}), and the PRM. Here, M_jM\_{j} denotes the parameter count of model jj, Gˉ(j)\bar{G}^{(j)} the average number of forward passes of model jj per problem, and Tˉ(j)_total\bar{T}^{(j)}\_{\text{total}} the average total tokens processed per forward pass, capped by the model context length L(j)_ctxL^{(j)}\_{\text{ctx}}. For example, Gˉ(base)=N\bar{G}^{(\text{base})}=N for Best-of-NN sampling, while Gˉ(PRM)\bar{G}^{(\text{PRM})} counts all prefix- and trajectory-level PRM evaluations across iterations. This formulation ensures that raw compute from controller decisions and verification is fully included. While F_theoF\_{\text{theo}} captures overall computational scale, it does not distinguish effective reasoning from redundant work. To quantify compute utilization, we define the compute intensity score

S_CI  =  Gˉ_base Tˉ_base (1+αCˉ)κ,S\_{\text{CI}}\;=\;\frac{\bar{G}\_{\text{base}}\,\bar{T}\_{\text{base}}\,(1+\alpha\bar{C})}{\kappa},

where Gˉ_base\bar{G}\_{\text{base}} and Tˉ_base\bar{T}\_{\text{base}} denote the number of base-model generations and generated tokens per generation, respectively, and Cˉ\bar{C} is the average number of auxiliary model invocations, i.e., controller calls and PRM evaluations per problem. The factor (1+αCˉ)(1+\alpha\bar{C}) explicitly penalizes verification and control overhead, with α=0.1\alpha=0.1 reflecting the smaller per-call cost of these auxiliary models relative to full reasoning generations, and κ=106\kappa=10^{6} a normalization constant. Lower S_CIS\_{\text{CI}} therefore indicates that accuracy is achieved with fewer redundant reasoning tokens and limited auxiliary overhead, reflecting better concentration of computation on high-utility trajectories.

Together, F_theoF\_{\text{theo}} and S_CIS\_{\text{CI}} provide complementary views: F_theoF\_{\text{theo}} measures the total inference-time compute across all models involved, while S_CIS\_{\text{CI}} measures how efficiently base-model reasoning tokens are utilized after accounting for controller and verification overhead. This explicit accounting enables fair and transparent efficiency comparisons between adaptive and fixed inference strategies.

(a) Llama-3.1-8B-Instruct

(a) MATH-500: Tool usage

(a) MATH-500: Tool usage

(a) MATH-500: Tool usage

(a) MATH-500: Tool usage

(a) MATH-500: Tool usage

(a) MATH-500: Tool usage

(a) MATH-500: Tool usage

This section presents datasets, models, and an evaluation protocol, followed by experimental configurations and baselines.

3.1 Datasets, Models, and Evaluation Protocol

Section titled “3.1 Datasets, Models, and Evaluation Protocol”

We evaluate on three mathematical reasoning benchmarks: MATH-500 (Hendrycks et al., 2021), AIME24, and AMO-Bench (An et al., 2025). We run experiments with Llama-3.1-8B-Instruct (Grattafiori et al., 2024) and Qwen-2.5-7B-Instruct (Team, 2024). For each problem, we execute K=10K{=}10 independent agent iterations implemented using the same base LLM, with role-specific templates to select tools (A_T\mathcal{A}\_{T}) and compute strategies (A_C\mathcal{A}\_{C}). All reasoning trajectories are scored by the pre-trained process reward model Qwen2.5-Math-PRM-7B (Zhang et al., 2025), and the final prediction is selected by maximizing the mean PRM reward R_meanR\_{\text{mean}} across iterations.

The base reasoning model uses stochastic decoding with temperature T=0.7T=0.7, top-p=0.9p=0.9, and a maximum generation length of 1024 tokens. PRM uses deterministic greedy decoding with temperature T=0T=0. All decoding settings are fixed across experiments. We adopt the math evaluation code and protocol of Satori (Shen et al., 2025). The main tables report single-run accuracies. Reporting mean accuracy and standard deviation over multiple seeds would further strengthen the robustness analysis.

3.2 Experimental Configurations and Baselines

Section titled “3.2 Experimental Configurations and Baselines”

We evaluate four configurations that progressively introduce adaptivity.

(i) Direct performs single-pass generation and serves as a lower-bound baseline.

(ii) Direct + PRM Selection runs K=10K{=}10 independent direct generations and applies PRM-based iteration selection, isolating the effect of multi-iteration evaluation without adaptive configuration. Concretely, Direct + PRM applies the PRM solely for inter-trajectory re-ranking via Best-of-NN selection across KK completed trajectories using R_mean(τ)R\_{\text{mean}}(\tau) (as in Eq. 1), with no intra-trajectory PRM intervention during generation, corresponding to the best fixed strategy in Table 2.

(iii) Dynamic uses an LLM controller to select tools and compute strategies within a single iteration, isolating the benefit of adaptive configuration without multi-iteration exploration.

(iv) Dynamic + PRM Selection combines adaptive tool and compute selection with K=10K{=}10 iterations and PRM-based selection. Overall accuracy is reported in Table 1, inference-time compute metrics F_theoF\_{\text{theo}} and S_CIS\_{\text{CI}} are shown in Figure 4, per-difficulty accuracy across Levels 1–5 on the MATH-500 dataset is reported in Figure 2, and configuration statistics summarizing tool and compute strategy usage are shown in Figure 3. In addition, we conduct fixed-configuration ablations that apply specific tool–compute–parameter combinations uniformly across all problems and iteration counts, enabling controlled comparisons that isolate the contribution of adaptive selection, as shown in Tables 2 and 9. Further ablation results and detailed efficiency analyses are reported in Appendix A.3 and Appendix A.6.

All experiments were run on a single NVIDIA RTX 5090 GPU with 32 GB of memory. We use the same hardware for all settings and report hardware-agnostic compute metrics, i.e., theoretical FLOPs and compute intensity, rather than wall-clock time, to focus on compute utilization.

Our results support three takeaways. (i) First, adaptive inference, combining dynamic tool and compute selection with PRM-guided trajectory selection, consistently outperforms uniform test-time scaling across all evaluated datasets. (ii) Second, these gains are difficulty-dependent: on the MATH-500 benchmark, which is organized into five progressively harder difficulty levels, adaptive methods yield strong improvements on Levels 1–4, while gains on Level 5 are weaker due to less reliable verification signals at the highest difficulty. (iii) Third, adaptivity improves compute utilization by selectively allocating inference-time computation to high-utility reasoning trajectories rather than uniformly expanding search.

4.1 Adaptive Configuration Over Fixed Strategies

Section titled “4.1 Adaptive Configuration Over Fixed Strategies”

Table 1 shows that adaptive configuration consistently outperforms fixed inference strategies across benchmarks. PRM-based selection alone yields only limited gains when the reasoning strategy is fixed, whereas dynamically selecting tools and compute strategies leads to substantially larger improvements by tailoring reasoning to problem structure. The full Dynamic + PRM Selection setting achieves the strongest results, with large gains on MATH-500, consistent improvements on AIME24, and smaller but stable gains on AMO-Bench. Figure 2 shows that these improvements on MATH-500 are concentrated on Levels 1–4, where verification reliably filters incorrect reasoning, while on Level 5, PRM-guided multi-iteration selection partially recovers performance. Overall, these results indicate that adaptive inference is most effective when it actively configures how reasoning is performed and uses PRM-guided iteration to correct early strategic errors on harder problems.

Table 1: Main accuracy results on MATH-500, AIME24, and AMO-Bench.

DatasetSettingAccuracy (%)
Llama-3.1-8BQwen-2.5-7B
MATH-500Direct43.871.2
+ PRM Sel.44.672.0
Dynamic47.274.2
+ PRM Sel.65.481.4
AIME24Direct3.36.67
+ PRM Sel.6.676.67
Dynamic6.6710.0
+ PRM Sel.10.013.3
AMO-BenchDirect2.02.0
+ PRM Sel.2.02.0
Dynamic4.04.0
+ PRM Sel.4.04.0

Table 2: Ablation study: Accuracy (%) on MATH-500 with Qwen-2.5-7B-Instruct across fixed tool–strategy–parameter–iteration configurations.

ParamIterCoTSelf-Reflection
Best-of-NBeam SearchLookaheadBest-of-NBeam SearchLookahead
1171.270.470.275.675.271.8
581.481.481.480.280.679.4
1081.281.281.280.880.479.2
5175.876.275.274.276.875.6
581.479.480.879.479.279.8
1081.479.880.679.879.679.4
10172.273.672.472.674.474.2
581.480.280.279.279.879.6
1081.480.680.879.679.479.8

4.2 Tool and Compute Strategy Selection Patterns

Section titled “4.2 Tool and Compute Strategy Selection Patterns”

Figure 3 illustrates how the agent adapts reasoning tools and computation strategies under dynamic configuration. Tool usage shows clear model-dependent behavior: Llama spreads decisions across multiple tools, with CoT and Numeric Verifier dominating on MATH-500 (∼\sim40% each) but usage becoming more evenly distributed across CoT, NV, Reframer, and Verifier on harder benchmarks such as AIME24 and AMO-Bench (∼\sim17–32% each), whereas Qwen concentrates almost entirely on structured reasoning plus numeric checking (CoT ∼\sim45–59% and Numeric Verifier ∼\sim41–48%), with negligible use of Reframer, Verifier, or Self-Reflection except on AMO-Bench where SR reaches ∼\sim15%. These patterns remain similar from 1 to 10 iterations, suggesting that tool selection is driven by model-specific reasoning characteristics rather than repeated sampling. Compute strategy usage is likewise complementary: Llama favors direct generation for a majority of instances (∼\sim60%), while Qwen allocates more mass to exploration strategies such as Best-of-NN and Lookahead (each often in the ∼\sim15–35% range). Overall, these results indicate that dynamic configuration adapts inference behavior to model structure, steering each model toward reasoning paths that better align with its strengths rather than enforcing a single fixed inference recipe. A more detailed per-problem-type breakdown is provided in Appendix A.4, showing that the selected tools and compute strategies remain stable across Dynamic and Dynamic + PRM variants and vary mainly with model and problem structure.

(a) MATH-500: FLOPs

4.3 Comprehensive Ablation: Fixed Configurations

Section titled “4.3 Comprehensive Ablation: Fixed Configurations”

Table 2 reports comprehensive ablations on MATH-500 with Qwen-2.5-7B-Instruct across all combinations of tools, compute strategies, exploration parameters (p∈{1,5,10}p\in\{1,5,10\}), and iteration counts (I∈{1,5,10}I\in\{1,5,10\}), yielding 36 fixed configurations. This grid isolates the contribution of each component and provides controlled baselines for evaluating our adaptive framework.

Key findings. (i) Iteration count matters: Increasing the number of iterations yields substantial accuracy gains for most fixed configurations. Performance improves markedly from a single iteration to a moderate number of iterations, moving from roughly low 70% accuracy to around 80%, and then shows diminishing returns. This trend is illustrated in Table 2 and suggests that repeated attempts help correct early reasoning errors, but iteration alone is insufficient beyond a certain point. (ii) Tool choice matters: At low iteration counts, Self-Reflection tends to outperform Chain-of-Thought, indicating that explicit self-critique is particularly valuable when only a few attempts are available. As the iteration count increases, the performance gap narrows, and both tools converge to similar accuracy levels around 80%, as selection mitigates individual trajectory failures. These patterns are shown in Table 2. (iii) Strategy–parameter interactions are non-trivial: Exploration parameters exhibit non-monotonic effects. Moderate exploration improves accuracy, whereas more aggressive exploration can reduce performance at low iteration counts, indicating that excessive branching introduces noise when not paired with sufficient iteration or selection. This behavior is documented in Table 2. (iv) No single fixed configuration dominates: Carefully tuned fixed configurations can reach strong performance, up to approximately 81% accuracy on MATH-500, but doing so requires prior knowledge of the optimal tool, strategy, and parameter combination. In contrast, the adaptive method reaches comparable performance automatically by selecting configurations on a per-problem basis, as shown in Table 2 and further analyzed in Appendix A.2.

Compute efficiency. Dynamic + PRM Selection attains 81.4% accuracy while concentrating computation on high-utility trajectories and terminating weak ones early, resulting in substantially lower compute intensity despite slightly higher theoretical FLOPs. In contrast, as detailed in Appendix A.2, achieving the same accuracy with fixed configurations requires 1.31×10141.31\times 10^{14} FLOPs and a compute intensity of 7.97×10−37.97\times 10^{-3} using CoT with Best-of-NN sampling at p=10p{=}10 and I=10I{=}10, reflecting significant wasted computation on easier instances.

Table 9 reports corresponding ablations on AIME24. Unlike MATH-500, no fixed configuration exceeds 10.0%10.0\% accuracy (best: CoT Lookahead, p=5p{=}5, I∈{1,5,10}I\in\{1,5,10\}), compared to 13.3%13.3\% for Dynamic + PRM Selection. Increasing pp degrades performance, for example, from 6.67%6.67\% to 10.0%10.0\% and then to 3.3%3.3\% for CoT Lookahead as pp increases, and gains from increasing II are marginal. This indicates that trajectory diversity from adaptive multi-tool selection, rather than uniform repetition, is essential for highly challenging problems.

4.4 Compute Cost Scaling and Accuracy–Efficiency Trade-offs

Section titled “4.4 Compute Cost Scaling and Accuracy–Efficiency Trade-offs”

Figure 4 illustrates how inference-time compute scales across increasingly adaptive configurations, measured by theoretical FLOPs and S_CIS\_{\text{CI}}. As adaptivity increases from Direct inference to Dynamic + PRM Selection, both FLOPs and S_CIS\_{\text{CI}} grow monotonically due to additional controller calls, verification, and multi-iteration exploration. This figure therefore reflects raw compute scaling rather than efficiency at matched accuracy: configurations are compared at fixed inference settings, and while Direct inference incurs lower computational cost, it also achieves substantially lower accuracy (e.g., 43.8%43.8\% vs. 65.4%65.4\% on MATH-500 for Llama-3.1-8B-Instruct).

Our efficiency claim is accuracy-conditional: rather than minimizing S_CIS\_{\text{CI}} in absolute terms, Dynamic + PRM Selection achieves higher accuracy for a given compute budget and matches the accuracy of strong fixed strategies with better utilization. As shown in Figure 5, fixed configurations reach ∼\sim81% accuracy only by sharply increasing S_CIS\_{\text{CI}} through uniform search scaling, whereas Dynamic + PRM Selection attains the same accuracy with lower S_CIS\_{\text{CI}}. This indicates that adaptive inference reallocates additional compute toward high-utility reasoning trajectories rather than redundant generation, improving compute utilization conditional on accuracy, which is the central objective of adaptive test-time compute allocation.

A primary limitation is reliance on PRM quality. While PRM-guided selection improves performance overall, especially on easier problems, its effectiveness decreases on the hardest problems, where the PRM may misrank plausible but incorrect trajectories, as shown in Table 1 and Figure 2. PRMs can be over-confident or prefer locally correct but globally wrong reasoning paths; we mitigate this with ternary scoring and diverse K=10K{=}10 iterations across tools and strategies. These limitations motivate difficulty-aware verification, targeted supervision on hard instances, curriculum-based PRM training, and future multi-PRM ablations, such as using Math-Shepherd (Wang et al., 2024), to assess robustness across verifier choices. The heuristic controller enables training-free adaptivity, but future work should explore learned, budget-aware policies for tool use, compute allocation, and stopping decisions (Paglieri et al., 2025; Liu et al., 2025). Because the controller uses role-conditioned prompts, its reliability may depend on the base model’s instruction-following ability, especially for smaller models. Multi-branch search also increases latency, but batching and parallel execution can reduce this overhead, as discussed in Appendix A.5. Future work should study prompt sensitivity, smaller models, and latency-aware deployment. Finally, generalization beyond mathematical reasoning remains open and will require domain-adaptive verification signals and broader evaluation.

(a) Acc vs. S CI S_{\text{CI}}

Test-Time Compute Scaling. Scaling inference-time computation improves reasoning performance more effectively than increasing model size (Snell et al., 2025). Test-time compute scaling methods, including repeated sampling, beam search, chain-of-thought prompting, and verification-based selection, have substantially improved performance on reasoning-intensive tasks, particularly in mathematics (Wei et al., 2022; Lightman et al., 2024; Brown et al., 2024). Recent agentic approaches further integrate verification with structured search, such as Monte Carlo tree search with preference learning and self-refinement (Brown et al., 2024; Rakhsha et al., 2025; Xie et al., 2024; Zhang et al., 2024; Guan et al., 2025), but typically rely on fixed inference procedures (e.g., predetermined Best-of-NN or search depth), limiting flexibility across strategies. Complementary work explores adaptive allocation via difficulty estimation under fixed budgets (Du, 2025) or budget-aware tool invocation (Liu et al., 2025; Paglieri et al., 2025). Reward-guided approaches use collaborative generation with outcome-based signals to steer compute toward high-reward paths (Muñoz and Yuan, 2025); unlike our work, strategy and tool configuration remain fixed. More recent work studies adaptive inference policies that dynamically adjust reasoning depth, search breadth, or stopping criteria based on uncertainty or intermediate signals, rather than relying on fixed budgets or difficulty predictors (Banfi and Gamage, 2026).

Reasoning Strategies and Verification. Chain-of-thought prompting elicits step-by-step reasoning (Wei et al., 2022), but its benefits are domain-dependent (Sprague et al., 2025) and explanations may be unfaithful (Lanham et al., 2023; Turpin et al., 2023). PRMs evaluate intermediate reasoning steps (Lightman et al., 2024), while LLM-based critics and interactive self-improvement methods support error detection and correction (McAleese et al., 2024; Yu et al., 2024). Trajectory-level extensions such as ReasonFlux-PRM scale verification to long reasoning traces (Zou et al., 2025), and symbolic orchestration approaches (e.g., CoreThink) introduce explicit control layers with structured verification (Vaghasiya et al., 2025). Subsequent work extends PRMs to reflective and generative settings (Zhao et al., 2025), studying their behavior on self-correction traces (Yang et al., 2025), tool-augmented reasoning, and long-horizon verification (Agarwal et al., 2025), while also highlighting limitations of PRM reliability on complex problems.

Reasoning as Decision-Making. Recent work frames LLM reasoning as sequential decision-making, using reinforcement learning for trial-and-error learning (Havrilla et al., 2024) and counterfactual analyses to characterize genuine reasoning behavior (Wu et al., 2024).

This work shows that verification-guided adaptive test-time inference more effectively converts compute into accuracy by dynamically shaping the reasoning process. Guided by a PRM during generation, the approach improves reasoning CoT steps beyond fixed strategies, particularly on easier to moderately difficult problems. Overall, the results show that adaptivity outperforms uniform repetition and that online verification is more effective than post hoc reranking, making adaptive, verifier-guided inference a practical and model-agnostic path to compute-efficient and reliable reasoning.

While our study focuses on mathematical reasoning, the core idea is domain-agnostic: using intermediate verification signals to dynamically choose tools, allocate compute, and stop early when appropriate. This framework can extend to domains such as code generation, long-context QA, and safety-critical decision-making when tasks provide clear intermediate steps, reliable non-terminal verification signals, and heterogeneous difficulty across instances. Examples include unit-test feedback for code and entailment checks for multi-hop QA. In domains with only sparse final-answer rewards, effective deployment may require domain-adaptive verifiers or PRM training under latency and compute constraints.

By allocating test-time compute adaptively rather than uniformly, our framework provides a foundation for more efficient and reliable LLM reasoning. Its training-free design and modular verification interface make it broadly applicable across domains where compute efficiency and reasoning quality are critical.

  • Agarwal et al. (2025) M. Agarwal, I. Abdelaziz, K. Basu, M. Unuvar, L. A. Lastras, Y. Rizk, and P. Kapanipathi ToolRM: outcome reward models for tool-calling large language models. arXiv preprint arXiv:2509.11963. Cited by: §6.
  • An et al. (2025) S. An, X. Cai, X. Cao, X. Li, Y. Lin, J. Liu, X. Lv, D. Ma, X. Wang, Z. Wang, et al. AMO-Bench: large language models still struggle in high school math competitions. arXiv preprint arXiv:2510.26768. Cited by: §3.1.
  • Banfi and Gamage (2026) T. F. Banfi and S. Gamage LLMs for game theory: entropy-guided in-context learning and adaptive cot reasoning. arXiv preprint arXiv:2601.10775. Cited by: §6.
  • Brown et al. (2024) B. Brown, J. Juravsky, R. Ehrlich, R. Clark, Q. V. Le, C. Ré, and A. Mirhoseini Large language monkeys: scaling inference compute with repeated sampling. arXiv preprint arXiv:2407.21787. Cited by: §1, §1, §6.
  • Du (2025) Y. Du Adaptive test-time compute allocation via query complexity estimation in large language models. External Links: Link Cited by: §6.
  • Grattafiori et al. (2024) A. Grattafiori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan, et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783. Cited by: §3.1.
  • Guan et al. (2025) X. Guan, L. L. Zhang, Y. Liu, N. Shang, Y. Sun, Y. Zhu, F. Yang, and M. Yang RStar-math: small llms can master math reasoning with self-evolved deep thinking. arXiv preprint arXiv:2501.04519. Cited by: §6.
  • Havrilla et al. (2024) A. Havrilla, Y. Du, S. C. Raparthy, C. Nalmpantis, J. Dwivedi-Yu, M. Zhuravinskyi, E. Hambro, S. Sukhbaatar, and R. Raileanu Teaching large language models to reason with reinforcement learning. arXiv preprint arXiv:2403.04642. Cited by: §6.
  • Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the MATH dataset. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), External Links: Link Cited by: §3.1.
  • Lanham et al. (2023) T. Lanham, A. Chen, A. Radhakrishnan, B. Steiner, C. Denison, D. Hernandez, D. Li, E. Durmus, E. Hubinger, J. Kernion, et al. Measuring faithfulness in chain-of-thought reasoning. arXiv preprint arXiv:2307.13702. Cited by: §6.
  • Lightman et al. (2024) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Let’s verify step by step. In The Twelfth International Conference on Learning Representations, Cited by: §1, §6, §6.
  • Liu et al. (2025) T. Liu, Z. Wang, J. Miao, I. Hsu, J. Yan, J. Chen, R. Han, F. Xu, Y. Chen, K. Jiang, et al. Budget-aware tool-use enables effective agent scaling. arXiv preprint arXiv:2511.17006. Cited by: §5, §6.
  • McAleese et al. (2024) N. McAleese, R. M. Pokorny, J. F. C. Uribe, E. Nitishinskaya, M. Trebacz, and J. Leike LLM critics help catch LLM bugs. arXiv preprint arXiv:2407.00215. Cited by: §6.
  • Mirzadeh et al. (2024) I. Mirzadeh, K. Alizadeh, H. Shahrokhi, O. Tuzel, S. Bengio, and M. Farajtabar GSM-Symbolic: understanding the limitations of mathematical reasoning in large language models. arXiv preprint arXiv:2410.05229. Cited by: §1.
  • Muñoz and Yuan (2025) J. P. Muñoz and J. Yuan RTTC: reward-guided collaborative test-time compute. In Findings of the Association for Computational Linguistics: EMNLP 2025, pp. 24793–24809. Cited by: §6.
  • Paglieri et al. (2025) D. Paglieri, B. Cupiał, J. Cook, U. Piterbarg, J. Tuyls, E. Grefenstette, J. N. Foerster, J. Parker-Holder, and T. Rocktäschel Learning when to plan: efficiently allocating test-time compute for llm agents. arXiv preprint arXiv:2509.03581. Cited by: §5, §6.
  • Rakhsha et al. (2025) A. Rakhsha, K. Madan, T. Zhang, A. Farahmand, and A. Khasahmadi Majority of the bests: improving best-of-n via bootstrapping. arXiv preprint arXiv:2511.18630. Cited by: §1, §6.
  • Shen et al. (2025) M. Shen, G. Zeng, Z. Qi, Z. Hong, Z. Chen, W. Lu, G. Wornell, S. Das, D. Cox, and C. Gan Satori: reinforcement learning with chain-of-action-thought enhances LLM reasoning via autoregressive search. arXiv preprint arXiv:2502.02508. Cited by: §3.1.
  • Snell et al. (2025) C. V. Snell, J. Lee, K. Xu, and A. Kumar Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §1, §6.
  • Sprague et al. (2025) Z. R. Sprague, F. Yin, J. D. Rodriguez, D. Jiang, M. Wadhwa, P. Singhal, X. Zhao, X. Ye, K. Mahowald, and G. Durrett To CoT or not to CoT? chain-of-thought helps mainly on math and symbolic reasoning. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §6.
  • Team (2024) Q. Team Qwen2.5: a party of foundation models. External Links: Link Cited by: §3.1.
  • Turpin et al. (2023) M. Turpin, J. Michael, E. Perez, and S. Bowman Language models don’t always say what they think: unfaithful explanations in chain-of-thought prompting. Advances in Neural Information Processing Systems 36, pp. 74952–74965. Cited by: §6.
  • Vaghasiya et al. (2025) J. Vaghasiya, O. Ghugarkar, V. Bhat, V. Dholaria, and J. McAuley CoreThink: a symbolic reasoning layer to reason over long horizon tasks with llms. arXiv preprint arXiv:2509.00971. Cited by: §6.
  • Wang et al. (2024) P. Wang, L. Li, Z. Shao, R. Xu, D. Dai, Y. Li, D. Chen, Y. Wu, and Z. Sui Math-shepherd: verify and reinforce LLMs step-by-step without human annotations. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, pp. 9426–9439. External Links: Link, Document Cited by: §5.
  • Wei et al. (2022) J. Wei, X. Wang, D. Schuurmans, M. Bosma, F. Xia, E. Chi, Q. V. Le, D. Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in neural information processing systems 35, pp. 24824–24837. Cited by: §6, §6.
  • Wu et al. (2024) Z. Wu, L. Qiu, A. Ross, E. Akyürek, B. Chen, B. Wang, N. Kim, J. Andreas, and Y. Kim Reasoning or reciting? exploring the capabilities and limitations of language models through counterfactual tasks. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), K. Duh, H. Gomez, and S. Bethard (Eds.), Mexico City, Mexico, pp. 1819–1862. External Links: Link, Document Cited by: §6.
  • Xie et al. (2024) Y. Xie, A. Goyal, W. Zheng, M. Kan, T. P. Lillicrap, K. Kawaguchi, and M. Shieh Monte Carlo tree search boosts reasoning via iterative preference learning. arXiv preprint arXiv:2405.00451. Cited by: §1, §6.
  • Yang et al. (2025) Z. Yang, C. He, X. Shi, L. Li, Q. Yin, S. Deng, and D. Jiang Beyond the first error: process reward models for reflective mathematical reasoning. arXiv preprint arXiv:2505.14391. Cited by: §6.
  • Yu et al. (2024) X. Yu, B. Peng, M. Galley, J. Gao, and Z. Yu Teaching language models to self-improve through interactive demonstrations. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 5127–5149. Cited by: §6.
  • Zhang et al. (2024) D. Zhang, J. Wu, J. Lei, T. Che, J. Li, T. Xie, X. Huang, S. Zhang, M. Pavone, Y. Li, et al. Llama-Berry: pairwise optimization for o1-like olympiad-level mathematical reasoning. arXiv preprint arXiv:2410.02884. Cited by: §6.
  • Zhang et al. (2025) Z. Zhang, C. Zheng, Y. Wu, B. Zhang, R. Lin, B. Yu, D. Liu, J. Zhou, and J. Lin The lessons of developing process reward models in mathematical reasoning. arXiv preprint arXiv:2501.07301. Cited by: §2, §3.1.
  • Zhao et al. (2025) J. Zhao, R. Liu, K. Zhang, Z. Zhou, J. Gao, D. Li, J. Lyu, Z. Qian, B. Qi, X. Li, et al. GenPRM: scaling test-time compute of process reward models via generative reasoning. arXiv preprint arXiv:2504.00891. Cited by: §6.
  • Zou et al. (2025) J. Zou, L. Yang, J. Gu, J. Qiu, K. Shen, J. He, and M. Wang ReasonFlux-prm: trajectory-aware prms for long chain-of-thought reasoning in llms. arXiv preprint arXiv:2506.18896. Cited by: §6.

Table 3: Compute cost metrics for evaluating test-time efficiency.

MetricSymbolDefinition
Theoretical FLOPsF_theoF\_{\text{theo}}∑_j∈M2 M_j T(j)_forward Gˉ(j)\displaystyle\sum\_{j\in\mathcal{M}}2\,M\_{j}\,T^{(j)}\_{\text{forward}}\,\bar{G}^{(j)}
Compute Intensity ScoreS_CIS\_{\text{CI}}Gˉ_base Tˉ_base (1+αCˉ)κ\displaystyle\frac{\bar{G}\_{\text{base}}\,\bar{T}\_{\text{base}}\,(1+\alpha\bar{C})}{\kappa}

Table 4: Notation used in compute cost metrics.

SymbolDescription
M\mathcal{M}Set of models invoked at inference time (base LLM, controller LLM, PRM)
M_jM\_{j}Number of parameters of model j∈Mj\in\mathcal{M}
Gˉ(j)\bar{G}^{(j)}Average number of forward passes of model jj per problem
Tˉ(j)_total\bar{T}^{(j)}\_{\text{total}}Average total tokens processed per forward pass of model jj
T(j)_forwardT^{(j)}\_{\text{forward}}min⁡(Tˉ(j)_total,L(j)_ctx)\min(\bar{T}^{(j)}\_{\text{total}},L^{(j)}\_{\text{ctx}})
L(j)_ctxL^{(j)}\_{\text{ctx}}Maximum context length of model jj
Gˉ_base\bar{G}\_{\text{base}}Average number of base-model generations per problem
Tˉ_base\bar{T}\_{\text{base}}Average generated tokens per base-model generation
Cˉ\bar{C}Average number of auxiliary model calls (controller + PRM) per problem
α\alphaFixed overhead factor per auxiliary call (set to 0.10.1)
κ\kappaNormalization constant for S_CIS\_{\text{CI}} (e.g., 10610^{6})

A.2 Compute Efficiency vs. Raw Compute Trade-off

Section titled “A.2 Compute Efficiency vs. Raw Compute Trade-off”

Dynamic + PRM can exhibit slightly lower compute intensity (S_CIS\_{\text{CI}}) while incurring modestly higher FLOPs because S_CIS\_{\text{CI}} measures how efficiently computation contributes to correct reasoning, rather than raw computational amount alone. In fixed baselines, a predetermined number of iterations or beams are executed for every problem, leading to substantial wasted computation on easy instances or low-quality reasoning trajectories, which increases S_CIS\_{\text{CI}}.

Tables 5 and 6 illustrate this phenomenon across all 36 fixed configurations. For example, CoT Beam Search with (p=5,I=5)(p=5,I=5) achieves 79.4% accuracy but requires 3.99×10133.99\times 10^{13} FLOPs per problem with high S_CI=2.48×10−3S\_{CI}=2.48\times 10^{-3}, while CoT Best-of-N with (p=10,I=5)(p=10,I=5) reaches 81.4% accuracy at even larger cost: 6.57×10136.57\times 10^{13} FLOPs and S_CI=3.98×10−3S\_{CI}=3.98\times 10^{-3}. This trend indicates that a substantial fraction of computation in fixed settings is spent on low-utility trajectories, especially for easier instances, inflating S_CIS\_{\text{CI}} without proportional accuracy gains.

In contrast, the dynamic framework leverages PRM scoring to adaptively select and prioritize high-utility trajectories and terminate or deprioritize weak ones early, so a larger fraction of the compute budget directly supports correct reasoning, resulting in lower S_CIS\_{\text{CI}}. This adaptivity introduces modest overhead from candidate generation, PRM evaluation, and selection or verification steps, slightly increasing total FLOPs. However, this tradeoff is favorable: Dynamic + PRM trades a small increase in raw compute for substantially improved compute utilization, enabling comparable or higher accuracy with better efficiency. This effect is consistent with Figure 5, which shows that higher accuracy in fixed baselines is achieved by moving to regions of sharply increased FLOPs and S_CIS\_{\text{CI}}, whereas PRM-guided allocation shifts computation toward more efficient regions of the accuracy-FLOPs plane.

A.3 Detailed Ablation Results: Compute Costs

Section titled “A.3 Detailed Ablation Results: Compute Costs”

Tables 5 and 6 provide detailed compute cost breakdowns for all 36 fixed configurations on MATH-500 with Qwen-2.5-7B-Instruct, corresponding to the accuracy results in Table 2 (main text). These tables enable analysis of accuracy-efficiency trade-offs across the full configuration space.

Key observations: (1) Both F_theoF\_{\text{theo}} and S_CIS\_{\text{CI}} scale roughly linearly with iteration count for fixed parameter settings. (2) Higher exploration parameters (pp) increase computational costs at single iterations but show diminishing efficiency returns at higher iterations. (3) Self-Reflection configurations generally exhibit lower compute costs than CoT at comparable accuracy levels, suggesting more efficient reasoning for this model. (4) The most computationally expensive configuration (CoT Beam Search, p=10p=10, I=10I=10) requires 1.38×10141.38\times 10^{14} FLOPs with S_CI=8.32×10−3S\_{CI}=8.32\times 10^{-3}, substantially higher than Dynamic + PRM while achieving identical 81.4% accuracy, validating our framework’s efficiency advantage.

Table 5: Compute Intensity (S_CIS\_{\text{CI}}) for all fixed configurations on MATH-500 (Qwen-2.5-7B-Instruct).

ParamIterCoTSelf-Reflection
Best-of-NBeam SearchLookaheadBest-of-NBeam SearchLookahead
114.35×10−54.35\times 10^{-5}4.57×10−54.57\times 10^{-5}4.52×10−54.52\times 10^{-5}3.99×10−53.99\times 10^{-5}4.65×10−54.65\times 10^{-5}3.91×10−53.91\times 10^{-5}
53.57×10−43.57\times 10^{-4}4.04×10−44.04\times 10^{-4}3.80×10−43.80\times 10^{-4}3.20×10−43.20\times 10^{-4}3.70×10−43.70\times 10^{-4}3.10×10−43.10\times 10^{-4}
107.14×10−47.14\times 10^{-4}8.08×10−48.08\times 10^{-4}7.60×10−47.60\times 10^{-4}6.40×10−46.40\times 10^{-4}7.40×10−47.40\times 10^{-4}6.20×10−46.20\times 10^{-4}
512.26×10−42.26\times 10^{-4}2.26×10−42.26\times 10^{-4}2.25×10−42.25\times 10^{-4}1.81×10−41.81\times 10^{-4}2.00×10−42.00\times 10^{-4}1.90×10−41.90\times 10^{-4}
52.29×10−32.29\times 10^{-3}2.48×10−32.48\times 10^{-3}2.36×10−32.36\times 10^{-3}1.82×10−31.82\times 10^{-3}2.02×10−32.02\times 10^{-3}1.94×10−31.94\times 10^{-3}
104.57×10−34.57\times 10^{-3}4.96×10−34.96\times 10^{-3}4.72×10−34.72\times 10^{-3}3.64×10−33.64\times 10^{-3}4.04×10−34.04\times 10^{-3}3.88×10−33.88\times 10^{-3}
1014.56×10−44.56\times 10^{-4}4.37×10−44.37\times 10^{-4}4.58×10−44.58\times 10^{-4}4.10×10−44.10\times 10^{-4}4.00×10−44.00\times 10^{-4}4.00×10−44.00\times 10^{-4}
53.98×10−33.98\times 10^{-3}4.16×10−34.16\times 10^{-3}4.06×10−34.06\times 10^{-3}3.72×10−33.72\times 10^{-3}3.82×10−33.82\times 10^{-3}3.90×10−33.90\times 10^{-3}
107.97×10−37.97\times 10^{-3}8.32×10−38.32\times 10^{-3}8.12×10−38.12\times 10^{-3}7.44×10−37.44\times 10^{-3}7.64×10−37.64\times 10^{-3}7.80×10−37.80\times 10^{-3}

Table 6: Theoretical FLOPs (F_theoF\_{\text{theo}}) per problem for all fixed configurations on MATH-500 (Qwen-2.5-7B-Instruct).

ParamIterCoTSelf-Reflection
Best-of-NBeam SearchLookaheadBest-of-NBeam SearchLookahead
118.30×10118.30\times 10^{11}8.72×10118.72\times 10^{11}8.63×10118.63\times 10^{11}7.61×10117.61\times 10^{11}8.88×10118.88\times 10^{11}7.46×10117.46\times 10^{11}
55.93×10125.93\times 10^{12}6.64×10126.64\times 10^{12}6.30×10126.30\times 10^{12}5.32×10125.32\times 10^{12}6.08×10126.08\times 10^{12}5.12×10125.12\times 10^{12}
101.19×10131.19\times 10^{13}1.33×10131.33\times 10^{13}1.26×10131.26\times 10^{13}1.06×10131.06\times 10^{13}1.22×10131.22\times 10^{13}1.02×10131.02\times 10^{13}
514.32×10124.32\times 10^{12}4.32×10124.32\times 10^{12}4.29×10124.29\times 10^{12}3.45×10123.45\times 10^{12}3.81×10123.81\times 10^{12}3.62×10123.62\times 10^{12}
53.73×10133.73\times 10^{13}3.99×10133.99\times 10^{13}3.86×10133.86\times 10^{13}2.98×10132.98\times 10^{13}3.26×10133.26\times 10^{13}3.14×10133.14\times 10^{13}
107.45×10137.45\times 10^{13}7.99×10137.99\times 10^{13}7.72×10137.72\times 10^{13}5.96×10135.96\times 10^{13}6.52×10136.52\times 10^{13}6.28×10136.28\times 10^{13}
1018.71×10128.71\times 10^{12}8.35×10128.35\times 10^{12}8.74×10128.74\times 10^{12}7.83×10127.83\times 10^{12}7.63×10127.63\times 10^{12}7.64×10127.64\times 10^{12}
56.57×10136.57\times 10^{13}6.88×10136.88\times 10^{13}6.70×10136.70\times 10^{13}6.14×10136.14\times 10^{13}6.30×10136.30\times 10^{13}6.42×10136.42\times 10^{13}
101.31×10141.31\times 10^{14}1.38×10141.38\times 10^{14}1.34×10141.34\times 10^{14}1.23×10141.23\times 10^{14}1.26×10141.26\times 10^{14}1.28×10141.28\times 10^{14}

Table 7 reports tool and strategy choices by MATH-500 problem type. Llama uses CoT and Numeric Verifier broadly, with more Reframer use on harder types, while Qwen mainly uses CoT, Numeric Verifier, and Lookahead.

Table 7: Tool and compute-strategy distributions by MATH-500 problem type. Values are percentages.

Problem TypeCoTNVRVSRDirectBSBoNLS
Llama-3.1-8B
Algebra41.541.59.57.5061.04.029.06.0
Counting & Probability39.539.513.57.5059.04.030.07.0
Geometry40.040.012.57.5060.04.029.56.5
Intermediate Algebra38.538.515.57.5057.54.531.56.5
Number Theory39.539.513.57.5058.54.530.56.5
Prealgebra42.042.09.56.5063.04.027.06.0
Precalculus40.040.011.58.5061.03.529.06.5
Mean40.140.112.27.5060.04.129.56.4
Llama-3.1-8B + PRM
Algebra39.539.512.58.5063.54.027.05.5
Counting & Probability37.037.014.511.5060.54.528.56.5
Geometry37.537.514.011.0061.54.528.06.0
Intermediate Algebra36.036.017.510.5059.04.530.56.0
Number Theory36.036.016.511.5060.04.529.56.0
Prealgebra41.541.59.57.5065.54.026.04.5
Precalculus39.539.510.510.5063.54.027.55.0
Mean38.138.113.610.1061.94.328.15.6
Qwen-2.5-7B
Algebra60.040.000041.01.025.033.0
Counting & Probability58.042.000041.01.524.033.5
Geometry62.038.000039.01.523.036.5
Intermediate Algebra58.042.000041.01.025.033.0
Number Theory57.043.000042.01.025.032.0
Prealgebra61.039.000043.01.024.032.0
Precalculus59.041.000040.01.024.035.0
Mean59.340.700041.01.124.333.6
Qwen-2.5-7B + PRM
Algebra59.041.000041.01.024.034.0
Counting & Probability58.042.000041.01.524.033.5
Geometry61.039.000039.01.523.036.5
Intermediate Algebra58.042.000041.01.025.033.0
Number Theory57.043.000042.01.025.032.0
Prealgebra61.039.000043.01.024.032.0
Precalculus60.040.000040.01.024.035.0
Mean59.140.900041.01.124.133.7

We report hardware-agnostic metrics (F_theoF\_{\text{theo}}, S_CIS\_{\text{CI}}) in the main text, while Table 8 summarizes hardware-specific latency on a single NVIDIA RTX 5090 GPU. Sequential latency grows roughly with KK, whereas parallel execution reduces the effective cost to about 1.51.5–2×2{\times} direct generation. Sequential latency scales roughly linearly with KK, while parallel execution across iterations reduces the effective cost to about 1.51.5–2×2{\times} a single direct generation.

Table 8: Wall-clock latency scaling relative to Direct inference (K=1K=1) on a single NVIDIA RTX 5090 GPU.

ConfigurationSequential LatencyParallel Latency
Direct (K=1K=1)1×1{\times} (baseline)1×1{\times} (baseline)
Direct + PRM Sel. (K=10K=10)≈10×\approx 10{\times}≈1.5\approx 1.5–2×2{\times}
Dynamic (K=1K=1)≈1.3\approx 1.3–1.5×1.5{\times}≈1.3\approx 1.3–1.5×1.5{\times}
Dynamic + PRM Sel. (K=10K=10)≈10\approx 10–12×12{\times}≈1.5\approx 1.5–2×2{\times}

Table 9 presents ablation results on AIME24 with Qwen-2.5-7B-Instruct, revealing distinct patterns compared to MATH-500 due to the higher difficulty level of competition-level problems.

Critical insights: (1) No single configuration dominates: The best fixed configuration (CoT Lookahead, p=5p=5) achieves only 10.0% accuracy, substantially below Dynamic + PRM Selection’s 13.3%, demonstrating that adaptive multi-tool selection is essential for extremely challenging problems. (2) Non-monotonic compute scaling: Increasing exploration parameters often degrades performance (e.g., CoT Lookahead: 6.67% at p=1p=1 →\rightarrow 10.0% at p=5p=5 →\rightarrow 3.3% at p=10p=10), indicating excessive search introduces noise on competition-level problems where solution spaces are more constrained. (3) Complex tool-strategy interactions: CoT performs best with moderate Lookahead (10.0%), while Self-Reflection shows stable but lower performance (3.3-6.67%), validating the need for problem-specific adaptive tool selection. (4) Limited iteration benefits for fixed tools: Marginal improvements from I=1I=1 to I=10I=10 for single-tool configurations highlight that trajectory diversity from multiple tools, not mere repetition, drives PRM selection effectiveness, a key advantage of our dynamic framework.

Table 9: Ablation study: Accuracy (%) on AIME24 with Qwen-2.5-7B-Instruct across fixed configurations.

ParamIterCoTSelf-Reflection
Best-of-NBeam SearchLookaheadBest-of-NBeam SearchLookahead
113.33.36.673.33.33.3
53.33.36.673.33.36.67
106.676.676.673.36.676.67
516.676.6710.03.33.36.67
56.676.6710.03.36.676.67
1010.06.6710.06.676.676.67
1016.676.673.33.36.673.3
56.676.673.36.676.673.3
106.676.673.36.676.676.67

A.7 Illustrative Example: Direct vs. Dynamic+PRM

Section titled “A.7 Illustrative Example: Direct vs. Dynamic+PRM”

We illustrate the effectiveness of our framework through a representative example from the MATH-500 dataset, comparing a failed direct inference attempt (Sample A) with a successful PRM-selected iteration using dynamic tool selection and verification (Sample B).

This example shows why the adaptive pipeline outperforms direct answer generation. By dynamically selecting verification tools and using PRM-based trajectory selection, the agent corrects errors early and prioritizes correct reasoning paths across iterations. As a result, additional compute is selectively allocated to high-utility trajectories rather than uniformly scaling computation, leading to improved solution correctness.

B.2 Stage 1: Planning Module (A_P\mathcal{A}\_{P})

Section titled “B.2 Stage 1: Planning Module (A_P\mathcal{A}\_{P}A_P)”

B.3 Stage 2: Tool Selection (A_T\mathcal{A}\_{T})

Section titled “B.3 Stage 2: Tool Selection (A_T\mathcal{A}\_{T}A_T)”

B.4 Stage 3: Compute Selection (A_C\mathcal{A}\_{C})

Section titled “B.4 Stage 3: Compute Selection (A_C\mathcal{A}\_{C}A_C)”

B.7 Stage 6: Final Answer Extraction (A_F\mathcal{A}\_{F})

Section titled “B.7 Stage 6: Final Answer Extraction (A_F\mathcal{A}\_{F}A_F)”