DreamFlow: Local Navigation Beyond Observation via Conditional Flow Matching in the Latent Space

Jiwon Park, Dongkyu Lee, I Made Aswin Nahrendra, Jaeyoung Lim, Hyun MyungarXiv 2026 · arXiv

TL;DR

DreamFlow is a deep reinforcement learning (DRL) framework that extends a robot's perceptual horizon by predicting unobserved terrain using Conditional Flow Matching (CFM) in the latent space. By generating extended spatial representations conditioned on the robot's navigation context, DreamFlow allows autonomous systems to proactively avoid local minima (like dead ends) without relying on global maps or complex temporal memory.

What Problem Does This Paper Address?

When mobile robots—such as quadrupeds navigating disaster zones or cluttered indoor environments—rely solely on local onboard sensors, they suffer from "short-sightedness." A typical local planner only sees a small window around the robot (e.g., a 3×2 meter height map). If the robot encounters a U-shaped obstacle or a dead-end corridor that extends beyond this sensor range, it often gets trapped in a local minimum.

An illustration of local navigation challenges and how DreamFlow predicts extended terrain to avoid local minima.

Traditional local planners rely on hand-crafted heuristics to back out of these traps, which frequently fail in complex environments. Newer learning-based methods use memory mechanisms (like LSTMs) to remember where they have been, but these struggle when facing entirely novel obstacle configurations. DreamFlow addresses this by enabling the robot to directly predict the environmental structure beyond its immediate field of view.

Methods

DreamFlow utilizes an asymmetric actor-critic DRL framework trained via Proximal Policy Optimization (PPO). The core innovation is a two-stage pipeline featuring a latent-to-latent Conditional Flow Matching (CFM) module:

  1. Asymmetric Observation & Latent Encoding: During training, two separate Variational Autoencoders (VAEs) are pre-trained. The actor compresses a limited local height map into a local latent vector ($z_t^e$), while the critic utilizes a privileged, wider-range extended height map compressed into an extended latent vector ($z_t^E$).
  2. Conditional Flow Matching (CFM): CFM is a simulation-free generative modeling framework that learns a continuous, deterministic velocity field to transport one probability distribution to another. DreamFlow trains a CFM module to map the local latent vector ($z_t^e$) to the extended latent vector ($\hat{z}_t^e$).
  3. Context Conditioning: Because predicting unobserved space is inherently multi-modal (one local view could correspond to many different global layouts), the flow is conditioned on a navigation context vector ($c_t$). This vector encodes the robot's current state, past actions, and target goal, making the terrain prediction deterministic and goal-aware.
The overall architecture of DreamFlow, showcasing the deployment and training pipelines.

During deployment, the frozen CFM module uses simple Euler integration to predict the extended latent space in real-time at 10Hz, which the actor policy uses to generate safe velocity commands.

Datasets

The authors generated a massive simulation dataset using IsaacGym:

  • Training Set: 4 million samples collected from multi-agent navigation episodes over flat terrain randomly populated with obstacles of varying sizes.
  • In-Distribution (ID) Test Set: 64,000 samples from environments similar to the training distribution.
  • Out-of-Distribution (OOD) Test Set: 64,000 samples from environments featuring random pits—a terrain feature completely unseen during training—to test generalization.

Key Insights and Ideas

  • Goal-Conditioned Imagination: Predicting what is around the corner is a guessing game unless you know where you want to go. By conditioning the generative flow matching model on the robot's navigation context ($c_t$), the model doesn't just guess random terrain; it imagines the terrain relevant to its path, drastically reducing prediction variance.
  • Flow Matching over Diffusion: While diffusion models are highly capable generative tools, their iterative, stochastic denoising process is computationally expensive and accumulates noise. CFM learns straight, deterministic paths in the latent space, making it significantly faster and highly practical for real-time robotic deployment.

Key Results

Latent Prediction Accuracy

DreamFlow's CFM module achieved exceptional fidelity in predicting the extended latent space, maintaining high performance even on unseen terrains:

  • In-Distribution Cosine Similarity: 0.980 (Ours) vs. 0.928 (MLP) and 0.911 (Diffusion).
  • Out-of-Distribution Cosine Similarity: 0.973 (Ours) vs. 0.702 (MLP). Standard MLPs suffered severe overfitting, whereas CFM generalized robustly.

In challenging simulation environments like a complex maze and narrow hallways, DreamFlow significantly outperformed the baseline and state-of-the-art memory-based methods (such as Zhang et al., which uses an LSTM):

Simulation trajectories comparing DreamFlow against alternative methods across different scenarios.
  • In the Maze (Hard) scenario, DreamFlow achieved a 83.1% success rate, whereas the LSTM-based memory method plummeted to just 5.4% due to getting trapped in local minima.
  • DreamFlow maintained the lowest collision rate across all tested environments.

Real-World Validation

The framework was successfully deployed on a physical Unitree Go2 quadruped robot equipped with two Livox Mid-360 LiDARs. DreamFlow successfully navigated tight maze-like corners and avoided colliding with occluded wall segments by proactively adjusting its path before the obstacles entered its physical sensor range.

Snapshots of real-world experiments comparing the baseline policy to DreamFlow.

Limitations and Future Work

While DreamFlow demonstrates strong predictive capabilities, the authors note a few areas for improvement:

  • Fixed Prediction Horizon: The current framework uses a fixed extended map size ($6 \times 4$ meters). Future work will investigate how varying the prediction horizon impacts navigation efficiency.
  • End-to-End Integration: The VAEs, CFM, and DRL policy are currently trained in separate stages; integrating them into a unified, end-to-end training pipeline is a next step.
  • Dynamic Environments: The current model assumes static obstacles. Extending CFM to predict the motion of dynamic obstacles (like walking humans) remains an open challenge.

Summary updated

Abstract

Local navigation in cluttered environments often suffers from dense obstacles and frequent local minima. Conventional local planners rely on heuristics and are prone to failure, while deep reinforcement learning(DRL)based approaches provide adaptability but are constrained by limited onboard sensing. These limitations lead to navigation failures because the robot cannot perceive structures outside its field of view. In this paper, we propose DreamFlow, a DRL-based local navigation framework that extends the robot's perceptual horizon through conditional flow matching(CFM). The proposed CFM based prediction module learns probabilistic mapping between local height map latent representation and broader spatial representation conditioned on navigation context. This enables the navigation policy to predict unobserved environmental features and proactively avoid potential local minima. Experimental results demonstrate that DreamFlow outperforms existing methods in terms of latent prediction accuracy and navigation performance in simulation. The proposed method was further validated in cluttered real world environments with a quadrupedal robot. The project page is available at https://dreamflow-icra.github.io.
BibTeX
@misc{park2026dreamflow,
  author = {Jiwon Park and Dongkyu Lee and I Made Aswin Nahrendra and Jaeyoung Lim and Hyun Myung},
  title = {{DreamFlow: Local Navigation Beyond Observation via Conditional Flow Matching in the Latent Space}},
  year = {2026},
  eprint = {2603.02976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.02976},
}

Loading related content...

Figure