Abstract
HarmoDistill is a novel knowledge distillation (KD) framework designed to bridge the performance gap between high-capacity 3D object detection models and lightweight versions suitable for real-time autonomous driving. By harmonizing attention fields through a balanced global distillation strategy and local feature reconstruction in Bird’s-Eye View (BEV) space, HarmoDistill achieves a +4.64 NDS boost on the nuScenes dataset while maintaining high computational efficiency.
Introduction
Multi-view 3D object detection has increasingly adopted Transformer-based architectures. While these models offer high accuracy, their computational demands often exceed the capabilities of edge devices in autonomous vehicles. Knowledge Distillation (KD) provides a pathway to compress these models, but 3D detection presents unique challenges: inconsistent attention fields between teacher and student, feature sparsity in 3D space, and the difficulty of capturing "dark knowledge" from sparse, unordered queries.
Methodology
The HarmoDistill framework addresses these challenges through three primary innovations:
Global Feature Balance Distillation (BKL)
Standard KL divergence often struggles with the sparse features typical of 3D detection. HarmoDistill introduces Balanced KL (BKL), which combines forward KL (for mode-covering) and reverse KL (for mode-seeking). A dynamic weighting mechanism shifts focus from identifying specific object locations early in training to refining the overall feature distribution later.
Local Feature Reconstruction
To align unordered 3D queries, the authors employ a one-to-many matching strategy to identify high-value queries. These are then projected into a sparse BEV space for targeted distillation.
The Adapter Module
Projected 3D features are inherently "pillar-like" and discontinuous. HarmoDistill utilizes an adapter module with Gaussian smoothing to create a denser, continuous representation, making the teacher's spatial knowledge more accessible for the student model to replicate.
Key Insights and Ideas
The core philosophy of HarmoDistill is that where a model attends is as vital as what it detects. By aligning the "attention fields," a compact student model can emulate the sophisticated reasoning of a larger teacher.
The BKL loss functions as a curriculum, guiding the student from basic object localization to complex semantic understanding. Furthermore, the use of Gaussian smoothing in the Adapter module overcomes the inherent sparsity of 3D data, facilitating effective knowledge transfer.
Experimental Results
Evaluated on the nuScenes benchmark (1.4 million annotated 3D boxes), HarmoDistill demonstrated significant improvements:
- Performance Boost: Improved the RayDN-R18 baseline by 4.64 NDS and 4.99 mAP.
- Efficiency: Achieved 52.33 NDS with only 57.8 GFLOPs, representing a 2–10x reduction in complexity compared to state-of-the-art models like BEVFormer.
- Generalization: The framework proved effective across multiple architectures, including StreamPETR and RayDN.
Conclusion and Future Work
HarmoDistill successfully harmonizes attention fields to enable high-performance, real-time 3D detection on edge devices. Future research directions include cross-modality distillation (e.g., LiDAR to camera), applying attention-alignment to semi-supervised learning, and further refining temporal dynamics in video-based detection.
Summary updated