[论文解读] Evaluating the World Model Implicit in a Generative Model
本论文形式化了如何评估生成序列模型在多大程度上恢复潜在的确定性有限自动机(世界模型),使用受Myhill-Nerode启发的度量,并显示跨导航、游戏和逻辑谜题等领域,标准的下一个 token 探针可能具有误导性。
Recent work suggests that large language models may implicitly learn world models. How should we assess this possibility? We formalize this question for the case where the underlying reality is governed by a deterministic finite automaton. This includes problems as diverse as simple logical reasoning, geographic navigation, game-playing, and chemistry. We propose new evaluation metrics for world model recovery inspired by the classic Myhill-Nerode theorem from language theory. We illustrate their utility in three domains: game playing, logic puzzles, and navigation. In all domains, the generative models we consider do well on existing diagnostics for assessing world models, but our evaluation metrics reveal their world models to be far less coherent than they appear. Such incoherence creates fragility: using a generative model to solve related but subtly different tasks can lead to failures. Building generative models that meaningfully capture the underlying logic of the domains they model would be immensely valuable; our results suggest new ways to assess how close a given model is to that goal.
研究动机与目标
- 为真实领域(逻辑、导航、游戏、化学)背后的确定性有限自动机(DFA)形式化世界模型评估。
- 提出受 Myhill-Nerode 启发的度量,用于评估序列模型中的世界模型恢复。
- 在多个领域展示这些度量,揭示基于下一个 token 的评估的脆弱性。
- 提供开放的基准数据和工具,用于评估生成模型中世界模型的一致性。
提出的方法
- 定义一个基于 DFA 的框架,将生成模型与世界模型联系起来。
- 引入两种度量:序列压缩(同一状态应产生相同的后续)和序列区分(不同状态应产生不同的后续)。
- 将精确的下一个 token 预测与 DFA 的恢复相关联(命题 2.3)。
- 应用图重构来可视化由模型恢复的隐式映射。
- 使用三个领域(用于导航的 NYC 出租车转弯序列、奥赛罗、逻辑谜题)来说明评估度量。
- 提供与模型无关的程序,在获得真实 DFA 的前提下计算度量。

实验结果
研究问题
- RQ1生成序列模型能够恢复支配某一领域的潜在 DFA(世界模型)吗?
- RQ2现有的下一个 token 或探针诊断是否足以评估世界模型恢复?
- RQ3受 Myhill-Nerode 启发的度量是否能揭示通过传统诊断的模型的内在不一致性或脆弱性?
- RQ4不同的数据生成过程(最短路径、带噪声的路径、随机漫步)如何影响恢复的世界模型?
- RQ5不完美的世界模型恢复对下游任务如绕道鲁棒性有何影响?
主要发现
- 标准的下一个 token 诊断可能会误导关于世界模型恢复的判断;模型可能具备有效的下一个 token 预测,但全局结构不一致。
- 两种 Myhill-Nerode 启发的度量——序列压缩精度和序列区分精度——揭示了现有探针未捕捉到的内部不一致。
- 在 NYC 出租车路线方向上训练的 Transformer 可以预测有效的下一个移动,甚至最短路径,但重构的地图在结构上与真实的曼哈顿街网不兼容。
- 具有不一致世界模型的模型在绕道时表现出脆弱性:在绕道情况下重新规划能力下降,与一些在随机漫步上训练的模型不同。
- 在奥赛罗和逻辑谜题上,模型在传统指标上表现良好却未能捕捉到真正的底层状态结构,表明传统诊断的脆弱性更广泛。
- 作者提供用于评估世界模型恢复的数据集和软件。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。