Skip to main content
QUICK REVIEW

[Paper Review] TKD: Temporal Knowledge Distillation for Active Perception

Mohammad Farhadi, Yezhou Yang|arXiv (Cornell University)|Mar 4, 2019
Advanced Neural Network ApplicationsComputer Science47 references9 citations
TL;DR

TKD proposes a temporal knowledge distillation framework that transfers dynamic, context-aware knowledge from a heavy object detection model to a lightweight student model using LSTM-based key frame selection and a teacher-bounded loss function. This enables real-time inference at ~220 FPS while maintaining accuracy close to the oracle model, especially in domain-adaptive scenarios like indoor and outdoor environments.

ABSTRACT

Deep neural networks based methods have been proved to achieve outstanding performance on object detection and classification tasks. Despite significant performance improvement, due to the deep structures, they still require prohibitive runtime to process images and maintain the highest possible performance for real-time applications. Observing the phenomenon that human vision system (HVS) relies heavily on the temporal dependencies among frames from the visual input to conduct recognition efficiently, we propose a novel framework dubbed as TKD: temporal knowledge distillation. This framework distills the temporal knowledge from a heavy neural networks based model over selected video frames (the perception of the moments) to a light-weight model. To enable the distillation, we put forward two novel procedures: 1) an Long-short Term Memory (LSTM) based key frame selection method; and 2) a novel teacher-bounded loss design. To validate, we conduct comprehensive empirical evaluations using different object detection methods over multiple datasets including Youtube-Objects and Hollywood scene dataset. Our results show consistent improvement in accuracy-speed trad-offs for object detection over the frames of the dynamic scene, compare to other modern object recognition methods.

Motivation & Objective

  • To address the high computational cost and slow inference of deep neural networks in real-time robotic perception.
  • To leverage temporal dependencies in video sequences, inspired by human visual system adaptation, to improve efficiency and accuracy.
  • To enable lightweight models to adapt dynamically to changing visual domains (e.g., indoor vs. outdoor) without retraining.
  • To design a knowledge distillation method that preserves temporal context and reduces false positives during student model training.
  • To achieve high accuracy-speed trade-offs suitable for embedded and mobile robotic systems.

Proposed method

  • A Long-Short Term Memory (LSTM)-based key frame selection module identifies salient frames for distillation, focusing on scene transitions and environmental changes.
  • A novel teacher-bounded loss function is introduced to stabilize knowledge transfer, with a hyperparameter λ tuned empirically to 0.4 for optimal balance between precision and recall.
  • The framework performs end-to-end training, transferring temporal context and appearance distribution knowledge from the oracle (teacher) model to the student model.
  • The student model is trained only on selected key frames, reducing computational load while preserving recognition performance.
  • The loss function is computationally efficient, with constant execution time, unlike methods based on Non-Maximum Suppression that scale linearly with object count.
  • The method enables domain adaptation: when tested on a new episode of a TV series without retraining, precision improved by 6% over the baseline student model.

Experimental results

Research questions

  • RQ1Can temporal knowledge distillation improve the accuracy-speed trade-off in real-time object detection for mobile robotics?
  • RQ2How can temporal dependencies in video sequences be effectively leveraged to enhance lightweight model performance?
  • RQ3Can a lightweight model dynamically adapt to new visual domains (e.g., indoor to outdoor) using knowledge from a heavy oracle model?
  • RQ4What loss function design enables fast, stable, and accurate distillation without excessive false positive generation?
  • RQ5How does key frame selection based on scene changes improve distillation efficiency and model generalization?

Key findings

  • TKD achieves a throughput of approximately 220 images per second, enabling real-time inference on resource-constrained systems.
  • The method improves precision by 6% when tested on a new episode of the Office TV series without retraining, demonstrating strong domain adaptation.
  • With λ = 0.4, the teacher-bounded loss achieves the best balance, avoiding both excessive false positives and overfitting to oracle model noise.
  • The proposed loss function has constant computational cost, unlike the NMS-based loss in Mehta et al., which scales linearly with the number of detected objects.
  • Key frame selection based on LSTM improves model stability and performance compared to static frame selection strategies, especially during scene transitions.
  • TKD maintains high recall for unseen objects, indicating that the model generalizes well beyond the training domain.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.