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).
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:
- 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.
- 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.
- 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).
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