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

Manuscript Offprint

arXiv:2608.29029

Flow-JEPA: Flow Matching for Robust Latent Dynamics in JEPA World Models

Yanchen Huo, Ziying Song, Yadan Luo

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

ABSTRACT

Joint-Embedding Predictive Architectures (JEPAs) have shown strong potential for learning compact predictive representations, and LeWorldModel (LeWM) extends this paradigm to reconstruction-free latent world modeling from pixels. However, its deterministic autoregressive predictor generates future states through repeated one-step transitions, which can accumulate errors and remain sensitive to task-irrelevant visual perturbations. In this work, we propose Flow-JEPA (F-JEPA), a conditional flow matching dynamics model that jointly generates a sequence of future latent states conditioned on the current observation and actions. A Gaussian distribution serves as the flow source, exposing the vector field to perturbed latent trajectories as it learns to transport them toward clean future representations. This formulation retains the reconstruction-free JEPA framework while replacing point-wise transition regression with stochastic trajectory-level prediction. F-JEPA raises mean success from 86% to 92% under clean observations and from 67% to 86% under noisy conditions, suggesting that conditional flow matching provides a promising alternative to deterministic autoregressive dynamics in JEPA world models. Code is available at https://github.com/HuoYanchen/Flow-JEPA.

1 INTRODUCTION

World models have emerged as a promising type of deep neural networks for learning predictive representations of environment dynamics. By modeling the future consequences of actions, world models provide a foundation for planning, policy learning, and synthetic data generation. Early and influential approaches learn compact latent dynamics from high-dimensional observations and use the learned model for imagination-based control or policy optimization (Ha & Schmidhuber, 2018; Hafner et al., 2019a). More recent systems, such as IRIS (Micheli et al., 2022), further demonstrate that sequence models can serve as powerful world models by combining learned visual tokenization with autoregressive dynamics prediction. Despite their success, many world models rely on pixel-level reconstruction or generative prediction objectives. While such objectives preserve rich visual details, they can also force the model to spend capacity on task-irrelevant factors such as background or lighting. This motivates reconstruction-free latent world models that predict future states in an abstract representation space rather than reconstructing raw pixels.

Joint-Embedding Predictive Architectures (JEPAs) (LeCun, 2022) provide a fundamental framework for such reconstruction-free modeling. Instead of predicting pixels, JEPA-style methods encode observations into latent embeddings and train a predictor to forecast missing or future representations. This idea has recently been extended to world modeling. LeWorldModel (LeWM) (Maes et al., 2026) trains a compact end-to-end JEPA world model directly from pixels in reward-free environments. It learns an encoder that maps observations to latent states and an action-conditioned predictor that forecasts future latent embeddings, while using Sketched-Isotropic-Gaussian Regularizer (SIGReg) (Balestriero & LeCun, 2025) to prevent representation collapse without reconstruction losses, frozen encoders, exponential moving averages, or auxiliary supervision.

However, the dynamics predictor in LeWM retains two major limitations:

*Corresponding author

Figure

Figure 1: Flow-JEPA (F-JEPA) improves both planning performance and robustness to visual perturbations. F-JEPA replaces the deterministic autoregressive dynamics of LeWM with conditional flow matching over future latent trajectories. Across four environments, it achieves higher average success under clean conditions and substantially reduces performance degradation under noisy observations. The y-axis starts at 0.5.

  • Error accumulation. The future latent states are generated autoregressively through repeated one-step transitions, causing prediction errors to propagate and accumulate over the rollout horizon.

  • Deterministic point-wise alignment. The predictor is trained through deterministic point-wise regression between predicted and target embeddings. While this objective encourages accurate prediction on clean training trajectories, it provides no explicit mechanism for modeling or recovering from local perturbations of the latent state.

Consequently, although JEPA-style world models avoid pixel reconstruction and are intended to capture abstract predictive representations, their learned dynamics can remain sensitive to task-irrelevant visual perturbations.

To address these limitations, we propose Flow-JEPA (F-JEPA), a flow matching latent dynamics model for JEPA-based world modeling. Flow matching learns a time-dependent vector field that transports samples from a source distribution toward a conditional target distribution and has shown strong performance in continuous generation problems such as image, video, and robot action generation (Lipman et al., 2022; Wan et al., 2025; Black et al., 2024). In this work, we use it to model future latent trajectories. Given the current latent state and an action sequence, F-JEPA transports a Gaussian stochastic source trajectory toward the corresponding future latent trajectory. This removes the recursive dependence between predicted future states while replacing point-wise latent regression with a flexible flow matching objective. The Gaussian source used in flow matching is naturally compatible with the latent geometry promoted by SIGReg, while the two mechanisms also operate at complementary stages of the model. SIGReg prevents representation collapse and regularizes the encoder outputs, whereas flow matching trains the dynamics predictor over Gaussian stochastic neighborhoods of the learned latent states. We hypothesize that learning transport from these perturbed trajectories promotes local stability of the latent dynamics and improves robustness to perturbation-induced shifts in visual representations.

Our experiments show that this reformulation improves average planning performance and robustness. We demonstrate that LeWM can be substantially affected by task-irrelevant visual perturbations, although they leave the underlying environment dynamics unchanged. F-JEPA improves average performance under clean conditions and exhibits substantially smaller degradation under perturbed conditions, suggesting that flow-based latent trajectory prediction provides a more robust alternative to deterministic autoregressive dynamics in JEPA-style world models.

Our main contributions are summarized as follows:

  • We empirically demonstrate that LeWorldModel is sensitive to task-irrelevant visual perturbations during planning, despite these perturbations leaving the underlying environment dynamics unchanged.

  • We propose F-JEPA, a flow matching JEPA world model that replaces deterministic autoregressive transitions with stochastic conditional transport of complete action-conditioned future latent trajectories.

  • We show that F-JEPA improves average planning performance under clean conditions while substantially increasing robustness to visual perturbations.

References (45)