Joint Localization and Planning using Diffusion

L. Lao Beyer, Sertac KaramanICRA 2024 · DOI

Abstract

Diffusion models have been successfully applied to robotics problems such as manipulation and vehicle path planning. In this work, we explore their application to end-to-end navigation—including both perception and planning—by considering the problem of jointly performing global localization and path planning in known but arbitrary 2D environments. In particular, we introduce a diffusion model which produces collision-free paths in a global reference frame given an egocentric LIDAR scan, an arbitrary map, and a desired goal position. To this end, we implement diffusion in the space of paths in SE(2), and describe how to condition the denoising process on both obstacles and sensor observations. In our evaluation, we show that the proposed conditioning techniques enable generalization to realistic maps of considerably different appearance than the training environment, demonstrate our model's ability to accurately describe ambiguous solutions, and run extensive simulation experiments showcasing our model's use as a real-time, end-to-end localization and planning stack.

Introduction: The Challenge of Modular Navigation

Traditional robotic navigation stacks are typically modular: one system handles localization (determining the robot's pose) and another handles planning (determining the trajectory). This decoupling can lead to brittle performance; if localization is uncertain or slightly inaccurate, the planner may produce a path that leads to a collision.

Furthermore, global localization—often referred to as the "kidnapped robot problem"—is notoriously difficult in symmetric or repetitive environments where a single sensor reading could correspond to multiple valid locations. This paper introduces a novel diffusion-based framework that jointly solves global localization and path planning in a single end-to-end process. By leveraging the ability of diffusion models to represent complex, multi-modal probability distributions, the system can effectively navigate even in highly ambiguous scenarios.

Methodology: Joint Diffusion in SE(2)

The core of the proposed system is a diffusion process implemented directly on the $SE(2)$ manifold, representing 2D position and heading. The model generates collision-free paths in the global coordinate frame by conditioning a denoising process on raw LIDAR scans and arbitrary 2D maps.

System Overview: The model takes a top-down map, goal pose, and LIDAR measurements as inputs to a diffusion-based denoising process, outputting a collision-free path.

Key Technical Innovations

  • Local Conditioning Strategy: Rather than feeding a raw map image into a neural network, the authors use a learned encoder to create a feature map. The denoising network samples this feature map at the specific coordinates of the current noisy path. This allows the model to generalize to maps of any size or shape, moving beyond the specific geometries seen during training.
  • LIDAR-based Localization Encoding: To achieve localization, the model calculates where LIDAR rays would terminate based on a "noisy" guess of the robot's starting position. It samples map features at these termination points, providing the geometric context needed to correct the position estimate.
  • 1D U-Net Architecture: The denoising engine is a 1D U-Net operating on the sequence of poses (the path), conditioned via Feature-wise Linear Modulation (FiLM) for global goals and time-step information.
  • Warm-Starting for Real-Time Control: For closed-loop control, the system adds a small amount of noise to the previous frame's path and runs a few denoising steps. This ensures temporal consistency and enables a high-frequency control loop of 60 Hz.
Obstacle maps (top) and their corresponding learned feature maps (bottom) used for local conditioning.

Key Insights and Results

Map-Agnostic Generalization

Because the model samples local features rather than processing the entire map as a single image, it generalizes remarkably well. A model trained only on simple synthetic "circle" obstacles was able to navigate complex, real-world architectural floorplans successfully. This suggests the model learns fundamental geometric relationships rather than memorizing specific environment layouts.

Handling Ambiguity

In symmetric environments, such as long hallways with identical rooms, the diffusion model produces a distribution of paths representing all likely locations. This implicit perception-control coupling allows the model to function without an explicit, single-point pose estimate, as the path is denoised to fit both the LIDAR data and global map constraints simultaneously.

Performance Metrics

  • Localization Accuracy: The model achieved global localization accuracy within 2% of the map's extent in 88% of test cases.
  • Success Rates: In environments with varied obstacle types (circular and rectangular), the model achieved a success rate of approximately 83%.
  • Efficiency: A full 100-step diffusion process takes ~80ms, but the "warm-start" replanning used for navigation takes only 16ms, making it viable for real-time robotic hardware.

Conclusion and Future Work

This work demonstrates that diffusion models can serve as a robust foundation for end-to-end robotic navigation. While currently limited to 2D $SE(2)$ planning and requiring a known map, future extensions could include 3D ($SE(3)$) planning for aerial or manipulative robots and the integration of simultaneous localization and mapping (SLAM) directly into the diffusion process. Additionally, moving from LIDAR to vision-based navigation would further expand the system's applicability to diverse robotic platforms.

Summary updated

BibTeX
@inproceedings{beyer2024joint,
  author = {L. Lao Beyer and Sertac Karaman},
  title = {{Joint Localization and Planning using Diffusion}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra55743.2025.11127640},
}
Figure