从轨迹到智能体世界:面向交互式环境模拟的智能体语言世界模型
研究论文 · 2026/10/09
现实环境副本对训练和评估LLM智能体越来越有价值,但原始系统可能无法访问或难以复现。我们探索智能体语言世界建模:世界模型智能体作为任务智能体的环境,支持忠实且有状态的模拟,而非重建可执行环境。我们用Trace2Env实例化这一范式,这是一个无学习框架,适用于原始系统不可用但历史交互轨迹可访问的场景。Trace2Env将这些轨迹重建为可复用的环境世界书,包含环境模式、有据证据和归纳的行为知识。运行时,世界模型智能体主动查阅世界书和持久的情节状态,以推断每个动作的观察和持久状态效果。在九个环境中,Trace2Env在下一观察保真度和长时程交互一致性上优于传统的基于提示的LWM。在多轮交互中,针对Trace2Env生成的任务智能体动作在真实环境中重放时更常保持有效,表明其模拟动态更好地保留了先前动作在连续轮次中的后果。这些结果确立了智能体语言世界建模作为构建现实环境副本的替代方向,无需重建原始可执行系统。
该研究提出了一种无需重建原始系统即可模拟环境的新范式,利用历史轨迹构建世界模型智能体,在多个环境中提升了模拟保真度和交互一致性,为LLM智能体训练与评估提供了实用且可扩展的替代方案。
Realistic environment replicas are increasingly valuable for training and evaluating LLM agents, yet the original systems may be inaccessible or impractical to reproduce. We explore agentic language world modeling: rather than rebuilding an executable environment, a world model agent serves as the environment for a task agent and supports faithful and stateful simulation. We instantiate this paradigm with Trace2Env, a learning-free framework for settings where the original system is unavailable but historical interaction traces remain accessible. Trace2Env reconstructs these traces into a reusable environment worldbook containing environment schemas, grounded evidence, and induced behavioral knowledge. At runtime, the world model agent actively consults the worldbook together with persistent episodic state to infer each action's observation and lasting state effects. Across nine environments, Trace2Env improves both next-observation fidelity and long-horizon interaction consistency over conventional prompt-based LWMs. In multi-turn interaction, task agent actions generated against Trace2Env remain valid more often when replayed in the real environment, indicating that its simulated dynamics better preserve the consequences of earlier actions across successive turns. These results establish agentic language world modeling as an alternative direction for building realistic environment replicas without reconstructing the original executable system.