Introduction
Knowledge distillation (KD) has emerged as a pivotal technique for compressing large, high-performance "teacher" models into smaller, efficient "student" networks. While successful in image classification, KD faces significant hurdles in object detection due to the extreme imbalance between foreground and background and the prevalence of "ambiguous" instances—objects that are small, blurry, or partially occluded. This paper introduces a novel framework that shifts the focus from noisy, instance-level "local" knowledge to a robust "global" knowledge representation.
The Challenge of Local Knowledge
Existing KD methods for object detection typically emphasize local knowledge, such as specific feature activations or spatial relations of individual instances. However, these local features are often inherently noisy. If a teacher model is uncertain about a blurry object, forcing the student to replicate that uncertainty leads to sub-optimal performance. The core challenge lies in finding a stable, "intrinsic" representation of knowledge that filters out this noise and bridges the structural gap between the teacher's and student's disparate feature spaces.
Methodology: Global Knowledge Distillation
The authors propose a framework centered on two primary modules: the Prototype Generation Module (PGM) and the Robust Distillation Module (RDM).
Prototype Generation Module (PGM)
Instead of treating every instance as an absolute source of truth, the PGM employs a dictionary learning approach to identify a small set of representative "prototypes" (basis vectors) for each object class. These prototypes serve as a "common language" between the teacher and student. They are derived by minimizing the reconstruction error of all instances across both feature spaces, ensuring that the prototypes capture the most essential, shared characteristics of the data.
Robust Distillation Module (RDM)
The RDM facilitates the transfer of knowledge through two mechanisms:
- Global KD: Instances are projected onto the shared prototypes. The student learns the relative representation of an object compared to these global benchmarks, rather than attempting to copy raw, high-dimensional feature values.
- Noise Filtering: The RDM calculates a discrepancy weight (σ). When the teacher and student exhibit significantly different representations of an instance (high discrepancy), the RDM identifies it as "noisy" and reduces its influence on the distillation loss. This prevents the student from inheriting the teacher's errors or uncertainties.
Key Insights: Alignment and Robustness
The power of this approach lies in its shift from simple copying to structural alignment. By establishing prototypes that exist in both models' "worldviews," the authors create a bridge for smoother knowledge transfer.
Furthermore, this framework introduces a "student-as-critic" logic. Unlike traditional KD, which assumes the teacher is infallible, the use of discrepancy weights allows the student to ignore unreliable teacher signals. This robustness often enables the student to generalize better than its mentor, effectively acting as a powerful regularizer.
Experimental Results
The proposed method was evaluated on the PASCAL VOC and COCO 2017 benchmarks, achieving state-of-the-art results across various architectures:
- Surpassing the Teacher: On COCO, a ResNet-50 student distilled from a ResNet-101 teacher reached 40.6 mAP, notably exceeding the teacher's own performance of 39.8 mAP. Similar results were seen with RetinaNet, where the student improved to 39.8 mAP (teacher: 38.9 mAP).
- Benchmark Performance: On PASCAL VOC, the models consistently outperformed other leading distillation methods like GID and FGFI, reaching up to 82.9 AP₅₀ on Faster R-CNN.
- Compatibility: The "global knowledge" approach is highly compatible with existing KD methods (e.g., DeFeat or RKD), providing a consistent performance boost when integrated.
Conclusion
By moving beyond local instance-level mimicry, this research demonstrates that global knowledge distillation allows compact student models to achieve, and sometimes surpass, the performance of their larger counterparts. By establishing a shared prototype space and filtering out teacher noise, the framework provides a more stable and effective path for knowledge transfer in complex tasks like object detection.
Summary updated