Introduction
Modern autonomous driving systems increasingly rely on Bird’s-Eye-View (BEV) representations to fuse data from multiple camera sensors into a unified 3D map. While architectures like BEVFormer achieve high accuracy, their computational demands—often exceeding 4 TFlops—make real-time deployment on low-power vehicle hardware nearly impossible.
Traditional Knowledge Distillation (KD), where a compact "student" model learns from a larger "teacher," often fails to bridge this gap in multi-view 3D detection. The authors identify two primary challenges: the complexity of spatial-temporal fusion and the inconsistency of learned parameters (like queries and positional encodings) between models. This paper introduces a Structured Knowledge Distillation (SKD) framework designed to overcome these hurdles, achieving significant speedups and compression without sacrificing accuracy.
Structured Knowledge Distillation Framework
The proposed SKD framework moves beyond simple output mimicking by focusing on the underlying structure of the transformer-based detection process. It consists of three core components:
- Spatial-Temporal Distillation: The student is trained to mimic the teacher’s attention weights. This process guides the student on where to focus across different camera views (spatial) and which features to prioritize from previous frames (temporal).
- BEV Response Distillation: By averaging the absolute values of BEV embeddings across channels, the model generates a "response map." The student aligns its map with the teacher's, learning to identify high-probability regions for object presence in 3D space.
- Weight-Inheriting: To address noisy distillation caused by differing inputs, the student "inherits" fixed BEV queries and positional encodings from the pre-trained teacher. Freezing these parameters ensures both models interpret the 3D environment through a consistent lens.
Experimental Results
The framework was evaluated on the nuScenes dataset, a large-scale benchmark featuring 1,000 driving scenes and 1.4 million annotated 3D bounding boxes. Testing involved various student-teacher pairs, such as a ResNet-50 student learning from a ResNeXt-101 teacher.
Performance and Efficiency
The SKD method consistently outperformed standard training and other popular KD techniques. Key results include:
- Accuracy: An average improvement of 2.16 mAP and 2.27 NDS (NuScenes Detection Score) over non-distilled baselines.
- Efficiency: The distilled student achieved a 2.74× speedup and 4.97× parameter reduction compared to the heavy teacher model, while maintaining superior detection performance.
- Query Stability: Weight-inheriting alone provided a nearly 1 mAP boost, proving that consistent query initialization is vital for effective distillation in transformer architectures.
Conclusion and Future Work
Structured Knowledge Distillation effectively compresses multi-view 3D detectors for edge deployment. By distilling the "logic" of attention and response maps rather than just final predictions, the student model captures the teacher's reasoning. While currently optimized for transformer-based models like BEVFormer, future research could adapt these structured principles to other BEV projection styles or extend them to downstream tasks like motion prediction and occupancy mapping.
Summary updated