Source-linked AI summary

TMCS: Tool-Grounded Multi-Agent Reasoning for Compositional Chemical Problem Solving

Shengqin Wang, Jie Jin, Yu Cheng, Yihang Chen, Weilin Luo, Yuan Xie, Zhizhong Zhang

arXiv:2609.35336v1cs.AIcs.CV

TL;DR

Chemical optimization needs constrained molecular edits, candidate validation, and revision after failure, while existing approaches offer limited closed-loop optimization and workflow composition. TMCS combines tool-grounded task refinement with a composed multi-agent workflow; evaluations report improved chemical reasoning across open- and closed-source models and state-of-the-art performance.

  • Problem

    Chemical problem solving requires transparent, stepwise reasoning and quantitative evaluation of edits, while existing systems often lack strategy revision and cohesive workflows.

    Source: Introduction · p. 1
  • Method

    TMCS combines specialized agents, external tool feedback, few-shot trajectory memory, and reflection in task-level refinement, then chains tasks into a workflow.

    Source: Introduction · p. 2
  • Results

    TMCS substantially improves open- and closed-source base models and achieves state-of-the-art performance in chemical reasoning tasks.

    Source: Introduction · p. 2
  • Takeaways & Limitations

    The framework links molecular generation, understanding, and optimization in a closed-loop pipeline with edits tied to structural rationales and validation results.

    Source: Introduction · p. 2

Abstract

from arXiv · show

Despite the promise of Large Language Models (LLMs) in computational chemistry, rigorous combinatorial chemistry problems remain difficult because they require quantitatively constrained molecular modification, candidate validation, and systematic revision after failed attempts. Existing tool-augmented chemical agents demonstrate useful planning and tool use, but they rarely provide a unified loop for property-driven molecular optimization and workflow-level composition. To bridge this gap, we propose Tool-Grounded Multi-Agent Reasoning for Compositional Chemical Problem Solving (TMCS), a step-by-step multi-agent framework that formalizes chemical problem solving as an interpretable, tool-augmented workflow. At the task level, specialized agents leverage external tools, few-shot trajectory memory, and structured reflection to iteratively refine solutions. At the workflow level, TMCS chains generation, understanding, editing, description, and optimization into a closed-loop pipeline. Evaluations across multiple chemical tasks demonstrate that TMCS consistently enhances chemical reasoning across both open- and closed-source base models, achieving state-of-the-art performance.

Introduction

Chemical problem solving requires transparent, iterative reasoning, but existing approaches often lack stepwise interpretability, revision after failure, and a cohesive workflow. TMCS combines tool-grounded task refinement with workflow composition, and evaluations report improved performance across open- and closed-source models.

Introduction

  • Existing approaches often hide structural changes, fail to revise strategies after unsuccessful attempts, and treat generation, understanding, and optimization as disconnected tasks.Chemical optimization also requires assessing whether edits improve target properties while preserving a meaningful scaffold.Source: Introduction · p. 1
  • TMCS combines task-level iterative refinement with workflow-level composition, moving chemical problem solving from one-shot generation to a transparent, closed-loop process.The framework uses specialized agents, external validation, trajectory memory, and reflection; its workflow chains molecular generation, understanding, and optimization.Source: Introduction · p. 2
  • The workflow passes context from molecular generation through structural understanding to targeted optimization, linking edits to structural rationales and validation results.The authors state that this dual-level design improves interpretability.Source: Introduction · p. 2
  • Evaluations report substantial improvements for open- and closed-source models, state-of-the-art chemical reasoning results, and gains associated with tool-grounded feedback and bounded reflection.Figure 1 compares mean property improvement across six objectives against the corresponding Llama-3.3-70B-Instruct and GPT-5.4 generative baselines.Source: Figure 1 · p. 1, Introduction · p. 2

Related work

Prior work advances chemical reasoning evaluation and tool-augmented drug-discovery systems, but closed-loop, property-driven molecular optimization remains underexplored. TMCS focuses on that task and composes it with upstream generation and understanding.

Chemical Reasoning Models and Evaluation

  • Chemical reasoning benchmarks and foundation models advance modular evaluation and molecular-task performance, but cross-task robustness, consistency, and interpretability remain limitations.ChemCoTBench uses molecular add/delete/substitute operations as reasoning primitives.Source: Chemical Reasoning Models and Evaluation · p. 2

Multi-Agent Systems for Drug Discovery

  • Tool-augmented agents support molecular understanding, reaction analysis, and candidate generation, while closed-loop optimization still requires constrained edits, validation, and revision after failure.Existing systems are described as limited by scarce optimization trajectories, tool-chain error accumulation, and cost and privacy constraints (Solovev et al. 2025; Bran et al. 2023).Source: Multi-Agent Systems for Drug Discovery · p. 2
  • TMCS focuses on property-driven optimization composed with upstream generation and understanding, using tool validation, property-oracle scoring, and bounded feedback to revise candidates.ChemCRAFT is noted as delegating deterministic computation to external tools while retaining high-level decisions within the model (Li et al. 2026).Source: Multi-Agent Systems for Drug Discovery · p. 2

Method

TMCS organizes chemical problem solving around composed specialist agents, executable tools, and iterative task-level refinement. Its workflow links generation, analysis, and optimization, while memory and validation support targeted molecular edits.

