T1:面向长时程任务的终端智能体强化学习
研究论文 · 2026/09/11
T1 是一个总参数量 122B 的混合专家模型,通过强化学习训练,在云沙箱中操作真实 shell,每个任务最多可执行 300 次以上工具调用,并以任务自身的验证器执行结果作为奖励。其训练方案包括:采用激进热启动稳定 actor-critic 训练,并以通过验证器的绝对数量作为密集过程奖励;通过 TITO 构造、在回合边界进行漂移修复的精确采样 token 标识训练,以及 rollout 路由回放(记录并回放采样器在每层 MoE 的逐 token 专家选择)实现稳定优化;使用完全分布外训练语料(与 Terminal-Bench 2.1 不相交的隔离种子和合成任务)以确保性能提升反映真实能力迁移而非基准过拟合。TITO 与 R3 将训练到推理的对数概率差从 0.021 降至 0.013,损失区域 token 漂移完全对齐为零。在 Terminal-Bench 2.1 上,后训练流程将初始基础模型从 43.8% 提升至 T1 的 64.0% 解决率。在 Long-Horizon Terminal Bench 上,T1 达到 27.9%,超过 GPT-5.4 和 GLM-5.1。
该工作提出了面向长时程终端任务的强化学习训练方案,在真实 shell 环境中实现数百轮工具调用,并通过分布外训练语料和稳定优化技术显著提升基准表现,对智能体长时程任务研究具有参考价值。
Agent usage is shifting toward long-horizon tasks such as coding and scientific discovery, among which terminal tasks are especially important. We introduce T1, a Mixture-of-Experts model of 122B total trained with reinforcement learning, operating a real shell in a cloud sandbox for up to 300+ tool-call turns per task, rewarded by executing each task's own verifier. We provide a comprehensive recipe: First, an aggressively warm-started to stabilize actor-critic training, with a dense process reward scoring trajectories by the absolute number of passing verifiers. Second, stable optimization through TITO construction, training on the exact sampled token identifiers with drift repair at turn boundaries, and rollout routing replay, recording the sampler's per-token expert choices at every MoE layer and replaying them during training. Third, fully out-of-distribution training corpus: isolated seeds and synthesized tasks disjoint from Terminal-Bench 2.1 ensures gains reflect genuine capability transfer over benchmark overfitting. Together, TITO and R3 cut the training-to-inference log-probability difference from 0.021 to 0.013, with exactly aligned zero token drift in the loss region. On Terminal-Bench 2.1, our post-train pipeline raises initial base model from 43.8% to T1 with 64.0% resolved. On Long-Horizon Terminal Bench, T1 reaches 27.9% and surpasses GPT-5.4 and GLM-5.1.