DistillBEV: Boosting Multi-Camera 3D Object Detection with Cross-Modal Knowledge Distillation

Zeyu Wang, Dingwen Li, Chenxu Luo, Cihang Xie, Xiaodong YangICCV 2023

Abstract

3D perception based on the representations learned from multi-camera bird's-eye-view (BEV) is trending as cameras are cost-effective for mass production in the autonomous driving industry. However, there exists a distinct performance gap between multi-camera BEV and LiDAR-based 3D object detection. One key reason is that LiDAR captures accurate depth and other geometry measurements, while it is notoriously challenging to infer such 3D information from merely image input. In this work, we propose to boost the representation learning of a multi-camera BEV-based student detector by training it to imitate the features of a well-trained LiDAR-based teacher detector. We propose an effective balancing strategy to enforce the student to focus on learning the crucial features from the teacher and generalize knowledge transfer to multi-scale layers with temporal fusion. We conduct extensive evaluations on multiple representative models of multi-camera BEV. Experiments reveal that our approach renders significant improvement over the student models, leading to the state-of-the-art performance on the popular benchmark nuScenes.

Introduction

In the landscape of autonomous driving, 3D perception is a critical requirement for safe navigation. While LiDAR sensors provide precise 3D geometry and depth information, their high cost remains a barrier to mass-market vehicle integration. Multi-camera systems offer a cost-effective alternative, yet they suffer from "depth blindness"—the inherent difficulty of inferring accurate 3D coordinates from 2D image data.

Currently, a significant performance gap exists between LiDAR-based and camera-based detectors, often exceeding 15% in mean Average Precision (mAP). While Bird’s-Eye-View (BEV) representations have emerged as a powerful unified space for multi-camera fusion, these models still lack the geometric grounding inherent to LiDAR. DistillBEV addresses this by introducing a cross-modal knowledge distillation (KD) framework that transfers the geometric "wisdom" of a LiDAR teacher model to a camera-based student model.

Methodology

The core of DistillBEV is a training-time alignment where a pre-trained LiDAR teacher and a camera-based student process the same scene. The student is penalized if its internal BEV features deviate from the teacher's high-fidelity representations. To make this distillation effective, the authors introduce three primary innovations:

1. Region Decomposition

Standard 3D scenes are predominantly empty space. Naive distillation across the entire BEV feature map wastes computational effort on uninformative background pixels. DistillBEV partitions the BEV feature map into four distinct regions: True Positive (TP), False Positive (FP), True Negative (TN), and False Negative (FN). This allows the framework to prioritize foreground objects and informative "mistakes" made by the teacher, ensuring the student learns from the most relevant spatial data.

2. Adaptive Scaling

In a BEV representation, object size varies significantly; for instance, a bus occupies many more pixels than a pedestrian. Without intervention, large objects would dominate the distillation loss. Adaptive scaling normalizes the loss based on object size, ensuring that smaller but equally critical objects receive sufficient attention during the learning process.

3. Spatial Attention

The framework utilizes spatial attention maps to highlight the most informative locations within a scene. This encourages the student model to focus on the same crucial geometric cues—such as object boundaries and structural depth—that the LiDAR model utilizes for its predictions.

Furthermore, DistillBEV supports Multi-scale Distillation, aligning features across different neural network layers, and Temporal Fusion, which leverages historical frames to improve the estimation of object velocity and motion.

Experimental Setup

The researchers evaluated DistillBEV using the nuScenes dataset, a comprehensive benchmark for autonomous driving containing 1,000 scenes equipped with 6 cameras and 32-beam LiDAR. The framework was tested across several prominent student architectures, including BEVDet, BEVDet4D, BEVDepth, and BEVFormer, to demonstrate its versatility.

Key Insights and Results

Learning from Teacher Errors

A notable finding is that mimicking the teacher's False Positives (FP) is beneficial. When a LiDAR model incorrectly identifies a non-object (like a pole) as a pedestrian, its feature response still contains valuable 3D geometric information. By imitating these responses, the camera-based student learns to better interpret complex spatial structures.

Performance Gains

DistillBEV provided consistent improvements across all tested architectures:

  • BEVFormer: Achieved an improvement of +4.4% mAP and +4.2% NDS (nuScenes Detection Score).
  • BEVDepth: Even on this high-performing baseline, DistillBEV added +3.9% mAP.
  • Velocity Estimation: There was a significant reduction in mean Average Velocity Error (mAVE), as the LiDAR teacher provides clearer motion cues than raw images.
  • State-of-the-Art: The distilled BEVDepth model reached 52.5% mAP and 61.2% NDS on the nuScenes test set, setting a new benchmark for camera-only 3D detection.

Zero Inference Overhead

Crucially, the LiDAR teacher is only required during the training phase. The final deployed camera system maintains its original computational footprint, making it "smarter" without becoming heavier or slower.

Conclusion and Future Work

DistillBEV successfully bridges the gap between low-cost camera sensors and high-performance LiDAR systems through intelligent feature imitation. While the method is highly effective, the authors note that LiDAR data sparsity at long ranges can limit the teacher's effectiveness for distant objects. Future research will explore extending this distillation strategy to other tasks, such as BEV segmentation, multi-object tracking, and online HD map construction, further solidifying the role of camera-based systems in autonomous driving.

Summary updated

BibTeX
@inproceedings{wang2023distillbev,
  author = {Zeyu Wang and Dingwen Li and Chenxu Luo and Cihang Xie and Xiaodong Yang},
  title = {{DistillBEV: Boosting Multi-Camera 3D Object Detection with Cross-Modal Knowledge Distillation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=koG6JyVjZ4F},
}
Figure