Skip to main content
QUICK REVIEW

[Paper Review] What Do World Models Learn in RL? Probing Latent Representations in Learned Environment Simulators

Xinyu Zhang|arXiv (Cornell University)|Mar 23, 2026
Reinforcement Learning in RoboticsComputer Science0 citations
TL;DR

The paper probes two world-model architectures (IRIS and DIAMOND) on Atari Breakout and Pong to reveal that learned internal representations of game state are approximately linear, functionally used, and show organized attention, via linear/MLP probes, causal interventions, and token ablation.

ABSTRACT

World models learn to simulate environment dynamics from experience, enabling sample-efficient reinforcement learning. But what do these models actually represent internally? We apply interpretability techniques--including linear and nonlinear probing, causal interventions, and attention analysis--to two architecturally distinct world models: IRIS (discrete token transformer) and DIAMOND (continuous diffusion UNet), trained on Atari Breakout and Pong. Using linear probes, we find that both models develop linearly decodable representations of game state variables (object positions, scores), with MLP probes yielding only marginally higher R^2, confirming that these representations are approximately linear. Causal interventions--shifting hidden states along probe-derived directions--produce correlated changes in model predictions, providing evidence that representations are functionally used rather than merely correlated. Analysis of IRIS attention heads reveals spatial specialization: specific heads attend preferentially to tokens overlapping with game objects. Multi-baseline token ablation experiments consistently identify object-containing tokens as disproportionately important. Our findings provide interpretability evidence that learned world models develop structured, approximately linear internal representations of environment state across two games and two architectures.

Motivation & Objective

  • Investigate what latent representations world models learn when predicting future observations in RL.
  • Assess whether these representations encode core game state variables (positions, scores) in a linearly decodable form.
  • Evaluate whether representations are merely correlated or causally involved in model predictions.
  • Examine architectural differences in where and how linear representations emerge across IRIS and DIAMOND.

Proposed method

  • Apply linear and MLP probing to frozen hidden representations from IRIS and DIAMOND across layers.
  • Evaluate linearity of encoded game state variables using R^2 with Ridge and MLP probes (5-fold CV).
  • Perform causal interventions by perturbing hidden states along probe-derived directions and measuring changes in next-token predictions.
  • Analyze IRIS attention heads for spatial specialization and perform multi-baseline token ablation to assess token importance.
Figure 1: Probe $R^{2}$ across layers (in network data-flow order) for IRIS (left) and DIAMOND (right) on Breakout (top) and Pong (bottom). Each line tracks one game-state property; shaded bands show $\pm$ 1 std over 5-fold CV. IRIS representations are flat across transformer layers, while DIAMOND s
Figure 1: Probe $R^{2}$ across layers (in network data-flow order) for IRIS (left) and DIAMOND (right) on Breakout (top) and Pong (bottom). Each line tracks one game-state property; shaded bands show $\pm$ 1 std over 5-fold CV. IRIS representations are flat across transformer layers, while DIAMOND s

Experimental results

Research questions

  • RQ1Do world models develop linearly decodable representations of game state variables?
  • RQ2Are the representations functionally used in predictions rather than merely correlated?
  • RQ3How do two architectures (IRIS and DIAMOND) differ in where and how linear representations emerge?
  • RQ4Which spatial regions (tokens) and attention heads are most important for tracking game objects?

Key findings

  • Both IRIS and DIAMOND develop approximately linear representations of game state variables (e.g., ball positions, paddle/score), with small selectivity gaps (Δ ≤ 0.06 for Breakout; Δ ≤ 0.03 for Pong).
  • Causal interventions show that moving hidden states along probe directions causes correlated changes in predictions, indicating functional use (r ≥ 0.95).
  • IRIS attention heads exhibit spatial specialization, with certain heads focusing on tokens overlapping game objects; token ablation consistently marks object-containing tokens as highly important (ρ > 0.9 across baselines).
  • DIAMOND bottleneck encodes abstract state with an inverted-V pattern across layers, while MLP probes recover nonlinear ball-position information in decoder stages; both models outperform baselines (raw pixels perform poorly).
  • Across games, Pong generally yields higher R^2 than Breakout, likely due to simpler scenes; architecture-specific patterns (IRIS flat across layers, DIAMOND peak at bottleneck) persist in both games.
Figure 2: Causal intervention on Breakout: shifting IRIS layer-5 hidden states along probe directions produces correlated changes in predictions ( $r\geq 0.96$ for all properties, measured via KL divergence).
Figure 2: Causal intervention on Breakout: shifting IRIS layer-5 hidden states along probe directions produces correlated changes in predictions ( $r\geq 0.96$ for all properties, measured via KL divergence).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.