Skip to content

VisualPatchWorld: Code World Models as Latent Structured Representations for Planning

Jul 2026 · arXiv.org · Vol abs/2607.25236 · 0 citations · 25 references
Computer Science

TL;DR

VisualPatchWorld is introduced, which represents world dynamics as code and first selects a qualitative dynamical form with short active probes, then fits that form's free parameters from recorded state-action traces by minimizing multi-step prediction error.

Abstract

Different research lines use the term world model in different ways, yet they share a common aim: to capture how the world evolves under action in a form that supports perception, simulation, and planning. Two prominent realizations are neural predictors that learn dynamics in continuous vector spaces, and hand-built physics engines that expose explicit state and physical laws. Neural predictors scale from data but leave the form of the dynamics implicit; physics engines are inspectable and editable but difficult to construct at scale. We introduce VisualPatchWorld (VPW), which represents world dynamics as code. VPW first selects a qualitative dynamical form with short active probes, then fits that form's free parameters from recorded state-action traces by minimizing multi-step prediction error. The resulting programs can be rolled forward like a simulator, inspected in source form, and used inside model-predictive control; image-derived scene graphs can supply the live state at replan time. Across comparisons with prior code-based world models, VPW attains 69.0% mean planning success and exceeds the strongest code baseline by 23.5 points. The largest gains arise when choosing the correct qualitative dynamics is essential. Under the same planner, the induced models approach ground-truth engine success on navigation and grasp-rich control; a residual gap remains for contact-rich pushing, and checking a shortlist of promising plans in the engine closes most of that gap. These results establish a practical route toward automatically constructed code world models that are useful for planning. Code is available at https://github.com/HKBU-KnowComp/VisualPatchWorld/.

View source

Similar papers

Preprint Aug 2026

Code World Model: Coding Agent as World Brain

MiniMax-H3 follows proxy-based spatiotemporal specifications from simple interactive worlds built by the coding agent while preserving rich visual details and dynamics, demonstrating the potential of combining code for persistent world evolution with video models for flexible visual realization.

Yiwen Chen, Guo-Sheng Lin, Chi Zhang · 9 citations
Jul 2026

PhiZero: A World Model Built Around Physical Language

We introduce PhiZero, a physical world model built around physical language, a compact discrete representation of world-state transitions. Existing physical world models typically predict future videos directly in pixel space, leaving the underlying world dynamics implicit within high-dimensional visual predictors. Mot...

Shuyao Shang, Yuqi Wang, Ruopeng Gao et al. · 1 citation
Jul 2026

Masked Visual Actions for Unified World Modeling

Masked Visual Actions is introduced, a pixel-space control interface that expresses action as a partially revealed trajectory of an arbitrary entity in a video that supports inverse modeling by synthesizing robot motion from desired object motion.

Hadi Alzayer, Wenlong Huang, Haonan Chen et al. · 3 citations · ⚡1
Jul 2026

DynaVieW: Schema-Guided World Modeling for Understanding Hierarchical Visual Dynamics

A dynamic schema-guided world model optimized for visual dynamic prediction and simulation, DynaVieW, achieves an in-depth understanding of visual dynamics by learning interleaved state-transition sequences, where states cover broad visual scenes from video keyframes and transitions capture comprehensive dynamic consti...

Silin Gao, Hao Zhao, Zeming Chen et al. · 0 citations
Preprint Jul 2026

Enfold: Folding World Model Imagination into Predictive Representations for Ultra-Efficient Embodied Control

This work presents Enfold, which transfers this computation that constructs a future into a representation predicted from the current visual context and language instruction, and recast a world generator as a source of predictive control representations if its internal structure can be enfolded into the present.

Wei-Li Zeng, Yi-Tong Xing, Fu-Long Liu et al. · 1 citation
Preprint Aug 2026

Marionette: Predicting World States, Rendering Geometry, Painting Appearance

This work explicitly model the evolving world state, delegate exact geometric computation to a fixed, zero-parameter renderer, and leave the neural model to synthesize appearance, establishing two properties of Marionette, a world model for interactive games with articulated characters that is directly controllable.

Zian Meng, Zhen Li, Chuan-Hao Li et al. · 3 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.