MapKD: Unlocking Prior Knowledge with Cross-Modal Distillation for Efficient Online HD Map Construction

Ziyang Yan, Ruikai Li, Zhiyong Cui, Bohan Li, Han Jiang, Yilong Ren, Aoyong Li, Zhenning Li, Sijia Wen, Haiyang YuarXiv 2025

Abstract

Online HD map construction is a fundamental task in autonomous driving systems, aiming to acquire semantic information of map elements around the ego vehicle based on real-time sensor inputs. Recently, several approaches have achieved promising results by incorporating offline priors such as SD maps and HD maps or by fusing multi-modal data. However, these methods depend on stale offline maps and multi-modal sensor suites, resulting in avoidable computational overhead at inference. To address these limitations, we employ a knowledge distillation strategy to transfer knowledge from multimodal models with prior knowledge to an efficient, low-cost, and vision-centric student model. Specifically, we propose MapKD, a novel multi-level cross-modal knowledge distillation framework with an innovative Teacher-Coach-Student (TCS) paradigm. This framework consists of: (1) a camera-LiDAR fusion model with SD/HD map priors serving as the teacher; (2) a vision-centric coach model with prior knowledge and simulated LiDAR to bridge the cross-modal knowledge transfer gap; and (3) a lightweight vision-based student model. Additionally, we introduce two targeted knowledge distillation strategies: Token-Guided 2D Patch Distillation (TGPD) for bird's eye view feature alignment and Masked Semantic Response Distillation (MSRD) for semantic learning guidance. Extensive experiments on the challenging nuScenes dataset demonstrate that MapKD improves the student model by +6.68 mIoU and +10.94 mAP while simultaneously accelerating inference speed.

Introduction

High-Definition (HD) maps are essential for autonomous vehicle planning and navigation. Constructing these maps "online"—in real-time using on-board sensors—remains a significant challenge. Current research generally falls into two categories: vision-centric methods, which are efficient but struggle with 3D geometric awareness, and multi-modal methods, which achieve high precision but are computationally expensive and rely on complex sensor suites during inference.

MapKD addresses this "modality gap" by introducing a novel Teacher-Coach-Student (TCS) distillation framework. This paradigm trains high-performance, vision-only models by using an intermediate "coach" model equipped with simulated LiDAR and map priors to bridge the gap between complex multi-modal teachers and lightweight students. The result is a +10.94 mAP improvement on the nuScenes dataset without any additional inference-time overhead.

Methodology

The core contribution of MapKD is the move away from traditional two-stage distillation toward the TCS paradigm:

  • The Teacher (T): A heavy-duty model (based on PMapNet) utilizing Camera, LiDAR, SD map, and HD map priors to provide a "gold standard" of multi-modal knowledge.
  • The Coach (C): Acting as a representation translator, the coach uses the same camera-only input as the student but is augmented with simulated LiDAR (generated via a 3D encoder) and map priors. This translates complex features into a vision-centric representation digestible by the student.
  • The Student (S): A lightweight, vision-only model (based on HDMapNet) that learns from both the teacher and the coach.

To facilitate effective learning, MapKD employs two specific distillation strategies:

  1. Token-Guided 2D Patch Distillation (TGPD): This aligns Bird's-Eye View (BEV) features by dividing the BEV space into patches and using a global token to capture both local details and global context.
  2. Masked Semantic Response Distillation (MSRD): This focuses the student's attention on foreground map elements (lanes, boundaries) using a ground-truth mask, preventing the model from wasting capacity on background noise.

Experimental Results

The framework was evaluated on the nuScenes dataset, focusing on pedestrian crossings, lane dividers, and road boundaries.

Quantitative Performance

MapKD significantly improves the baseline student model, achieving a +6.68 mIoU and +10.94 mAP boost. Crucially, the student model maintains a high inference speed of 44.9 FPS, which is approximately 3.5x faster than the coach model it emulates.

Performance vs. Inference Speed on nuScenes dataset. MapKD achieves a significant mAP boost over the student baseline while maintaining high FPS.

Qualitative Analysis and Efficiency

Visualizations demonstrate that MapKD produces significantly more coherent and detailed map elements compared to non-distilled models, particularly in challenging scenarios like night driving or complex intersections. Furthermore, MapKD achieves superior results in just 10 training epochs, whereas competing distillation methods like BEVDistill and UniDistill often require 30 epochs to reach lower performance levels.

Qualitative comparison of BEV feature maps. MapKD produces more coherent and detailed representations compared to existing distillation methods.

Conclusion

MapKD demonstrates that a "Coach" model is essential for bridging the gap between LiDAR-based teachers and camera-based students. By training the coach to generate pseudo-LiDAR features, the student implicitly learns 3D geometric cues without requiring LiDAR at inference. Future work will explore temporal consistency through video sequences and extending the framework to handle more complex map topologies, such as traffic light associations.

Summary updated

BibTeX
@misc{yan2025mapkd,
  author = {Ziyang Yan and Ruikai Li and Zhiyong Cui and Bohan Li and Han Jiang and Yilong Ren and Aoyong Li and Zhenning Li and Sijia Wen and Haiyang Yu},
  title = {{MapKD: Unlocking Prior Knowledge with Cross-Modal Distillation for Efficient Online HD Map Construction}},
  year = {2025},
  eprint = {2508.15653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.15653},
}
Figure