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

从Docker化环境生成大规模终端代理轨迹

Large-Scale Terminal Agentic Trajectory Generation from Dockerized Environments

University of Manchester(曼彻斯特大学);IQuest Research(IQuest研究);Beihang University(北航大学);Sichuan University(四川大学);Multimodal Art Projection Research Community(多模态艺术投影研究社区)

Siwei Wu, Yizhi Li, Yuyang Song, Wei Zhang, Yang Wang, Riza Batista-Navarro, Xian Yang, Mingjie Tang, Bryan Dai, Jian Yang, Chenghua Lin

AI总结:

本文提出TerminalTraj,通过Docker化环境生成高质量终端轨迹,提升代理模型在终端任务中的性能表现。

摘要:

训练基于终端的任务的代理模型严重依赖于高质量的终端轨迹,这些轨迹能够捕捉跨不同领域的长周期交互。然而,由于两个关键要求,大规模构建此类数据仍然具有挑战性:可执行性,因为每个实例都需要合适的且通常不同的Docker环境;以及可验证性,因为异构任务输出排除了统一的标准验证。为了解决这些挑战,我们提出了TerminalTraj,一个可扩展的流水线,它(i)过滤高质量的仓库以构建Docker化的执行环境,(ii)生成与Docker对齐的任务实例,(iii)合成具有可执行验证代码的代理轨迹。使用TerminalTraj,我们整理了32,000个Docker镜像,并在八个领域生成了50,733个经过验证的终端轨迹。在该数据上训练的模型,使用Qwen2.5-Coder作为骨干,能够在TerminalBench(TB)上实现一致的性能提升,在TB~1.0上提升高达20%,在TB~2.0上提升10%。值得注意的是,TerminalTraj-32B在参数少于100B的模型中表现强劲,达到TB~1.0的35.30%和TB~2.0的22.00%,并在测试时表现出改进的扩展行为。所有代码和数据均在https://github.com/Wusiwei0410/TerminalTraj上提供。

英文摘要:

Training agentic models for terminal-based tasks critically depends on high-quality terminal trajectories that capture realistic long-horizon interactions across diverse domains. However, constructing such data at scale remains challenging due to two key requirements: \textbf{\emph{Executability}}, since each instance requires a suitable and often distinct Docker environment; and \textbf{\emph{Verifiability}}, because heterogeneous task outputs preclude unified, standardized verification. To address these challenges, we propose \textbf{TerminalTraj}, a scalable pipeline that (i) filters high-quality repositories to construct Dockerized execution environments, (ii) generates Docker-aligned task instances, and (iii) synthesizes agent trajectories with executable validation code. Using TerminalTraj, we curate 32K Docker images and generate 50,733 verified terminal trajectories across eight domains. Models trained on this data with the Qwen2.5-Coder backbone achieve consistent performance improvements on TerminalBench (TB), with gains of up to 20\% on TB~1.0 and 10\% on TB~2.0 over their respective backbones. Notably, \textbf{TerminalTraj-32B} achieves strong performance among models with fewer than 100B parameters, reaching 35.30\% on TB~1.0 and 22.00\% on TB~2.0, and demonstrates improved test-time scaling behavior. All code and data are available at https://github.com/Wusiwei0410/TerminalTraj.

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

↑