Trajectory2Gym: Decision-Grounded Compositional Interaction Synthesis for Tool-Use Agents
Yihao Hu, Zhihao Wen, Yitong Lin, Siyuan Lu, Pan Wang, Wei Wu, Jiang-Ming Yang, Tao Lin
Abstract
Successful tool-use trajectories are not necessarily useful supervision. Even successful interactions may underrepresent multi-step dependencies or contain actions that are unjustified by the information visible to the agent at decision time. We identify two coupled requirements for effective trajectory supervision: compositional coverage, so that important observation-action dependencies are represented, and decision grounding, so that each supervised action is supported by the learner-visible interaction history. We introduce Trajectory2Gym, which constructs executable interactions around under-supported compositional structures and derives supervision only from grounded decisions in their realized executions. Structural-support selection allocates the resulting experience, while parent-normalized supervised fine-tuning preserves the semantic interaction as the unit of training weight. This reframes trajectory generation as the deliberate construction of learnable interaction experience, rather than the collection of successful trajectories. Across five Qwen3 scales, Trajectory2Gym improves Tau1, Tau2, and BFCL at every tested scale, increasing the equal-weight three-benchmark mean by 16.9-29.8 percentage points. The gains are strongest in stateful and multi-turn interaction, where later decisions depend on earlier observations and feedback. Our results suggest that scaling tool-use agents depends not only on collecting more successful trajectories, but on constructing interactions whose dependencies are represented and whose decisions are learnable from the agent's visible history.
Create a lesson
Related papers
ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
Shared title terminologycs.CLRui Sun, Junhua Huang, Luca Zancato et al.
Grounding Collaborative Agents in Group Cognition
Shared title terminologycs.CLZhaoxuan Tan, Mengting Wan, Jingbo Yang et al.
Words or Deeds? How LLMs Predict Users' Decisions in Human-Agent Dialogue
Shared title terminologycs.CLBaiqiao Zhang, Shuai Ma, Zhifeng Liao et al.
From Questions to Queries to Insights: A Schema-Grounded Agentic Workflow for Natural-Language Crash Data Analysis
Shared title terminologycs.CLJingwen Zhu, Keshu Wu, Steven T. Parker et al.
Distill, Debate, Discover: Grounding Multi-Agent Research Ideation in Graph-Distilled Insights
Shared title terminologycs.CLQianran Ma, Muxin Liu, Grace Kim et al.
Every Edge Needs a Quote: Building a Quote-Grounded Knowledge Graph of Healthcare Software Adoption with Language-Model Agents
Shared title terminologycs.CLJuan Felipe Duran, Arthur Tobler, Martin Vallières