Manuscript Offprint

arXiv:2610.01942

Latent-Foresight: End-to-End Learning Predictable Representations for Latent World Models

Efstathios Karypidis, Spyros Gidaris, Nikos Komodakis

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

ABSTRACT

Predicting the future evolution of a scene is a fundamental capability for world modeling. Recent work has shown that operating in the feature space of Vision Foundation Models (VFMs) yields semantically rich representations that support diverse future scene understanding tasks. However, existing approaches rely on two-stage pipelines, where VFM features are first compressed using fixed dimensionality reduction (e.g., PCA) or independently trained autoencoders, and a separate predictor is trained on top of the resulting frozen latent space. This decoupling between representation learning and temporal prediction, as well as approaches that apply predictors directly on raw VFM features, provides no guarantee that the latent space is structured for predictable dynamics. In this work, we propose Latent-Foresight, an end-to-end framework that jointly learns a latent tokenizer and a flow-based generative dynamics model, explicitly shaping the representation to support temporal predictability. To enable stable joint optimization, we introduce several key design choices that prevent latent collapse and align reconstruction with generative objectives. Extensive experiments show that our approach learns more temporally coherent latent representations and consistently outperforms two-stage baselines across multiple future scene understanding tasks and prediction horizons, while eliminating separate training stages, including during high-resolution adaptation. We provide the implementation code and model weights at https://github.com/Sta8is/Latent-Foresight.

1 INTRODUCTION

A central challenge in world modeling is to forecast the future evolution of a scene from its observed past. This capability is critical for autonomous systems, such as robots and vehicles, which must anticipate future events to plan safe and effective actions. A fundamental question underlying this problem is: what representation should future prediction operate on?

A common approach is to predict future world states at the pixel level, typically using diffusion models in a two-stage pipeline: an autoencoder (or tokenizer) first compresses RGB frames into a latent space, and a generative model is then trained to forecast future states in this space. While conceptually simple, such latent representations largely preserve low-level visual details, forcing the generative model to capture fine-grained appearance variations that are often irrelevant for downstream decision-making tasks. This results in high computational cost and large model requirements.

Recent work (Karypidis et al., 2025b; Baldassarre et al., 2025; Zhou et al., 2025; Boduljak et al., 2025; Sun et al., 2026) has shifted toward forecasting in the feature space of Vision Foundation Models (VFMs), such as DINov2 (Oquab et al., 2024), whose representations encode higher-level semantic structure. Operating in this space improves performance on downstream dense prediction tasks (e.g., semantic segmentation, depth estimation, surface normals) while reducing model size and computational cost. Early approaches were discriminative (Karypidis et al., 2025b; Zhou et al.,

*Part of this work was done during an internship at valeo.ai. Corresponding author: e.karypidis@athenarc.gr.

2025; Baldassarre et al., 2025), relying on deterministic regression to predict future features, often after dimensionality reduction via fixed preprocessing such as PCA (Karypidis et al., 2025b). However, deterministic predictors fail to capture the inherent uncertainty of future outcomes, leading to averaged predictions.

To address this limitation, recent work has introduced generative formulations (Walker et al., 2025; Boduljak et al., 2025; Sun et al., 2026), in particular flow-matching models that generate diverse future feature trajectories. Notably, VFMF (Boduljak et al., 2025) shows that compressing VFM features with an autoencoder is important for obtaining a well-conditioned latent space suitable for generative modeling. Despite these advances, existing approaches adopt a two-stage training paradigm: a tokenizer is first learned to compress VFM features, and a flow-based forecasting model is subsequently trained on the resulting frozen latent space.

While effective, this decoupled pipeline is suboptimal for generative forecasting. The latent space is optimized for reconstruction, independently of the flow-matching objective, with no guarantee that its geometry is conducive to modeling temporal dynamics. In particular, there is no reason for latent trajectories to be smooth, structured, or predictable under the learned generative flow. This raises a natural question: can the tokenizer and the flow-matching model be trained jointly, so that the latent representation is shaped directly by the requirements of generative prediction?

In this work, we answer this question affirmatively. We introduce Latent-Foresight, a framework that jointly trains a VFM feature tokenizer and a flow-matching model to forecast future latent states. To the best of our knowledge, this is the first approach to enable end-to-end training of both the tokenizer and a generative latent dynamics model in the context of VFM-based world modeling. Transitioning from a two-stage to an end-to-end formulation is, however, non-trivial. Naively optimizing both components jointly leads to degenerate solutions in which latent representations collapse to trivial constants, minimizing the generative loss while destroying useful structure.

We show that stable end-to-end training is achievable through simple but critical design choices, including stopping gradients through flow-matching targets and noisy inputs, normalizing the latent space, incorporating a reconstruction loss on denoised latents, and selecting the noise schedule. With these ingredients, the tokenizer and flow-matching model learn complementary objectives, yielding a latent space that is both reconstructive and well-suited for generative forecasting.

Empirically, our approach outperforms prior two-stage methods in forecasting accuracy while preserving reconstruction fidelity, using a single training stage from scratch. Beyond performance gains, our results show that reconstruction and generative objectives can be jointly optimized to shape latent representations for world modeling, yielding a simpler, more principled paradigm.

In summary, our contributions are threefold: (1) We show that flow-based latent world models can be trained fully end-to-end, jointly optimizing both the latent encoder and the latent flow-matching dynamics model. This establishes a new paradigm for end-to-end trainable latent world modeling, simplifying training. (2) To enable stable joint optimization, we introduce several key technical components that address the challenges of coupling latent representation learning with diffusion-based dynamics modeling, preventing collapse and ensuring well-structured latent spaces. (3) We demonstrate empirically that end-to-end training substantially improves performance over conventional decoupled pipelines, yielding consistent gains across multiple scene understanding tasks and prediction horizons.

References (58)