Domain Adaptive Semantic Segmentation via Regional Contrastive Consistency Regularization

Qianyu Zhou, Chuyun Zhuang, Ran Yi, Xuequan Lu, Lizhuang Ma
10/11/2021
cs.CV

Official code: qianyuzqy/RCCR (3 stars, Python, Apache-2.0, last commit 2023-01-20).

Abstract

Unsupervised domain adaptation (UDA) for semantic segmentation has been well-studied in recent years. However, most existing works largely neglect the local regional consistency across different domains and are less robust to changes in outdoor environments.

Show full abstract

In this paper, we propose a novel and fully end-to-end trainable approach, called regional contrastive consistency regularization (RCCR) for domain adaptive semantic segmentation. Our core idea is to pull the similar regional features extracted from the same location of different images, i.e., the original image and augmented image, to be closer, and meanwhile push the features from the different locations of the two images to be separated. We innovatively propose a region-wise contrastive loss with two sampling strategies to realize effective regional consistency. Besides, we present momentum projection heads, where the teacher projection head is the exponential moving average of the student. Finally, a memory bank mechanism is designed to learn more robust and stable region-wise features under varying environments. Extensive experiments on two common UDA benchmarks, i.e., GTAV to Cityscapes and SYNTHIA to Cityscapes, demonstrate that our approach outperforms the state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

qianyuzqy/RCCROfficial100%
Apache-2.0

(ICME 2022) Domain Adaptive Semantic Segmentation via Regional Contrastive Consistency Regularization

31PythonJan 19, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhou2021domain,
  title  = {Domain Adaptive Semantic Segmentation via Regional Contrastive Consistency Regularization},
  author = {Qianyu Zhou and Chuyun Zhuang and Ran Yi and Xuequan Lu and Lizhuang Ma},
  year   = {2021},
  eprint = {2110.05170},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.05170}
}

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

Discussion