Abstract
High-definition (HD) map construction is a critical component for autonomous vehicle navigation. While current Bird’s-Eye View (BEV) perception models have made significant strides, they often lack a global understanding of road geometry, leading to structural artifacts such as broken lane dividers and blurry intersections. This paper introduces DiffMap, a novel framework that treats map construction as a generative denoising task. By leveraging a Latent Diffusion Model (LDM), DiffMap incorporates structural priors—such as the inherent linearity and parallelism of road features—to refine the output of existing segmentation pipelines. Our experiments on the nuScenes dataset demonstrate that DiffMap consistently improves semantic and instance-level accuracy, particularly in challenging environmental conditions.
1. Introduction
High-definition (HD) maps provide essential semantic and geometric information for autonomous driving systems. Traditionally, these maps were generated through offline processes involving expensive sensors and manual annotation. Recent research has shifted toward online HD map construction, which aims to generate maps in real-time from onboard sensors.
However, current state-of-the-art models typically treat map generation as a pixel-wise classification problem. While effective at localizing features, these discriminative models often fail to capture the global structural constraints of road networks. The resulting maps frequently exhibit "hallucinations," such as jagged boundaries or disconnected lane lines, which can compromise the safety of downstream path-planning modules. DiffMap addresses these limitations by introducing a generative prior to the segmentation process, ensuring that the produced maps conform to realistic structural patterns.
2. Methodology
DiffMap is designed as a "plug-and-play" enhancement module that can be integrated into existing BEV perception backbones, such as HDMapNet or SuperFusion. The architecture is built upon three primary technical pillars:
2.1 Latent Space Compression
To mitigate the computational costs associated with high-resolution diffusion processes, DiffMap utilizes a Vector Quantized Variational Autoencoder (VQVAE). This component compresses ground-truth map masks into a compact latent space. By operating in this reduced dimensionality, the model focuses on high-level semantic structures and global topology rather than pixel-level noise, facilitating more efficient training and inference.
2.2 Conditional Denoising
To ensure the generated map aligns with the actual environment, sensor data (BEV features derived from cameras and LiDAR) is injected into the diffusion process. DiffMap employs two primary conditioning mechanisms:
- Spatial Concatenation: Resizing BEV features to match the dimensions of the latent map.
- Cross-Attention: Utilizing cross-attention layers within the UNet backbone to allow the model to dynamically attend to relevant sensor features during the denoising steps.
2.3 Decoupled UNet Architecture
Standard diffusion models typically predict only the added noise ($\epsilon$). DiffMap introduces a decoupled UNet architecture with two distinct branches: one for noise prediction and another that directly predicts the latent map ($z$). This dual-path approach improves the model's ability to capture distinct features required for instance-level detection, such as distinguishing between adjacent but separate lane dividers.
3. Experimental Evaluation
3.1 Dataset and Metrics
The researchers evaluated DiffMap using the nuScenes dataset, which includes 1,000 driving scenes equipped with multi-view camera imagery and LiDAR point clouds. The evaluation focused on three static map elements: lane boundaries, lane dividers, and pedestrian crossings. Performance was measured using Intersection over Union (IoU) for semantic accuracy and Average Precision (AP) based on Chamfer Distance for instance-level geometry.
3.2 Quantitative Results
DiffMap demonstrated consistent performance gains when integrated with baseline models. For instance, when added to the SuperFusion baseline, the average IoU increased from 40.4% to 43.5%. The most significant improvement was observed in the "pedestrian crossing" category, which saw a 4.5% increase in IoU. Furthermore, the model showed enhanced robustness in adverse conditions, maintaining higher mIOU scores during nighttime and rainy weather compared to standard segmentation models.
4. Discussion: The Power of the Generative Prior
The core innovation of DiffMap lies in the shift from a purely discriminative approach to a generative one. While a standard classifier asks if a specific pixel belongs to a lane, the diffusion-based prior asks if the entire layout represents a valid road structure. By training on ground-truth maps, the model learns that lanes are typically continuous and parallel. When sensor data is degraded by occlusion or weather, the model uses this learned prior to "heal" the map, inferring missing segments in a manner similar to human perception.
5. Limitations and Future Work
Despite its accuracy, the primary challenge for DiffMap is inference latency. Because diffusion models are iterative, the current implementation requires 20 denoising steps, resulting in an inference speed of 0.32 FPS. This is currently below the threshold required for high-speed autonomous deployment. Future research will focus on acceleration techniques, such as consistency models or reduced sampling steps.
Additionally, while the model excels at straight-line structures, it faces difficulties with the "unpredictable torsion" of complex lane boundaries. Moving toward vectorized outputs (points and lines) rather than rasterized grids may further improve the representation of these complex geometries.
6. Conclusion
DiffMap represents a significant step forward in online HD map construction by successfully integrating generative diffusion models with BEV perception. By enforcing structural priors, it produces cleaner, more topologically consistent maps that are better suited for the demands of autonomous navigation.
Summary updated