TL;DR
DreamSAC introduces a physics-grounded world model that achieves robust extrapolative generalization by actively learning fundamental physical invariances. By combining a Hamiltonian-based curiosity mechanism for targeted data collection with a viewpoint-invariant latent world model, it significantly outperforms standard statistical world models on novel, out-of-distribution physical tasks.
What Problem Does This Paper Address?
Standard world models (such as DreamerV3) excel at interpolative generalization—predicting what will happen in scenarios that closely resemble their training data. However, their predictive capabilities break down drastically when faced with extrapolative scenarios involving novel physical properties, such as unseen mass ratios, altered gravity, or novel contact dynamics.
This limitation arises because typical world models are passive statistical learners. They train on visually diverse but physically redundant pixel data, leading them to learn superficial statistical correlations rather than the environment's underlying generative rules (e.g., conservation laws). To operate reliably in unpredictable open worlds, AI agents need world models that shift from descriptive pixel-matching to actively discovering fundamental physical invariances.
Methods
The authors introduce DreamSAC (Dream with Symmetry-Aware Curiosity), which integrates two core components to enforce physical grounding directly from pixel observations:
- Hamiltonian World Model ($H_\phi$): Instead of using a standard black-box dynamics predictor, DreamSAC structures its latent space using an object-centric encoder (based on SAVi) that maps observations to slots representing generalized coordinates ($q$) and canonical momenta ($p$). The internal dynamics are governed by continuous-time Hamiltonian equations integrated via a symplectic integrator. To ensure the model learns viewpoint-independent physical laws, the internal Hamiltonian is parameterized using a Lie Transformer, enforcing 3D physical symmetry (like $SE(3)$ invariance) by construction.
- Viewpoint-Robustness Loss ($\mathcal{L}_{vr}$): To resolve the conflict between a viewpoint-dependent visual reconstruction loss and a viewpoint-invariant physical prior, the authors introduce a self-supervised contrastive learning objective. This forces the encoder to factor out nuisance variables (like camera angles and perspective shifts) and isolate the true invariant physical state.
- Symmetry Exploration: To train this model efficiently, the agent utilizes an unsupervised exploration policy driven by a novel physics-based intrinsic reward ($rsym \approx |\Delta H_\phi|$). This curiosity signal motivates the agent to perform actions that "do work" on the system, intentionally challenging its current understanding of conservation laws to collect the most physically informative data.
Datasets
The framework was validated using 3D physics simulations across two primary suites:
- DeepMind Control Suite (DMCS): Diagnostic and control tasks including Cheetah, Acrobot, Hopper, Walker, Humanoid, and Reacher.
- GymFetch: Robotic manipulation tasks including FetchPush and FetchReach.
To test extrapolative capabilities, the authors evaluated the models on custom Out-of-Distribution (OOD) splits:
- Structural OOD: Unseen camera viewpoints, novel object counts, and unseen goals.
- Parametric OOD: Unseen physical parameters, specifically $1.5\times$ gravity and $2.0\times$ friction domain shifts.
Key Insights and Ideas
- The Paradox of Learning Symmetries: Symmetries imply conservation ($\Delta H \approx 0$). Consequently, an agent cannot learn these invariances by remaining passive or merely observing autonomous evolution. It must actively exert external forces to challenge the system's inertia and map its underlying structural properties.
- Decoupling Visuals from Physics: Standard reconstruction losses incentivize models to encode camera parameters to render pixels accurately. By introducing an opposing contrastive pressure ($\mathcal{L}_{vr}$), DreamSAC successfully decouples viewpoint-dependent visual rendering from viewpoint-independent physical dynamics.
- Differentiated Fine-Tuning: Because DreamSAC factorizes structural symmetries from implicit physical parameters, adapting to a new environment does not require retraining from scratch. Freezing the encoder and fine-tuning only the Hamiltonian parameters allows the agent to perform rapid system identification.
Key Results
- Predictive Accuracy: DreamSAC achieved significantly lower image prediction Mean Squared Error (MSE) than DreamerV3 baselines. For instance, in the Acrobot ($H=16$) environment, DreamSAC achieved an MSE of 0.2064, representing a more than $10\times$ improvement over DreamerV3+Policy (3.6390).
- OOD Generalization: DreamSAC demonstrated 22% to 163% higher performance over state-of-the-art baselines on OOD tasks. On the Walker-walk task with unseen gravity, DreamSAC achieved a final reward of 499.91, drastically outperforming the best baseline (189.76).
- Qualitative Invariance: Qualitative analysis via t-SNE verified that the model successfully maps different camera views into tight, invariant clusters, and confirms that the learned Hamiltonian remains tightly conserved during zero-action rollouts.
Limitations and Future Work
Not explicitly discussed in detail in the main text of the paper. However, the reliance on object-centric slot attention (SAVi) implies potential scaling challenges when moving to highly complex, visually cluttered, or non-object-oriented environments. Additionally, managing the continuous-time discretization trade-offs between gradient stability during deep training and long-term physical conservation during inference remains an intricate balancing act.
Summary updated