arXiv:2608.22750cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22750

MOSH-WM: Mask-Grounded Soft-Hamiltonian Dynamics for Object-Centric World Models

Zhekai Wang, Haoxiang Huang, Xiang Liu, Zhikang Chen, Yueqing Sun, Qi Gu, Shiji Zhou, Miao Liu, Sen Cui

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Object-centric world models forecast future videos by evolving a set of entity slots, but the variables receiving dynamics supervision are often unconstrained visual features. We introduce MOSH-WM, a mask-grounded soft-Hamiltonian world model that makes its position-like state explicitly depend on slot-owned image support. A frozen video-slot encoder produces slots and masks; spatial moments of mask-owned support form a canonical state Q, temporal differences form P, and a learned energy supplies a soft directional bias to a bounded learned increment. Decoder-relevant appearance and identity are stored separately in a causal visual context. A gated composer and bounded residual then combine this context with the propagated phase state to reconstruct decoder-compatible slots. On OBJ3D, given six observed frames and evaluated over the following 30 frames, MOSH-WM reduces LPIPS by 25.0% and spatial MSE by 33.7% relative to the strongest object-centric baseline. On CLEVRER, given six observed frames and evaluated over the following ten frames, the corresponding reductions are 14.5% and 18.7%. Horizon-resolved visual and object-state measurements show that the complete model accumulates error more slowly throughout the 30-frame closed-loop rollout. Project page: https://github.com/moshwm-anon/-moshwm-anon.github.io.

1 Introduction

The physical world evolves through regularities that govern object motion and interaction. A useful visual world model should maintain these regularities when its predictions are repeatedly fed back. Object-centric learning provides a natural representation by decomposing a scene into entity slots (Locatello et al. 2020; Kipf et al. 2022). Existing slot-based predictors evolve these slots autoregressively and decode them into future frames (Wu et al. 2023; Sajjadi et al. 2022), yielding strong visual forecasts on many benchmarks.

Most object-centric world models optimize slots for grouping and reconstruction, then fit video trajectories with a transition over these visual features. The slots can entangle geometry, appearance, identity, and decoder-specific semantics, leaving long closed-loop rollouts weakly constrained. Figure 1 illustrates the resulting gap: a strong slot predictor matches the first future frame, but its object layout and appearance drift over a 30-step rollout. A useful physical state should instead be grounded in where each object is supported while retaining separate visual information for decoding.

(a) Mask-grounded state

Observed x6

Figure

Owned mask M6 (own)

Figure

(b) Closed-loop prediction

+1

+15

+30

Ground truth

Figure

SlotFormer

MOSH-WM

Figure

Figure

Figure 1: Mask grounding and long-horizon prediction on OBJ3D. Owned masks expose object support. SlotFormer matches the immediate future but drifts over closed-loop rollout; MOSH-WM better preserves object identity and scene layout.

Hamiltonian models organize dynamics through generalized coordinates Q, generalized momenta P, and an energy function (Greydanus et al. 2019; Toth et al. 2020a; Li et al. 2025). Applying this structure directly to arbitrary visual slots remains problematic: the resulting coordinates may not describe object geometry, while a compact physical state may omit information needed by the decoder. The model must therefore extract a geometric phase state (Q,P)(Q, P) and preserve the visual factors needed for decoding. Hamiltonian guidance acts on the former; appearance and identity follow a separate contextual pathway.

MOSH-WM implements this factorization with a frozen SAV1 interface. It assigns each pixel to its owning slot and pools fixed spatial basis functions over that support to construct a position-like Q; raw finite differences yield the momentum-like P. The extractor uses owned masks and image-coordinate bases, excluding appearance-bearing slot vectors. A soft-Hamiltonian module propagates (Q,P)(Q, P) by blending energy-gradient directions with a bounded learned field. The Hamiltonian term serves as a structural prior, without claiming exact system identification. In parallel, causal slot history retains appearance and identity. A gated composer with bounded residual correction then produces slots for the frozen decoder.

Contributions. Our contributions are threefold:

• A mask-grounded phase-state extractor computes Q from per-slot owned masks and fixed spatial bases, with raw temporal differences defining P. Appearance-bearing slot features are excluded from this dynamics input.

• A soft-Hamiltonian closed-loop dynamics module combines energy-gradient directions with a bounded learned field and directly propagates (Q,P)(Q, P).

• A decoder reconciliation interface uses causal context, gated slot composition, and bounded residual compensation to recover decoder-compatible slots.

References (68)