面向可泛化智能体强化学习的测试框架扩展
研究论文 · 2026/10/22
智能体执行框架(harness)是现代智能体系统的核心组件,但现有强化学习方法通常通过单一固定框架训练,导致模型专业化且难以迁移到其他框架配置。为此,本文提出“框架扩展”(Harness Scaling),一种新的智能体强化学习扩展维度,将训练从单一框架扩展到多样化的执行配置。具体而言,作者构建了一个因子化的框架空间,选择具有平衡因子覆盖的紧凑训练子集,并组织跨框架训练,以结合全局覆盖与同一任务上的受控变化。在多个基准、模型规模和强化学习算法上,框架扩展一致地提升了对未见白盒配置的泛化能力。此外,通过结构化白盒变化训练的模型能有效迁移到未见的外部黑盒框架,优于通过单一复杂黑盒框架训练的模型。这些结果确立了框架多样性作为智能体强化学习中有意义的扩展维度,并强调了这种多样性组织方式对跨框架泛化的重要性。
该研究突破了智能体强化学习中单一框架训练的限制,提出了可操作的框架扩展方法,显著提升了模型对未见框架配置的泛化能力,对构建通用智能体系统具有重要指导意义。
Agent harnesses have become a central component of modern agentic systems, shaping how models use tools, manage context, and coordinate long-horizon interaction. Realizing the benefits of these harnesses depends on how effectively the underlying model can make use of them, motivating reinforcement learning directly through the harness. However, existing approaches typically train through a single fixed harness, which can lead to specialization and limited transfer across harness configurations. To address this, we introduce Harness Scaling, a new scaling dimension for agentic RL that extends training from a single harness to diverse execution configurations. Concretely, we construct a factorized harness space, select a compact training subset with balanced factorial coverage, and organize cross-harness training to combine global coverage with controlled variation for the same task. Across multiple benchmarks, model scales, and RL algorithms, Harness Scaling consistently improves generalization to unseen white-box configurations. Moreover, models trained through structured white-box variation transfer effectively to unseen external black-box harnesses, outperforming models trained through a single complex black-box harness. These results establish harness diversity as a meaningful scaling dimension for agentic RL and highlight the importance of how this diversity is organized for cross-harness generalization.