Method

  • The framework is presented as a dual-level reasoning process for mapping an optional combined query to an optimized output.Figure 2 depicts the macroscopic pipeline supported by the Task Router, Memory Bank, and Tool Service.Source: Overview of the TMCS Framework · p. 2, Figure 2 · p. 3

Overview of the TMCS Framework

  • TMCS maps an optional text-and-molecule query to an optimized output through workflow-level chaining and task-level agent loops, supported by routing, trajectory memory, and chemical tools.The described architecture composes specialized agents and uses memory M and integrated tools T.Source: Overview of the TMCS Framework · p. 3, Figure 2 · p. 3

Chemical Tool Service

  • The chemical tool stack validates molecular structures, computes properties deterministically, and checks constrained edits through SMARTS-count changes.Generation outputs and guarded fallback outputs undergo validity and edit-consistency checks before acceptance.Source: Chemical Tool Service · p. 3

Trajectory Memory Construction and Retrieval

  • An offline, frozen memory bank retrieves task-matched exemplars through exact symbolic key matching and uses canonical deduplication and topological-distance thresholds to separate training and test structures.Its few-shot trajectories are constructed from standardized molecular data, strategy templates, and model- and tool-inferred reasoning steps.Source: Trajectory Memory Construction and… · p. 4

Task-Level: Tool-Grounded Agent Loop

  • The task-level loop calculates molecular features, formulates an edit strategy using constraints and retrieved memory, generates or edits a candidate, then validates it and returns feedback.Optimization uses at most three refinement rounds with three candidates per round; reflection classifies errors and supplies targeted corrections when no candidate improves the objective.Source: Task-Level: Tool-Grounded Agent Loop · p. 4

Workflow-Level: Compositional Chemical Pipeline

  • The workflow chains molecule generation, analysis of modifiable substituents, and property optimization, passing each agent’s output forward as context.The authors describe this composition as compartmentalizing cognitive load and preventing cascading hallucinations while preserving high-fidelity reasoning.Source: Workflow-Level: Compositional Chemical… · p. 4

Experiments

TMCS is evaluated on individual chemical tasks and composed workflows, with results reporting gains across task-level benchmarks and six molecular optimization objectives. Ablations examine component contributions, reflection budgets, initialization sources, and a qualitative optimization trajectory.

Experimental Setup

  • Benchmarks cover ChemLLMBench and ChemCoTBench tasks, use task-specific metrics and direct or domain-specific baselines, and compose generation with downstream optimization across six properties.The evaluation also includes open-source Llama-3.3-70B-Instruct and closed-source GPT-5.4 backbones.Source: Experimental Setup · pp. 4–5

Main Results

  • Task-level results report gains across molecular understanding, editing, generation, and description, alongside improved scores on LogP, solubility, QED, DRD2, JNK3, and GSK3-β optimization.The authors use generation only to initialize optimization because plausible scaffolds do not guarantee property improvement under structural constraints.Source: Main Results · p. 5, Table 3 · p. 6
  • TMCS improves workflow-level success rates on all six objectives for both backbones; net mean change is higher on all six for 70B and five for GPT-5.4.For GPT-5.4, solubility is the sole net-mean-change exception: the baseline reaches 1.305 versus TMCS’s 1.062, while TMCS raises success rate from 80.0% to 92.0%.Source: Main Results · p. 5, Table 4 · p. 7

Ablation Study

  • Removing memory reduces improvement and success, while removing tools causes a larger success-rate drop; the full model performs best on LogP and DRD2.The ablation compares the full model with component removals and indicates gains are not attributable only to additional LLM calls.Source: Ablation Study · pp. 5–6, Table 5 · p. 7
  • Three reflection rounds are the default: longer reflection adds only marginal solubility improvement, while molecular understanding reaches optimal performance with one reflection step.The chosen optimization budget balances performance against latency and token cost.Source: Ablation Study · p. 6, Table 6 · p. 7
  • TMCS remains strong when initialized from generated or ground-truth molecules, indicating that Chem-R-style initialization is useful but not the sole source of gains.The authors identify the tool-grounded optimization loop as the decisive navigation signal.Source: Ablation Study · pp. 6–7, Table 7 · p. 7
  • TMCS spends more inference than single-turn prompting but bounds the overhead with capped optimization rounds, limited candidates, direct tool routing for deterministic tasks, and short reflection budgets.The paper reports that extending the loop beyond the default reflection budget yields negligible gains.Source: Ablation Study · pp. 6–7
  • A three-round QED trajectory shows reflection diagnosing a bulky naphthalene scaffold after a plateau, then shifting from local edits to scaffold simplification.The example starts at QED 0.3354 and first replaces a PAINS-flagged hydroxamic acid liability with an acetyl group.Source: Ablation Study · p. 7

Conclusion

TMCS combines generative modeling with deterministic chemical logic in an interpretable, iterative workflow and reports state-of-the-art performance that lets open-weight models match or surpass closed-source ones.

Conclusion

  • TMCS combines generative modeling with deterministic chemical logic in an interpretable, iterative workflow, achieving state-of-the-art performance that lets open-weight models match or surpass closed-source ones.Source: Conclusion · p. 7
Loading 2609.35336v1…