HyperAIHyperAI

Command Palette

Search for a command to run...

Navigation World Models

Amir Bar Gaoyue Zhou Danny Tran Trevor Darrell Yann LeCun

Abstract

Navigation is a fundamental skill of agents with visualmotor capabilities. We introduce a Navigation World Model (NWM), a controllable video generation model that predicts future visual observations based on past observations and navigation actions. To capture complex environment dynamics, NWM employs a Conditional Diffusion Transformer (CDiT), trained on a diverse collection of egocentric videos of both human and robotic agents, and scaled up to 1 billion parameters. In familiar environments, NWM can plan navigation trajectories by simulating them and evaluating whether they achieve the desired goal. Unlike supervised navigation policies with fixed behavior, NWM can dynamically incorporate constraints during planning. Experiments demonstrate its effectiveness in planning trajectories from scratch or by ranking trajectories sampled from an external policy. Furthermore, NWM leverages its learned visual priors to imagine trajectories in unfamiliar environments from a single input image, making it a flexible and powerful tool for next-generation navigation systems.

One-sentence Summary

FAIR at Meta, New York University, and Berkeley AI Research introduce Navigation World Model (NWM), a 1-billion-parameter Conditional Diffusion Transformer trained on diverse egocentric videos that plans trajectories by simulating and ranking them in familiar environments and leverages learned visual priors to imagine paths in unfamiliar environments from a single image, surpassing the fixed behavior of supervised navigation policies.

Key Contributions

  • This paper introduces Navigation World Model (NWM), a controllable video generation model that predicts future egocentric observations from past observations and navigation actions using a Conditional Diffusion Transformer (CDiT) trained on large-scale human and robot egocentric videos and scaled to 1 billion parameters.
  • This paper shows that NWM supports model-based navigation planning by simulating candidate trajectories and evaluating goal achievement, enabling both planning from scratch and ranking trajectories sampled from external policies with improved goal-conditioned visual navigation performance.
  • This paper demonstrates that training on action- and reward-free egocentric video data such as Ego4D improves video prediction and generation in unseen environments, allowing NWM to imagine plausible navigation trajectories from a single input image.

Introduction

Visual navigation is a core capability for robotic agents because it requires building usable representations of the environment to reach goals, avoid obstacles, and operate in real-world settings. Prior visual navigation policies are often supervised, goal-conditioned models that can become difficult to adapt when new constraints appear, and they cannot easily allocate additional computation to harder planning problems. Existing world models and view synthesis methods also tend to focus on narrow settings or rely on structured 3D priors, limiting their scalability across diverse environments and embodiments. The authors address this gap by introducing a Navigation World Model trained on robot videos and navigation actions, along with a new Conditional Diffusion Transformer architecture that efficiently predicts future visual states and supports model-predictive planning and policy ranking, while also benefiting from unlabeled video data for improved generalization.

Method

The proposed system learns a navigation world model as a stochastic state transition function. The input consists of egocentric images and navigation commands. Each image observation is encoded into a latent state, while each action contains translation and yaw control signals. Formally, the model is trained from sequences of the form

{(x0,a0,…,xT,aT)},\{(x_0,a_0,\ldots,x_T,a_T)\},{(x0​,a0​,…,xT​,aT​)},

where xi∈RH×W×3x_i \in \mathbb{R}^{H \times W \times 3}xi​∈RH×W×3 is an image and ai=(u,ϕ)a_i=(u,\phi)ai​=(u,ϕ) is a navigation command, with u∈R2u \in \mathbb{R}^2u∈R2 controlling forward and lateral motion and ϕ∈R\phi \in \mathbb{R}ϕ∈R controlling yaw rotation. Images are mapped into compressed latent states using a pretrained VAE encoder:

si=encθ(xi).s_i = \mathrm{enc}_{\theta}(x_i).si​=encθ​(xi​).

The world model then predicts the next latent state conditioned on the current state, a short history of past states, and the action:

sτ+1∼Fθ(sτ+1∣sτ,aτ),s_{\tau+1} \sim F_{\theta}(s_{\tau+1} \mid \mathbf{s}_{\tau}, a_{\tau}),sτ+1​∼Fθ​(sτ+1​∣sτ​,aτ​),

where sτ=(sτ,…,sτ−m)\mathbf{s}_{\tau}=(s_{\tau},\ldots,s_{\tau-m})sτ​=(sτ​,…,sτ−m​). This formulation supports different environments and action spaces because the model operates on abstract latent states rather than environment specific representations.

To model temporal dynamics more explicitly, the action is extended with a time shift input kkk. The action becomes

