arXiv(opens in a new tab)cs.LGSep 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2609.10464

Semigroup-JEPA: Latent Dynamics Consistency for Zero-Shot Physics Generalization

Andy Zeyi Liu, Haoran Sun, Lucas Baker, Randall Balestriero, John Sous

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

Abstract

Joint-Embedding Predictive Architecture (JEPA) world models learn a compact latent representation of the world that supports prediction and planning, but their capability to learn physics and generate physically realistic dynamics remains hitherto untested. In this work, we introduce SemiGroup-JEPA (SG-JEPA), which extends the LeWorldModel framework by supplying the parameter governing the physics to the temporal model via action-conditioning and jointly training an encoder and predictor through an autoregressive latent rollout. To evaluate the model's ability to generalize out of distribution, we design dynamical tasks under different gravitational fields that, despite obeying the same physical law, exhibit qualitatively different dynamics, ranging from floating motion in weak gravitational fields to rapid bouncing in strong ones. In contrast to DINO-WM, SG-JEPA reduces open-loop prediction error by up to 2×2\times on two-dimensional datasets, and increases control success rate up to 2.5×2.5\times for three-dimensional robotic datasets, for which we train independent diffusion policies. To explain this advantage, we develop a linear feature model that separates local law-conditioned error from its recursive amplification under rollout. Guided by this model, we find that back-propagating the multi-step rollout loss into the representation trains the encoder to keep the features that the predictor can carry forward, and that those are the features the dynamics depend on, so most of the gain comes from the encoder learning better features rather than from the predictor learning better dynamics. See project page at sg-jepa.github.io.

1 Introduction

The long-standing goal of world models is to understand dynamics of the environment in which the model agent is deployed so that the agent can predict subsequent states and consequences of its actions. Joint-Embedding Predictive Architecture (JEPA) emerged as a promising approach, whereby rather than reconstructing future pixels, it learns latent representations by jointly training an encoder and predictor [LeCun, 2022, Sobal et al., 2025, Zhou et al., 2025]. Recent proposals such as DINO-WM [Zhou et al., 2025] and LeWorldModel (LeWM) [Maes et al., 2026] have demonstrated that these latent predictions support downstream planning and control under a fixed frame-to-frame transition law. We push this further by asking the question:

Has the model actually learned the physical dynamics when its learned update is composed over long horizons? Does it generalize to out-of-distribution (OOD) dynamics?

Figure

Figure 1: SG-JEPA training and control. (a) The encoder and gravity-conditioned predictor are jointly trained with a discounted K-step autoregressive rollout loss and SIGReg. Targets use the same trainable encoder. (b) A gravity-conditioned diffusion policy is trained on demonstrations from successful episodes with the encoder frozen. At inference, it generates at:t+A−1a_{t:t+A-1}, executes the first EE actions, and replans from new observations.

If the answer is yes, the consequences are significant. A world model that genuinely learns dynamics would enable an agent to adapt in new environments, e.g. a model trained on Earth dynamics generalizing to Martian dynamics.

In this work, we take gravitational dynamics as the primary testbed for these questions, and introduce Semigroup-JEPA (SG-JEPA), a gravity-conditioned extension of LeWM with recursive physical prediction (Fig. 1). SG-JEPA supplies gravity alongside action and jointly trains its encoder and predictor through a discounted autoregressive rollout loss, while SIGReg [Balestriero and LeCun, 2025] regularizes the latent space. On various MuJoCo datasets covering two-dimensional (2D) rigid body freefall, three-dimensional (3D) projectile motion and robot-arm control, we train SG-JEPA on a narrow range of gravity values and evaluate on a wider grid that extends far beyond it. We study two aspects of generalization, namely transfer to OOD gravity values and accuracy under long-horizon rollout. Our results show that the dynamics SG-JEPA learns within a narrow gravity range remain accurate over long horizons at OOD gravity values, demonstrating zero-shot physics generalization.

Across these gravitational environments we find that how well the encoder preserves dynamical information determines the ability to generalize out of distribution. To interpret this behavior, we mechanically isolate the encoder from the predictor and measure how performance depends on the rollout horizon and on the distance of the gravity parameter from the training range. Starting from a trained checkpoint, we replace either the encoder or the predictor with a freshly initialized one and retrain jointly. Re-training the encoder leaves performance unchanged, whereas re-training the predictor degrades it. The gain is therefore associated with what the GRU predictor learns, and this advantage widens as gravity moves further from the training range and as the rollout horizon grows.

Related work. JEPA models introduce a new paradigm of learning by predicting target representations rather than reconstructing pixels, and have been extended from images to video [LeCun, 2022, Assran et al., 2023, Bardes et al., 2024, Assran et al., 2025]. DINO-WM [Zhou et al., 2025] applies this idea with frozen DINOv2 features [Oquab et al., 2024], while LeWM [Maes et al., 2026] jointly trains its encoder and predictor with SIGReg [Balestriero and LeCun, 2025]. Recent work probes physics generalization under held-out configurations and asks which physical parameters predictive latents retain [Xue et al., 2026, Tan et al., 2026]. Our setting differs in isolating gravity as a physical quantity governing the dynamics, which lets us systematically test the learned dynamics outside the training range. A separate line of work addresses rollout error by training on the model's own predictions or optimizing beyond one step [Bengio et al., 2015, Venkatraman et al., 2015, Lambert et al., 2021]. In this work, we address these two problems jointly and introduce SG-JEPA, which back-propagates a recursive latent rollout loss through both the encoder and predictor, enabling, as we show below, OOD generalization over long-horizon dynamics. The name reflects that, for action-free trajectories at a fixed gravity value, the repeated updates form a discrete semigroup. Related operator-based analyses of how local representation and predictor errors propagate appear in [Williams et al., 2015, Lusch et al., 2018]. Appendix A provides more discussion.

References (100)

Couldn't load all references. Reload the page to try again.