🤗 Upvotes: 150 | cs.CL Authors: Yihao Hu, Zhihao Wen, Yitong Lin, Siyuan Lu, Pan Wang, Wei Wu, Jiang-Ming Yang, Tao Lin Title: Trajectory2Gym: Decision-Grounded Compositional Interaction Synthesis for Tool-Use Agents Arxiv: http://arxiv.org/abs/2610.33568v1 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.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Evan: Welcome to Daily Paper Cast. Ashley: Today's paper is from the Hugging Face daily paper list of October 27, 2026, with 150 upvotes. Evan: The paper is titled 'Trajectory2Gym: Decision-Grounded Compositional Interaction Synthesis for Tool-Use Agents.' Ashley: The first two authors are Yihao Hu and Zhihao Wen, and the corresponding author is Tao Lin. They are from Westlake University and Ant International. Evan: Let's dive into the introduction section.
Background first: When we think about training tool-use agents, the common approach has been to use successful interaction trajectories as supervision. These trajectories show how agents achieve their goals, making them ideal for replication by new agents. Ashley: Yet, the authors argue that merely successful trajectories can be misleading. They may not properly represent multi-step dependencies or may include actions that aren't justified based on the agent's visible information when the decision was made. This leads to two critical requirements for effective trajectory supervision: compositional coverage and decision grounding.
Evan: So, what exactly do compositional coverage and decision grounding mean? Ashley: Compositional coverage ensures that the training data exercises the important observation-action dependencies repeatedly. For instance, if an agent needs to cancel an order and then update account information, the training must cover how these steps connect and depend on previous interactions. Decision grounding means that every action supervised is supported by the interaction history that the agent could see at the time of decision-making, rather than just being successful in the end.
Evan: Right, it's about ensuring that the agent's decisions are well-founded based on its 'visible' context rather than hindsight. What’s the approach proposed in this paper to address these challenges? Ashley: The authors introduce Trajectory2Gym, which constructs executable interactions around under-supported compositional structures. It derives supervision only from grounded decisions executed in their real contexts. This reframes trajectory generation as the deliberate construction of learnable interaction experience.
Evan: That sounds interesting. How does Trajectory2Gym improve the training process exactly? Ashley: Trajectory2Gym works in three stages: compositional interaction synthesis, grounded supervision, and structural-support learning. Compositional interaction synthesis builds interactions in native environments where information acquisition and recovery are demonstrated. This handles the compositional coverage part. Evan: Then grounded supervision checks each interaction's details against what the agent could see during its execution, ensuring decision grounding.
And the final stage? Ashley: The final stage, structural-support learning, selects trajectories to cover various capability paths at a specified support depth. Parent-normalized supervised fine-tuning balance weights to preserve semantic interaction as the unit of training. Evan: From the paper, it looks like Trajectory2Gym has been tested across various scales, and the results... Ashley: Indeed. Across five Qwen3 scales, Trajectory2Gym improved Tau1, Tau2, and BFCL benchmarks at every tested scale.
The equal-weight three-benchmark mean increased by 16.9 to 29.8 percentage points. Evan: The gains were especially strong in stateful and multi-turn interactions, where later decisions depend heavily on earlier observations and feedback. With such results... Ashley: The authors conclude that scaling tool-use agents not only requires collecting more successful trajectories but constructing interactions whose dependencies are represented and decisions are learnable from the agent’s visible history.
Evan: That's the end of the introduction section. Next, we'll dive deeper into the methods used in this paper. Evan: Alright, now let's dive into the Method section of the paper to understand how Trajectory2Gym operates and achieves its impressive results. Ashley: Certainly, Evan. The Method section of this paper is structured around three main stages: compositional interaction synthesis, grounded supervision, and structural-support learning. Let's start with compositional interaction synthesis. Evan: Got it.
So what exactly does compositional interaction synthesis entail? Ashley: In this stage, Trajectory2Gym builds and executes tasks around interaction paths that are under-supported in native environments. It focuses on demonstrating information acquisition and recovery within the environment itself. This approach ensures that the observed actions and their dependencies are represented accurately and repeatedly. Evan: Does the paper give any example of how this works in practice? Ashley: Consider a customer service agent tasked with amending orders.
The process includes looking up order details, handling errors if initial lookups fail, and confirming changes with the user before executing cancellation or update actions. Trajectory2Gym ensures these multi-step interactions are comprehensively represented. Evan: That sounds useful for creating realistic training scenarios. And what about grounded supervision? What does it focus on? Ashley: Grounded supervision shifts the focus to ensuring that the decisions made by agents are supported by the interaction history visible at decision time.
This addresses the challenge of decision grounding. It checks visibility, local execution, and workflow completion in that order. Evan: How does this stage work technically? What kind of checks are involved? Ashley: The methodology involves three main checks. First, it verifies native execution validity, ensuring the actions are authenticated and non-errors. Second, it assesses whether these actions are supported by information visible to the agent at decision time, which is essentially the grounding aspect. Lastly, it ensures the workflow completion, verifying that the order of required operations is maintained.
Evan: Interesting. It really focuses on making sure every decision can be traced back to its visible context, eliminating reliance on any unseen data or hindsight. What happens after these decisions are validated? Ashley: Once decisions pass these validation checks, they form the pool of eligible trajectories for training. It's about ensuring the training interactions simulate real-life decision-making contexts authentically. Evan: That makes sense. And the third stage, structural-support learning, sounds like it’s about organizing and utilizing these validated interactions effectively.
Can you explain more? Ashley: Sure, Evan. Structural-support learning focuses on selecting trajectories that cover various capability paths. It's about depth of support for these paths. Trajectory2Gym ensures each trajectory provides comprehensive coverage of the required skills and actions across all learner scales, from 1.7 billion parameters to 30 billion parameters models. Evan: How does it achieve this comprehensive coverage and depth in practice? Ashley: This stage starts with a certified core, ensuring a fixed, reliable foundation.
It then proceeds through task-level selection, structural coverage of capability atoms and paths, and finally, deficit-driven support expansion. Essentially, it prioritizes breadth first—covering a wide range of tasks and interactions before repeating support for more nuanced structures. Evan: So it balances between broad and detailed coverage to ensure the agent has a well-rounded training regimen. How is this training setup further optimized? Ashley: An important aspect here is the parent-normalized supervised fine-tuning (SFT).
Instead of measuring loss per training example, this method calculates the loss at the level of the entire trajectory, ensuring that each training example contributes proportionally within its context. This normalizes the training weight of each interaction, regardless of how many examples it renders into. Evan: Why is this normalization important? Ashley: Without normalization, interactions yielding more examples would dominate the training process. Normalization ensures every interaction, regardless of its complexity or representation into examples, maintains equal influence on the training outcome.
This leads to a balanced learning process, where longer multi-turn interactions do not disproportionately affect the training dynamics. Evan: Fascinating. So, it distributes learning uniformly across all interactions, enhancing the overall training quality. The paper seems to have many mechanisms ensuring robust agent training. And how are the results quantified? Ashley: The paper evaluates Trajectory2Gym using Tau1, Tau2, and BFCL benchmarks across multiple scales, from 1.7B to 30B parameters.
The results showcased that Trajectory2Gym improved the performance on all three benchmarks across all scales tested, with the largest improvements observed in stateful and multi-turn tasks. Evan: I see. These benchmarks measure the agent's ability to use tools effectively in various tasks and environments, right? Ashley: Exactly. Tau1 and Tau2 benchmarks focus on native task success across different domains, while BFCL evaluates tool usage in multi-turn scenarios. The paper reports that Trajectory2Gym improved the equal-weight mean across these benchmarks by 16.9 to 29.8 percentage points, demonstrating significant gains especially in complex, decision-heavy tasks.
Evan: With such rigorous methods and proven results, Trajectory2Gym seems to set a high standard for tool-use agent training. That covers the Method section thoroughly. Ashley: Indeed, that concludes our discussion on the Method section. Next, we’ll look into the experiments and results presented in the paper. Evan: Let's move on to the Experiment and Results section, Ashley. How does Trajectory2Gym fare in practical testing? Ashley: The paper evaluates Trajectory2Gym across three benchmarks: Tau1, Tau2, and the Berkeley Function Calling Leaderboard, commonly known as BFCL.
They tested five different scales of the Qwen3 model, ranging from 1.7 billion to 30 billion parameters. Evan: Those benchmarks provide a comprehensive overview of an agent's tool-use capability. Can you detail the specific domains these benchmarks cover? Ashley: Sure thing. Tau1 includes tasks primarily from Retail and Airline domains, while Tau2 expands to Retail, Airline, and Telecom domains. These include a mix of single-turn and multi-turn tasks. BFCL, on the other hand, evaluates the agent’s ability to function across multiple categories such as parallel, multiple operations, irrelevance, and multi-turn base tasks.
Evan: Got it. How were these models tested for improvement? Ashley: Each Qwen3 model was initialized from its public checkpoint and underwent one epoch of full-parameter, parent-normalized supervised fine-tuning using Trajectory2Gym-generated data. The Tau1 and Tau2 benchmarks were then scored based on native task success, while BFCL used overall aggregated scores. Evan: And what were the key findings from these tests? Ashley: Across all five scales—1.7B, 4B, 8B, 14B, and 30B—the Trajectory2Gym models showed substantial performance gains in all three benchmarks.
For Tau1 and Tau2, the equal-weight three-benchmark mean increased by 16.9 to 29.8 percentage points. This improvement was most pronounced in stateful and multi-turn tasks. Evan: That's quite a leap! Can you break down what these numbers signify for each benchmark? Ashley: Of course. For Tau1, which measures performance in single-turn operations, Trajectory2Gym-trained models increased their scores significantly, showcasing better efficiency in executing standalone actions compared to their initializations.
In Tau2, which includes multi-turn tasks requiring agents to incorporate previously gathered information into new steps, the results were even more impressive. The largest improvement was seen in Telecom tasks, where one model's score jumped from 12.50 to 95.00 at the 30B scale. Evan: From 12.50 to 95.00—that's a remarkable increase! How about the BFCL benchmark? Ashley: The BFCL results primarily improved in multi-turn tasks, affirming the effectiveness of Trajectory2Gym’s compositional coverage and decision grounding.
The overall score saw substantial improvements across scales, driven by better performance in handling complex, multi-part tasks. For instance, the 30B model achieved an overall score of 80.93, compared to the reported 79.97 for Gemini-3.0-Pro, a closed-source system under its source protocol. Evan: That really underscores the robustness of Trajectory2Gym's approach. Did the paper perform any specific analysis or case studies to highlight these results? Ashley: Yes, the paper includes several qualitative examples comparing Trajectory2Gym-trained agents with external baselines.
For instance, in one Retail task, a customer changes their mind from returning a bottle to only exchanging a lamp. Trajectory2Gym ensures the decision to keep the bottle is processed correctly, whereas the external agent submits both return and exchange, leading to confusion and failure. Evan: Interesting. It sounds like these qualitative examples further validate the quantitative improvements. Any insights into particular cases that stood out? Ashley: One standout example was a Telecom task for restoring service with an overdue bill and various connectivity issues.
Trajectory2Gym handled the payment and connectivity repairs accurately, while the external baseline failed by stopping after handoff. This highlights how Trajectory2Gym facilitates robust recovery and continuation, which are critical in multi-turn tasks. Evan: What's the broader implication of these results for future tool-use agents? Ashley: The remarkable improvements underscore the need for constructing interaction training that goes beyond merely collecting successful trajectories. For scaling tool-use agents effectively, the focus should be on interactions where dependencies are well-represented and decisions are grounded in real-time visible contexts.
Evan: Reflecting on these impressive results, the Trajectory2Gym framework seems to provide a solid foundation for training next-generation tool-use agents. Anything else to highlight from the experiments before we wrap up this section? Ashley: The ablation study was also particularly informative. It analyzed individual components like targeted expansion, decision grounding, structural selection, and parent normalization, showing directional gains for each component. Parent normalization, in particular, yielded the largest isolated gain, reinforcing its importance in balanced learning.
Evan: That's the end of the Experiment section. Next, we'll be looking into the related work discussed in the paper. Evan: Let's move on to the Related Work section, Ashley. How does Trajectory2Gym build on or differentiate from previous approaches in tool-use agent training? Ashley: Great question, Evan. The Related Work section of this paper is quite comprehensive. It explores existing benchmarks and training methods focused on tool-use agents, highlighting the evolution and gaps in the field that Trajectory2Gym aims to address.
Evan: So, what are the main areas the authors discuss in terms of related work? Ashley: The authors divide their review into two main categories: benchmarks and training methods for tool-use agents, and trajectory synthesis and curation. Evan: Let's start with benchmarks and training. What are the key points covered there? Ashley: In benchmarks and training, the paper reviews the evolution from single-turn benchmarks to more complex multi-turn and long-context tasks. Single-turn benchmarks, such as those by Li et al., Zhuang et al., and Huang et al., focus on tool and argument selection within isolated interactions.
These are foundational but limited in scope. Evan: So, how have benchmarks evolved beyond single-turn tasks? Ashley: Later suites add layers of complexity, including nested, multi-hop, and long-context calls. Research by Basu et al., Ye et al., and Zhong et al. provides more comprehensive evaluations, scoring entire episodes of tool-use involving multi-turn interactions. Examples include Wang et al., Liu et al., and Lu et al.'s work on customer service and web task agents.
Evan: And what are the key limitations identified in existing training methods? Ashley: The authors point out that recent pipelines show that the nature of collected interactions significantly impacts training outcomes. Generic strategy often filters trajectories based on task completion or per-call success, and directly fine-tuning on logged trajectories sometimes underperforms. Existing methods, such as those by Liu et al., Prabhakar et al., and Xu et al., focus more on the outcome rather than the decision-making process.
Evan: How does Trajectory2Gym address these limitations? Ashley: Trajectory2Gym shifts away from filtering solely for successful endpoints. By focusing on compositional coverage and decision grounding, it ensures every action is supported by visible interaction history, thereby addressing the pitfalls of relying on outcomes that may contain unseen or unjustified decisions. Evan: That makes sense. Now, let's move to trajectory synthesis and curation. How do previous methods handle this part? Ashley: Trajectory synthesis is essential for creating training data.
Verified executable synthesis produces data at scale, as seen in Yang et al. Multi-turn extensions add dialogues, tool graphs, and simulate users, which researchers like Chen et al., Yin et al., and Wang et al. have explored. The key challenge in synthesis is ensuring that created trajectories accurately represent dependencies and are feasible within real environments. Evan: How do trajectory curation methods differ? Ashley: Curation strategies aim to select high-quality data over sheer volume. Zhou et al. emphasize quality selection while Yang et al.
propose TopoCurate, which selects data based on interaction topology. Separation of demonstrator knowledge from learner observations is also a point of focus, with Ross et al. and Chen et al. working on methods to filter privileged information during imitation learning. Evan: And what innovations does Trajectory2Gym introduce in this area? Ashley: Trajectory2Gym combines deficit-guided synthesis in native tool-use environments with structural-support allocation. Unlike typical data selection that might re-weight existing pools, Trajectory2Gym actively generates new trajectories to cover under-supported paths and allocates support per learner scale.
This synthesis ensures interactions demonstrate recovery and discovery, leading to more robust multi-turn learning. Evan: It sounds like Trajectory2Gym not only innovates in synthesis but also optimizes how these interactions are certified and used in training. Ashley: Precisely. The three-stage approach of synthesis, supervision, and structural support ensures a balanced representation of interaction dependencies. This comprehensive method addresses gaps identified in related work, paving the way for better-performing tool-use agents across various tasks and environments.
Evan: That's the end of the Related Work section. Next, let’s dive into the conclusions drawn in the paper and their implications for future research and practical applications. Evan: Let's move on to the final part of today's podcast. Ashley, what are the key contributions and takeaways from this paper? Ashley: Sure, Evan. The authors of Trajectory2Gym have made several important contributions to the training of tool-use agents. Firstly, they identify two critical requirements for effective trajectory supervision: compositional coverage and decision grounding.
Traditional methods often focus on successful interactions alone, which can miss the nuances of dependencies and decision visibility. Evan: Right, and how does Trajectory2Gym address these requirements? Ashley: Trajectory2Gym addresses these by constructing interactions that demonstrate under-supported compositional structures, and deriving supervision from grounded decisions based on visible histories. This reframing ensures that every action in the training data is justified by the agent’s visible context at the time of the decision, rather than being solely outcome-driven.
Evan: That’s a game-changer in ensuring more reliable and accurate decision-making in tool-use agents. And the results reflect the robustness of this approach, with substantial improvements in benchmarks across different scales of the Qwen3 model. Ashley: Exactly. The paper reports significant gains, especially in stateful and multi-turn interactions, which are complex and require careful handling of dependencies and decision contexts. Trajectory2Gym’s method of parent-normalized supervised fine-tuning further ensures balanced training, avoiding undue influence from longer interactions.
Evan: In summary, Trajectory2Gym sets a high standard for future research and development in tool-use agent training. By focusing on constructive interaction generation and decision grounding, it paves the way for creating more capable and reliable agents. Ashley: Thank you all for tuning in to this episode of Daily Paper Cast. We hope you found our discussion on Trajectory2Gym insightful. Evan: We look forward to having you join us in our next episode where we will explore another intriguing paper from the world of AI and machine learning.
Until then, take care and stay curious! Ashley: Goodbye, everyone. See you next time!
🤗 Upvotes: 41 | cs.AI, cs.SE Authors: Khalil Hennara, Muhammad Hreden, Zeina Aldallal, Sara Chrouf, Safwan AlModhayan Title: Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood Arxiv:...