Trajectory2Task: Training Robust Tool-Calling Agents with Synthesized Yet Verifiable Data for Complex User Intents

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wang, Ziyi, Lu, Yuxuan, Zhang, Yimeng, Chen, Pei, Dong, Ziwei, Huang, Jing, Gesi, Jiri, Tang, Xianfeng, Luo, Chen, Liu, Qun, Sang, Yisi, Lu, Hanqing, Li, Manling, Lai, Jin, Wang, Dakuo
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913052912254976
author Wang, Ziyi
Lu, Yuxuan
Zhang, Yimeng
Chen, Pei
Dong, Ziwei
Huang, Jing
Gesi, Jiri
Tang, Xianfeng
Luo, Chen
Liu, Qun
Sang, Yisi
Lu, Hanqing
Li, Manling
Lai, Jin
Wang, Dakuo
author_facet Wang, Ziyi
Lu, Yuxuan
Zhang, Yimeng
Chen, Pei
Dong, Ziwei
Huang, Jing
Gesi, Jiri
Tang, Xianfeng
Luo, Chen
Liu, Qun
Sang, Yisi
Lu, Hanqing
Li, Manling
Lai, Jin
Wang, Dakuo
contents Tool-calling agents are increasingly deployed in real-world customer-facing workflows. Yet most studies on tool-calling agents focus on idealized settings with general, fixed, and well-specified tasks. In real-world applications, user requests are often (1) ambiguous, (2) changing over time, or (3) infeasible due to policy constraints, and training and evaluation data that cover these diverse, complex interaction patterns remain under-represented. To bridge the gap, we present Trajectory2Task, a verifiable data generation pipeline for studying tool use at scale under three realistic user scenarios: ambiguous intent, changing intent, and infeasible intents. The pipeline first conducts multi-turn exploration to produce valid tool-call trajectories. It then converts these trajectories into user-facing tasks with controlled intent adaptations. This process yields verifiable task that support closed-loop evaluation and training. We benchmark seven state-of-the-art LLMs on the generated complex user scenario tasks and observe frequent failures. Finally, using successful trajectories obtained from task rollouts, we fine-tune lightweight LLMs and find consistent improvements across all three conditions, along with better generalization to unseen tool-use domains, indicating stronger tool-calling ability.
format Preprint
id arxiv_https___arxiv_org_abs_2601_20144
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Trajectory2Task: Training Robust Tool-Calling Agents with Synthesized Yet Verifiable Data for Complex User Intents
Wang, Ziyi
Lu, Yuxuan
Zhang, Yimeng
Chen, Pei
Dong, Ziwei
Huang, Jing
Gesi, Jiri
Tang, Xianfeng
Luo, Chen
Liu, Qun
Sang, Yisi
Lu, Hanqing
Li, Manling
Lai, Jin
Wang, Dakuo
Computation and Language
Tool-calling agents are increasingly deployed in real-world customer-facing workflows. Yet most studies on tool-calling agents focus on idealized settings with general, fixed, and well-specified tasks. In real-world applications, user requests are often (1) ambiguous, (2) changing over time, or (3) infeasible due to policy constraints, and training and evaluation data that cover these diverse, complex interaction patterns remain under-represented. To bridge the gap, we present Trajectory2Task, a verifiable data generation pipeline for studying tool use at scale under three realistic user scenarios: ambiguous intent, changing intent, and infeasible intents. The pipeline first conducts multi-turn exploration to produce valid tool-call trajectories. It then converts these trajectories into user-facing tasks with controlled intent adaptations. This process yields verifiable task that support closed-loop evaluation and training. We benchmark seven state-of-the-art LLMs on the generated complex user scenario tasks and observe frequent failures. Finally, using successful trajectories obtained from task rollouts, we fine-tune lightweight LLMs and find consistent improvements across all three conditions, along with better generalization to unseen tool-use domains, indicating stronger tool-calling ability.
title Trajectory2Task: Training Robust Tool-Calling Agents with Synthesized Yet Verifiable Data for Complex User Intents
topic Computation and Language
url https://arxiv.org/abs/2601.20144