aτ=(u,ϕ,k),a_{\tau}=(u,\phi,k),aτ​=(u,ϕ,k),

where kkk specifies how many future or past steps should be traversed. The effective translation and rotation for the shifted interval are computed by aggregating the intermediate actions:

uτ→m=∑t=τmut,ϕτ→m=∑t=τmϕt mod 2π.u_{\tau \rightarrow m} = \sum_{t=\tau}^{m} u_t, \qquad \phi_{\tau \rightarrow m} = \sum_{t=\tau}^{m} \phi_t \bmod 2\pi.uτ→m​=t=τ∑m​ut​,ϕτ→m​=t=τ∑m​ϕt​mod2π.

This allows the model to learn both control effects and passive temporal changes in the environment. During training, multiple possible goals are sampled from the same context to reduce entanglement between time and action.

The core predictor is implemented with a conditional diffusion transformer, which is trained as a denoising model over future latent states. The architecture uses a temporally autoregressive design. Tokens from the target frame being generated attend to one another through self-attention, while past frames provide contextual information through cross-attention. This keeps the main self-attention computation restricted to the target frame and uses previous latent states as keys and values for contextualization. Refer to the architecture diagram:

The conditioning signal combines the navigation action, the time shift, and the diffusion timestep. Each scalar component is first lifted through sine-cosine features and a small MLP, then concatenated or projected into the model dimension. The final conditioning vector is formed by summing the action, time shift, and timestep embeddings:

ξ=ψa+ψk+ψt.\xi = \psi_a + \psi_k + \psi_t.ξ=ψa​+ψk​+ψt​.

This vector is fed into an adaptive layer normalization block, which produces scale and shift parameters used to modulate the transformer sublayers. When navigation actions are unavailable, the action embedding can be omitted, allowing the same architecture to be trained on unlabeled video sequences.

The computational benefit of this design comes from its attention structure. A standard transformer over all frames has attention cost dominated by the square of the total context length. The proposed block instead uses target-frame self-attention and cross-attention to past frames, giving a cost that scales linearly with the number of context frames. If nnn is the number of tokens per frame, mmm is the number of frames, and ddd is the token dimension, this reduces the dominant dependence from quadratic in the full sequence length to linear in the number of frames.

Training follows a standard diffusion process. In the forward process, Gaussian noise is added to the clean next latent state sτ+1s_{\tau+1}sτ+1​ according to a randomly sampled diffusion timestep ttt:

sτ+1(t)=αtsτ+1+1−αtϵ,ϵ∼N(0,I),s_{\tau+1}^{(t)} = \sqrt{\alpha_t}s_{\tau+1} + \sqrt{1-\alpha_t}\epsilon, \qquad \epsilon \sim \mathcal{N}(0,I),sτ+1(t)​=αt​​sτ+1​+1−αt​​ϵ,ϵ∼N(0,I),

where {αt}\{\alpha_t\}{αt​} is a noise schedule. The network is trained to recover the clean latent state from the noisy state, conditioned on the context, the action, and the diffusion timestep. The primary objective is a mean squared prediction loss:

Lsimple=Esτ+1,aτ,sτ,ϵ,t[∥sτ+1−Fθ(sτ+1(t)∣sτ,aτ,t)∥22].\mathcal{L}_{\mathrm{simple}} = \mathbb{E}_{s_{\tau+1},a_{\tau},\mathbf{s}_{\tau},\epsilon,t} \left[ \left\| s_{\tau+1} - F_{\theta}(s_{\tau+1}^{(t)} \mid \mathbf{s}_{\tau}, a_{\tau}, t) \right\|_2^2 \right].Lsimple​=Esτ+1​,aτ​,sτ​,ϵ,t​[​sτ+1​−Fθ​(sτ+1(t)​∣sτ​,aτ​,t)​22​].

The model can also predict the covariance of the diffusion noise and be trained with a variational lower bound term.

Once trained, the world model can be used for planning by rolling out candidate navigation actions and scoring the resulting future states. Given an initial latent state s0s_0s0​ and a target latent state s∗s^{*}s∗, the objective is to find an action sequence that maximizes the likelihood of reaching the goal. This is expressed with an energy function that penalizes low similarity to the goal and invalid actions or unsafe states:

E(s0,a0,…,aT−1,sT)=−S(sT,s∗)+∑τ=0T−1I(aτ∉Avalid)+∑τ=0T−1I(sτ∉Ssafe).\mathcal{E}(s_0,a_0,\ldots,a_{T-1},s_T) = -\mathcal{S}(s_T,s^{*}) + \sum_{\tau=0}^{T-1} \mathbb{I}(a_{\tau} \notin \mathcal{A}_{\mathrm{valid}}) + \sum_{\tau=0}^{T-1} \mathbb{I}(s_{\tau} \notin \mathcal{S}_{\mathrm{safe}}).E(s0​,a0​,…,aT−1​,sT​)=−S(sT​,s∗)+τ=0∑T−1​I(aτ​∈/Avalid​)+τ=0∑T−1​I(sτ​∈/Ssafe​).

