DetCo: Unsupervised Contrastive Learning for Object Detection

Enze Xie, Jian Ding, Wenhai Wang, Xiaohang Zhan, Hang Xu +3 more
2/9/2021
385 citations
cs.CV
contrastive-ssl

Official code: xieenze/DetCo (278 stars, Python, last commit 2021-02-23).

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.

Show full abstract

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}{\tt github.com/xieenze/DetCo}}.

View on arXivView PDF

Code Implementations(1)

xieenze/DetCoOfficial100%
27827Python, ShellFeb 9, 20215 years ago

Similar Papers

Cite this paper

@article{xie2021detco,
  title  = {DetCo: Unsupervised Contrastive Learning for Object Detection},
  author = {Enze Xie and Jian Ding and Wenhai Wang and Xiaohang Zhan and Hang Xu and Peize Sun and Zhenguo Li and Ping Luo},
  year   = {2021},
  eprint = {2102.04803},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.04803}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.04803.svg)](https://codeofpaper.com/paper/2102.04803)

Discussion