Mask2Map: Vectorized HD Map Construction Using Bird's Eye View Segmentation Masks

Sehwan Choi, Jungho Kim, Hongjae Shin, Jun Won Choi · DOI

Introduction

High-definition (HD) maps are fundamental to the safe operation of autonomous vehicles, providing precise geometric information about lane boundaries, dividers, and pedestrian crossings. Traditionally, these maps were constructed offline via labor-intensive SLAM (Simultaneous Localization and Mapping) processes. Recently, the field has shifted toward online HD map construction, which generates vectorized geometry in real-time from on-board sensor data.

Current state-of-the-art methods predominantly utilize query-based architectures. However, these "learnable queries" are often scene-agnostic, starting as blank slates that lack initial spatial or semantic context. This limitation makes it difficult for models to accurately capture complex road geometries in challenging environments. Mask2Map addresses this by introducing instance-level segmentation masks as an intermediate representation, providing a "semantic head start" for vectorized map generation.

Comparison of HD map construction paradigms: (a) Segmentation-based, (b) Detection-based, (c) Learnable Query-based, and (d) the proposed Mask2Map approach.

Methodology

Mask2Map employs a two-stage end-to-end framework designed to transition from global semantic understanding to local geometric precision.

1. Instance-Level Mask Prediction Network (IMPNet)

Instead of initializing with generic queries, IMPNet generates Mask-Aware Queries and Bird’s Eye View (BEV) segmentation masks. By identifying "blobs" of interest—such as specific lane segments—globally across the scene, the network provides a rich semantic prior for the subsequent stage.

2. Mask-Driven Map Prediction Network (MMPNet)

MMPNet refines these mask-aware queries into precise, ordered point sets. It incorporates two specialized submodules:

  • Positional Query Generator (PQG): This module injects spatial coordinates from the BEV into the queries, ensuring the model has an explicit understanding of an instance's location.
  • Geometric Feature Extractor (GFE): By sampling key points from the predicted masks, this module extracts fine-grained geometric details necessary for accurate vectorization.
The detailed architecture of Mask2Map, illustrating the flow from input images to the final vectorized map through IMPNet and MMPNet.

3. Inter-network Denoising Training

To ensure consistency between the two stages, the authors introduced an inter-network denoising training strategy. By feeding the model noisy ground-truth data during training, the network learns to maintain object consistency across the segmentation and vectorization stages, preventing the "matching problem" where different stages might focus on different objects.

Experiments and Results

The framework was evaluated on the nuScenes and Argoverse2 benchmarks, two of the most rigorous datasets in the autonomous driving industry.

  • nuScenes Performance: Mask2Map achieved a state-of-the-art 71.6% mAP, representing a significant 10.1% improvement over the previous leading method, MapTRv2.
  • Argoverse2 Performance: The model reached 71.5% mAP, a 4.1% increase over existing benchmarks.

Qualitative analysis reveals that Mask2Map produces significantly smoother and more topologically accurate maps, particularly in complex intersections where previous query-based models often struggled with fragmented or "hallucinated" lane lines. Visualizations of initial predictions demonstrate that Mask2Map starts with a much better estimation of the scene layout than previous models, which tend to produce generic guesses regardless of actual road geometry.

Conclusion and Future Work

Mask2Map demonstrates that segmentation masks serve as a powerful bridge between raw sensor data and vectorized geometry. While the model sets new performance records, several areas for future improvement remain. Currently, the model processes frames independently; incorporating temporal fusion to leverage historical data could improve robustness against occlusions (e.g., a bus blocking a lane divider). Additionally, while highly accurate, the model operates at 10.1 FPS, suggesting that further optimization or model compression is needed for deployment on resource-constrained vehicle hardware.

Summary updated

BibTeX
@inproceedings{choi2024mask,
  author = {Sehwan Choi and Jungho Kim and Hongjae Shin and Jun Won Choi},
  title = {{Mask2Map: Vectorized HD Map Construction Using Bird's Eye View Segmentation Masks}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72890-7\_2},
}
Figure