Multi-Frame to Single-Frame: Knowledge Distillation for 3D Object Detection

Yue Wang, Alireza Fathi, Jiajun Wu, Thomas A. Funkhouser, Justin SolomonarXiv 2020

TL;DR

Autonomous driving systems struggle with 3D object detection because high-quality, dense point clouds are only available during training, not at inference time. This paper proposes a two-stage knowledge distillation approach to train a model on dense point clouds and then transfer that knowledge to a model that operates on sparse, single-frame point clouds, improving performance without increasing inference cost.

What Problem Does This Paper Address?

The core challenge this paper tackles is the mismatch between training and testing data for 3D object detection in autonomous driving. During training, it's possible to aggregate multiple LiDAR scans over time, accounting for object motion, to create dense, high-quality point clouds (Figure 1c). This dense data allows for more accurate object detection. However, at inference time, systems typically rely on single, sparse point clouds (Figure 1a) due to computational constraints and the difficulty of accurately aggregating frames in dynamic environments without perfect tracking information. This leads to a performance drop. The paper aims to bridge this gap, enabling models trained on rich, multi-frame data to perform better when deployed on sparse, single-frame data.

Methods

The authors propose a two-stage training pipeline based on knowledge distillation.

  1. Stage 1: Multi-frame Model Training: An object detection model is trained on dense point clouds. These dense point clouds are generated by fusing multiple LiDAR frames, leveraging "privileged information" like consistent object tracking labels that are only available during training. This stage essentially trains a "teacher" model on the ideal, high-quality data.
  2. Stage 2: Single-frame Model Training with Distillation: A second, identical object detection model is trained on sparse, single-frame point clouds. This "student" model receives supervision not only from the ground truth labels of the sparse data but also from the features of the pre-trained multi-frame "teacher" model. This is achieved through consistency regularization on the features extracted by both models. This stage transfers the knowledge learned from the dense data to the model that will operate on sparse data.

At test time, only the single-frame "student" model is used, meaning there's no additional computational overhead compared to a standard single-frame detector. The model architecture itself is a variant of PointPillars, which projects 3D points to a Bird's-Eye View (BEV) grid, uses PointNet for feature aggregation within BEV pixels, and then employs 2D convolutions for further feature embedding before classification and localization branches.

Datasets

The paper evaluates its method on the Waymo Open Dataset. This dataset is described as providing sequences of point clouds with consistent labels for tracking moving objects, which is crucial for generating the dense point clouds used in the training stage.

Key Insights and Ideas

  • The "Dilemma" of Data Availability: The paper clearly articulates the practical problem of having high-quality data only during training, which is a common issue in many real-world machine learning applications, not just 3D object detection.
  • Knowledge Distillation as a Bridge: Using knowledge distillation to transfer learned representations from a model trained on ideal data to a model operating on less ideal data is a powerful technique. This paper demonstrates its effectiveness in the context of 3D object detection.
  • Leveraging "Privileged Information": The method effectively utilizes information (like multi-frame aggregation and tracking) that is available during training but not at inference, without requiring any special hardware or annotations at test time.
  • Performance Improvement Without Overhead: The key takeaway is that this distillation process improves performance on sparse data without adding any computational cost during inference, making it a practical solution.

Key Results

The paper reports significant improvements in both BEV mAP and 3D mAP for vehicle and pedestrian detection on the Waymo Open Dataset.

  • Vehicle Detection: The "Baseline (1 frame)" model achieved 83.16 BEV mAP and 84.73 3D mAP. With distillation ("+ Distillation (1 frame)"), performance increased to 84.79 BEV mAP and 87.56 3D mAP, representing an improvement of +1.63 and +2.83 respectively.
  • Pedestrian Detection: The "Baseline (1 frame)" model achieved 74.48 BEV mAP and 76.3 3D mAP. With distillation ("+ Distillation (1 frame)"), performance increased to 76.3 BEV mAP and 78.83 3D mAP, representing an improvement of +1.82 and +1.58 respectively.
  • These improvements are achieved while maintaining the same inference speed as the baseline single-frame model.
  • The "Oracle (5 frames)" results, which represent an ideal scenario of training and testing on dense point clouds, show the upper bound of performance, highlighting the gap that the distillation method helps to close.

Limitations and Future Work

  • Realistic Setup: The paper acknowledges that the "Oracle (5 frames)" setup, while providing an upper bound, is not a realistic deployment scenario. The proposed distillation method aims to bring the single-frame performance closer to this oracle.
  • Training Time: Training the multi-frame model is noted to be about 2 times slower than training the single-frame model. While inference is not affected, the training pipeline is more computationally intensive.
  • Future Work: The paper doesn't explicitly detail future work, but the success of this distillation approach suggests potential applications to other areas of autonomous driving perception where similar data availability mismatches exist. Further exploration into more sophisticated distillation techniques or adapting this to other sensor modalities could be future directions.

Summary updated

BibTeX
@misc{wang2020multi,
  author = {Yue Wang and Alireza Fathi and Jiajun Wu and Thomas A. Funkhouser and Justin Solomon},
  title = {{Multi-Frame to Single-Frame: Knowledge Distillation for 3D Object Detection}},
  year = {2020},
  eprint = {2009.11859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.11859},
}
Figure