2025-12-30 · 专家 · 自然语言处理 · 计算机视觉 · 多模态 · 机器学习

Web World Models

本文提出了一种名为Web World Model(WWM)的架构,通过结合确定性代码和大型语言模型,在固定上下文和无限生成环境之间找到了平衡,为构建可控制且开放式的虚拟世界提供了新的途径。

更新于 2025-12-30。作者:Jichen Feng、Yifan Zhang、Chenggong Zhang、Yifu Lu、Shilong Liu、Mengdi Wang。

中文摘要

语言代理越来越需要持久的世界,在其中它们可以行动、记忆和学习。现有的方法位于两个极端:传统的网络框架提供可靠但固定的由数据库支持的上下文,而完全生成式的世界模型则追求无限的环境,但牺牲了可控性和实际工程化。在这项工作中,我们引入了Web世界模型(WWM),这是一个中间地带,其中世界状态和“物理”通过普通网络代码实现,以确保逻辑一致性,而大型语言模型则在结构化的潜在状态之上生成上下文、叙事和高级决策。我们在一个现实网络堆栈上构建了一系列WWM,包括基于真实地理的无限旅行图集、虚构的星系探险者、网络规模的百科全书和叙事世界,以及模拟和游戏环境。在这些系统中,我们确定了WWM的实用设计原则:将代码定义的规则与模型驱动的想象力分离,将潜在状态表示为类型化的网络接口,并利用确定性生成来实现无限但结构化的探索。我们的结果表明,网络堆栈本身可以作为世界模型的可扩展基础,实现可控但开放的环境。项目页面:https://github.com/Princeton-AI2-Lab/Web-World-Models。

英文摘要

Language agents increasingly require persistent worlds in which they can act, remember, and learn. Existing approaches sit at two extremes: conventional web frameworks provide reliable but fixed contexts backed by databases, while fully generative world models aim for unlimited environments at the expense of controllability and practical engineering. In this work, we introduce the Web World Model (WWM), a middle ground where world state and ``physics'' are implemented in ordinary web code to ensure logical consistency, while large language models generate context, narratives, and high-level decisions on top of this structured latent state. We build a suite of WWMs on a realistic web stack, including an infinite travel atlas grounded in real geography, fictional galaxy explorers, web-scale encyclopedic and narrative worlds, and simulation- and game-like environments. Across these systems, we identify practical design principles for WWMs: separating code-defined rules from model-driven imagination, representing latent state as typed web interfaces, and utilizing deterministic generation to achieve unlimited but structured exploration. Our results suggest that web stacks themselves can serve as a scalable substrate for world models, enabling controllable yet open-ended environments. Project Page: https://github.com/Princeton-AI2-Lab/Web-World-Models.

解读

一句话总结

本文提出了一种名为Web World Model(WWM)的架构,通过结合确定性代码和大型语言模型,在固定上下文和无限生成环境之间找到了平衡,为构建可控制且开放式的虚拟世界提供了新的途径。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源