Explain the architecture of an Action-Conditioned World Model for autonomous driving, of the kind Wayve describes for its GAIA models.
Answer
An action-conditioned world model is a generative model of future sensor data whose predictions are explicitly steered by the ego vehicle’s own control commands, so it can answer “what would the road look like in three seconds if I brake at 5 m/s² instead of holding speed?”. Architecturally it factors into four blocks that are trained in two stages: a video encoder that compresses multi-camera frames into a small latent grid, an action and context encoder that embeds the low-dimensional control signal, a latent dynamics model that rolls the compressed state forward in time, and a decoder plus auxiliary heads that render latents back to pixels or BEV occupancy. Almost every production-scale system follows this shape and differs only in the dynamics block: GAIA-1 uses a 6.5B-parameter causal transformer over discrete video tokens with a separate diffusion video decoder, GAIA-2 replaces it with a flow-matching diffusion transformer over continuous latents so five surround views stay geometrically consistent, and Dreamer-style recurrent state-space models keep a compact deterministic-plus-stochastic state for reinforcement learning in imagination. The reason compression comes first is the same as in latent diffusion: at 6.25 Hz a 26-frame context of frames is 3.8M pixels per frame-stack but only 14,976 latent tokens, and the dynamics model’s cost is quadratic in that number. What makes the model a simulator rather than a video generator is the rollout loop plus faithful action adherence, which is precisely where these models are weakest and where interviewers push.
(1) Observation Encoder: a VQ or KL-regularized video autoencoder with spatial factor to
maps each frame to an
grid; it is trained first with perceptual and adversarial losses, then frozen.
(2) Action And Context Conditioning: a 2-D action (curvature and acceleration) is embedded by a small MLP and injected per frame at every block, as prefix tokens or through AdaLN modulation, alongside text prompts, agent bounding boxes, and camera calibration.
(3) Latent Dynamics Backbone: a causal spacetime transformer predicting the next token, or a diffusion/flow-matching transformer denoising a whole latent chunk conditioned on the past; this is where nearly all parameters live.
(4) Decoder And Auxiliary Heads: a diffusion or convolutional decoder for video, plus cheap heads for BEV occupancy, collision cost, and value that planning actually consumes.
(5) Two-Stage Training With Teacher Forcing: the dynamics model always sees ground-truth latents during training, which creates the exposure-bias gap that dominates long-horizon rollouts.
(6) Three Consumers: closed-loop policy evaluation against counterfactual actions, planning or RL in imagination, and generation of rare corner-case scenarios that fleets rarely log.

Figure 1: The four blocks of an action-conditioned world model. Only the frozen codec ever touches pixels, the action modulates every block of the dynamics model, and the rollout loop is what turns a video generator into a driving simulator.
How the action enters is the part worth rehearsing. A two-number control signal has to influence a token stream dominated by appearance, so injecting it once at the input is not enough: it is embedded per frame and re-applied at every layer, and it must be time-aligned to the interval it causes rather than the frame it was logged with. Two failure modes follow directly. First, shortcut learning: logged actions are almost perfectly predictable from the visible road geometry, so a model can minimize training loss while ignoring entirely, and you only detect this by rolling out counterfactual actions that contradict the scene. Second, weak controllability at sampling time, which is why conditioning is dropped for 10-20% of training samples so that classifier-free guidance can later amplify action adherence. Evaluation therefore needs an action-following metric (does the rendered ego trajectory match the commanded one?) next to FID or FVD, because generative realism and control fidelity move independently.
Mathematical Formulation:
Where:
is the multi-camera observation at step
and
its prediction;
is the ego action (curvature and acceleration, or steering and pedal).
is the compressed observation latent and
the deterministic recurrent or attention-carried state that summarizes the past.
and
are the frozen encoder and decoder,
the dynamics backbone,
the action-conditioned prior, and
the posterior that also sees the true observation.
balances reconstruction against the dynamics (KL) term; in practice it is annealed and often free-bits clipped so the prior does not collapse onto the posterior.
is the context length in frames,
the frame resolution,
the spatial compression factor, and
the token count whose square drives attention cost.
- Required initial conditions for a rollout:
and a real context
encoded from logged frames, after which only actions are supplied and
steps are pure imagination.

Figure 2: Left: fixing the initial latent and varying only the action sequence produces counterfactual rollouts, the property that makes the model usable for closed-loop evaluation. Right: because training is teacher-forced, free-running error compounds superlinearly, and ablating the action tokens makes it worse still.
| Dynamics block | Discrete-token autoregressive | Latent diffusion / flow matching | Recurrent state-space (RSSM) |
|---|---|---|---|
| Latent representation | VQ codebook indices, 576 tokens per frame | Continuous latent grid, tens of channels, temporally compressed | Small vector state: deterministic GRU plus categorical stochastic units |
| How the action enters | Per-frame prefix tokens in the causal sequence | AdaLN modulation or cross-attention at every block, with conditioning dropout | Concatenated into the recurrent transition at each step |
| Rollout cost | Hundreds of sequential token decodes per frame; slowest | Tens of denoising steps per chunk, parallel across positions | One cheap matrix step per frame; fast enough for RL in imagination |
| Strength | Exact likelihoods, easy long-context scaling, LLM tooling reuse | Best photorealism and multi-view consistency; controllable via guidance | Compact enough to train a policy on millions of imagined steps |
| Typical failure mode | Quantization artifacts and drift after a few seconds of rollout | Plausible but unfaithful scenes; ignores the action unless guided | Blurry reconstructions; posterior collapse hides rare agents |
| Representative system | GAIA-1 | GAIA-2, Vista, NVIDIA Cosmos | DreamerV3, MILE |
Leave a Reply