无尽终端:为终端智能体扩展强化学习环境
Endless Terminals: Scaling RL Environments for Terminal Agents
AI总结:
Endless Terminals 通过自动化生成终端任务并训练智能体,显著提升了在终端基准测试和人工整理基准测试上的性能。
摘要:
环境是自我改进智能体的瓶颈。当前的终端基准测试是为评估而建,而非训练;强化学习需要可扩展的流水线,而非仅仅数据集。我们介绍了Endless Terminals,一个完全自动化的流水线,能够程序生成终端使用任务而无需人工标注。该流水线包含四个阶段:生成多样化的任务描述、构建并验证容器化环境、生成完成测试、以及筛选可解性。从该流水线中我们获得了3255个任务,涵盖文件操作、日志管理、数据处理、脚本编写和数据库操作。我们使用 vanilla PPO 训练智能体,采用二进制回合级奖励和最小交互循环:无检索、多智能体协调或专用工具。尽管这种简单性,训练于 Endless Terminals 的模型显示出显著提升:在我们的留出开发集上,Llama-3.2-3B 从 4.0% 提升到 18.2%,Qwen2.5-7B 从 10.7% 提升到 53.3%,Qwen3-8B-openthinker-sft 从 42.6% 提升到 59.0%。这些改进转移到人工整理的基准测试:训练于 Endless Terminals 的模型在留出的人工整理基准测试上也显示出显著提升:在 TerminalBench 2.0 上,Llama-3.2-3B 从 0.0% 提升到 2.2%,Qwen2.5-7B 从 2.2% 提升到 3.4%,Qwen3-8B-openthinker-sft 从 1.1% 提升到 6.7%,在每种情况下都优于其他方法,包括具有更复杂智能体架构的模型。这些结果证明了当环境扩展时,简单的强化学习可以取得成功。
英文摘要:
Environments are the bottleneck for self-improving agents. Current terminal benchmarks were built for evaluation, not training; reinforcement learning requires a scalable pipeline, not just a dataset. We introduce Endless Terminals, a fully autonomous pipeline that procedurally generates terminal-use tasks without human annotation. The pipeline has four stages: generating diverse task descriptions, building and validating containerized environments, producing completion tests, and filtering for solvability. From this pipeline we obtain 3255 tasks spanning file operations, log management, data processing, scripting, and database operations. We train agents using vanilla PPO with binary episode level rewards and a minimal interaction loop: no retrieval, multi-agent coordination, or specialized tools. Despite this simplicity, models trained on Endless Terminals show substantial gains: on our held-out dev set, Llama-3.2-3B improves from 4.0% to 18.2%, Qwen2.5-7B from 10.7% to 53.3%, and Qwen3-8B-openthinker-sft from 42.6% to 59.0%. These improvements transfer to human-curated benchmarks: models trained on Endless Terminals show substantial gains on held out human curated benchmarks: on TerminalBench 2.0, Llama-3.2-3B improves from 0.0% to 2.2%, Qwen2.5-7B from 2.2% to 3.4%, and Qwen3-8B-openthinker-sft from 1.1% to 6.7%, in each case outperforming alternative approaches including models with more complex agentic scaffolds. These results demonstrate that simple RL succeeds when environments scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。