[Paper Review] MapTRv2: An End-to-End Framework for Online Vectorized HD Map Construction
MapTRv2 proposes an end-to-end, real-time framework for online vectorized HD map construction using a novel permutation-equivalent modeling approach that represents map elements as point sets with equivalent permutations, enabling stable and accurate shape learning. It achieves state-of-the-art performance on nuScenes and Argoverse2 with 61.5 mAP (nuScenes) and 62.6 mAP (Argoverse2), while running at real-time inference speed on a single GPU.
High-definition (HD) map provides abundant and precise static environmental information of the driving scene, serving as a fundamental and indispensable component for planning in autonomous driving system. In this paper, we present extbf{Map} extbf{TR}ansformer, an end-to-end framework for online vectorized HD map construction. We propose a unified permutation-equivalent modeling approach, \ie, modeling map element as a point set with a group of equivalent permutations, which accurately describes the shape of map element and stabilizes the learning process. We design a hierarchical query embedding scheme to flexibly encode structured map information and perform hierarchical bipartite matching for map element learning. To speed up convergence, we further introduce auxiliary one-to-many matching and dense supervision. The proposed method well copes with various map elements with arbitrary shapes. It runs at real-time inference speed and achieves state-of-the-art performance on both nuScenes and Argoverse2 datasets. Abundant qualitative results show stable and robust map construction quality in complex and various driving scenes. Code and more demos are available at \url{https://github.com/hustvl/MapTR} for facilitating further studies and applications.
Motivation & Objective
- Address the limitations of offline HD map construction, such as high cost, outdated data, and localization drift.
- Overcome the inefficiency and inaccuracy of existing online vectorized HD map methods, especially in real-time scenarios.
- Develop a unified, end-to-end framework that can handle map elements of arbitrary shapes with high precision and speed.
- Enable robust performance under sensor misalignment and camera deviation common in real-world deployments.
- Integrate centerline prediction to support downstream planning tasks in autonomous driving systems.
Proposed method
- Model each map element as a point set with a group of equivalent permutations to eliminate shape ambiguity and stabilize training.
- Propose a hierarchical query embedding scheme that jointly encodes instance-level and point-level features for structured map representation.
- Use a decoupled self-attention mechanism to reduce computational cost by separating inter-instance and intra-instance attention.
- Implement hierarchical bipartite matching to assign predictions to ground truth at both instance and point levels.
- Introduce auxiliary one-to-many matching and dense supervision to accelerate convergence and improve localization accuracy.
- Apply auxiliary foreground segmentation in both perspective and bird’s-eye views to enhance feature learning and geometric consistency.
Experimental results
Research questions
- RQ1How can we model arbitrary-shaped map elements in a way that is both geometrically accurate and permutation-equivariant to stabilize training?
- RQ2What is the optimal architecture for end-to-end, real-time vectorized HD map construction that avoids complex post-processing?
- RQ3How does the proposed permutation-equivalent modeling improve generalization and robustness compared to autoregressive or point-sequence-based methods?
- RQ4To what extent can the framework handle real-world sensor noise, such as camera extrinsic deviation?
- RQ5Can the framework be extended to include directional map elements like centerlines with high accuracy and consistency?
Key findings
- MapTRv2 achieves 61.5 mAP on the nuScenes dataset and 62.6 mAP (2D) / 61.4 mAP (3D) on Argoverse2, outperforming prior state-of-the-art methods in both accuracy and speed.
- Adding centerline prediction increases mAP to 54.0 on nuScenes and 62.6 on Argoverse2, demonstrating strong generalization to directional map elements.
- The model maintains robust performance under camera deviation: mAP drops only to 58.0 at 0.1m translation noise and 59.8 at 0.01rad rotation noise.
- Runtime analysis shows that the backbone accounts for 59.8% of inference time, while the map decoder and PV2BEV modules are efficient, enabling real-time inference at ~14.1 FPS on RTX 3090.
- The ablation study confirms that 6 Transformer decoder layers provide optimal trade-off between accuracy and speed, with mAP saturating at this depth.
- Qualitative results show stable and accurate map reconstruction across complex, diverse driving scenes, with precise 3D vectorized rendering on surrounding views.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.