[Paper Review] Aligning Pretraining for Detection via Object-Level Contrastive Learning
SoCo pretrains with object-level contrastive learning by using selective search proposals and architectural alignment to detection, achieving state-of-the-art COCO transfer for Mask R-CNN backbones.
Image-level contrastive representation learning has proven to be highly effective as a generic model for transfer learning. Such generality for transfer learning, however, sacrifices specificity if we are interested in a certain downstream task. We argue that this could be sub-optimal and thus advocate a design principle which encourages alignment between the self-supervised pretext task and the downstream task. In this paper, we follow this principle with a pretraining method specifically designed for the task of object detection. We attain alignment in the following three aspects: 1) object-level representations are introduced via selective search bounding boxes as object proposals; 2) the pretraining network architecture incorporates the same dedicated modules used in the detection pipeline (e.g. FPN); 3) the pretraining is equipped with object detection properties such as object-level translation invariance and scale invariance. Our method, called Selective Object COntrastive learning (SoCo), achieves state-of-the-art results for transfer performance on COCO detection using a Mask R-CNN framework. Code is available at https://github.com/hologerry/SoCo.
Motivation & Objective
- Motivate and design self-supervised pretraining that is aligned with object detection rather than generic image-level representations.
- Introduce object-level representations via object proposals to bridge the gap between pretraining and detection tasks.
- Align pretraining architecture and incorporate detection properties like translation and scale invariance to improve transfer performance.
Proposed method
- Introduce SoCo: Selective Object Contrastive learning with object proposals from selective search.
- Construct three object-level views V1, V2, V3 by applying translation/scale augmentations and box jitter to object proposals.
- Pretrain all detector modules (backbone with FPN, RoIAlign, R-CNN head) using an online/target network and object-level contrastive loss.
- Use scale-aware assignment mapping proposals to feature pyramid levels to encourage scale-invariant representations.
- Apply a BYOL-style contrastive objective at the object level with EMA target network, plus a symmetric loss variant.
- Optionally extend SoCo to different detector backbones (e.g., Mask R-CNN with R50-C4) and demonstrate extensibility.
Experimental results
Research questions
- RQ1Can object-level contrastive pretraining outperform image-level pretraining for dense detection tasks?
- RQ2Does architectural alignment between pretraining and detector components improve transfer performance?
- RQ3How do object-level translation and scale invariances affect detection transfer when learned during pretraining?
- RQ4What is the impact of view construction strategies (multi-view, box jitter, scale-aware assignment) on transfer accuracy?
- RQ5Is SoCo effective across different detector backbones (R50-FPN, R50-C4) and datasets?
Key findings
- SoCo achieves state-of-the-art transfer performance on COCO detection with Mask R-CNN R50-FPN, improving APbb by 4.3 in 1× and APmk by 3.0 in 1× over supervised ImageNet pretraining.
- With 2× schedules, SoCo improves APbb by 3.0 and APmk by 2.3 over supervised pretraining.
- SoCo with R50-C4 on COCO achieves 40.9 APbb / 35.3 APmk (1×) and 42.0 APbb / 36.3 APmk (2×), surpassing prior methods.
- SoCo on LVIS shows +5.9 APbb / +5.6 APmk (1×) and +4.9 APbb / +4.6 APmk (2×) improvements over baselines.
- Ablations confirm the benefits of object proposals, architectural alignment (FPN, R-CNN head), scale-aware assignment, and multi-view strategies for improved transfer.
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.