[Paper Review] Rethinking Training from Scratch for Object Detection
This paper proposes direct detection pre-training, a novel training pipeline that pre-trains object detectors directly on target detection datasets using low-resolution images before fine-tuning with high-resolution inputs. By enabling batch normalization with large batch sizes during pre-training, it accelerates pre-training by over 11x on COCO while achieving +1.8 mAP compared to ImageNet pre-training, and works efficiently even on limited GPU memory (11GB).
The ImageNet pre-training initialization is the de-facto standard for object detection. He et al. found it is possible to train detector from scratch(random initialization) while needing a longer training schedule with proper normalization technique. In this paper, we explore to directly pre-training on target dataset for object detection. Under this situation, we discover that the widely adopted large resizing strategy e.g. resize image to (1333, 800) is important for fine-tuning but it's not necessary for pre-training. Specifically, we propose a new training pipeline for object detection that follows `pre-training and fine-tuning', utilizing low resolution images within target dataset to pre-training detector then load it to fine-tuning with high resolution images. With this strategy, we can use batch normalization(BN) with large bath size during pre-training, it's also memory efficient that we can apply it on machine with very limited GPU memory(11G). We call it direct detection pre-training, and also use direct pre-training for short. Experiment results show that direct pre-training accelerates the pre-training phase by more than 11x on COCO dataset while with even +1.8mAP compared to ImageNet pre-training. Besides, we found direct pre-training is also applicable to transformer based backbones e.g. Swin Transformer. Code will be available.
Motivation & Objective
- To develop a faster and more efficient training pipeline for object detection from scratch, eliminating reliance on ImageNet pre-training.
- To address the inefficiency of training detectors from scratch, especially due to small batch sizes and memory constraints in high-resolution settings.
- To explore whether pre-training directly on the target detection dataset—using full bounding box and mask annotations—can outperform ImageNet pre-training.
- To enable effective training on limited GPU memory (e.g., 11GB per GPU) by using low-resolution pre-training with batch normalization.
- To validate the method across diverse architectures, including CNNs and Swin Transformers, and under low-data regimes.
Proposed method
- Proposes a two-stage training pipeline: pre-train on low-resolution images (e.g., 640×640) from the target dataset using batch normalization and large batch sizes.
- Fine-tunes the pre-trained model on high-resolution images (e.g., 1333×800) using standard detection training protocols.
- Leverages the full supervision of bounding box and mask annotations during pre-training, unlike prior methods that use only classification labels.
- Avoids complex modules like group normalization or synchronized batch normalization, maintaining simplicity and efficiency.
- Uses standard detection heads and backbones (e.g., ResNeXt, Swin Transformer) without architectural modifications.
- Employs a coarse-to-fine strategy where low-res pre-training improves initialization quality for high-res fine-tuning.
Experimental results
Research questions
- RQ1Can direct pre-training on the target detection dataset outperform ImageNet pre-training in terms of both speed and accuracy for object detection?
- RQ2Is it feasible to use batch normalization with large batch sizes during pre-training when using low-resolution images from the target dataset?
- RQ3Does direct pre-training remain effective when applied to transformer-based backbones like Swin Transformer?
- RQ4How does direct pre-training perform under low-data regimes (e.g., 1/10 COCO, PASCAL VOC)?
- RQ5Can direct pre-training be efficiently deployed on hardware with limited GPU memory (e.g., 11GB per GPU) without requiring specialized hardware?
Key findings
- Direct pre-training accelerates the pre-training phase by over 11x on COCO compared to standard training from scratch, while achieving +1.8 mAP over ImageNet pre-training.
- The method achieves faster training and inference: training time per iteration is 0.424s (vs. 0.478s for ImageNet) and inference speed is 8.6 fps on 1080Ti, matching ImageNet fine-tuning.
- On COCO, direct pre-training outperforms ImageNet pre-training across multiple detectors: RetinaNet (+0.6 mAP), Faster R-CNN (+1.9 mAP), Cascade R-CNN (+1.2 mAP), and Mask R-CNN with Swin-T (+1.2 mAP).
- The method is memory-efficient and works on 8×2080Ti GPUs (11GB per GPU), avoiding the need for TPU or high-memory setups required by prior methods.
- Direct pre-training is effective on Swin Transformer, achieving 45.0 mAP on COCO with Swin-T, outperforming the ImageNet pre-trained baseline (43.8 mAP).
- Under low-data settings (1/10 COCO), direct pre-training still outperforms ImageNet pre-training (23.2 vs. 22.1 mAP), but on PASCAL VOC, ImageNet pre-training remains superior, indicating limitations in very small datasets.
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.