CP2: Copy-Paste Contrastive Pretraining for Semantic Segmentation
Feng Wang, Huiyu Wang, Chen Wei, Alan Yuille, Wei Shen

TL;DR
This paper introduces CP2, a pixel-wise contrastive pretraining method using copy-paste augmentation, which improves semantic segmentation performance by learning detailed pixel-level representations.
Contribution
The paper proposes a novel copy-paste contrastive pretraining approach that enhances pixel-level feature learning for dense prediction tasks like semantic segmentation.
Findings
Achieves 78.6% mIoU on PASCAL VOC 2012 with ResNet-50
Achieves 79.5% mIoU on PASCAL VOC 2012 with ViT-S
Outperforms existing self-supervised methods in semantic segmentation
Abstract
Recent advances in self-supervised contrastive learning yield good image-level representation, which favors classification tasks but usually neglects pixel-level detailed information, leading to unsatisfactory transfer performance to dense prediction tasks such as semantic segmentation. In this work, we propose a pixel-wise contrastive learning method called CP2 (Copy-Paste Contrastive Pretraining), which facilitates both image- and pixel-level representation learning and therefore is more suitable for downstream dense prediction tasks. In detail, we copy-paste a random crop from an image (the foreground) onto different background images and pretrain a semantic segmentation model with the objective of 1) distinguishing the foreground pixels from the background pixels, and 2) identifying the composed images that share the same foreground.Experiments show the strong performance of CP2 in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Advanced Neural Network Applications · Advanced Image and Video Retrieval Techniques
MethodsContrastive Learning · simple Copy-Paste
