MGMap: Mask-Guided Learning for Online Vectorized HD Map Construction

Xiaolu Liu, Song Wang, Wentong Li, Ruizi Yang, Junbo Chen +1 more
2/9/2026

No official code found. Best implementation: xiaolul2/MGMap (119 stars, MIT, last commit 2024-04-13).

Abstract

Currently, high-definition (HD) map construction leans towards a lightweight online generation tendency, which aims to preserve timely and reliable road scene information. However, map elements contain strong shape priors. Subtle and sparse annotations make current detection-based frameworks ambiguous in locating relevant feature scopes and cause the loss of detailed structures in prediction. To alleviate these problems, we propose MGMap, a mask-guided approach that effectively highlights the informative regions and achieves precise map element localization by introducing the learned masks. Specifically, MGMap employs learned masks based on the enhanced multi-scale BEV features from two perspectives. At the instance level, we propose the Mask-activated instance (MAI) decoder, which incorporates global instance and structural information into instance queries by the activation of instance masks. At the point level, a novel position-guided mask patch refinement (PG-MPR) module is designed to refine point locations from a finer-grained perspective, enabling the extraction of point-specific patch information. Compared to the baselines, our proposed MGMap achieves a notable improvement of around 10 mAP for different input modalities. Extensive experiments also demonstrate that our approach showcases strong robustness and generalization capabilities. Our code can be found at https://github.com/xiaolul2/MGMap.

View on arXivView PDF

Code Implementations(1)

xiaolul2/MGMapCommunity62%
MIT

[CVPR2024] The code for "MGMap: Mask-Guided Learning for Online Vectorized HD Map Construction"

1197C++, CSSMar 20, 20242 years agoMIT

Similar Papers

Cite this paper

@article{liu2026mgmap,
  title  = {MGMap: Mask-Guided Learning for Online Vectorized HD Map Construction},
  author = {Xiaolu Liu and Song Wang and Wentong Li and Ruizi Yang and Junbo Chen and Jianke Zhu},
  year   = {2026},
  eprint = {2404.00876},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2404.00876},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.00876.svg)](https://codeofpaper.com/paper/2404.00876)

Discussion