The goal similarity S(sT,s∗)\mathcal{S}(s_T,s^{*})S(sT​,s∗) can be computed by decoding latent states back to pixel space with the VAE decoder and measuring perceptual similarity. Planning can then be performed as a model predictive control problem by minimizing this energy over future action sequences. In practice, derivative-free population optimization such as the cross entropy method can be used to search over actions. The same energy can also rank trajectories proposed by an existing navigation policy by selecting the sampled rollout with the lowest energy.

When the model is applied outside its training distribution, long horizon imagined trajectories may slowly drift away from the true visual context. The generated future frames can gradually become dominated by common training patterns rather than the current observation. This behavior is visible in generated future frames, as illustrated in the qualitative example:

Experiment

The experiments evaluate a navigation world model on multiple robot navigation datasets, focusing on future video prediction, generation quality, planning, and generalization to unseen environments through comparisons with prior baselines. Ablations show that using a context-conditioned model, multiple goals, sufficient temporal context, and both time and action inputs improves predictive accuracy. Further tests demonstrate that the model enables effective goal-conditioned and constrained planning, can improve trajectory ranking for existing navigation policies, and benefits from unlabeled videos for better transfer to unknown scenes, though with some increased hallucination.

For four-second future prediction on RECON, using more predicted goals and more conditioning context consistently improves predicted-frame quality. Predictions conditioned only on time are much worse than goal-conditioned settings, highlighting the importance of visual goal information. Four goals give better prediction than one or two goals across all reported metrics. Longer context helps prediction, while short context leads to poorer tracking.

The results compare navigation and video models on predicting future observations and synthesizing longer rollouts. The proposed NWM shows substantially better video synthesis quality than the diamond baseline, while the evaluation uses lower perceptual error to indicate better future prediction at a given computational budget. NWM greatly reduces FVD relative to the diamond baseline, suggesting more realistic generated videos. Future prediction quality is measured by perceptual error versus computational cost, where lower LPIPS indicates more accurate prediction.

NWM outperforms GNM and NoMaD on 2-second trajectory prediction for goal-conditioned visual navigation, achieving the best ATE and RPE among the reported methods. When NWM is used to rank NoMaD trajectories, it also improves both translation and rotation error, with more sampled trajectories giving better results. NWM planning yields the lowest ATE and RPE among the compared navigation approaches NWM-based trajectory ranking improves NoMaD performance on both ATE and RPE Using more NWM-ranked trajectories further improves navigation accuracy

Constrained planning remains close to the unconstrained baseline in both final position and yaw, indicating that the Navigation World Model can follow action restrictions without substantially degrading goal-directed behavior. The forward-first constraint produces the largest relative drift, while the left-right-first and straight-then-forward constraints show smaller changes. Overall, the results support effective planning when motion is restricted to predefined action patterns. All tested motion constraints are satisfied while final pose changes stay small relative to unconstrained planning. Forward-first planning shows the greatest sensitivity in yaw, whereas left-right-first has the smallest position drift. Straight-then-forward planning yields modest increases in both final position and yaw compared with the baseline.

Adding unlabeled Ego4D videos alongside in-domain data improves future prediction quality on unseen environments, with lower perceptual errors and higher PSNR on Go Stanford. The same change reduces prediction quality on the known RECON environment, where perceptual metrics worsen and PSNR declines. Overall, the result suggests unlabeled data helps generalization to new environments while introducing a trade-off on familiar data. Unlabeled Ego4D training improves unknown-environment metrics across LPIPS, DreamSim, and PSNR. Known-environment performance degrades after adding unlabeled data. The observed gain is modest but consistent on unseen data.

On RECON and goal-conditioned navigation benchmarks, experiments evaluate future-frame prediction, longer video rollouts, trajectory ranking, constrained planning, and cross-environment generalization. Goal conditioning, additional predicted goals, and longer context improve predicted-frame quality, while NWM outperforms baseline navigation and video models in future prediction, synthesizes more realistic rollouts, and improves NoMaD trajectory ranking. The model preserves near-unconstrained goal-directed behavior under action restrictions, and adding unlabeled Ego4D videos helps prediction in unseen environments at the cost of some known-environment accuracy.


Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing

HyperAI Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp