arXiv:2608.30952cs.LGAug 2026

Manuscript Offprint

arXiv:2608.30952

One Policy Is Enough: Single-Agent Reinforcement Learning Outperforms Tree Search for Chemistry Tool Learning

Armin Dariani, Sifan Wu, Bang Liu, Entao Yang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Chemistry questions often demand exact computation and database lookups that a language model cannot supply from its parameters, so it must reach for external tools. Tool use here is a three-part problem: select the right tool from a large pool, fill it with correctly typed arguments, and chain calls so that each consumes the outputs of the last. CheMatAgent, a previously published system, addresses this with hierarchical evolutionary MCTS: separate policy and execution models searching tool-call trees under two learned critics, one regressed partly onto GPT-assigned scores. We show that a single policy suffices. Our model interleaves reasoning, tool calls, and returns in one left-to-right generation, trained by a supervised warm-up and then outcome-level reinforcement learning against a programmatic reward read directly off the gold call chain, which leaves no learned critic and no judge in the training loop. On ChemToolBench multiple-tool comprehensive chemistry, on both backbones CheMatAgent use, we improve Tool F1 by 5.5% and Return F1 by 9.6% on Qwen-2.5-7B, and by 3.7% and 3.9% on Llama-3.1-8B, compared with their strongest search configuration, at one model invocation per question, against a search whose cost grows with the tree; we also lead answer Pass Rate on Qwen-2.5-7B.

1 Introduction

Large language models are increasingly capable on chemistry problems such as molecule generation and reaction prediction (Zhang et al., 2024), but their parameters cannot store every measured property, and they cannot carry out the exact calculations many questions require. The practical remedy is to let the model call external tools as it reasons: cheminformatics libraries, property predictors, database lookups, as in ChemCrow (Bran et al., 2024) and CACTUS (McNaughton et al., 2024).

Building such an agent reliably remains challenging for several reasons. First, chemistry tools are highly specialized and challenging for general-purpose LLMs to reason. Modern chemistry agents interact with a large collection of tools covering molecular property prediction, reaction analysis, quantum chemistry, database retrieval, and materials simulation. Many tools expose similar interfaces while differing subtly in their underlying assumptions, input requirements, or prediction targets, making accurate tool selection a non-trivial reasoning problem rather than simple retrieval. Second, chemistry tools require structured inputs with strict scientific validity and computational precision. Their arguments often consist of formal chemical representations, such as SMILES strings, molecular identifiers, chemical formulas, or reaction specifications, where syntactic or semantic errors can invalidate execution or lead to scientifically incorrect results. Generating such arguments therefore requires precise structured prediction grounded in chemical knowledge. Third, chemistry problems often require long-horizon tool interaction instead of isolated function calls. Solving a task may involve retrieving molecular information, predicting intermediate properties, and using those outputs to parameterize subsequent computations. Because each tool call depends on the correctness of previous ones, early mistakes propagate through the execution trajectory and compound into downstream failures.

The current state-of-the-art system on ChemToolBench, CheMatAgent's Hierarchical Evolutionary Monte-Carlo Tree Search (HE-MCTS), meets this with machinery. One model plans tool selection while a second fills parameters; a Process Reward Model and an Outcome Reward Model are trained as search critics, the latter regressed onto a mixture of rule-based and GPT-assigned scores; the policy is then fine-tuned on trajectories the search collected. The results are strong and the pipeline

(a) CheMatAgent: HE-MCTS — four models, search at training and test time

Figure

(b) Ours: single-agent rollout with interleaved tool execution

Figure

Figure 1: (a) CheMatAgent's HE-MCTS (Wu et al., 2025) splits tool selection and parameter filling across two models and searches a tree under two learned critics — a Process Reward Model (PRM) over steps and an Outcome Reward Model (ORM) over answers, the latter trained on a GPT-4o assessment blended with a rule-based check. Four models are trained and deployed, and model calls grow with the tree. (b) One policy πθ\pi_\theta interleaves reasoning with live tool execution in a single generation, so a question costs one model and one LLM call. Context accumulates until step TT ends in an answer; faded rows are earlier context, and <tool_result> spans (dashed) come from the server rather than the policy. A program then scores the trajectory against the gold call chain — no learned critic, no search (§4.1).

is expensive: four models to train and coordinate, plus a per-query search cost the authors themselves note as a drawback. That leaves open whether any of it is necessary.

Recent advances in reinforcement learning suggest the latter may be possible. Reinforcement learning with verifiable rewards can elicit strong reasoning in a single model (Guo et al., 2025), and the idea extends to tool use (Feng et al., 2026; Jin et al., 2025). Following that line, we train one policy that alternates thinking and tool calls inside a single generation and optimize it end to end with Group Relative Policy Optimization (Shao et al., 2024) against a reward computed directly from the gold call chain. The model reasons, calls a tool, reads the real execution result, and continues until it answers (Figure 1); there is no execution model, no learned critic, and no search. To keep the comparison controlled we reuse CheMatAgent's benchmark, toolpool, and candidate-tool retrieval, and

vary only how the model is trained.

Contributions. (i) We recast chemistry tool learning as single-agent reinforcement learning, in which one policy interleaves reasoning with live tool execution in a single generation, a procedure we call our rollout protocol (§4.1). It is trained with GRPO against a verifiable reward, dispensing with the execution model, the PRM and ORM critics, and the tree search of the previous state of the art (Wu et al., 2025). (ii) We develop a systematic reward framework for multi-tool calling, introducing programmatic rewards that capture answer correctness, tool selection, tool-argument accuracy, and their combinations. We further analyze the trade-offs and failure modes induced by different reward designs, including tool spamming and non-termination. (iii) Our single-policy model consistently outperforms existing SOTA approaches across multiple metrics. It improves Tool F1 by 5.5% and Return F1 by 9.6% on Qwen-2.5-7B, and by 3.7% and 3.9% on Llama-3.1-8B, respectively. To disentangle model improvements from evaluation effects, we further evaluate each untrained backbone under the same rollout protocol, as untrained performance reflects both the evaluation framework and the model capability. Compared with this baseline, supervised warm-up provides a larger contribution than reinforcement learning alone, while reinforcement learning primarily improves tool precision at the expense of recall.