真实环境中的智能体世界模型:计算机使用智能体环境合成

·

研究论文 · 2026/10/22

Agent学习正从依赖人类数据转向通过与世界交互来学习,但在真实计算机系统中直接扩展此类学习具有挑战性且可能引入安全风险。为此,我们提出Agent World Model in the Wild (WildAWM),一个可扩展的流水线,用于合成可控环境和任务以训练通用计算机使用代理(CUA)。现有方法通常专注于单一代理交互接口,而我们构建的可执行环境同时支持图形用户界面、模型上下文协议服务和命令行界面,使代理能够灵活结合视觉交互、工具使用和代码执行。WildAWM完全由开源模型驱动,证明无需专有前沿模型即可生成高质量计算机使用环境。除环境外,我们通过引入基于执行的质量门控(结合异构代理部署、交叉评判一致性检查和判断鲁棒性的反事实探测)来解决任务合成中的三个常见挑战:确保可解性、保持足够难度和产生可靠验证器。最终流水线合成了341个长视野环境-任务对,解决这些任务可能需要超过100个代理步骤,且即使对前沿模型仍具挑战性,GPT-6-Astra仅解决了60%。我们仅在这些合成世界中训练了两个不同规模的Qwen模型,两个模型在涵盖网络、claw和计算机使用代理的8个分布外基准上均取得显著提升,表明在WildAWM合成世界中的学习能广泛泛化到未见过的计算机使用任务。代码公开于https://github.com/MSR-Orchard/WildAWM。

该工作提出了一种可扩展、完全开源驱动的计算机使用代理训练环境合成方法,解决了真实系统训练的安全风险与扩展难题,并通过多接口环境、严格质量门控和长视野任务合成,展示了在合成世界中学习的广泛泛化能力,对推动通用计算机使用代理的发展具有重要意义。

Agent learning is shifting from learning from human data toward learning through interaction with the world. However, scaling such learning directly in real-world computer systems is challenging and can introduce substantial security risks. We therefore propose Agent World Model in the Wild (WildAWM), a scalable pipeline for synthesizing controllable environments and tasks for training general computer-use agents (CUAs). Whereas existing approaches typically specialize in a single agent interaction interface, we construct executable environments that jointly support graphical user interfaces, model context protocol services, and command-line interfaces, allowing agents to flexibly combine visual interaction, tool use, and code execution. WildAWM is entirely powered by open-source models, demonstrating that high-quality computer-use environments can be generated without proprietary frontier models. Beyond environments, we address three recurring challenges in task synthesis: ensuring solvability, maintaining sufficient difficulty, and producing reliable verifiers, by introducing execution-based quality gates that combine heterogeneous agent rollouts, cross-judge consistency checks, and counterfactual probes of judgment robustness. The resulting pipeline synthesizes 341 long-horizon environment-task pairs that can require over 100 agent steps to solve and remain challenging even for frontier models, with GPT-6-Astra solving only 60% of them. We train two Qwen models of different sizes exclusively in these synthetic worlds. Both models achieve substantial gains across 8 out-of-distribution benchmarks spanning web, claw, and computer-use agents, demonstrating that learning in WildAWM's synthesized worlds generalizes broadly to unseen computer-use tasks. The code is publicly available at https://github.com/MSR-Orchard/WildAWM.

阅读原文

参与讨论