arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.10355cs.CL
收藏

解锁隐含经验:从文本合成工具使用轨迹

Unlocking Implicit Experience: Synthesizing Tool-Use Trajectories from Text

Renmin University of China(中国人民大学);Meituan(美团)

Zhihao Xu, Rumei Li, Jiahuan Li, Rongxiang Weng, Jingang Wang, Xunliang Cai, Xiting Wang

AI总结:

本研究提出GEM方法,通过文本数据生成多轮工具使用轨迹,提升LLM在多轮交互中的工具使用能力,实验显示其在基准测试中表现优异。

摘要:

使大型语言模型(LLMs)在多轮交互中有效利用工具对于构建具备能力的自主代理至关重要。然而,获取多样且现实的多轮工具使用数据仍是一个重大挑战。在本工作中,我们提出了一种新的基于文本的范式。我们观察到文本语料自然包含丰富的多步骤问题解决经验,这些经验可以作为未被利用的、可扩展的和真实的多轮工具使用任务的数据来源。基于这一见解,我们引入了GEM,一个数据合成流水线,通过四个阶段的过程:相关性过滤、工作流程与工具提取、轨迹定位和复杂性细化,使能够从文本语料中生成和提取多轮工具使用轨迹。为了减少计算成本,我们进一步通过监督微调训练了一个专门的轨迹合成器。该模型将复杂的生成流程简化为一个高效的端到端轨迹生成器。实验表明,我们的GEM-32B在BFCL V3多轮基准测试中实现了16.5%的提升。我们的模型在部分任务上部分超越了训练于τ-基准(航空和零售)领域数据的模型性能,突显了我们基于文本的合成范式所带来的优越泛化能力。值得注意的是,我们的轨迹合成器在质量上与完整流程相当,同时显著降低了推理延迟和成本。

英文摘要:

Enabling Large Language Models (LLMs) to effectively utilize tools in multi-turn interactions is essential for building capable autonomous agents. However, acquiring diverse and realistic multi-turn tool-use data remains a significant challenge. In this work, we propose a novel text-based paradigm. We observe that textual corpora naturally contain rich, multi-step problem-solving experiences, which can serve as an untapped, scalable, and authentic data source for multi-turn tool-use tasks. Based on this insight, we introduce GEM, a data synthesis pipeline that enables the generation and extraction of multi-turn tool-use trajectories from text corpora through a four-stage process: relevance filtering, workflow & tool extraction, trajectory grounding, and complexity refinement. To reduce the computational cost, we further train a specialized Trajectory Synthesizer via supervised fine-tuning. This model distills the complex generation pipeline into an efficient, end-to-end trajectory generator. Experiments demonstrate that our GEM-32B achieve a 16.5% improvement on the BFCL V3 Multi-turn benchmark. Our models partially surpass the performance of models trained on τ - bench (Airline and Retail) in-domain data, highlighting the superior generalization capability derived from our text-based synthesis paradigm. Notably, our Trajectory Synthesizer matches the quality of the full pipeline while significantly reducing inference latency and costs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