Abstract
ScratchDet breaks the dependency of object detectors on ImageNet pretraining by integrating BatchNorm throughout the network and redesigning the backbone architecture. By smoothing the optimization landscape and preserving high-resolution features, it allows detectors to be trained from scratch to achieve state-of-the-art accuracy, even outperforming many models that rely on pretrained weights.
Introduction
In computer vision, the standard operating procedure involves taking a "backbone" network (like ResNet or VGG) pretrained on the ImageNet classification dataset and fine-tuning it for object detection. While effective, this approach introduces objective bias—classification favors translation invariance, while detection requires variance—and architecture rigidity. Previous attempts to train from scratch, such as DSOD, were often limited to specific architectures and struggled to match the performance of pretrained models.
Methodology: Optimization and Architecture
ScratchDet introduces two primary innovations to make training from scratch robust and high-performing: BatchNorm integration and the Root-ResNet backbone.
BatchNorm Integration and Optimization Stability
The authors discovered that the primary hurdle for training from scratch is a jagged optimization landscape. By adding Batch Normalization (BN) to every convolution layer in both the backbone and the detection heads, they smoothed this landscape. This allows for significantly higher learning rates (up to 10x), helping the model escape poor local minima and converge faster.
Root-ResNet Backbone Design
Standard ResNets use a "heavy" first layer (7x7 convolution with stride 2) followed by max-pooling, which aggressively downsamples the image and destroys fine-grained information needed for small objects. ScratchDet replaces this with a "Root Block"—three stacked 3x3 convolutions with smaller strides—preserving more spatial detail from the original image. This architectural shift ensures that early-stage resolution, the "lifeblood" of accurate detection, is maintained.
Key Insights and Results
The research highlights that adding BN to the detection subnetwork is crucial for stable gradients. Systematic analysis revealed that early-stage resolution is vital; removing the initial downsampling operation in ResNet-18 (changing stride 2 to stride 1) provided a massive boost in mAP.
ScratchDet was evaluated on PASCAL VOC and MS COCO benchmarks with impressive results:
- PASCAL VOC 2007: Achieved 80.4% mAP, outperforming pretrained SSD300 (77.2%) and previous "from scratch" models.
- MS COCO: Reached 39.1% AP, surpassing prominent pretrained models like Faster R-CNN and Deformable R-FCN.
- Small Object Detection: ScratchDet's performance on small objects ($AP_S$) was significantly higher than its peers, validating the Root-ResNet design.
Conclusion
While ScratchDet eliminates the need for ImageNet pretraining, it increases training time for the detection task itself (e.g., 84.6 hours vs. 29.7 hours for fine-tuning on MS COCO). However, it provides a path toward architecture flexibility and domain-specific optimization. Future work may explore deeper backbones or apply these principles to other detection frameworks beyond SSD.
Summary updated