Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Object-aware Contrastive Learning for Debiased Scene Representation

About

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. 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.

Sangwoo Mo, Hyunwoo Kang, Kihyuk Sohn, Chun-Liang Li, Jinwoo Shin• 2021

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP36.6
2454
Instance SegmentationCOCO 2017 (val)--
1144
Image ClassificationCIFAR-100--
622
Image ClassificationCUB
Accuracy28.68
249
Image ClassificationPets--
204
Image ClassificationFlowers
Accuracy77.95
127
Image ClassificationFood
Accuracy64.63
92
Image ClassificationCOCO-Crop (test)
Accuracy80.69
12
Image ClassificationObjectNet-9 distribution-shifted (test)
Test Accuracy31.38
10
Image ClassificationSI-Score-9 background-shifted (test)
Test Accuracy0.69
10
Showing 10 of 20 rows

Other info

Code

Follow for update