[Paper Review] Instance Localization for Self-supervised Detection Pretraining
This paper proposes Instance Localization (InsLoc), a self-supervised pretext task that integrates bounding box annotations into pretraining to improve transfer performance for object detection. By pasting object instances at various scales and positions onto background images and training the model to predict instance categories with bounding box guidance, the method enhances feature alignment for detection, achieving state-of-the-art results on PASCAL VOC and COCO, especially under low-data regimes.
Prior research on self-supervised learning has led to considerable progress on image classification, but often with degraded transfer performance on object detection. The objective of this paper is to advance self-supervised pretrained models specifically for object detection. Based on the inherent difference between classification and detection, we propose a new self-supervised pretext task, called instance localization. Image instances are pasted at various locations and scales onto background images. The pretext task is to predict the instance category given the composited images as well as the foreground bounding boxes. We show that integration of bounding boxes into pretraining promotes better task alignment and architecture alignment for transfer learning. In addition, we propose an augmentation method on the bounding boxes to further enhance the feature alignment. As a result, our model becomes weaker at Imagenet semantic classification but stronger at image patch localization, with an overall stronger pretrained model for object detection. Experimental results demonstrate that our approach yields state-of-the-art transfer learning results for object detection on PASCAL VOC and MSCOCO.
Motivation & Objective
- To address the misalignment between self-supervised pretraining for image classification and downstream object detection tasks.
- To improve transfer learning performance for object detection by aligning the pretraining task with detection-specific requirements, such as spatial localization.
- To investigate whether incorporating bounding box supervision during self-supervised pretraining enhances feature alignment and detection generalization.
- To evaluate the effectiveness of spatial jittering augmentations on bounding boxes for improving representation learning.
- To demonstrate that sacrificing ImageNet classification accuracy can lead to stronger detection performance through better task and architecture alignment.
Proposed method
- Synthetic training images are created by pasting object instances (foreground crops) onto background images at various scales, aspect ratios, and positions.
- The model is trained using contrastive learning on region-of-interest (RoI) features extracted via RoIAlign using the ground-truth bounding boxes.
- The pretext task involves predicting the instance category from the composited image and its corresponding bounding box, promoting spatially aware representation learning.
- Spatial jittering augmentations are applied to bounding boxes by sampling from a set of region proposal anchors to improve feature robustness and alignment.
- The approach is implemented within the MoCo-v2 framework, using momentum contrast for self-supervised learning.
- The method maintains architectural consistency during transfer by using the same backbone (e.g., ResNet50-C4 or ResNet50-FPN) as in downstream detection models.
Experimental results
Research questions
- RQ1Can integrating bounding box annotations into self-supervised pretraining improve transfer performance for object detection?
- RQ2Does a pretext task that emphasizes localization rather than holistic image classification lead to better detection generalization?
- RQ3How does spatial jittering of bounding boxes during pretraining affect feature alignment and detection performance?
- RQ4Does the proposed method achieve better data efficiency in low-shot detection transfer settings?
- RQ5To what extent does the trade-off between classification accuracy and detection performance validate the importance of task alignment in self-supervised learning?
Key findings
- The proposed Instance Localization method achieves 41.1 AP bb on COCO using R50-C4, surpassing MoCo-v2 by +1.3 AP bb.
- With spatial jittering on bounding boxes, the performance further improves to 41.4 AP bb, demonstrating the effectiveness of the augmentation strategy.
- On Mini COCO (10% of COCO training data), the method achieves 26.0 AP bb and 23.5 AP mk, outperforming MoCo-v2 by 3.3 AP bb and 2.4 AP mk.
- The model shows stronger performance in patch localization and better alignment with detection-specific features, even though its ImageNet linear probe accuracy is lower than baseline models.
- Longer pretraining (400 epochs) improves detection performance, with a consistent gain over shorter pretraining schedules, indicating that extended pretraining benefits detection transfer.
- The relative improvement of the pretrained model is maintained even with longer fine-tuning schedules (e.g., 2x vs 1x), suggesting robustness and strong transferability.
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.