Reliable long-horizon prediction remains a central challenge for embodied world models. Although recent generative models can synthesize visually plausible action-conditioned futures, their latent dynamics are typically learned through unconstrained transition modules, which may gradually deviate from coherent physical evolution as predictions are recursively rolled forward. We investigate whether explicitly structuring latent state evolution can improve the stability and utility of such imagined trajectories. To this end, we introduce HWM, a structured dynamics framework that represents backbone latents in a learned phase space consisting of generalized coordinates and momenta. Future states are propagated through dissipative Hamiltonian dynamics and mapped back to the original latent representation through a learnable inverse interface. The resulting formulation can be integrated into existing world-model architectures without redesigning their perception or decoding components, while multi-step transition supervision encourages the structured rollout to remain aligned with the latent trajectories induced by real observations. Controlled simulation experiments show that HWM produces more accurate estimates of velocity, acceleration, and jerk and substantially reduces long-horizon energy drift relative to unstructured latent dynamics. We further evaluate the approach across three distinct embodied world-model settings, covering single-arm multi-view prediction with Ctrl-World, dual-arm single-view prediction with EVAC, and task-oriented single-arm prediction with Cosmos-Predict2.5-2B. On RoboCasa, incorporating HWM into Cosmos-Predict2.5-2B yields a 2.7% relative improvement in task success. On real-world AgiBot World trajectories, it improves nDTW by 9.7% with Ctrl-World and Logic by 8.4% with EVAC.
Figures & tables
Figure 1: Comparison between ordinary generative world models and our Hamiltonian World Model.
Figure 2: Overview of the proposed Hamiltonian latent dynamics framework. Given an observation ot , the encoder Eϕ maps it to a latent state zt , which is decomposed into generalized coordinates and momenta, (qt,pt) , and evolved over multiple future steps using a learned hamiltonian energy function and a Symplectic Euler integrator. The resulting latent trajectory is mapped to latent representations and decoded by Dϕ to predict future observations. Training is jointly guided by the latent reconstruction loss, latent transition loss, and world-model reconstruction loss.
Method
Step
Pos. RMSE
Vel. RMSE
Acc. RMSE
Jerk RMSE
Vanilla
30
6.217
3.455
10.966
14.135
HWM
30
6.212
3.372
9.235
11.401
Vanilla
50
5.590
2.545
8.332
12.329
HWM
50
5.524
2.525
7.483
10.750
Table 1: Instantaneous physical-state prediction under different rollout horizons. All models are trained with a 10-step prediction horizon. Lower values indicate better performance.
Figure 3: Qualitative comparison of the predicted velocity curves.
Figure 4: Comparison of energy conservation across different methods.
Method
nDTW
PSNR
BLEU
Scene (%)
CLIP (%)
Logic (%)
Vanilla
0.670
10.13
0.767
90.88
78.31
93.3
HWM
0.735
10.16
0.802
90.96
78.96
96.7
Table 2: Quantitative comparison between HWM and Vanilla on Ctrl-World.
Method
nDTW
PSNR
BLEU
Scene (%)
CLIP (%)
Logic (%)
Vanilla
0.282
16.61
0.104
91.3
77.5
80.0
HWM
0.283
16.64
0.111
92.2
78.4
86.7
Table 3: Comparison between HWM and Vanilla models. Metrics are collected from two evaluation settings on EVAC.
Method
LIBERO
Robocasa
Spatial (%)
Object (%)
Goal (%)
Long (%)
Avg (%)
Avg (%)
Vanilla
97.6
99.8
96.2
97.6
97.8
66.7
HWM
98.6
99.8
98.0
98.2
98.7
68.5
Table 4: Overall success rate comparison on LIBERO and Robocasa benchmarks.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Train Horizon
Test Horizon
MSE ↓
MAE ↓
Vanilla
HWM
Vanilla
HWM
10
10
2.76
2.56
23.88
21.27
10
30
25.38
23.82
53.56
49.27
10
50
55.57
51.18
87.59
80.37
10
60
62.32
53.03
95.32
82.58
30
30
25.81
24.38
79.36
73.31
Appendix
Table 5: Quantitative comparison of video prediction under different training and evaluation horizons. Lower values indicate better performance.
Figure 5: Examples of HWM (successful) and Vanilla (failed) executions on two representative tasks: PnP (Pick-and-Place) and Put. The top rows show the PnP task (PnPCounterToStove), while the bottom rows show the Put task (put_both_moka_pots_on_the_stove). For each task, successful and failed trajectories are presented for comparison.
Task
V195
V196
V197
V avg
H195
H196
H197
H avg
Δ
CloseDoubleDoor
88
84
88
86.7
90
86
96
90.7
+4.0
CloseDrawer
98
98
98
98.0
98
100
100
99.3
+1.3
CloseSingleDoor
96
96
96
96.0
96
92
100
96.0
0
CoffeePressButton
98
96
98
97.3
96
94
100
96.7
-0.7
CoffeeServeMug
58
52
48
52.7
56
58
62
58.7
+6.0
CoffeeSetupMug
40
20
38
32.7
38
28
44
36.7
+4.0
Appendix
Table 6: Task-level success rates across three seeds on COSMOS with Robocasa. V and H denote Vanilla and HWM , respectively.
World models have recently re-emerged as a central paradigm for embodied intelligence, robotics, autonomous driving, and model-based reinforcement learning. However, current world model research is often dominated by three partially separated routes: 2D video-generative models that emphasize visual future synthesis, 3D scene-centric models that emphasize spatial reconstruction, and JEPA-like latent models that emphasize abstract predictive representations. While each route has made important progress, they still struggle to provide physically reliable, action-controllable, and long-horizon stable predictions for embodied decision making. In this paper, we argue that the bottleneck of world models is no longer only whether they can generate realistic futures, but whether those futures are physically meaningful and useful for action. We propose Hamiltonian World Models as a physically grounded perspective on world modeling. The key idea is to encode observations into a structured latent phase space, evolve the latent state through Hamiltonian-inspired dynamics with control, dissipation, and residual terms, decode the predicted trajectory into future observations, and use the resulting rollouts for planning. We discuss how Hamiltonian structure may improve interpretability, data efficiency, and long-horizon stability, while also noting practical challenges in real-world robotic scenes involving friction, contact, non-conservative forces, and deformable objects.
Learning predictive world models from visual observations is a core problem in embodied AI, with applications to model-based reinforcement learning and robotic planning. Existing latent world models typically generate future states with unconstrained neural transition functions, while modern video generation systems often prioritize perceptual plausibility or introduce physical structure through auxiliary losses, external guidance, or separate dynamics modules. As a result, long-horizon rollouts can remain weakly grounded in the physical principles that govern real dynamics, leading to compounding error, energy drift, and physically inconsistent futures. We propose Least Action World Models (LaWM), a latent world-modeling framework that operationalizes the Principle of Least Action in learned visual latent space: future rollouts are governed by a learned Lagrangian action functional rather than produced only by an unconstrained transition predictor. Our main technical realization is a latent variational integrator: LaWM encodes observations into learned generalized coordinates, learns a latent discrete Lagrangian over consecutive latent states, constructs a discrete action functional, and advances prediction by solving the corresponding discrete integration condition. Thus, physical structure is not merely used to score, regularize, or constrain a completed trajectory; it defines the latent transition rule itself. Because the transition is induced by a discrete variational principle, LaWM provides a structure-preserving bias for long-horizon visual prediction. Across physics-clean synthetic dynamics and embodied robot interaction benchmarks, LaWM improves physical invariance, background consistency, motion smoothness, and appearance and geometric prediction metrics over video-generation and world-model baselines.
World models trained via latent dynamics offer a scalable path for embodied planning, yet existing methods suffer from representational collapse, computational overhead, and limited long-horizon capability. We introduce a memory-enhanced latent world model that augments JEPA-style prediction with a content-addressable memory bank. Our approach learns high-level representations directly from observations, operating at multiple temporal scales within a shared latent space, and conditions predictions via adaptive layer normalization. To prevent collapse and ensure effective memory usage, we design two complementary losses that encourage slot diversity and balanced temporal utilization. Experiments on PushT, Tworoom, Reacher, and OGBCube demonstrate that our method achieves state-of-the-art performance with a lightweight architecture, outperforming conventional latent world models on long-horizon planning tasks.
Yuwei Sun, Siyu Zhu
Shanghai Academy of AI for Science · Fudan University