Hamiltonian World Model for Physically Consistent Embodied Prediction

Anonymous authors
Under double-blind review

Abstract

Embodied world models are increasingly expected to serve not only as video generators, but as internal simulators for action-conditioned prediction. Most existing models parameterize latent transitions with generic generative modules, so physical structure is learned only implicitly. Small one-step errors then accumulate into long-horizon drift, especially in contact-rich manipulation.

We propose Hamiltonian World Model (HWM), a physically structured latent transition. Backbone latents are mapped into a learned phase space of generalized coordinates and momenta, then evolved by dissipative Hamiltonian dynamics. A bidirectional phase-space interface and a multi-step transition-consistency objective keep this rollout compatible with existing encoders and decoders, so HWM is a drop-in replacement for the latent transition module.

In simulation, HWM improves speed, acceleration, and jerk prediction and preserves system energy more faithfully than an unstructured transition. Instantiated in Ctrl-World, EVAC, and Cosmos-Predict2.5-2B, it yields a 2.7% relative success-rate gain on RoboCasa, a 9.7% relative gain on Ctrl-World nDTW, and an 8.4% relative gain on EVAC Logic.

Overview

A short walkthrough of Hamiltonian World Model: unstructured transitions can look plausible while the physics drifts, and phase-space dynamics keep imagined robot futures consistent.

Ordinary Transition vs. Hamiltonian Transition

Ordinary world model compared with Hamiltonian World Model

Comparison between an ordinary generative world model and Hamiltonian World Model. Left: a generic transition can look plausible over a short horizon while speed change and energy transfer remain unconstrained, so long-horizon contact becomes physically implausible. Center: the same observation and action are evolved in phase space, and the predicted future stays physically consistent. Right: real-robot scores on EVAC, Ctrl-World, and RoboCasa, together with simulated position, velocity, acceleration, and jerk error.

Model Architecture

Hamiltonian latent dynamics architecture

Given an observation \(o_t\), the encoder \(E_\phi\) maps it to a latent \(z_t\). HWM lifts \(z_t\) into generalized coordinates and momenta \((q_t, p_t)\) and rolls them forward with a learned Hamiltonian \(H_\theta(q,p)=\tfrac{1}{2}p^\top M_\theta^{-1}(q)\,p+V_\theta(q)\) and a semi-implicit symplectic Euler step. Predicted phase states are mapped back to backbone latents and decoded to future observations. Training combines world-model reconstruction, phase-space reconstruction, and multi-step transition consistency.

Experimental Results

Table 1: Motion prediction in simulation

Method Step Pos. RMSE ↓ Vel. RMSE ↓ Acc. RMSE ↓ Jerk RMSE ↓
Vanilla306.2173.45510.96614.135
Ours306.2123.3729.23511.401
Vanilla505.5902.5458.33212.329
Ours505.5242.5257.48310.750

Instantaneous physical-state prediction. All models are trained with a 10-step horizon and evaluated at 30 and 50 steps. Lower is better.

Table 2: Video prediction across horizons

Train Test MSE ↓ MAE ↓
Vanilla Ours Vanilla Ours
10102.762.5623.8821.27
103025.3823.8253.5649.27
105055.5751.1887.5980.37
106062.3253.0395.3282.58
303025.8124.3879.3673.31
305037.5533.6594.5487.84
306044.5938.93102.5594.60

Video prediction under different training and evaluation horizons. Lower is better. Trained for 10 steps and rolled out to 60, HWM reduces MSE from 62.32 to 53.03 and MAE from 95.32 to 82.58.

Table 3: Ctrl-World

Method nDTW PSNR BLEU Scene CLIP Logic
Vanilla0.67010.130.76790.8878.3193.3
Ours0.73510.160.80290.9678.9696.7

Single-arm multi-view manipulation on AgiBot World, evaluated with EWMBench. All metrics are higher-is-better. nDTW improves by 9.7% relative.

Table 4: EVAC

Method nDTW PSNR BLEU Scene CLIP Logic
Vanilla0.28216.610.10491.377.580.0
Ours0.28316.640.11192.278.486.7

Dual-arm single-view manipulation. Logic rises from 80.0 to 86.7, an 8.4% relative gain. Percent metrics are reported on the paper's 0–100 scale.

Table 5: Downstream success with Cosmos-Predict2.5-2B

Method LIBERO (%) RoboCasa (%)
SpatialObjectGoalLongAvgAvg
Vanilla97.699.896.297.697.866.7
Ours98.699.898.098.298.768.5

The observation interface, tokenizer, and renderer stay fixed. Only the latent transition is replaced. RoboCasa average success moves from 66.7% to 68.5%, a 2.7% relative gain.

Physical Quantities Stay Aligned

The paper plots compare an ordinary transition with HWM on velocity and energy. Below, Ctrl-World is on top and EVAC is underneath. Inside each clip the ordinary finetune is on the left and the Hamiltonian rollout is in the center.

Predicted velocity

Velocity curves

Qualitative velocity curves from the paper. Dashed gray is ground truth, red is the transition without Hamiltonian structure, and teal is HWM. Without the Hamiltonian, speed spikes or drifts; HWM stays closer to the true curve on uniform, accelerated, and rebound motion.

Energy conservation

Hamiltonian energy curves

System energy and relative Hamiltonian drift. Ordinary finetuning lets the energy wander away from the ground-truth level. HWM keeps a smaller drift, which is the same physical-consistency claim tested in the videos below.

Ctrl-World and EVAC rollouts

Ctrl-World is on top and EVAC is below. Inside every clip, left is ordinary finetuning and center is the Hamiltonian transition. The right panel is only \(|\mathrm{Hami}-\mathrm{Vanilla}|\): bright pixels mark where the two disagree. That panel is not another result, so its upper and lower rows are not “better” or “worse.” On EVAC, the stick figure under the camera view is that method’s arm joints.

Ctrl-World

Left · Vanilla Center · Hamiltonian Right · difference

EVAC

Left · Vanilla Center · Hamiltonian Right · difference

Task Execution: SFT Fails, Hamiltonian Succeeds

RoboCasa is on the left and LIBERO is on the right, in matching panels. Inside each panel the vanilla failure is on top and the Hamiltonian success is below. Clips marked Paper match the figure above. RoboCasa pairs share the same episode.

Paper examples of success and failure

Paper figure. Top block: RoboCasa PnPCounterToStove. Bottom block: LIBERO, put both moka pots on the stove. Success rows are HWM; failure rows are the vanilla transition.

RoboCasa

Vanilla SFT · failure
Hamiltonian · success

LIBERO

Vanilla SFT · failure
Hamiltonian · success

RoboCasa Task Breakdown

Task V195 V196 V197 V avg H195 H196 H197 H avg Δ

Task-level success on Cosmos with RoboCasa, three seeds. V is vanilla and H is HWM. The reported average is the unweighted mean of 24 tasks; individual tasks can move in either direction.

Conclusion

HWM places physical structure in the latent transition itself. Phase variables evolve under controlled dissipative Hamiltonian dynamics, with a symplectic rollout and a residual path back to the backbone latent space. Across simulation, Ctrl-World, EVAC, and Cosmos, this changes predicted motion, energy drift, visual-temporal metrics, and downstream task success without replacing the renderer or the tokenizer.

The experiments do not involve human subjects or deployment on physical robots. A more physically consistent world model can make model-based evaluation more faithful, and it still needs the same care as any component used for autonomous control.