Manuscript Offprint

arXiv:2610.12847

When Generative Models Act as Simulators

Sevan Brodjian, Michael Hobley, Pietro Perona

ABSTRACT

A simulator summarizes an environment in a state that users can read and change. Generative models learn representations of the world without explicit specification, but offer no built-in way to edit that world's state. We investigate the conditions under which a generative model can act as a simulator through editability: whether changing a model's latent representation produces the next-step outputs we get by editing a simulator's state. Plainly stated, our goal is to find a mapping between a generative model's latent state and the simulator state, where the model is trained on observations alone and the mapping is learned afterward. We test two kinds of mappings, both learned from observations paired with simulator states. In one, we train probes to decode the simulator state from the model, then steer along them. In the other, we learn the mapping directly with an inverse map, which can succeed even where steering fails. We study both in two contrasting environments: the discrete board game Othello, and Rayworld, our own continuous world of moving discs seen through partial renderings, closer to physical scenes and video. We find that which mapping succeeds depends strongly on the environment, even though the state is decodable in every variant. In Othello, editability falls smoothly as the game is simplified, and even small rule changes have large consequences. In Rayworld, probes fail to steer along the simulator's continuous state, yet an inverse map sets the model from that state anyway. A model can therefore be driven by a simulator it may have never learned. 1^{1}

1 INTRODUCTION

A simulator represents an environment by holding a state, advancing it by a rule, and rendering it into observations. In conventional simulators, this state is explicit and interpretable, allowing it to be set while preserving commitments to that environment and its rules (Todorov et al., 2012). Yet what these systems can express is constrained by what has been specified. Generative models,

a)

Figure

b) Two Ways to Transfer an Edit

Figure

Figure 1: We examine when a generative model’s latent state can be set from interpretable simulator variables. (a) We train a generator on an environment’s observations alone, then test whether an edit to a ground-truth simulator transfers into it, so its generation matches the simulator’s rendering. (b) In representation steering, we train a probe to read out simulator state, then invert it or follow its gradients to steer the latent state. In inverse mapping, we train a map from simulator state to latent state. Neither approach is trained on the observations its edits should produce. See fig. 2 for details.

1^{1}Code at github.com/SevanBrodjian/generative-models-as-simulators.

by contrast, learn from observations and can supply plausible details where that specification is incomplete (Brooks et al., 2024; Bruce et al., 2024). If an observer has seen only half of a room and then turns around, a generative model can propose what lies behind them, consistent with what they have seen (Lu et al., 2025). Their internal representations, however, offer no built-in means to set the environment's state; one must be found or engineered (Shen et al., 2020; Tewari et al., 2020).

Combining the two would provide interpretable control with learned detail. In forecasting (Lam et al., 2023) and planning (Hafner et al., 2025), this could pair predictive accuracy with the ability to specify precise conditions and counterfactuals. In virtual environments, a generative model could continuously extend the scene while a simulator keeps its state and rules persistent. Both require editability: the ability to set a model's latent state so that its next prediction follows from a target simulator state. Crucially, editability is a question about the simulator-like functionality we can access, not about whether the model represents or advances state as a conventional simulator does.

We investigate which conditions make a variable of the environment editable within an unsupervised generative model. Prior work shows that decodability alone does not reveal editability (Hazineh et al., 2023). To avoid confounds from the architecture, training, or evaluation, we hold all three fixed and vary only the training environment. Changing the rules governing a variable, or the observations through which it is revealed, then isolates their effect on its editability in the learned model.

We study two classes of environment: Othello, whose discrete board state is fully determined by its move history and rules (Li et al., 2023), and Rayworld, whose continuous disc positions are rendered into partial 1D observations, closer to physical scenes and video. We vary the game rules in Othello and the observation process in Rayworld, and also compare continuous and categorical descriptions of the discs' state. Both environments have known ground truth simulators, so the correct response to each edit can be checked directly. We score each edit by whether it moves the predicted observation toward what the environment produces after the edit, and by its overall fidelity.

Given observations paired with their simulator states, we compare two ways of editing a model. The first, representation steering, comes from mechanistic interpretability. Probes (linear or MLP) are trained to decode the state from the model's latent representations, revealing how the model encodes it, and editors then move the latent state along the probes' directions (Li et al., 2023; Nanda et al., 2023). A failed steering edit, however, shows only that the probes expose no control, not that the model cannot act as a simulator. The second, inverse mapping, tests this directly. A map trained on the same data, from simulator state to latent state, overwrites the latent state at a single layer. The model's remaining layers must then carry that write through to its output. If it succeeds where steering fails, we can still drive the model with simulator states, even if the model does not represent them as the simulator does.

Every model decodes its state well, yet in Othello editability falls smoothly as the rules are simplified. This holds even for a variant whose next move still depends on tracking the full board, where steering along the probes already degrades sharply. In Rayworld, the probes fail to steer unless their target is discretized, and steer best when it mirrors the observation, suggesting the model never forms a single abstract representation of where the discs are. Yet the inverse map succeeds from continuous positions, even though it predicts the model's latent state poorly. A generative model can therefore be driven from a simulator's state even when its probes cannot steer it.

Our main contributions are as follows:

(1) An evaluation framework for editability across diverse environments;

(2) Evidence that simplifying an environment’s rules can smoothly reduce its editability;

(3) A demonstration that a model can be driven from simulator states using inverse maps when probe-derived editors fail, even when these maps predict latent states poorly.

References (39)