Introduction
The advancement of deep learning has revolutionized object detection, yet the resulting models—such as VGG or ResNet—remain computationally expensive and memory-intensive. This poses a significant challenge for deployment on edge devices or embedded systems. While existing compression techniques like pruning, group convolutions (e.g., MobileNet), and standard quantization are effective for moderate compression, they struggle with "very tiny" networks. The authors define these as models where the number of channels in every layer is reduced to 1/16th or less of the original. At this extreme scale, the network's representation capacity is so limited that it cannot easily converge on the complex feature distributions required for accurate detection.
Methodology: Quantization as a Guide
To address the capacity bottleneck of tiny networks, the authors introduce Quantization Mimic. This framework combines knowledge distillation (mimicry) with feature map quantization to guide the student network's learning process.
Mimicry and RoI Focus
The student network is trained using an $L_2$ loss to match the feature maps of a high-performance, full-precision teacher network. To optimize for detection tasks, the authors employ RoI (Region of Interest) Mimicry, which focuses on matching features specifically within proposal boxes. This ensures the student prioritizes the most critical information for object localization and classification.
Discretizing the Search Space
The core novelty lies in quantizing the feature maps of both the teacher and the student during the training phase. Instead of attempting to match the teacher's full-precision, continuous feature maps, the student aims for a quantized representation.
The authors utilize uniform quantization, arguing that for detection, capturing "strong responses" (large values) is more vital than fine-grained detail in smaller values. This discretization effectively "weakens" the matching condition: the student network no longer needs to reach an exact point in a continuous high-dimensional space. Instead, it only needs its feature manifold to intersect a "cube" or "bin" in the quantized space.
Key Insights: The Manifold Intersection
The theoretical justification for Quantization Mimic is based on the concept of manifold intersection. A "very tiny" student network can be viewed as a low-dimensional manifold. In a continuous high-dimensional space, the probability of this manifold matching a specific signal from a large teacher network is extremely low. However, by discretizing the space through quantization, the target becomes a set of discrete bins.
This approach acts as a powerful form of regularization, simplifying the optimization landscape and allowing low-capacity models to converge on useful features that would otherwise be unreachable.
Experimental Results
The authors evaluated Quantization Mimic on benchmarks including WIDER FACE and Pascal VOC, demonstrating its ability to achieve extreme compression with minimal accuracy loss.
- Extreme Compression: For a VGG-based R-FCN, the model size was reduced from 79.8MB to just 0.132MB—a ~600x reduction. Inference speed improved from 103.6ms to 9.6ms on a Titan X.
- Accuracy Gains: On the WIDER FACE (Easy) subset, a VGG-1-32 model trained from scratch achieved 71.3 AP. With Quantization Mimic, performance rose to 73.9 AP.
- Comparison with SOTA: On Pascal VOC, a ResNet18-1-16 model using Quantization Mimic achieved 47.0 mAP, significantly outperforming scratch training (40.5 mAP) and standard mimicry without quantization (44.6 mAP).
Conclusion
Quantization Mimic provides a robust framework for training "very tiny" detectors that are otherwise difficult to optimize. By leveraging quantization as a training guide rather than just a deployment step, the method effectively bridges the capacity gap between large teacher models and extremely small student models. Future work may explore the sensitivity of the mimicry loss weight ($\lambda$) and extend the approach to one-stage detectors like YOLO or SSD.
Summary updated