Object-aware Contrastive Learning for Debiased Scene Representation

Sangwoo Mo, Hyunwoo Kang, Kihyuk Sohn, Chun-Liang Li, Jinwoo Shin
7/30/2021
cs.CVcs.LG
contrastive-ssl

Official code: alinlab/object-aware-contrastive (45 stars, Python, last commit 2021-10-25).

Abstract

Contrastive self-supervised learning has shown impressive results in learning visual representations from unlabeled images by enforcing invariance against different data augmentations. However, the learned representations are often contextually biased to the spurious scene correlations of different objects or object and background, which may harm their generalization on the downstream tasks.

Show full abstract

To tackle the issue, we develop a novel object-aware contrastive learning framework that first (a) localizes objects in a self-supervised manner and then (b) debias scene correlations via appropriate data augmentations considering the inferred object locations. For (a), we propose the contrastive class activation map (ContraCAM), which finds the most discriminative regions (e.g., objects) in the image compared to the other images using the contrastively trained models. We further improve the ContraCAM to detect multiple objects and entire shapes via an iterative refinement procedure. For (b), we introduce two data augmentations based on ContraCAM, object-aware random crop and background mixup, which reduce contextual and background biases during contrastive self-supervised learning, respectively. Our experiments demonstrate the effectiveness of our representation learning framework, particularly when trained under multi-object images or evaluated under the background (and distribution) shifted images.

View on arXivView PDF

Code Implementations(1)

Object-aware Contrastive Learning for Debiased Scene Representation (NeurIPS 2021)

456PythonJul 30, 20215 years ago
contrastive-learningrepresentation-learningself-supervised-learning

Similar Papers

Cite this paper

@article{mo2021objectaware,
  title  = {Object-aware Contrastive Learning for Debiased Scene Representation},
  author = {Sangwoo Mo and Hyunwoo Kang and Kihyuk Sohn and Chun-Liang Li and Jinwoo Shin},
  year   = {2021},
  eprint = {2108.00049},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.00049}
}

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/2108.00049.svg)](https://codeofpaper.com/paper/2108.00049)

Discussion