PhysiCalWorld In-Context Physics Calibration for World Models

*Equal contribution, †Equal advising

TL;DR: We propose PhysiCalWorld, which calibrates world models to adhere to the dynamics of a novel test scene via prompting the model with an in-context interaction sequence collected within the test scene.

In-Context Physics Calibration for World Models. In a test environment with unknown transition dynamics, an embodied agent first executes exploratory actions to collect an in-context interaction sequence. This sequence is then provided as prompt to calibrate the world model such that future predictions adhere to the actual dynamics of the test environment.

Abstract

Existing world models typically perceive a scene through current visual frame or a narrow history window. However, these observations may not reveal the physics properties that govern transition dynamics, such as an object’s mass distribution, joint damping, or surface friction. Without calibrating these physics factors for world models, predictions tend to regress toward an empirical prior and induce severe drift in novel test scenes.
To this end, we propose PhysiCalWorld, which calibrates action-conditioned world models to the instance-specific dynamics via in-context prompting, without fine-tuning or analytical physics modeling. Our method encodes an exploratory interaction clip collected within the test scene into a compact physics descriptor token, which grounds subsequent predictions in the scene’s actual physical behavior. PhysiCalWorld is trained end-to-end with the latent prediction loss alone, without physics labels. At inference time, the descriptor token is extracted once and can be reused across rollouts with negligible compute overhead. We evaluate PhysiCalWorld across four environments covering diverse physics variations and show that it substantially improves rollout prediction accuracy and visual planning success rate. The learned descriptors also form a physically structured latent space and generalize beyond the physics ranges seen during training.

Method Overview

PhysiCalWorld calibrates action-conditioned world models to the actual dynamics of a test scene via prompting with in-context interaction. In (a), current visual observation alone cannot identify the physical dynamics of the test scene T\mathcal{T}, forcing the world model to guess among multiple potential future states. In (b), starting from the top left, exploratory actions a1:Tcca_{1:T_c}^c are first executed in the test scene T\mathcal{T}, yielding observations o1:Tcco_{1:T_c}^c. The context encoder gϕg_\phi then extracts physics information from this obs-action sequence and compresses it into a physics descriptor token zphy\mathbf{z}_{\text{phy}}. Conditioned on zphy\mathbf{z}_{\text{phy}}, the world model is able to generate future prediction o^t+1\hat{o}_{t+1} consistent with the test scene’s dynamics.

Benchmark Environments

We evaluate on four simulation environments with diverse physics variations, including mass 📦, mass distribution 🏗️, joint damping ⚙️, surface friction 🏷️, and air drag 💨. Identical actions can lead to very different future states.

Experimental Results

Push-T

Click to switch views

Push-T Cosine Similarity

Physical structure emerges without physics labels. Select a pair to compare its descriptors.

Centers of mass-1-1-0.5-0.5000.50.511Normalized T-local coordinatesP1P2P3P4P5P6P7P8
P1P2P3P4P5P6P7P8
P1
P2
P3
P4
P5
P6
P7
P8
P1 ↔ P2Cosine similarity 0.9939

Each cell averages similarities between interaction clips. Diagonal cells compare distinct clips at the same CoM.

Push-T Inference Speed

A reusable physics descriptor keeps inference close to the base world model.

Push-T · Mean latency (ms) · Lower is better

DINO-WM13.78 ms (1.00× baseline)
+ Long History18.05 ms (1.31× baseline)
+ Context Prefix48.36 ms (3.51× baseline)
+ Privileged Physics13.67 ms (0.99× baseline)
+ PhysiCal (Ours)16.03 ms (1.16× baseline)
0255075100

One RTX PRO 6000 Blackwell GPU · FP32, TF32 disabled. Mean of 100 timed calls after 20 warm-ups across 10 episodes. Includes initial observation and context encoding; excludes decoding and data I/O.

Reacher

Click to switch views

BeerPong

Click to switch views

FetchSlide

Click to switch views

Extrapolation

We investigate whether PhysiCalWorld can extrapolate to environments where physics parameters lie outside the training distribution.

In Reacher, we sweep the first joint’s (should joint) damping coefficient beyond its training range while holding the second joint’s damping fixed.

DINO-WM+ Privileged Physics+ PhysiCal (Ours)
Training rangeOODPSNR (dB) ↑1517.52022.5250.0000.0050.0100.0150.0200.0250.030Reacher shoulder dampingDINO-WM: 17.40 ± 0.09DINO-WM: 19.16 ± 0.20DINO-WM: 20.28 ± 0.24DINO-WM: 19.44 ± 0.22DINO-WM: 18.95 ± 0.18DINO-WM: 18.77 ± 0.16+ Privileged Physics: 17.23 ± 0.24+ Privileged Physics: 22.60 ± 0.26+ Privileged Physics: 23.80 ± 0.29+ Privileged Physics: 23.73 ± 0.29+ Privileged Physics: 19.86 ± 0.41+ Privileged Physics: 14.90 ± 0.05+ PhysiCal (Ours): 17.72 ± 0.14+ PhysiCal (Ours): 21.38 ± 0.28+ PhysiCal (Ours): 22.48 ± 0.25+ PhysiCal (Ours): 22.48 ± 0.26+ PhysiCal (Ours): 21.45 ± 0.26+ PhysiCal (Ours): 21.21 ± 0.23
DINO-WM20.28 ± 0.24
+ Privileged Physics23.80 ± 0.29
+ PhysiCal (Ours)22.48 ± 0.25

Mean ± SEM across 75 episodes per bin (15 damping values × 5 episodes).Open-Loop rollout. IoU is computed over the foreground mask of the robotic arm, averaged over episodes. Joint 2's damping is fixed.