TL;DR
GIT-STORM upgrades transformer-based world models by replacing the traditional MLP dynamics prior with a bidirectional Masked Generative Prior (MaskGIT). By combining masked token modeling with a simple state mixer to accommodate continuous action spaces, GIT-STORM achieves state-of-the-art sample-efficient performance on the Atari 100k benchmark and extends categorical transformer world models to continuous control in DeepMind Control Suite.
What Problem Does This Paper Address?
Model-based reinforcement learning (RL) improves sample efficiency by training agents "in imagination"—simulating future trajectories using a learned world model. While transformer-based state-space models (TSSMs) such as STORM and IRIS offer scalable alternatives to recurrent models (like DreamerV3), they face two major roadblocks:
- Poor Dynamics Priors: Autoregressive models predicting discrete latent representations often hallucinate or lose global temporal context. Most TSSMs rely on a simple MLP head to predict future latent tokens, which struggles to capture complex joint token dependencies.
- Incompatibility with Continuous Actions: Most transformer world models represent environment states as categorical tokens and simply concatenate discrete action tokens. Consequently, extending categorical transformer world models to continuous control domains has remained an open challenge.
Methods
GIT-STORM builds on the STORM architecture, retaining its VAE-based image tokenizer and autoregressive temporal backbone, but introduces two critical innovations:
- MaskGIT Dynamics Prior: Instead of using an MLP to predict future categorical latents $z_{t+1}$ directly from history $h_t$, GIT-STORM introduces a bidirectional transformer prior inspired by MaskGIT. During training, a portion of the target latent tokens are randomly masked. The bidirectional transformer takes the concatenated hidden state $h_t$ and the masked posterior tokens $z_t \circ m_t$, learning inter-token dependencies. Token logits are computed via weight-tying (dot product between output representations and codebook embeddings), adding geometric regularization.
- Draft-and-Revise Decoding: At inference time, next-step latents are sampled using a multi-step iterative "draft-and-revise" masking process, refining token predictions based on full spatial context.
- State Mixer for Continuous Control: To bridge categorical latents with continuous actions, the authors repurpose a state mixer function $g_\theta(z_t, a_t)$ that embeds categorical states and continuous actions into a unified representation space before feeding them into the autoregressive transformer.
[ Masked Tokens z_t ∘ m_t ]
+
[ Autoregressive History h_t ] ──► [ Bidirectional Transformer ] ──► (Dot-Product Logits) ──► z_{t+1}
Datasets
The authors evaluated GIT-STORM across discrete and continuous RL benchmarks as well as pure video prediction tasks:
- Atari 100k: 26 games evaluated under the strict sample-efficiency benchmark of 100k environment interactions (400k frames with frame-skip 4).
- DeepMind Control (DMC) Suite: 18 continuous-action visual control tasks evaluated at 500k environment steps (1M frames with frame-skip 2).
- Video Dynamics Benchmarks: DeepMind Lab (DMLab) and Something-Something v2 (SSv2), used within the TECO video-prediction framework to isolate the impact of the MaskGIT prior.
Key Insights and Ideas
- Masked Modeling as a Superior Inductive Bias: Video dynamics and latent transitions benefit significantly from bidirectional attention over tokens rather than unidirectional or independent MLP projections. In TECO video prediction, swapping an MLP prior for MaskGIT dropped the Fréchet Video Distance (FVD) on DMLab from 153 to 48.
- Weight-Tying Matters: Computing logits via dot products with embedding matrices (weight-tying) regularizes the latent space by incorporating vector magnitude and angle, yielding sharper predictive distributions and lower KL divergence compared to unconstrained MLP projections.
- Simplicity Wins in State Mixing: When combining categorical states with continuous actions, simple linear concatenation out-performed complex attention-based fusion mechanisms (cross-attention or self-attention) across DMC tasks.
Key Results
- Atari 100k Benchmark:
- Interquartile Mean (IQM): Achieved 0.522, outperforming DreamerV3 (0.501), IRIS (0.502), and base STORM (0.426).
- Human Normalized Mean: Reached 112.6% (vs. DreamerV3's 104% and STORM's 94.7%).
- Freeway Breakthrough: GIT-STORM is the only uniform-sampling latent world model to achieve non-zero reward on Freeway (score: 13, where DreamerV3 and STORM scored 0) without demonstration data or temperature tuning.
- DeepMind Control Suite:
- Demonstrated that categorical TSSMs can successfully solve continuous visual control, outperforming base STORM by a wide margin (Median: 475.12 vs. 31.50; Mean: 442.1 vs. 214.5).
- Set state-of-the-art scores in Walker Stand (954.8) and Quadruped Run (396.6).
Limitations and Future Work
- Small Object Filtering: Because the Draft-and-Revise decoding scheme was restricted to a single iteration for computational speed, the masking mechanism sometimes filters out crucial small visual elements (e.g., the ball in Pong and Breakout), causing performance degradation on those specific games.
- Decoding Iteration Scaling: The draft-and-revise scheme scales exponentially in inference time with additional iterations; developing more efficient scheduling algorithms remains an open problem.
- Continuous Control Gap: While GIT-STORM massively outperforms previous transformer world models on DMC, specialized continuous actor-critics (DrQ-v2, DreamerV3) still hold higher aggregate medians across all DMC tasks.
- Broader Environments: The approach has yet to be demonstrated on large-scale open-ended environments requiring extreme long-horizon exploration (e.g., Procgen or Minecraft).
Summary updated