Budget-constrained agentic search arises when an LLM agent must refine candidates under a small evaluation budget, because validation is expensive, generation requires multiple model calls, or both. In this regime, standard MCTS allocates budget poorly: exploration bonuses dominate at low visit counts, unpromising siblings are expanded before promising chains can deepen, and branching is independent of node quality. We introduce ExTS, a tree-search policy that treats expansion itself as a value-of-information decision. ExTS combines three mechanisms: discriminative reward shaping to separate candidates under narrow score distributions, a stochastic virtual child that estimates the value of creating a new branch from the parent's reward history, and quality-conditioned branching that expands only when a node's score justifies the budget cost. Across prompt optimization, code generation, molecular structure elucidation, and agentic workflow optimization, ExTS is competitive with or improves over task-specific tree-search baselines, with an average relative gain of +5.5% using a single fixed configuration. We further introduce pilot-run diagnostics that characterize what makes budget-constrained agentic search problems structurally different from one another, providing both understanding of the problem space and practical guidance for adaptation.
Figures & tables
Figure 1: Standard UCT spreads budget across a wide, shallow tree via flat rewards and obligatory expansion. ExTS instead uses virtual children that frame expansion as a value-of-information decision and quality-conditioned branching gated on the reshaped score. Radar plot: normalized gains; ExTS ∗ denotes pilot-adapted configurations.
Table 2: Prompt optimization: test accuracy (%) over 3 seeds. † Results from Agrawal et al. (2025) . ∗ Pilot-adapted (Section 5.2 ).
Figure 2: LiveCodeBench pass@1 (%) over 3 seeds.
Method
ACC (%)
Morgan
MACCS
RDK
CoT
79.8 ± 0.2
.887 ± .002
.942 ± .001
.904 ± .001
K-MSE
89.8 ± 0.4
.952 ± .002
.976 ± .001
.962 ± .003
ExTS
91.0 ± 0.6
.952 ± .004
.972 ± .005
.960 ± .004
ExTS ∗
91.2 ± 0.4
.954 ± .004
.973 ± .003
.959 ± .004
Table 3: K-MSE molecular elucidation (Claude Sonnet 4.6, 216 molecules, 16 rollouts, 3 seeds). ACC (exact match) is the primary metric; fingerprint similarities are listed for reference. ∗ Pilot-adapted (Section 5.2 ).
Method
F1 (mean ± std)
Best
Cost ($)
CoT (linear)
89.28 ± 1.78
91.10
36.70
AFlow
87.89 ± 2.29
89.56
26.09
ExTS
90.96 ± 0.93
91.54
15.26
ExTS ∗
91.54 ± 1.92
93.76
10.43
Table 4: Workflow optimization on DROP (F1 × 100, 3 seeds). ∗ Pilot-adapted (Section 5.2 ).
Configuration
Acc.
Configuration
Acc.
ExTS (full)
64.89 ± 0.83
w/o Soft norm.
63.44 ± 2.20
w/o Virtual child
61.67 ± 1.96
w/o Gated expan.
63.22 ± 1.10
w/o Fail. penalty ( α=1 )
57.11 ± 5.67
w/o Gated PW
62.55 ± 2.08
Table 5: Leave-one-out ablation on HotpotQA (3 seeds). LiveCodeBench ablations in Table 12 .
Configuration
Score
DROP (F1 × 100)
ExTS (virtual child)
90.96 ± 0.93
Fixed FPU =0.5
88.95 ± 0.81
Fixed FPU =0.8
89.34 ± 3.23
LiveCodeBench (pass@1 %)
ExTS (quality-gated PW)
46.2 ± 0.4
Table 6: Classical mechanisms vs. ExTS redesigns (3 seeds).
Dataset
PUCT
UCT
HotpotQA
64.89 ± 0.83
58.44 ± 2.20
HoVeR
50.45 ± 2.18
51.33 ± 1.44
K-MSE
91.0 ± 0.6
89.0 ± 1.5
Table 7: Exploration type ablation: PUCT (default) vs. UCT, 3 seeds.
Method
Leaf dep.
Best dep.
Scorer
ACC (%)
All tasks ( n=216 )
MCTSr
4.89 ± .08
0.44 ± .07
72.2 ± 0.3
89.8 ± 0.4
ExTS M0=2
5.49 ± .13
0.48 ± .05
72.5 ± 0.2
90.4 ± 0.4
ExTS M0=3
4.91 ± .14
0.47 ± .03
72.7 ± 0.1
91.0 ± 0.6
Non-trivial tasks ( n=92 )
MCTSr
4.43 ± .13
1.03 ± .16
69.5 ± 0.6
77.2 ± 0.9
Table 8: Tree-shape diagnostics on K-MSE ( B=16 , 3 seeds). Non-trivial: 92 molecules where at least one method improves beyond the root.
Figure 3: Budget-scaling behavior across three domains, averaged over 3 seeds ( ±1σ bands). The x-axis is search budget. ExTS’s advantage is most pronounced on hard instances (top left) and in prompt optimization (bottom left), where iterative refinement matters most.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Focus
Selection
Expansion
Fail.-aware
Linear
H
Sequential
N/A
No
ToT
H
BFS/DFS
Full
No
LATS
H
UCT
Full
No
rStar
H
UCT
Full
No
RAP
H
UCT
Full
No
SWE-Search
H
UCT + hybrid value
Full
No
Appendix
Table 9: Positioning of ExTS relative to prior LLM tree-search methods. “Focus” indicates whether the primary contribution is the search harness (H) or the search algorithm (A).
Parameter
Default
Rationale
Exploration type
PUCT
Linear decay for tight budgets
Exploration C
1.0
Conservative; no policy prior
Success-rate α
2
Amplified failure discounting
Temperature T
0.3
Top-20% emphasis
Initial children M0
3
Moderate branching
Widening base b
2
log2 growth
Appendix
Table 10: ExTS default configuration, fixed across all experiments.
Symbol
Description
T
Search tree rooted at initial candidate x0
V(T)
Set of all nodes in T
I(T)
Set of internal (expanded) nodes: {v∈V(T):∣children(v)∣>0}
nv
Visit count of node v (incremented via backpropagation from all expansions in the subtree rooted at v )
nv+
Successful visit count (backpropagated from expansions where f(x′)=⊥ )
nv−
Failed visit count: nv−=nv−nv+
Appendix
Table 11: Notation used in formal property definitions.
Configuration
All (%)
Hard (%)
ExTS (full)
46.2 ± 0.4
19.1 ± 1.4
w/o Gated prog. widening
44.9 ± 0.7
17.5 ± 1.4
w/o Root exclusion
45.2 ± 1.5
17.1 ± 2.5
Appendix
Table 12: Leave-one-out ablation on LiveCodeBench (pass@1 %, 3 seeds).
Diagnostic signature
What it says about the task
Relevant hyperparameter
Evidence
High failure rate ρ (e.g. >0.5 )
most expansions fail, so separating productive nodes is critical
success exponent α
HotpotQA
Low ρ (e.g. <0.1 )
failures are rare
success exponent α (little effect, keep default)
K-MSE, DROP
High score drift κ
early rankings are unreliable as bounds re-rank nodes
exploration type (use UCT) and score gate τ
HoVeR
Low κ
rankings stabilize early, safe to commit
exploration type (use PUCT)
HotpotQA
Low σ^A and low κ , or weak validator
aggressive exploitation over-commits to spurious gaps
Table 14: Further evaluation on an additional domain, GPU kernel optimization: 40 GPU-kernel tasks, each run on a single NVIDIA A100 40GB GPU, using ExTS’s fixed default configuration (Table 10 ) with no tuning or diagnostics. All values are speedup factors ( × ); L1, L2, and L3 are the difficulty levels (categories) defined by Gai et al. (2026) . ExTS improves over MCTS (optimized) on every metric. Results are from a single run with Claude Opus 4.6, owing to the substantial compute cost of this domain. The reported speedups are the corrected results that exclude the invalid speedups admitted by the original validation of Gai et al. (2026) .
Artifact
Type
License
Consistent Use
GEPA
Framework
MIT
Yes
TreeQuest
Framework
Apache 2.0
Yes
AFlow
Framework
MIT
Yes
K-MSE
Framework
MIT
Yes
DSPy
Framework
MIT
Yes
vLLM
Inference engine
Apache 2.0
Yes
Appendix
Table 15: Artifacts used, with licenses and intended-use consistency.
College of Computer Science and Artificial Intelligence, Fudan University · College of Software Engineering, Southeast University · School of Artificial Intelligence, Shanghai Jiao Tong University