Knowledge Distillation for Object Detection via Rank Mimicking and Prediction-Guided Feature Imitation
Gang Li, Xiang Li, Yujie Wang, Shanshan Zhang, Yichao Wu, Ding Liang
Abstract
Knowledge Distillation (KD) is a widely-used technology to inherit information from cumbersome teacher models to compact student models, consequently realizing model compression and acceleration. Compared with image classification, object detection is a more complex task, and designing specific KD methods for object detection is non-trivial. In this work, we elaborately study the behaviour difference between the teacher and student detection models, and obtain two intriguing observations: First, the teacher and student rank their detected candidate boxes quite differently, which results in their precision discrepancy. Second, there is a considerable gap between the feature response differences and prediction differences between teacher and student, indicating that equally imitating all the feature maps of the teacher is the sub-optimal choice for improving the student's accuracy. Based on the two observations, we propose Rank Mimicking (RM) and Prediction-guided Feature Imitation (PFI) for distilling one-stage detectors, respectively. RM takes the rank of candidate boxes from teachers as a new form of knowledge to distill, which consistently outperforms the traditional soft label distillation. PFI attempts to correlate feature differences with prediction differences, making feature imitation directly help to improve the student's accuracy. On MS COCO and PASCAL VOC benchmarks, extensive experiments are conducted on various detectors with different backbones to validate the effectiveness of our method. Specifically, RetinaNet with ResNet50 achieves 40.4% mAP on MS COCO, which is 3.5% higher than its baseline, and also outperforms previous KD methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- VarifocalNet: An IoU-Aware Dense Object Detector cites Bridging the Gap Between Anchor-Based and Anchor-Free Detection via Adaptive Training Sample Selection
- VarifocalNet: An IoU-Aware Dense Object Detector cites FCOS: Fully Convolutional One-Stage Object Detection
- VarifocalNet: An IoU-Aware Dense Object Detector cites Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
- PKD: General Distillation Framework for Object Detectors via Pearson Correlation Coefficient cites FCOS: Fully Convolutional One-Stage Object Detection
- PKD: General Distillation Framework for Object Detectors via Pearson Correlation Coefficient cites General Instance Distillation for Object Detection
- PKD: General Distillation Framework for Object Detectors via Pearson Correlation Coefficient cites Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
- CrossKD: Cross-Head Knowledge Distillation for Object Detection cites PKD: General Distillation Framework for Object Detectors via Pearson Correlation Coefficient
- CrossKD: Cross-Head Knowledge Distillation for Object Detection cites Bridging the Gap Between Anchor-Based and Anchor-Free Detection via Adaptive Training Sample Selection
- CrossKD: Cross-Head Knowledge Distillation for Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
- CrossKD: Cross-Head Knowledge Distillation for Object Detection cites General Instance Distillation for Object Detection
- CrossKD: Cross-Head Knowledge Distillation for Object Detection cites Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
- CrossKD: Cross-Head Knowledge Distillation for Object Detection cites Curriculum Temperature for Knowledge Distillation
- Bridging the Gap Between Anchor-Based and Anchor-Free Detection via Adaptive Training Sample Selection cites FCOS: Fully Convolutional One-Stage Object Detection
- General Instance Distillation for Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
- Logit Standardization in Knowledge Distillation cites Curriculum Temperature for Knowledge Distillation
- Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection cites Bridging the Gap Between Anchor-Based and Anchor-Free Detection via Adaptive Training Sample Selection
- Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
- Bridging Cross-task Protocol Inconsistency for Distillation in Dense Object Detection cites PKD: General Distillation Framework for Object Detectors via Pearson Correlation Coefficient
- Bridging Cross-task Protocol Inconsistency for Distillation in Dense Object Detection cites Bridging the Gap Between Anchor-Based and Anchor-Free Detection via Adaptive Training Sample Selection
- Bridging Cross-task Protocol Inconsistency for Distillation in Dense Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
- Bridging Cross-task Protocol Inconsistency for Distillation in Dense Object Detection cites General Instance Distillation for Object Detection
- Bridging Cross-task Protocol Inconsistency for Distillation in Dense Object Detection cites Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
- Curriculum Temperature for Knowledge Distillation cites Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
Cited by top-tier papers16
- Curriculum Temperature for Knowledge DistillationZheng Li, Xiang Li, Lingfeng Yang, Borui Zhao et al.AAAI 2023 · 277 citations
- Logit Standardization in Knowledge DistillationShangquan Sun, Wenqi Ren, Jingzhi Li, Rui Wang et al.CVPR 2024 · 183 citations
- PKD: General Distillation Framework for Object Detectors via Pearson Correlation CoefficientWeihan Cao, Yifan Zhang, Jianfei Gao, Anda Cheng et al.NeurIPS 2022 · 147 citations
- CrossKD: Cross-Head Knowledge Distillation for Object DetectionJiabao Wang, Yuming Chen, Zhaohui Zheng, Xiang Li et al.CVPR 2024 · 93 citations
- Bridging Cross-task Protocol Inconsistency for Distillation in Dense Object DetectionLongrong Yang, Xianpan Zhou, Xuewei Li, Liang Qiao et al.ICCV 2023 · 51 citations
Builds on8
- FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
- Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object DetectionXiang Li, Wenhai Wang, Lijun Wu, Shuo Chen et al.NeurIPS 2020 · 2,118 citations
- VarifocalNet: An IoU-Aware Dense Object DetectorHaoyang Zhang, Ying Wang, Feras Dayoub, Niko SünderhaufCVPR 2021
- Bridging the Gap Between Anchor-Based and Anchor-Free Detection via Adaptive Training Sample SelectionShifeng Zhang, Cheng Chi, Yongqiang Yao, Zhen Lei et al.CVPR 2020
- General Instance Distillation for Object DetectionXing Dai, Zeren Jiang, Zhao Wu, Yiping Bao et al.CVPR 2021
Related papers
- G-DetKD: Towards General Distillation Framework for Object Detectors via Contrastive and Semantic-guided Feature ImitationLewei Yao, Renjie Pi, Hang Xu, Wei Zhang et al.ICCV 2021 · 48 citations
- Improve Object Detection with Feature-based Knowledge Distillation: Towards Accurate and Efficient DetectorsLinfeng Zhang, Kaisheng MaICLR 2021 · 251 citations
- Localization Distillation for Dense Object DetectionZhaohui Zheng, Rongguang Ye, Ping Wang, Dongwei Ren et al.CVPR 2022 · 177 citations
- Focal and Global Knowledge Distillation for DetectorsZhendong Yang, Zhe Li, Xiaohu Jiang, Yuan Gong et al.CVPR 2022 · 325 citations
- Distilling Object Detectors with Feature RichnessZhixing Du, Rui Zhang, Ming Chang, Xishan Zhang et al.NeurIPS 2021 · 107 citations
