Skip to main content
QUICK REVIEW

[Paper Review] In Teacher We Trust: Learning Compressed Models for Pedestrian Detection

Jonathan Shen, Noranart Vesdapunt|arXiv (Cornell University)|Dec 1, 2016
Advanced Neural Network ApplicationsComputer Science4 references21 citations
TL;DR

This paper proposes a knowledge distillation framework that compresses large pedestrian detection models into small, efficient student networks by leveraging a high-dimensional hint layer, uncertainty-aware loss based on teacher confidence, and handcrafted ACF features. The method achieves a 400× parameter reduction—157K parameters—while outperforming AlexNet (57M parameters) on the Caltech dataset, with 8× faster inference and 21× lower memory usage.

ABSTRACT

Deep convolutional neural networks continue to advance the state-of-the-art in many domains as they grow bigger and more complex. It has been observed that many of the parameters of a large network are redundant, allowing for the possibility of learning a smaller network that mimics the outputs of the large network through a process called Knowledge Distillation. We show, however, that standard Knowledge Distillation is not effective for learning small models for the task of pedestrian detection. To improve this process, we introduce a higher-dimensional hint layer to increase information flow. We also estimate the variance in the outputs of the large network and propose a loss function to incorporate this uncertainty. Finally, we attempt to boost the complexity of the small network without increasing its size by using as input hand-designed features that have been demonstrated to be effective for pedestrian detection. We succeed in training a model that contains $400 imes$ fewer parameters than the large network while outperforming AlexNet on the Caltech Pedestrian Dataset.

Motivation & Objective

  • Address the inefficiency of standard knowledge distillation in pedestrian detection due to low output dimensionality (binary classification).
  • Reduce model size and inference cost for real-time pedestrian detection without sacrificing accuracy.
  • Improve knowledge distillation by incorporating uncertainty estimates from the teacher network.
  • Explore whether hand-designed features (e.g., ACF) can enhance small student networks despite deep learning's feature learning capabilities.
  • Demonstrate that a compact student model can surpass larger models like AlexNet in performance while being significantly smaller and faster.

Proposed method

  • Introduce a fully connected hint layer before the final layer of the teacher network to increase output dimensionality for distillation.
  • Estimate the variance of the teacher’s predictions using dropout at test time to model prediction uncertainty.
  • Design a novel loss function that incorporates the teacher’s predicted covariance to improve student learning.
  • Use Aggregate Channel Features (ACF) as input to the student network to boost performance without increasing model size.
  • Train the student network using a combination of soft labels (from teacher), hint layer outputs, and uncertainty-aware loss.
  • Apply knowledge distillation with multiple variants: standard KD, KD with hint, KD with confidence, and KD with both hint and confidence.

Experimental results

Research questions

  • RQ1Can standard knowledge distillation effectively compress large pedestrian detection models given the binary nature of the classification task?
  • RQ2Does introducing a high-dimensional hint layer improve knowledge distillation performance in pedestrian detection?
  • RQ3Can modeling prediction uncertainty in the teacher network lead to better student network generalization?
  • RQ4Do handcrafted features like ACF improve the performance of small student networks in pedestrian detection?
  • RQ5Can a student network with 1/400th the parameters of the teacher outperform larger models like AlexNet?

Key findings

  • The proposed method with hint layer and uncertainty-aware loss reduces the log-average miss rate to 18.0% on the Caltech dataset, outperforming standard KD and training from scratch.
  • A student model with only 157,000 parameters achieves a 4.9% lower log-average miss rate than the teacher network (63M parameters), demonstrating significant performance gain from compression.
  • The student model runs 8× faster (3ms vs. 24ms) and uses 21× less memory (240MB vs. 5.05GB) than the teacher network on a Titan X GPU.
  • Incorporating both hint layers and uncertainty modeling yields the best performance, reducing miss rate to 22.4% for the smallest model, compared to 25.2% with standard KD.
  • ACF features improve student performance when used with the hint and confidence modules, but models using RGB inputs still outperform ACF-based models, indicating RGB remains superior for deep learning features.
  • The student model achieves 8× speedup and 21× memory reduction while maintaining or improving accuracy, proving that parameter efficiency does not require performance sacrifice.

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.