MapDistill: Boosting Efficient Camera-Based HD Map Construction via Camera-LiDAR Fusion Model Distillation

Xiaoshuai Hao, Ruikai Li, Hui Zhang, Dingzhe Li, Rong Yin, Sangil Jung, Seung-In Park, ByungIn Yoo, Haimei Zhao, Jing Zhang

Abstract

High-definition (HD) maps are essential for autonomous vehicle navigation, providing critical geometric context for static environments. While Camera-LiDAR fusion models offer high accuracy, their computational demands often preclude real-time deployment on edge hardware. This paper presents MapDistill, a novel knowledge distillation framework that transfers the "geometric intuition" of a complex fusion teacher to a lightweight, camera-only student model. By simulating cross-modal interactions through a dual-view transformation module and multi-level distillation, MapDistill achieves a significant 7.7 mAP improvement over baselines and a 4.5× speedup compared to larger models.

Introduction

In the realm of autonomous driving, HD maps serve as the "blueprints" for understanding lanes, boundaries, and pedestrian crossings. LiDAR-based and sensor-fusion models are the gold standard for accuracy due to their explicit 3D geometric data. However, the industry is shifting toward camera-only solutions to reduce costs and hardware complexity.

The primary challenge for camera-only models is "depth ambiguity"—the difficulty of precisely localizing 2D pixels in 3D space. To compensate, current state-of-the-art models often rely on massive backbones like Swin-Transformers, which are too slow for real-time use. MapDistill addresses this by enabling a small camera model (e.g., ResNet18) to learn from a high-performance Camera-LiDAR teacher, bridging the gap between efficiency and accuracy.

Methodology

The Teacher-Student Architecture

MapDistill utilizes a teacher-student framework designed specifically for vectorized map construction. The Teacher Model is a high-performance fusion system (MapTR) utilizing multi-view cameras (ResNet50) and LiDAR (SECOND). The Student Model is a lightweight, camera-only variant (ResNet18).

The MapDistill architecture featuring teacher-student distillation across relation, feature, and head levels.

Dual BEV Transform Module

Standard camera models typically use a single method to project 2D images into a 3D Bird’s-Eye-View (BEV) space. MapDistill introduces a Dual BEV Transform Module where the student employs two distinct projection methods simultaneously: Geometry-guided Kernel Transformer (GKT) and Lift-Splat-Shoot (LSS). By creating two distinct BEV subspaces, the student can better simulate the cross-modal interactions (Camera vs. LiDAR) performed by the teacher.

The Distillation Strategy

The framework employs a "triple-threat" of loss functions to ensure comprehensive knowledge transfer:

  1. Cross-modal Relation Distillation ($\mathcal{L}_{relation}$): This forces the student’s internal attention patterns between its two BEV subspaces to match the teacher’s Camera-to-LiDAR attention patterns.
  2. Dual-level Feature Distillation ($\mathcal{L}_{feature}$): This aligns both raw BEV features (low-level) and processed Map Encoder features (high-level) between the models.
  3. Map Head Distillation ($\mathcal{L}_{head}$): The student is trained to produce final predictions (classification and point coordinates) that resemble the teacher’s high-confidence outputs, which serve as pseudo-labels.

Experimental Results

The model was rigorously evaluated on the nuScenes dataset, involving 1,000 driving sequences. The task focused on constructing three key map elements: pedestrian crossings, lane dividers, and road boundaries, measured by Mean Average Precision (mAP).

Performance vs. Efficiency comparison on the nuScenes dataset, highlighting MapDistill's superior trade-off.

Key Findings

  • Accuracy Gains: MapDistill improved the ResNet18 student from a baseline of 45.9 mAP to 53.6 mAP, a substantial +7.7 gain.
  • Efficiency and Speed: The MapDistill-trained ResNet18 outperforms much larger models, such as MapTR-SwinB, while operating 4.5× faster in inference.
  • Superiority over General Methods: MapDistill surpassed existing cross-modality distillation methods (like UniDistill and BEVDistill) by over 5 mAP, demonstrating that map-specific geometry requires specialized distillation losses rather than standard 3D detection approaches.

Conclusion

MapDistill demonstrates that a LiDAR sensor is not required at inference time to achieve LiDAR-level geometric understanding. By cleverly simulating multi-modal interactions through dual BEV projections and task-specific distillation, the framework allows lightweight camera systems to achieve state-of-the-art performance. Future work will explore the robustness of this distillation in "long-tail" scenarios and extreme weather conditions where sensor data may be noisy.

Summary updated

BibTeX
@inproceedings{hao2024mapdistill,
  author = {Xiaoshuai Hao and Ruikai Li and Hui Zhang and Dingzhe Li and Rong Yin and Sangil Jung and Seung-In Park and ByungIn Yoo and Haimei Zhao and Jing Zhang},
  title = {{MapDistill: Boosting Efficient Camera-Based HD Map Construction via Camera-LiDAR Fusion Model Distillation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72646-0\_10},
}
Figure