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

Manuscript Offprint

arXiv:2608.24855

LeFlow: Generative Latent Flow Planning for World Models

Hsiang-Wei Huang, Jianxu Shangguan, Junbin Lu, Jenq-Neng Hwang

Abstract

Latent world models are inherently strong encoders that transform image pixel to latent embedding, yet existing world models still rely on online trajectory optimization for action planning: for every state–goal pair, an iterative optimizer is run from scratch to search for optimal action sequences, treating the world model as a black-box simulator. This approach pays the full iterative optimization cost anew at every replanning step and reuses no planning experience across queries. In this work, we ask whether planning itself can be amortized once a latent world model has been learned. We present LeFlow, which learns a reusable latent trajectory prior operating directly in the latent dynamics space from the world model. LeFlow recasts planning as conditional latent trajectory generation: a rectified-flow model imagines a future latent path between the current and goal embeddings, an inverse dynamics decoder turns latent transitions into action chunks, and the frozen world model verifies each candidate by autoregressive rollout. Across four major goal-conditioned pixel-control benchmarks, LeFlow replaces iterative action-space optimization with amortized latent planning and fixed-budget rollout selection, achieving consistent success-rate gains with an order-of-magnitude reduction in planning time. Our results argue that latent world models should support not only prediction but reusable planning priors. Our code is available at https://github.com/hsiangwei0903/LeFlow.

1. Introduction

World models let agents plan by simulating the consequences of their actions before acting [8]. Joint-Embedding Predictive Architectures (JEPAs) [14] make this practical by modeling dynamics in a compact latent space: observations are encoded into low-dimensional latents and a predictor rolls the latent state forward conditioned on actions. LeWorldModel (LeWM) [18] is a recent JEPA that trains stably end-to-end from raw pixels with a single regularization hyperparameter and is competitive across diverse 2D and 3D control

Figure

Figure 1. LeFlow plans an order of magnitude faster than CEM at better success. End-to-end evaluation time (left) and success rate (right) for LeWM+CEM and LeFlow under the same protocol (H=5, 50 episodes). Replacing online black-box search with an amortized latent trajectory prior removes the per-step optimization loop while preserving task performance.

tasks. Latent world models, in short, have become strong predictors.

Planning on top of them, however, has not advanced at the same pace. Even with a well-trained latent world model in hand, planning is still posed as online trajectory optimization: for every state–goal pair, an optimizer searches for a raw action sequence whose autoregressive latent rollout terminates near the encoded goal. LeWM, for instance, solves this finite-horizon optimal-control problem at inference with the Cross-Entropy Method (CEM) [24]. CEM is a practical optimizer for low-dimensional, smooth objectives. Our focus is its repeated online cost: CEM treats the world model as a black-box simulator and solves every state–goal query from scratch: the world model is queried thousands of times per replanning step yet never contributes structural knowledge about which trajectories are worth considering, and no effort spent planning one query is reused for the next.

We propose to amortize planning itself. Rather than repeatedly solving an optimization problem online, we learn – once, offline – a reusable latent trajectory prior directly in the frozen world model’s latent space. A frozen world model already contains the structure needed: its encoder organizes observations geometrically and its predictor defines which latent transitions are dynamically reachable. Planning should exploit that structure, not rediscover it through black-box search. We recast planning as conditional latent trajectory generation: rather than searching for actions, we generate a latent path and decode the actions that realize it afterwards. Action trajectories are low-level and highly multimodal – many action sequences realize nearly the same state trajectory – whereas latent state trajectories are smoother and geometrically structured, so the reusable planning structure lives in how the latent state should evolve.

We instantiate this in LeFlow, a lightweight planner on top of a frozen LeWM. LeFlow has three modular components: (1) a rectified-flow latent planner [16, 17] that generates the interior of a latent path conditioned on the start and goal embeddings – the amortized prior; (2) an inverse dynamics decoder that converts each latent transition into an executable action chunk, separating planning from control; and (3) a rollout verification stage that scores each candidate by its actual frozen-LeWM rollout distance to the goal rather than the generated (clamped) endpoint, projecting generative proposals back onto the manifold of trajectories the world model can actually control. On LeWM, it yields an order-of-magnitude reduction in planning time at better success across four benchmarks, as shown in Figure 1. Our contributions are:

• We recast latent planning as conditional latent trajectory generation, and show that planning knowledge can be amortized – learned once from offline trajectories into a reusable latent trajectory prior, rather than re-solved online for every state–goal pair.

• We show that latent world models contain sufficient structure for learned planning: LeFlow combines generative latent trajectory proposals with rollout-based verification inside the original world model, without modifying it.

• Across four benchmarks, amortized latent planning replaces iterative action-space optimization with fixed-budget rollout selection while improving success, cutting end-to-end planning time by roughly an order of magnitude and generalizing to held-out episodes; ablations show that latent-path generation beats direct action generation and that rollout verification is essential for dynamically feasible plans.

References (25)