Distilling Temporal Knowledge with Masked Feature Reconstruction for 3D Object Detection
Haowen Zheng, Dong Cao, Jintao Xu, Rui Ai, Weihao Gu, Yang Yang, Yanyan Liang
TL;DR
This work tackles the efficiency-accuracy tension in camera-based BEV 3D object detection by introducing TempDistiller, a temporal knowledge distillation framework that transfers long-term temporal memory from a strong teacher to a lightweight student using masked temporal feature reconstruction on sparse BEV representations. The method also leverages temporal relational distillation when full-frame inputs are used, enabling robust velocity estimation without additional inference cost. Extensive experiments on nuScenes demonstrate consistent performance gains (e.g., higher mAP and NDS) and a notable speedup when reducing input frames, with qualitative results showing improved detection of occluded and distant objects. Overall, TempDistiller provides a practical approach to imbue lightweight detectors with long-term temporal knowledge, improving accuracy and efficiency in camera-only 3D object detection.
Abstract
Striking a balance between precision and efficiency presents a prominent challenge in the bird's-eye-view (BEV) 3D object detection. Although previous camera-based BEV methods achieved remarkable performance by incorporating long-term temporal information, most of them still face the problem of low efficiency. One potential solution is knowledge distillation. Existing distillation methods only focus on reconstructing spatial features, while overlooking temporal knowledge. To this end, we propose TempDistiller, a Temporal knowledge Distiller, to acquire long-term memory from a teacher detector when provided with a limited number of frames. Specifically, a reconstruction target is formulated by integrating long-term temporal knowledge through self-attention operation applied to feature teachers. Subsequently, novel features are generated for masked student features via a generator. Ultimately, we utilize this reconstruction target to reconstruct the student features. In addition, we also explore temporal relational knowledge when inputting full frames for the student model. We verify the effectiveness of the proposed method on the nuScenes benchmark. The experimental results show our method obtain an enhancement of +1.6 mAP and +1.1 NDS compared to the baseline, a speed improvement of approximately 6 FPS after compressing temporal knowledge, and the most accurate velocity estimation.
