Prediction and its inputs
What a world model predicts
An environment is the system and external conditions being modeled. Its dynamics describe how it changes over time. A world model learns a representation of that environment and a rule for predicting its evolution. The attraction is practical: computing possible consequences can let an agent investigate alternatives before paying the cost of actual execution. The tradeoff is that those consequences are approximations, not observations.
A forecast describes a possible future; a planner compares consequences to choose an action; learning uses generated experience to improve later decisions. A policy selects actions, while dynamics predict consequences. Separating these roles lets us test prediction’s contribution to action selection.
Neither pixels nor controllable actions are universal requirements. Remi Lam and colleagues’ GraphCast, first posted in December 2022, predicts atmospheric evolution from weather-state estimates. Two states six hours apart initialize the next six-hour prediction; repeated predictions produce a ten-day forecast. This is learned environmental dynamics without an agent-action input.
The FAIR CodeGen team’s September 2025 Code World Model report instead learns computational transitions. Its Python observations record local variables and call-stack information around execution, with code lines producing transitions. It predicts what execution would produce rather than running an interpreter; its representation omits globals and external side effects. Jacob Kahn proposes using such imagined traces to investigate expensive operations before executing them. Any cost saving depends on whether those predictions are useful enough to replace some actual execution.
State beyond the latest observation
Predicting change requires information about the environment’s current condition—its state. An observation measures that state but may omit information needed to predict what happens next. This is partial observability. Computer Vision explains how viewpoint and occlusion limit visual measurements; Agent Engineering explains why incomplete observations complicate action selection.
Consider a constant-velocity illustration. One position history moves from 0 to 1 to 2 meters; another moves from 4 to 3 to 2 meters, at one-second intervals. Both end at 2 meters, but their next positions are 3 and 1 meters. Current position alone has discarded direction.
A latent state encodes observation and action history without necessarily recovering physical state. A belief state assigns probabilities to possible environment states; a learned vector is not automatically such a distribution.
A predictively sufficient state retains the history needed for the future predictions being requested. The Markov property means that, given this state and the action, older history adds no further predictive information. State need not consist of named physical quantities: Littman, Sutton, and Singh’s Predictive Representations of State, 2001, uses probabilities of selected future action–observation sequences. The paper establishes a representational possibility; learning a sufficient representation remains a separate problem.
Actions and the prediction clock
Action conditioning supplies a proposed action together with the current state estimate or history. A forward model predicts consequences from these inputs. An inverse model works in the other direction, proposing actions for desired consequences. A trajectory records the ordered observations, actions, and subsequent outcomes. Its usefulness depends on knowing which action occurred between which observations.
An action identifier needs an operational meaning. Movement commands may require units, a coordinate frame, and a duration. The prediction clock matters too: DeepMind Control distinguishes physics integration steps from the interval between agent actions, which can contain several physics substeps. Changing that interval changes the transition being modeled.
| Field | Meaning |
|---|---|
| Starting information | The same observation and action history for each alternative. |
| Action | The executable operation and its arguments, units, and frame where relevant. |
| Interval | When the operation starts, how long it applies, and when the successor is assessed. |
| External conditions | What is held fixed, observed, or allowed to vary independently of the action. |
Learned control codes need not have these semantics. Jake Bruce and colleagues’ Genie, 2024, learns discrete action codes from consecutive video frames without recorded controller labels. Selecting a code controls generated continuations. Its CoinRun imitation experiment separately uses action-labeled data to map codes to executable controls. Controllable imagery therefore does not, by itself, identify an environment’s command interface.
Relevant training coverage means examples of the alternatives in the states where they will be queried—not merely varied scenery. Even action-labeled data can encode association rather than intervention effects. That distinction becomes critical when a planner proposes actions unlike those that produced its training records.
Continuing foundations
Turning points in predictive models
World models draw on distinct traditions. State estimation infers the present using a model; system identification learns dynamics from measured inputs and outputs. Predictive control uses those dynamics to choose actions, while model-based learning uses generated experience to improve later choices. These approaches coexist rather than form a sequence of replacements.
| Development | Contribution |
|---|---|
| Kalman filtering, 1960 | R. E. Kalman formulated recursive state estimation and prediction with specified linear dynamics, suitable for digital computation. |
| Model Predictive Heuristic Control, 1978 | Richalet, Rault, Testud, and Papon used identified input–output models to calculate future controls for industrial processes. |
| Dyna, 1990 | Richard Sutton combined environment interaction with additional learning through a learned forward model. |
| World Models, 2018 | David Ha and Jürgen Schmidhuber separated visual compression, recurrent prediction, and action selection. |
| MuZero, November 2019 preprint | Julian Schrittwieser and colleagues learned hidden dynamics for planning without requiring observation reconstruction. |
Learning predictive state
Predicting and correcting latent state
An encoder transforms observations into an internal representation; a decoder maps a representation back to predicted observations. Temporal prediction also needs retained history. Ha and Schmidhuber combined visual encoding with recurrent prediction rather than asking an image encoding alone to describe motion. These components had separate training roles, not one universally required end-to-end recipe. Representation learning explains how encodings preserve task-relevant distinctions.
Prediction and correction use different information. A prior prediction describes possible successors before the new measurement. An observation-conditioned posterior revises that estimate after the measurement arrives. In probabilistic filtering, the action first propagates the current belief; the observation then changes the relative plausibility of the resulting states. Neither estimate is the environment itself.
PlaNet, 2019, uses a recurrent state-space model, or RSSM. Previous memory, latent state, and action update memory, which predicts the next latent-state distribution. New observations supply observation-informed estimates. Training predicts recorded observations and rewards—task scores—and aligns predictive with observation-informed distributions. Optional latent overshooting extends alignment across predicted steps; PlaNet’s final RSSM agent did not require it. Imagination advances sampled latent states without fresh measurements; planning compares predicted rewards without image decoding. In the dependency view, h denotes deterministic memory, z a sampled stochastic state, a an action, and o an observation. The same next action is held fixed to isolate the effect of incorporating a measurement.
Two transitions, different state information
h₀, z₀, a₀ → h₁ = f(h₀, z₀, a₀)
Without a new measurement
p(z₁ | h₁)
z₁ᵖ
h₂ᵖ = f(h₁, z₁ᵖ, a₁)
At the first transition, observation and reward readouts receive h₁ and this branch’s sample z₁ᵖ. Decoded images do not feed the next latent transition.
With the new measurement o₁
q(z₁ | h₁, o₁)
z₁ᑫ
h₂ᑫ = f(h₁, z₁ᑫ, a₁)
At the first transition, observation and reward readouts receive h₁ and this branch’s sample z₁ᑫ. Decoded images do not feed the next latent transition.
Dashed boxes are distributions; solid gold boxes are samples. The new observation o₁ enters only q. There is no prior-to-posterior network arrow. Planning uses predicted rewards without decoding images.
What the objective preserves
Reconstruction recovers an observation from its encoding. It encourages retention of visible information, but recovering the current image does not establish that the state predicts the future. Conversely, a model can discard appearance while retaining distinctions needed for decisions. A reward scores an outcome for a task; a value estimates accumulated future reward. These provide different training targets from pixels.
| Target | Useful retained distinctions | Remaining boundary |
|---|---|---|
| Observations | Details needed to reconstruct or predict measurements. | Visible similarity need not preserve decision-critical events. |
| Learned features | Differences expressed by the target encoder. | Uninformative features can agree perfectly. |
| Rewards, policies, and values | Consequences relevant to the trained decision problem. | A different task may require discarded information. |
MuZero makes the decision-focused approach concrete. A representation network encodes history; action-conditioned hidden dynamics predict rewards; another network supplies policy and value estimates for search. Training uses rewards, search policies, and returns rather than reconstructed observations. Its game results demonstrate useful task-specific planning, not a general-purpose simulator.
Grimm and colleagues’ Value Equivalence Principle, 2020, formalizes this boundary. Two models can agree on calculations combining immediate reward with discounted next-state value while disagreeing about other details. Equivalence is relative to specified policies and value functions. Requiring agreement for more such calculations narrows the acceptable model class; changing the task can invalidate the original equivalence.
Feature prediction has its own failure: representation collapse, where every input receives the same encoding. Agreement then becomes trivial. VICReg illustrates one remedy by penalizing dimensions with too little batch variation. It is not a required world-model component; the general issue is useful invariance without collapse.
Useful features still need grounded action dynamics. Mahmoud Assran and the FAIR team’s V-JEPA 2, June 2025, separates action-free video pretraining from an action-conditioned predictor trained on robot trajectories with the encoder frozen. Position, orientation, and gripper actions supply control semantics; planning searches for predicted representations approaching a goal image. General training objectives and generative media provide context, but neither feature quality nor attractive generation alone establishes this control capability.
Using imagined futures
From one transition to a rollout
A rollout repeatedly advances a model from an initialized state. Its prediction horizon is the number of transitions—or the corresponding environment time. A recorded trajectory contains observations from execution. A simulated rollout instead feeds predicted states into later predictions, following either supplied actions or a policy acting on simulated information.
Repeated one-step prediction can receive fresh measurements before each next prediction. Free-running simulation cannot. The first predicted successor may be identical in both tests; their information conditions separate when another actual observation arrives for only one path. Success with refreshed measurements therefore does not establish the same horizon of unaided prediction.
Teacher forcing is the related sequence-training practice of supplying recorded predecessor targets rather than the model’s generated choices. It explains why training-time and free-running inputs can differ, but not every measurement correction is teacher forcing. Predicting recorded successors develops the sequence-learning mechanism.
A stochastic rollout must also maintain one evolving history: each sampled successor conditions the next transition. Independently sampling an image for every future timestamp does not construct the same joint trajectory. Rewards, termination, or images can be predicted readouts when the model supplies them; none is automatically available from an arbitrary latent transition.
Similarly, changing an action generally requires recomputing downstream observations. Feeding a changed policy the old recorded continuation leaves the consequences of its new action unmodeled. Simulation and replay therefore serve different purposes, even when both begin from the same record.
Choosing actions with predicted consequences
A planner supplies candidate actions to the model and evaluates their predicted consequences against a separate objective. A constraint restricts admissible actions or states; a low predicted cost does not override it. Model predictive control, or MPC, solves a finite-horizon planning problem, executes its first action, obtains a new state estimate, and solves again. Within each proposed sequence, later actions are fixed without new measurements: this is open-loop planning. Repeating the planning process after actual observations makes execution closed-loop, using feedback.
The model must learn the responses planning needs. Richalet and colleagues identified delayed, interacting industrial responses from measurements and corrected predictions with feedback. Identification required sufficient input variation without undue process disruption. More candidates and longer horizons cost computation; longer predictions can add error. Search methods address candidate exploration; Robotics addresses timely physical execution.
Replanning uses new evidence but cannot undo damage. Continuing feasibility, stability, and model-error robustness require assumptions and design beyond nominal optimization.
Learning behavior through imagination
A model can improve action selection during learning rather than support a fresh search at every decision. This requires separating prediction error from performance error: accurately forecasting a bad outcome is different from producing the desired outcome. Michael Jordan and David Rumelhart’s distal learning, 1992, passed actual outcome error backward through a learned forward model to adjust a controller. The model supplied an estimate of how changing actions would change outcomes; inaccurate derivatives could misdirect learning. Reinforcement learning instead improves action selection from outcome-based feedback, and can use model-generated experience for some updates. Post-training and Alignment explains that optimization more broadly.
Dyna uses real transitions both to update action values directly and to improve its model. The model then generates additional transitions for the same value-learning machinery. Sutton’s 1990 maze experiments showed that additional model-based updates could reduce the real experience needed to learn effective routes. The benefit was an exchange of computation for interaction in that setting, not a promise that arbitrary simulated experience is accurate.
Dreamer, introduced by Danijar Hafner and colleagues in a December 3, 2019 preprint, learns behavior through latent imagination. Observation-derived states initialize trajectories that alternate policy actions and predicted transitions. Predicted rewards and values train the action model; values account for consequences beyond the imagination horizon. The original formulation subsequently selects real actions without online trajectory search, while still using its learned state representation.
Model-Based Policy Optimization, or MBPO, uses short imagined continuations beginning at states from real-experience replay. The rollout can be short even when the task is long. Generated transitions reuse what the model has learned; they do not create independent observations of the environment.
A learned transition component is also smaller than a complete simulator. Running tasks requires initialization, action semantics, observations, feedback, and termination. For example, DeepMind Control explicitly separates reset, intermediate steps, and episode completion. These interfaces are taught in RL Environments and Simulators; learning their dynamics is the concern here.
Uncertainty and failure
Different sources of uncertain futures
Several futures can remain possible for different reasons. The initial hidden state may be uncertain; subsequent outcomes may vary even given available information; or the fitted transition rule may be poorly known. Aleatoric uncertainty describes unresolved outcome variation, while epistemic uncertainty concerns the learned model. More relevant data can reduce the latter without eliminating the former. Predictive uncertainty explains this distinction more generally.
PETS, 2018, combines probabilistic ensembles with trajectory sampling. Its ensemble is a set of dynamics networks fitted to separately resampled versions of recorded data. Each predicts a distribution; their disagreement approximates limited-data uncertainty. A particle is one sampled evolving state. Repeatedly sampling its next state under candidate actions carries uncertainty through a trajectory instead of replacing every step with a mean.
Sampling repeatedly from one fitted model explores its outcome distribution. Comparing fitted models explores disagreement about that distribution. These operations are not interchangeable. Nor must an average trajectory be plausible: if possible paths pass on either side of an obstacle, their coordinate-wise mean can run through it. Preserve alternative trajectories when the decision depends on their differences.
Samples live inside fitted models
Fitted model A
pA(s₁ | s₀, a₀)
Fitted model B
pB(s₁ | s₀, a₀)
Fitted model C
pC(s₁ | s₀, a₀)
Each pair of sample boxes belongs inside its model’s distribution. Drawing more samples does not create more fitted models. Compare distributions across A, B and C to examine model disagreement.
pA(s₁ | s₀, a₀) → sample s₁
sampled s₁ + a₁ → pA(s₂ | sampled s₁, a₁) → sample s₂
The sampled successor becomes the next input. This fixed-model path illustrates one convention; PETS also considers changing the sampled model between transitions.
These estimates remain conditional on the modeling method. Several similar models can agree outside their training coverage, and a diverse sampler can produce unrealistic alternatives. Spread is not a validated confidence region. Calibration must be tested against outcomes, especially after conditions change.
Accumulated error and optimistic plans
Compounding error occurs when an earlier prediction mistake changes the inputs to later predictions. The resulting trajectory may enter states unlike those used to fit the model. Initial-state error, transition error, and discarded information can all start this process. Horizon alone does not specify its severity: what matters is how subsequent dynamics respond to the discrepancy.
The 2015 action-conditional Atari prediction study provides a precise example. A small position error leaves predicted Ms Pacman inside a corridor when the actual character has reached a junction. The same upward action turns the actual character upward, while the predicted character continues right along the corridor. The important error is not simply a pixel displacement: it changes which movement becomes possible.
A small state error changes the available turn
Same geometry and action interval: command “Up”
Actual state: at the junction
The actual position permits the upward turn.
Predicted state: still in the corridor
The predicted position cannot turn upward yet; the reported prediction continues right.
Model exploitation adds selection pressure. A planner or trained policy can favor the very sequences the model predicts too optimistically. In Ha and Schmidhuber’s learned Doom environment, a controller found movements that prevented simulated monsters from firing, although that exploit was unavailable in the original game. Good simulated performance therefore became a reason to investigate transfer, not proof of success.
Different safeguards address different problems. New observations correct state estimates. Short rollouts limit recursive exposure. New real transitions can cover states reached by the changed policy. In fixed-data learning, MOPO, 2020, subtracts a dynamics-uncertainty penalty from predicted reward. Its theoretical bound requires an error-bounding uncertainty estimator; its practical ensemble-variance heuristic lacks that guarantee. A penalty can discourage optimism without certifying an action.
Short prediction need not mean ignoring delayed consequences. TD-MPC, 2022, combines short-horizon predicted rewards with a terminal value estimate. It learns latent consistency, reward, and value jointly without reconstructing observations. This shifts part of the long-horizon burden from explicit simulation to value estimation; that estimate introduces its own accuracy requirement.
The boundary of a learned future
Action support means the data cover relevant actions in the states where their effects are needed. Identifiability asks whether the desired effect is determined by the available data under stated assumptions. Predicting logged action–outcome associations does not automatically identify interventions: hidden common causes can influence both actions and outcomes, and an untried alternative leaves missing evidence. More records of the same restricted behavior need not repair either problem. The assumptions are developed in Machine Learning Fundamentals.
| Failure mechanism | What must change | Why more prediction alone is insufficient |
|---|---|---|
| Incomplete observation | Obtain informative measurements or retain uncertainty. | A richer predictor does not make hidden facts observed. |
| Unsupported alternatives | Collect relevant action evidence where feasible, or restrict use. | Extrapolation is not intervention validation. |
| Discarded distinctions | Change the representation or its training targets. | A downstream readout cannot rely on information the state does not retain. |
| Changed dynamics | Reassess the model under the changed regime. | Familiar-condition accuracy does not establish the new transition rule. |
Incomplete observations occur in software environments too. In Gaurav Mishra’s browser example, the supplied document structure omitted an advertisement’s image-embedded sponsored label, while screenshots could omit offscreen context. Combining sources was necessary, but merely collecting both did not ensure the agent interpreted the action correctly.
Physical systems can also change governing regimes abruptly. In a hybrid contact model, continuous motion within a mode meets a discrete event: impact can reset velocity and introduce new constraints. Extrapolating free-space dynamics across contact misses that change. Planning through contact and Robotics develop the physical details.
Hybrid models combine authored physical structure with learned components. Kochkov, Yuval, and colleagues’ NeuralGCM, 2024, joins an atmospheric numerical core with learned processes unresolved by its grid. Physical structure did not eliminate validity limits: 22 of 37 forty-year initializations remained stable throughout, and warmer prescribed sea-surface conditions exposed drift and unexpected responses. Weather skill, long-run stability, and response to changed conditions therefore remain separate claims.
Evidence of usefulness
Testing conditional dynamics
A predictive test specifies the starting history, supplied actions, refreshed measurements, horizon, and target. Keep observation-refreshed diagnostics separate from free-running tests. Hold out whole trajectories, scenes, or environment instances according to the intended generalization claim; neighboring frames should not quietly cross the boundary. See evaluation-case design and validation without leakage.
| Test | What it exposes | What it does not establish |
|---|---|---|
| Refreshed one-step prediction | Local prediction with measured history available. | Unaided accuracy over a long rollout. |
| Free-running horizon sweep | Consequences of repeatedly using predicted state. | Useful decisions under a planner’s selected actions. |
| Passive event prediction | Whether a relevant event occurs in an observed situation. | What would happen under alternative interventions. |
| Executed alternative branches | Agreement between predicted and executed action consequences. | An exact counterfactual with identical external randomness unless that is controlled. |
Physion asks whether two marked objects will make contact as a scene evolves. This event target permits comparisons between pixel predictors, object representations, and physical-state models without requiring all of them to render images. It tests passive physical prediction, not the effect of alternative executable actions.
Action removal or replacement can reveal whether predictions depend on the action input, but dependence alone does not establish correctness. A 2026 decision-centric evaluation proposal recommends actually executed alternatives from matched histories. This is a proposed protocol, not an established standard; exact resets may be unavailable. After action divergence, downstream observations must reflect the changed branch.
Inspect errors that matter to the task: missing objects, changed identities, event timing, and violated domain constraints. Whole-image averages can hide them. The Atari prediction study found that small bullets contributed little to squared pixel error and that an action-blind model could score relatively well when the controlled object occupied few pixels.
Scoring distributions and visual quality
A predictive distribution assigns probabilities across possible futures; one observed continuation is one realization. Selecting the closest generated trajectory measures a best-sample outcome. Increasing the number of candidates gives that selection more chances to match, even if the underlying distribution is unchanged. A trajectory-scoring study demonstrates this sample-budget effect.
A proper scoring rule rewards reporting the true distribution in expectation. The energy score combines distances from forecast trajectories to the observation with distances among forecast samples. It evaluates the distribution rather than only its luckiest sample. Properness concerns repeated cases, not proof from one trajectory; calibration is likewise a population-level property.
Fréchet Video Distance, or FVD, answers a different question. Unterthiner, van Steenkiste, and colleagues introduced it in a December 2018 preprint to assess video quality, coherence, and diversity together. It embeds videos with a pretrained network and compares Gaussian approximations to the reference and generated feature distributions. This collection-level comparison is not a test of whether a particular action produced its predicted consequence.
The feature extractor also determines what FVD notices. Songwei Ge and colleagues’ 2024 content-bias study found substantial temporal corruption could cause relatively small changes in conventional FVD; one example scored better despite worse temporal consistency. The tested self-supervised features reduced that bias. Better temporal sensitivity still does not validate action-conditioned dynamics. Generative Media develops visual quality as its own objective.
Establishing planning and simulation value
Compare model use against credible alternatives on matched work, specifying action access, initial conditions, interaction and compute budgets. Separately report outcomes, constraint violations, interaction requirements, and decision latency—not just prediction metrics.
| Use | Independent test | Critical comparison |
|---|---|---|
| Online planning | Execute selected actions in the reference environment. | Credible simpler planning or dynamics under declared resources. |
| Imagined learning | Evaluate the trained policy outside its learned model. | Learning without generated transitions, including comparable optimization effort. |
| Learned simulation | Check the events and action consequences the simulator is intended to represent. | Reference behavior, not merely visual attractiveness or interactivity. |
MBPO included an ablation giving its model-free baseline similar numbers of updates without model-generated data. That comparison helps distinguish the benefit of additional transitions from simply doing more optimization. The relevant outcome was performance in the benchmark environment, not predicted return inside the learned model.
Transfer can be real and still unreliable. Hafner, Yan, and Lillicrap’s Dreamer 4, September 2025, learned from recorded Minecraft video and mouse–keyboard interactions, then improved behavior through imagination. Its evaluation reported diamond acquisition in 0.7% of 1,000 hour-long episodes in new worlds with empty inventories. Training used contractor recordings and annotated task information, and task prompts and subgoal sequencing were supplied. The result demonstrates transfer on some runs, not reliable arbitrary-task completion.
An interactive generator responds to actions; a faithful simulator must also reproduce the relevant consequences in its target environment. At its January 29, 2026 launch, Google’s Project Genie was an experimental prototype with physics failures, imperfect character control, control latency, and a sixty-second generation limit. Evaluation must likewise distinguish predicting recorded behavior from acting on predictions. In the presentation of Waymo’s EMMA driving model, replay-based planning results were only one stage; interactive simulation and road testing remained additional requirements.
Choose the model’s role around its demonstrated boundary. Reliable short-range dynamics may support bounded imagination, with delayed consequences handled by a separately evaluated value estimate. A tight action-time budget may favor a policy trained beforehand over repeated online search. Unsupported alternatives still require restriction or new evidence. When another observation resolves the uncertainty, or simpler dynamics already support the decision, additional learned simulation must justify its cost.
Open questions
Recognizing when imagination should stop remains difficult. Approximate uncertainty penalties need not bound error on the actions optimization selects. Progress would connect abstention or horizon choices to independently measured environment outcomes.
Reusable abstractions must balance compression with future task changes. Decision-focused states can omit information a new reward requires. Progress would establish which changes preserve usefulness and detect when the representation needs relearning.
Action grounding from broad passive data remains incomplete. Learned control codes can influence generated futures without identifying executable interventions. Progress would validate mappings and consequences beyond the action-labeled settings used to establish them.
Long-horizon transfer requires more than isolated success. Offline imagination can produce behavior that works in an independently executed environment, yet sustained completion remains fragile. Progress would improve repeated success across new conditions while keeping demonstrations, task assistance, and interaction budgets explicit.














