atlas

Research map / Large language models / Agents, code and math

Evaluating the World Model Implicit in a Generative Model

NeurIPS 2024 · Large language models › Agents, code and math · approach: Inductive and abstract reasoning evaluation · 14 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Myhill-Nerode-inspired compression and distinction metrics to evaluate whether generative sequence models recover the DFA world model behind them, showing models that pass existing next-token tests still have incoherent world models.

Problem

Existing diagnostics (next-token validity and linear probes) can say a sequence model has learned a world model even when its implicit state structure is incoherent; a principled model-agnostic test of world model recovery is needed for sequence models whose true world is a DFA.

Approach

Formalize world model recovery as language-level equivalence to a DFA and derive two sequence-based metrics from the Myhill-Nerode theorem: compression precision (sequences reaching the same state should share continuations) and distinction precision/recall (sequences reaching different states should have different continuations, measured via Myhill-Nerode boundaries).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train on random walks instead of shortest pathsTransformer world-model recovery on NYC taxi rides · NYC taxi ridesdistinction recall: 0.20 (0.01) -> 1.00 (0.00)Helped
train on random walks instead of noisy shortest pathsTransformer world-model recovery on NYC taxi rides · NYC taxi ridescompression precision: 0.05 (0.01) -> 0.50 (0.02)Helped
train on synthetic games instead of championship gamesOthello sequence model · Othellocompression precision: 0.00 (0.00) -> 0.98 (0.00)Helped
train on synthetic games instead of championship gamesOthello sequence model · Othellodistinction recall: 0.27 (0.01) -> 1.00 (0.00)Helped
increase epsilon from 10^{-2} to 10^{-6} (ablation)Random walks transformer · NYC taxi ridescompression precision: 0.46 (0.06) -> 0.99 (0.01)Helped
increase epsilon from 10^{-2} to 10^{-6} (ablation)Random walks transformer · NYC taxi ridesdistinction recall: 1.00 (0.00) -> 0.11 (0.03)Hurt
increase epsilon from 10^{-6} to 0.10 (ablation)Random walks transformer · NYC taxi ridesdistinction recall: 0.11 (0.03) -> 1.00 (0.00)Helped
increase epsilon from 10^{-6} to 0.10 (ablation)Random walks transformer · NYC taxi ridescompression precision: 0.99 (0.01) -> 0.16 (0.04)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: NYC Taxi & Limousine Commission taxi rides (Manhattan) Othello championship games Othello synthetic games

Benchmarks: next-token test current-state probe Manhattan route planning Othello world model metrics seating arrangement logic puzzle

Metrics: compression precision distinction precision distinction recall next-token validity valid traversal fraction under detours probe accuracy

Baselines: next-token test current-state probe untrained transformer Championship Othello Synthetic Othello

Builds on: Myhill-Nerode theorem Othello-GPT GPT-2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy