Distilling Future Temporal Knowledge with Masked Feature Reconstruction for 3D Object Detection

Haowen Zheng, Hu Zhu, Lu Deng, Weihao Gu, Yang Yang, Yanyan Liang · DOI

Abstract

Efficient 3D object detection in autonomous driving requires balancing high accuracy with real-time performance. While temporal information is vital for handling occlusions and motion, processing long-term sequences is computationally expensive. This paper introduces TempDistiller, a novel knowledge distillation framework that enables lightweight student models to leverage long-term temporal context from a teacher model without the associated inference overhead. By integrating Masked Temporal Feature Reconstruction (TFR) and Temporal Relational Distillation (TRD), TempDistiller achieves significant improvements in detection accuracy and velocity estimation on the nuScenes benchmark.

Introduction

3D object detection in Bird’s-Eye-View (BEV) has become the gold standard for autonomous navigation. To accurately detect moving objects and manage occlusions, models must integrate information across multiple camera frames. However, a significant trade-off exists: increasing the temporal window improves accuracy but drastically reduces inference speed, which is unacceptable for real-time safety systems.

Existing Knowledge Distillation (KD) techniques primarily target spatial feature alignment, failing to capture the rich temporal dependencies essential for dynamic scene understanding. TempDistiller bridges this gap, allowing a student model seeing only a few frames to perform as if it had the "memory" and context of a teacher seeing many more.

Methodology

TempDistiller addresses the temporal gap through two primary novel mechanisms:

  1. Temporal Feature Reconstruction (TFR): Inspired by masked image modeling, the student's features are randomly masked. A generator is then tasked with reconstructing these missing regions. The reconstruction target is the teacher's temporally aggregated features, computed via Temporal Self-Attention (TSA). This forces the student to internalize the underlying temporal structures mastered by the teacher.
  2. Temporal Relational Distillation (TRD): To further refine the student's understanding of motion, TRD aligns the relational similarity of objects across frames between the student and teacher. By matching similarity matrices via KL-divergence, the student learns to track object identities and velocities more effectively.
Comparison of (a) traditional spatial distillation, (b) temporal relational distillation, and (c) masked temporal feature reconstruction.

The framework utilizes a Sparse BEV representation, which uses a fixed number of "queries" to represent objects in 3D space, making it more computationally efficient than dense grid-based methods.

Detailed architecture of the TempDistiller framework, showing the student and teacher detectors, the future-aware feature reconstruction module, and the distillation losses.

Experimental Setup and Results

The researchers evaluated TempDistiller on the nuScenes benchmark, an industry-standard dataset containing 1,000 driving scenes with full 360-degree camera coverage and 1.4 million 3D bounding boxes.

Key results include:

  • Accuracy Boost: An improvement of +1.6 mAP (mean Average Precision) and +1.1 NDS (nuScenes detection score) over the SparseBEV baseline.
  • Efficiency: By reducing the number of input frames while maintaining accuracy through distillation, the model achieved inference speeds of up to 26 FPS, a gain of approximately 6 FPS.
  • Velocity Estimation: The method achieved the lowest velocity error (mAVE) among compared methods, proving that the temporal distillation effectively captures motion dynamics.
  • Backbone Independence: A student with a smaller ResNet50 backbone achieved performance comparable to a teacher with a much larger ResNet101 backbone.

Conclusion

TempDistiller successfully bridges the performance gap between high-latency long-term temporal models and efficient real-time detectors. By treating temporal knowledge as a compressible asset, the framework allows lightweight models to "remember" long-term context. Future work may explore combining this distillation approach with recurrent architectures to handle even longer sequences without the memory overhead of parallel processing.

Summary updated

BibTeX
@inproceedings{zheng2026distilling,
  author = {Haowen Zheng and Hu Zhu and Lu Deng and Weihao Gu and Yang Yang and Yanyan Liang},
  title = {{Distilling Future Temporal Knowledge with Masked Feature Reconstruction for 3D Object Detection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i16.38343},
}
Figure