Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Knowledge Distillation for Object Detection

Amin Banitalebi-Dehkordi|arXiv (Cornell University)|May 22, 2021
Advanced Neural Network ApplicationsComputer Science39 references6 citations
TL;DR

This paper proposes a decoupled knowledge distillation framework for object detection that trains a student model first on pseudo-labels from a teacher model using unlabeled data, then fine-tunes it with labeled data. The method enables improved performance with less labeled data, supports multi-teacher distillation across non-overlapping object classes, and enables domain adaptation, achieving 62.69% mAP on COCO with only 20% of the labels when combined with unlabeled data.

ABSTRACT

The existing solutions for object detection distillation rely on the availability of both a teacher model and ground-truth labels. We propose a new perspective to relax this constraint. In our framework, a student is first trained with pseudo labels generated by the teacher, and then fine-tuned using labeled data, if any available. Extensive experiments demonstrate improvements over existing object detection distillation algorithms. In addition, decoupling the teacher and ground-truth distillation in this framework provides interesting properties such: as 1) using unlabeled data to further improve the student's performance, 2) combining multiple teacher models of different architectures, even with different object categories, and 3) reducing the need for labeled data (with only 20% of COCO labels, this method achieves the same performance as the model trained on the entire set of labels). Furthermore, a by-product of this approach is the potential usage for domain adaptation. We verify these properties through extensive experiments.

Motivation & Objective

  • To address the limitation of existing object detection distillation methods that require both teacher models and ground-truth labels during training.
  • To enable effective distillation when only a pre-trained teacher model is available, without access to full labeled datasets.
  • To explore the feasibility of combining multiple teacher models with different architectures and object categories for student training.
  • To investigate the role of unlabeled data in improving student generalization beyond supervised fine-tuning.
  • To evaluate the method’s potential for domain adaptation in low-resource or domain-shifted settings.

Proposed method

  • The student model is first trained on pseudo-labels generated by the teacher model using a pool of unlabeled data, decoupling distillation from ground-truth supervision.
  • Pseudo-labels are generated by forwarding unlabeled images through the teacher model, producing bounding boxes, confidence scores, and class probabilities.
  • The student is trained using a distillation loss that matches the teacher’s outputs in terms of box predictions, confidence scores, and class probabilities.
  • Feature matching and imitation masking are used during the pseudo-labeling phase to improve the quality of the generated labels.
  • After unsupervised distillation, the student is fine-tuned on a subset of labeled data, if available, to further improve performance.
  • For multi-teacher distillation, predictions from multiple teachers are aggregated using an 'affirmative' strategy, where any agreement among teachers is considered valid, even across non-overlapping classes.

Experimental results

Research questions

  • RQ1Can distillation performance be improved by first training the student on pseudo-labels from a teacher before fine-tuning on labeled data?
  • RQ2Does using unlabeled data during distillation lead to measurable performance gains in object detection?
  • RQ3Can multiple teacher models with different architectures and object categories be effectively combined to train a single student model?
  • RQ4To what extent can this framework support domain adaptation when labeled data in the target domain is scarce or unavailable?
  • RQ5How do techniques like feature matching, imitation masking, and box matching affect the final detection performance in the proposed framework?

Key findings

  • Using only 20% of the COCO training labels, the proposed method achieves a mean mAP of 62.69% when combined with unlabeled data, matching the performance of a model trained on the full dataset.
  • The method improves mAP by 2.6% on average when fine-tuning on labeled data after unsupervised distillation from multiple teachers, compared to training without distillation.
  • With three teachers detecting non-overlapping object classes (Person-Car, Car-Cat, Person-Bicycle), the student model achieves 60.08% mAP after fine-tuning on COCO, outperforming the baseline of 52.50% from distillation alone.
  • In domain adaptation, the method achieves 45.78% mAP on night-time images after distillation from a day-time teacher and fine-tuning on night images, surpassing the baseline of 33.25%.
  • Applying NMS after aggregation of teacher predictions reduces performance, suggesting that noisy pseudo-labels help the student learn more robust features.
  • The method enables effective distillation from multiple teachers with different architectures and object categories, even when there is no class overlap, by using an affirmative aggregation strategy.

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.