Skip to main content
QUICK REVIEW

[Paper Review] DetCo: Unsupervised Contrastive Learning for Object Detection

Enze Xie, Jian Ding|arXiv (Cornell University)|Feb 9, 2021
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

DetCo proposes a self-supervised contrastive learning framework for object detection that improves both instance-level detection and image classification performance through multi-level supervision and global-local contrastive learning. It achieves state-of-the-art transfer performance, boosting Sparse R-CNN to 46.5 AP on COCO and outperforming prior methods by 6.9% top-1 accuracy on ImageNet classification.

ABSTRACT

Unsupervised contrastive learning achieves great success in learning image representations with CNN. Unlike most recent methods that focused on improving accuracy of image classification, we present a novel contrastive learning approach, named DetCo, which fully explores the contrasts between global image and local image patches to learn discriminative representations for object detection. DetCo has several appealing benefits. (1) It is carefully designed by investigating the weaknesses of current self-supervised methods, which discard important representations for object detection. (2) DetCo builds hierarchical intermediate contrastive losses between global image and local patches to improve object detection, while maintaining global representations for image recognition. Theoretical analysis shows that the local patches actually remove the contextual information of an image, improving the lower bound of mutual information for better contrastive learning. (3) Extensive experiments on PASCAL VOC, COCO and Cityscapes demonstrate that DetCo not only outperforms state-of-the-art methods on object detection, but also on segmentation, pose estimation, and 3D shape prediction, while it is still competitive on image classification. For example, on PASCAL VOC, DetCo-100ep achieves 57.4 mAP, which is on par with the result of MoCov2-800ep. Moreover, DetCo consistently outperforms supervised method by 1.6/1.2/1.0 AP on Mask RCNN-C4/FPN/RetinaNet with 1x schedule. Code will be released at \href{https://github.com/xieenze/DetCo}{\color{blue}{ t github.com/xieenze/DetCo}}.

Motivation & Objective

  • To address the challenge of simultaneously improving performance on instance-level detection and image classification in self-supervised representation learning.
  • To design a pretext task that enables strong transfer to dense prediction tasks without sacrificing image-level classification accuracy.
  • To enhance feature discrimination and consistency across multi-scale feature pyramids using contrastive learning.
  • To bridge the gap between global image-level and local patch-level representations for better detection and classification.
  • To develop a simple yet effective pre-training framework that outperforms recent detection-focused self-supervised methods on both detection and classification benchmarks.

Proposed method

  • Introduces multi-level supervision by optimizing features from each stage of the backbone network to improve discrimination at every level of the feature pyramid.
  • Employs global and local contrastive learning (GLC) to align representations between the full image and cropped local patches, promoting consistency across scales.
  • Uses contrastive learning to minimize distance between positive views (augmentations of the same image) and maximize distance between negative views (different images).
  • Applies the contrastive loss on both global image features and local patch features, enabling joint optimization of global and local representations.
  • Combines multi-level supervision with GLC to enhance feature quality across all stages of the feature pyramid, improving multi-scale detection.
  • Uses standard data augmentations (e.g., crop, color jitter) to generate positive views for contrastive learning, with no need for additional supervision.

Experimental results

Research questions

  • RQ1Can a self-supervised method simultaneously achieve state-of-the-art performance on both object detection and image classification?
  • RQ2How does multi-level supervision on feature pyramid stages affect detection and classification performance?
  • RQ3To what extent does global-local contrastive learning improve representation consistency and discrimination?
  • RQ4Can a unified pretext task effectively benefit both instance-level detection and image-level classification?
  • RQ5How does DetCo compare to concurrent detection-focused self-supervised methods in terms of transfer performance?

Key findings

  • DetCo achieves 68.6% top-1 accuracy on ImageNet classification, outperforming DenseCL (+6.9%) and InsLoc (+5.0%), demonstrating strong image-level performance.
  • On COCO object detection, DetCo improves SwAV with Mask R-CNN C4 by 6.9 AP and boosts Sparse R-CNN from 45.0 AP to 46.5 AP, setting a new SOTA.
  • The combination of multi-level supervision and global-local contrastive learning leads to consistent performance gains across all backbone stages, as shown in ablation studies.
  • Ablation studies confirm that both multi-level supervision and global-local contrastive learning are essential: removing either leads to significant performance drops.
  • DetCo maintains competitive performance on semantic segmentation and DensePose, showing broad transferability to dense prediction tasks.
  • The method achieves the best trade-off between detection and classification, outperforming concurrent detection-focused methods like DenseCL, InsLoc, and PatchReID in both metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.