[Paper Review] MimicDet: Bridging the Gap Between One-Stage and Two-Stage Object Detection
MimicDet proposes a novel one-stage object detection framework that bridges the accuracy gap between one-stage and two-stage detectors by training a single network with shared backbone and dual heads—one one-stage (student) and one two-stage (teacher)—to directly mimic high-quality two-stage features. It achieves 46.1 mAP on COCO with ResNeXt-101-64×4d, surpassing state-of-the-art one-stage detectors while enabling end-to-end training without pre-training a separate teacher network.
Modern object detection methods can be divided into one-stage approaches and two-stage ones. One-stage detectors are more efficient owing to straightforward architectures, but the two-stage detectors still take the lead in accuracy. Although recent work try to improve the one-stage detectors by imitating the structural design of the two-stage ones, the accuracy gap is still significant. In this paper, we propose MimicDet, a novel and efficient framework to train a one-stage detector by directly mimic the two-stage features, aiming to bridge the accuracy gap between one-stage and two-stage detectors. Unlike conventional mimic methods, MimicDet has a shared backbone for one-stage and two-stage detectors, then it branches into two heads which are well designed to have compatible features for mimicking. Thus MimicDet can be end-to-end trained without the pre-train of the teacher network. And the cost does not increase much, which makes it practical to adopt large networks as backbones. We also make several specialized designs such as dual-path mimicking and staggered feature pyramid to facilitate the mimicking process. Experiments on the challenging COCO detection benchmark demonstrate the effectiveness of MimicDet. It achieves 46.1 mAP with ResNeXt-101 backbone on the COCO test-dev set, which significantly surpasses current state-of-the-art methods.
Motivation & Objective
- To close the persistent accuracy gap between one-stage and two-stage object detectors despite the efficiency advantages of one-stage methods.
- To overcome the limitations of conventional knowledge distillation in object detection, where teacher and student networks are heterogeneous and require pre-training.
- To enable end-to-end training of a one-stage detector by directly mimicking two-stage features without pre-training a separate teacher model.
- To design a practical and efficient framework that supports large backbones and maintains high inference speed.
- To address feature misalignment and class imbalance issues in one-stage detectors through structural and feature-level mimicking.
Proposed method
- A shared backbone is used for both one-stage (student) and two-stage (teacher) detection heads, enabling joint optimization and eliminating the need for pre-training a separate teacher.
- The two-stage head (T-head) is designed with a large parameter count and uses RoIAlign-like operations to extract high-quality, location-consistent features for sparse proposals.
- The one-stage head (S-head) performs dense prediction across all anchor boxes, maintaining efficiency and speed.
- Guided deformable convolutions are employed to align features between the student and teacher heads, reducing spatial misalignment caused by different proposal sampling strategies.
- Dual-path mimicking and staggered feature pyramid are introduced to enhance feature transfer and improve the fidelity of knowledge distillation.
- The framework supports end-to-end training with no additional inference cost, enabling efficient use of large backbones like ResNeXt-101.
Experimental results
Research questions
- RQ1Can a one-stage detector achieve two-stage-level accuracy by directly mimicking two-stage features without pre-training a teacher model?
- RQ2How can feature misalignment between one-stage and two-stage detectors be effectively mitigated during knowledge distillation?
- RQ3Can a unified training framework with shared backbone and dual heads outperform existing one-stage detectors in accuracy while maintaining inference efficiency?
- RQ4What is the impact of architectural components like dual-path mimicking and staggered feature pyramids on distillation performance?
- RQ5How does the training efficiency of MimicDet compare to conventional knowledge distillation pipelines with separate teacher-student training?
Key findings
- MimicDet achieves 46.1 mAP on COCO test-dev using ResNeXt-101-64×4d, significantly outperforming state-of-the-art one-stage detectors such as FCOS (43.2 mAP) and AlignDet (42.0 mAP).
- With ResNet-101, MimicDet achieves 44.4 mAP, surpassing RetinaNet (39.1 mAP) and FSAF (40.9 mAP) under the same backbone and input size.
- The framework reduces training time by about 50% compared to a separated backbone baseline, achieving 22 hours for ResNet-101 vs. 47 hours with separate training.
- On a single TITAN V GPU, MimicDet runs at 23 FPS with 38.7 mAP using ResNet-50 and 600px input, and 13 FPS with 41.8 mAP using ResNet-101 and 800px input.
- The speed-accuracy trade-off is favorable: increasing input size from 600 to 800px improves mAP by 3.1 points (38.7 to 41.8) with only a 19ms latency increase.
- The ablation study confirms that dual-path mimicking and staggered feature pyramid significantly improve distillation performance, especially in reducing feature misalignment and enhancing proposal quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.