Introduction
Robotic systems often excel at specific, repetitive tasks but struggle with combinatorial generalization—the ability to understand and manipulate novel arrangements of known objects. In environments containing multiple objects, the state space grows exponentially, creating a "combinatorial explosion" that makes training on every possible scenario unfeasible. Existing world models typically treat scenes as monolithic images, which limits their ability to generalize, or they fail to effectively integrate continuous robotic actions.
This paper introduces Factored World Models (FWMs), a framework designed to overcome these limitations. By representing scenes as collections of individual object "factors" and modeling their interactions through Graph Neural Networks (GNNs), FWMs achieve zero-shot generalization to entirely new manipulation tasks. The system can plan complex sequences of up to 12 pick-and-place actions without requiring additional training on the target structures.
Methodology
The FWM architecture is built upon three core design principles that enable robust generalization and physical reasoning:
1. Object-Factored Representation
Instead of processing a full scene image, the model utilizes an object detection system to extract "crops" of individual objects. These crops are processed by a Convolutional Neural Network (CNN) encoder to produce latent codes ($z$). This factoring ensures that the model treats objects as distinct, modular entities, which is the foundation for handling novel configurations.
2. Residual GNN Stack
The transition model employs a stack of Graph Neural Networks with residual connections. GNNs are inherently permutation equivariant, meaning the model's predictions are independent of the arbitrary order in which objects are indexed. By stacking multiple layers, the model can capture complex, multi-object chain reactions, such as the physical stability of a tower or the likelihood of a block being knocked over during a placement action.
3. Action Injection and Contrastive Learning
Continuous $(x, y)$ coordinates for pick-and-place actions are injected into both the node and edge networks of the GNN. This allows the model to reason about how a specific action affects the spatial relationships between all objects in the scene. The model is trained using a self-supervised contrastive loss, learning to align predicted future latent states with actual outcomes while distinguishing them from random "negative" states.
For planning, the system uses an ensemble of 20 FWMs paired with a one-step heuristic search. The ensemble approach mitigates "hallucinations"—incorrectly optimistic predictions—by averaging heuristic distances across multiple models to provide a more robust signal for action selection.
Experimental Evaluation
The models were evaluated across three distinct domains:
- CUBES (Simulation): Training involved building a 4-block stack; testing required building walls and stairs (zero-shot).
- SHAPES (Simulation): A complex environment with 8 different block types (cubes, bricks, triangles, roofs). Training used 8 specific structures, while testing used 8 entirely different held-out structures.
- Real-World UR5: A physical setup featuring a UR5 robotic arm and 6 cubes to test sim-to-real transfer without any real-world fine-tuning.
Results and Discussion
The FWM framework demonstrated significant improvements in both precision and generalization. In the CUBES domain, the model achieved a 95% success rate on training tasks and maintained a high 70% success rate on novel, unseen tasks. In the more complex SHAPES domain, the model showed a remarkable ability to predict the outcomes of actions on structures it had never encountered during training.
Quantitatively, the model predicted block positions with an average error of just 1.27 cm for 3 cm cubes, significantly outperforming non-factored baselines. Furthermore, the system successfully planned long-horizon sequences of up to 12 actions, a major advancement over previous factored models typically limited to 2-4 steps.
In real-world testing, the ensemble trained purely in simulation achieved a 40% success rate on a physical UR5 robot. While the high-level decision-making remained robust, the drop in performance compared to simulation was primarily attributed to compounding errors in low-level grasping precision.
Conclusion and Future Work
Factored World Models demonstrate that combining object-factored representations with permutation-equivariant GNNs is a powerful strategy for robotic generalization. By treating the world as a collection of interacting factors rather than a single image, robots can reason about physics and plan complex tasks in environments they have never seen before. Future work will focus on autonomous object discovery from raw pixels, reducing reliance on hand-designed heuristics, and improving sim-to-real precision through domain randomization.
Summary updated