Skip to main content
QUICK REVIEW

[Paper Review] General Instance Distillation for Object Detection

Xing Dai, Zeren Jiang|arXiv (Cornell University)|Mar 3, 2021
Advanced Neural Network ApplicationsComputer Science34 references6 citations
TL;DR

This paper proposes General Instance Distillation (GID), a novel knowledge distillation framework for object detection that selects discriminative instances—regardless of ground truth labels—for distillation. By leveraging feature-based, relation-based, and response-based knowledge from these general instances, GID improves student model performance across diverse detection frameworks, achieving 39.1% mAP on COCO with RetinaNet-Res50, surpassing both the baseline and a ResNet-101 teacher model.

ABSTRACT

In recent years, knowledge distillation has been proved to be an effective solution for model compression. This approach can make lightweight student models acquire the knowledge extracted from cumbersome teacher models. However, previous distillation methods of detection have weak generalization for different detection frameworks and rely heavily on ground truth (GT), ignoring the valuable relation information between instances. Thus, we propose a novel distillation method for detection tasks based on discriminative instances without considering the positive or negative distinguished by GT, which is called general instance distillation (GID). Our approach contains a general instance selection module (GISM) to make full use of feature-based, relation-based and response-based knowledge for distillation. Extensive results demonstrate that the student model achieves significant AP improvement and even outperforms the teacher in various detection frameworks. Specifically, RetinaNet with ResNet-50 achieves 39.1% in mAP with GID on COCO dataset, which surpasses the baseline 36.2% by 2.9%, and even better than the ResNet-101 based teacher model with 38.1% AP.

Motivation & Objective

  • To address the limited generalization of existing knowledge distillation methods across different object detection frameworks.
  • To overcome reliance on ground truth annotations and the imbalance between positive and negative instances in detection distillation.
  • To improve student model performance by leveraging not only positive instances but also informative background patches.
  • To develop a distillation method that is robust across one-stage, two-stage, and anchor-free detection architectures.

Proposed method

  • Introduce General Instances (GIs) as distillation targets, selected based on model outputs from both teacher and student networks without relying on ground truth.
  • Design a General Instance Selection Module (GISM) that adaptively identifies the most discriminative instances using response, feature, and relation-based similarity between teacher and student predictions.
  • Integrate three types of knowledge: response-based (logits), feature-based (intermediate activations), and relation-based (pairwise instance interactions) for distillation.
  • Apply knowledge distillation losses using a weighted combination of response, feature, and relation losses to transfer knowledge from teacher to student.
  • Use a top-K selection strategy in GISM to control the number of selected GIs, balancing informative instances and training efficiency.
  • Ensure framework-agnostic design by avoiding dependency on specific components like anchors or RPNs, enabling broad applicability.

Experimental results

Research questions

  • RQ1Can knowledge distillation in object detection be made effective without relying on ground truth annotations or positive/negative instance distinctions?
  • RQ2How does the inclusion of relation-based knowledge between instances improve distillation performance in object detection?
  • RQ3To what extent can informative background patches (negative instances) contribute to student model generalization?
  • RQ4Does the performance of distillation vary across different detection frameworks, and can a unified method generalize across them?
  • RQ5What is the optimal number of selected general instances (top-K) for maximizing distillation efficiency and model accuracy?

Key findings

  • The student model with GID achieves 39.1% mAP on COCO using RetinaNet-Res50, outperforming the baseline (36.2%) and even surpassing the ResNet-101-based teacher model (38.1% mAP).
  • Distilling only from negative instances (background patches) still improves performance, demonstrating that informative background knowledge is valuable and often overlooked.
  • The combination of feature-based, relation-based, and response-based knowledge yields the best performance, with feature and response knowledge contributing ~1.7 mAP gains each.
  • The optimal top-K for GISM lies between 10 and 100; performance degrades when K exceeds 100 due to inclusion of trivial or uninformative instances.
  • Even a subset of GT instances selected by GISM outperforms distillation on all GT instances, indicating that extreme hard or simple samples can harm distillation.
  • The proportion of positive distillation instances decreases over training, while performance gains in later stages are primarily driven by discriminative background and key patch features.

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.