TL;DR
CausalDreamer improves generative world models by re-encoding "entangled" video tokens into a factored representation that separates controllable elements from background noise and reward-relevant features from irrelevant textures. By imposing this causal structure on a frozen pretrained model, it achieves a 25% performance boost in planning tasks involving distracting visual changes.
What Problem Does This Paper Address?
Modern world models, like DreamerV4, allow agents to "plan in imagination" by predicting future states in a compressed latent space. These models typically use a video tokenizer to turn frames into latents. However, these tokenizers are usually trained solely to reconstruct pixels.
The problem is entanglement: the resulting latent vectors mix everything together—the robot arm you control, the ball you need to catch, and the flickering stars in the background. For a planner, this is a nightmare. If the model can't distinguish between the agent's own actions and random background motion, or between a task-critical object and a decorative texture, it wastes "mental" energy predicting irrelevant details, leading to fragile and unreliable plans.
Methods
The authors introduce CausalDreamer, a framework that adds a layer of disentanglement to a large, pretrained generative world model (specifically the 350M-parameter MMBench2 model) without retraining the expensive video tokenizer.
The core innovation is re-encoding the tokenizer's output into four distinct groups based on two axes:
- Controllability: Can the agent's action affect this?
- Reward Relevance: Does this feature help predict the reward?
As shown in Figure 1, the model uses four projection heads. The "controllable" heads are the only ones that receive the agent's action ($a_{t-1}$) as input. Conversely, a reward predictor ($h$) is trained to read only from the "reward-relevant" groups. A residual decoder then ensures these four groups can still reconstruct the original tokenizer latent. Finally, the dynamics model is fine-tuned to predict these new, factored latents instead of the original entangled ones.
Datasets
The models were trained and evaluated using MMBench2, a massive benchmark for world models containing:
- Training: A corpus of 200 tasks across 10 domains (427 hours of video).
- Evaluation: 20 specific tasks divided into:
- Clean Tasks: 10 tasks seen during training (e.g.,
cup-catch,mw-push). - Manipulated Tasks: 6 variants of clean tasks with unseen changes to backgrounds, objects, or maze layouts (e.g.,
cup-catch-var1with a different floor color). - New Environments: 4 tasks from entirely different domains not seen in training.
Key Insights and Ideas
- Structure via Architecture, Not Just Loss: Instead of relying solely on complex mathematical objectives (like mutual information penalties), CausalDreamer enforces disentanglement through routing. By physically preventing the reward head from seeing "reward-irrelevant" latents, the model is forced to organize information correctly.
- Post-Hoc Factoring: You don't need to train a world model from scratch to get disentanglement. CausalDreamer shows you can "wrap" a frozen, pretrained tokenizer and fine-tune the dynamics, saving massive amounts of compute.
- Isolating Distractors: The model successfully shunts background changes into the reward-irrelevant groups. When the background changes, the "reward-relevant" part of the latent stays remarkably stable, which is exactly what a robust planner needs.
Key Results
CausalDreamer was tested using model-predictive planning (specifically the Cross-Entropy Method). The results were normalized (0 = random, 1 = expert):
- Clean Tasks: CausalDreamer scored 0.199, a 14% improvement over the pretrained baseline (0.175).
- Manipulated Tasks: The gap widened significantly. CausalDreamer scored 0.307 vs. the baseline's 0.246, a 25% improvement.
- Robustness: In tasks with "distractor" backgrounds, CausalDreamer's margin over the baseline was even larger than on the clean versions of those same tasks. For example, on
finger-turn-easy-var1, it scored 0.316 compared to the baseline's 0.087.
Limitations and Future Work
- Dynamics Model Leakage: While the input to the dynamics model is factored, the dynamics model's internal attention mechanism isn't yet restricted. Every predicted group still "attends" to every input group. The authors suggest adding attention masks to the dynamics model as a next step.
- Zero-Shot Transfer: Neither CausalDreamer nor the baseline could handle entirely new environments (scoring near 0). Disentanglement helps with visual distractors, but it doesn't magically teach the model new physics.
- Maze Layouts: Interestingly, CausalDreamer performed slightly worse than the baseline when the maze layout changed. This suggests that layout changes might be fundamentally different from "texture" changes and require different handling.
Summary updated