In the quest to create artificial agents that can navigate the real world, World Models have become a cornerstone of research. These models allow an agent to "imagine" the consequences of its actions in a simulated environment, drastically reducing the amount of real-world data needed to learn complex tasks.
However, even the best world models struggle with "hallucinations"—predicting impossible future states—and have historically found it difficult to handle continuous control tasks when using Transformer architectures. A new model, GIT-STORM, introduces masked generative priors to significantly sharpen a Transformer's imagination and bridge the gap between discrete and continuous control.
The Challenge: Hallucinations and the Continuous Gap
Most modern world models, such as STORM or IRIS, utilize Transformers to predict the next state of the environment. Typically, these models employ a simple Multi-Layer Perceptron (MLP) head to predict the next "token" in a sequence of latent states.
This setup has two major flaws:
- Hallucinations: Because these models often generate states unidirectionally, they can lose track of global context, leading to predicted futures that are physically or logically impossible.
- The Continuous Gap: Transformer-based world models usually rely on discrete, categorical latent states. While effective for games like Atari, these are notoriously difficult to pair with continuous action spaces (like torque values in a physics sim), leaving the field dominated by older Recurrent Neural Network (RNN) architectures like DreamerV3.
Methodology: GIT-STORM
GIT-STORM builds upon the Efficient Stochastic Transformer-based World Models (STORM) architecture but introduces two key innovations to address these limitations.
MaskGIT Prior
Instead of an MLP predicting the next state, GIT-STORM uses a bidirectional Transformer trained with a masking objective. During "imagination," it employs a draft-and-revise algorithm: it makes a rough guess of the next state and then iteratively refines it. This allows the model to consider the entire state representation at once rather than token-by-token, capturing global context across state tokens and drastically reducing hallucinations.
State Mixer and Weight Tying
To bridge the gap to continuous actions, the researchers employ a state mixer function $g_\theta(z_t, a_t)$. Instead of just concatenating actions and states, the mixer integrates them into a unified representation that the Transformer can process effectively. Additionally, the model uses dot-product similarity between the Transformer's output and the codebook embeddings (weight tying). This provides a stronger inductive bias, forcing the model to learn a more structured latent space.
Experimental Results
The model was tested across three distinct domains: Atari 100k, DeepMind Control Suite (DMC), and Video Prediction Benchmarks (DMLab and SSv2).
- Atari 100k Superiority: GIT-STORM achieved a Human Normalized Mean of 112.6%, outperforming the previous state-of-the-art, DreamerV3 (104%), and the original STORM (94.7%).
- Visual Accuracy: In video prediction tasks, the improvement was stark. On the DMLab dataset, the Fréchet Video Distance (FVD) dropped from 153 to 48 when switching from an MLP to a MaskGIT prior.
- Continuous Breakthrough: On the DMC benchmark, GIT-STORM significantly outperformed the original STORM and showed state-of-the-art performance on specific tasks like Walker Stand and Quadruped Run, proving that Transformers can compete with RNN-based models in physics simulations.
Limitations and Future Work
Despite these gains, the "draft-and-revise" sampling introduces computational overhead. To maintain feasibility, the current implementation is limited to one revision iteration. Furthermore, the masking approach can occasionally "filter out" tiny, crucial objects in specific games like Pong. Future work will focus on making the decoding scheme more efficient to allow for more revision rounds without slowing down agent training.
Paper Citation: Meo, C., Lică, M., et al. (2025). Masked Generative Priors Improve World Models Sequence Modelling Capabilities. Published at ICLR 2025 - Outstanding paper at the World Models Workshop.
Summary updated