Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Dual Relation Knowledge Distillation for Object Detection

About

Knowledge distillation is an effective method for model compression. However, it is still a challenging topic to apply knowledge distillation to detection tasks. There are two key points resulting in poor distillation performance for detection tasks. One is the serious imbalance between foreground and background features, another one is that small object lacks enough feature representation. To solve the above issues, we propose a new distillation method named dual relation knowledge distillation (DRKD), including pixel-wise relation distillation and instance-wise relation distillation. The pixel-wise relation distillation embeds pixel-wise features in the graph space and applies graph convolution to capture the global pixel relation. By distilling the global pixel relation, the student detector can learn the relation between foreground and background features, and avoid the difficulty of distilling features directly for the feature imbalance issue. Besides, we find that instance-wise relation supplements valuable knowledge beyond independent features for small objects. Thus, the instance-wise relation distillation is designed, which calculates the similarity of different instances to obtain a relation matrix. More importantly, a relation filter module is designed to highlight valuable instance relations. The proposed dual relation knowledge distillation is general and can be easily applied for both one-stage and two-stage detectors. Our method achieves state-of-the-art performance, which improves Faster R-CNN based on ResNet50 from 38.4% to 41.6% mAP and improves RetinaNet based on ResNet50 from 37.4% to 40.3% mAP on COCO 2017.

Zhenliang Ni, Fukui Yang, Shengzhao Wen, Gang Zhang• 2023

Related benchmarks

TaskDatasetResultRank
Object DetectionLLVIP (test)
mAP5094.6
85
Personalized Object DetectionPerSeg 1-shot
mAP53.5
13
Personalized Object DetectionCORe50 1-shot
mAP57.7
13
Personalized Object DetectioniCubWorld 1-shot
mAP59.7
13
Personalized Object DetectionCORe50 5-shot
mAP64.8
13
Personalized Object DetectioniCubWorld 5-shot
mAP69.7
13
Personalized Object DetectionPOD 5-shot
mAP24.7
13
Showing 7 of 7 rows

Other info

Follow for update