Exploit More, Explore Smarter for Budget-Constrained Agentic Search
Organizations: Amazon AGI
Abstract
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
| Dataset | ||||
|---|---|---|---|---|
| HotpotQA | .30 .05 | .30 .09 | .11 .03 | .74 .04 |
| HoVeR | .20 .06 | .29 .01 | .16 .11 | .82 .01 |
| LiveCodeBench | .32 .01 | .23 .01 | .14 .13 | .57 .05 |
| K-MSE | .09 .00 | .18 .00 | .05 .00 | .01 |
| DROP | .04 .03 | .23 .03 | .02 .01 | .03 .03 |
| Method | HotpotQA | HoVeR |
|---|---|---|
| Baseline | 41.44 1.25 | 36.11 0.79 |
| GRPO † | 43.33 | 38.67 |
| MIPROv2 † | 55.33 | 47.33 |
| GEPA (Pareto) | 58.55 5.32 | 50.33 2.45 |
| ExTS | 64.89 0.83 | 50.45 2.18 |
| ExTS ∗ | 66.00 0.98 | 51.67 0.98 |
| 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 |
| 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 |
| 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 ( ) | 57.11 5.67 | w/o Gated PW | 62.55 2.08 |
| Configuration | Score |
|---|---|
| DROP (F1 100) | |
| ExTS (virtual child) | 90.96 0.93 |
| Fixed FPU | 88.95 0.81 |
| Fixed FPU | 89.34 3.23 |
| LiveCodeBench (pass@1 %) | |
| ExTS (quality-gated PW) | 46.2 0.4 |
| 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 |
| Method | Leaf dep. | Best dep. | Scorer | ACC (%) |
|---|---|---|---|---|
| All tasks ( ) | ||||
| MCTSr | 4.89 .08 | 0.44 .07 | 72.2 0.3 | 89.8 0.4 |
| ExTS | 5.49 .13 | 0.48 .05 | 72.5 0.2 | 90.4 0.4 |
| ExTS | 4.91 .14 | 0.47 .03 | 72.7 0.1 | 91.0 0.6 |
| Non-trivial tasks ( ) | ||||
| MCTSr | 4.43 .13 | 1.03 .16 | 69.5 0.6 | 77.2 0.9 |
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 |
| Parameter | Default | Rationale |
|---|---|---|
| Exploration type | PUCT | Linear decay for tight budgets |
| Exploration | 1.0 | Conservative; no policy prior |
| Success-rate | Amplified failure discounting | |
| Temperature | 0.3 | Top-20% emphasis |
| Initial children | 3 | Moderate branching |
| Widening base | 2 | growth |
| Symbol | Description |
|---|---|
| Search tree rooted at initial candidate | |
| Set of all nodes in | |
| Set of internal (expanded) nodes: | |
| Visit count of node (incremented via backpropagation from all expansions in the subtree rooted at ) | |
| Successful visit count (backpropagated from expansions where ) | |
| Failed visit count: |
| 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 |
| Diagnostic signature | What it says about the task | Relevant hyperparameter | Evidence |
|---|---|---|---|
| High failure rate (e.g. ) | most expansions fail, so separating productive nodes is critical | success exponent | HotpotQA |
| Low (e.g. ) | 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 and low , or weak validator | aggressive exploitation over-commits to spurious gaps | shaping temperature | K-MSE, DROP, LCB |
| Method | Geo. mean | Median | L1 | L2 | L3 |
|---|---|---|---|---|---|
| MCTS (optimized) | |||||
| ExTS |
| 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 |