Context-Aware Mixup for Domain Adaptive Semantic Segmentation

Qianyu Zhou, Zhengyang Feng, Qiqi Gu, Jiangmiao Pang, Guangliang Cheng +3 more
8/8/2021
cs.CV

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

Abstract

Unsupervised domain adaptation (UDA) aims to adapt a model of the labeled source domain to an unlabeled target domain. Existing UDA-based semantic segmentation approaches always reduce the domain shifts in pixel level, feature level, and output level.

Show full abstract

However, almost all of them largely neglect the contextual dependency, which is generally shared across different domains, leading to less-desired performance. In this paper, we propose a novel Context-Aware Mixup (CAMix) framework for domain adaptive semantic segmentation, which exploits this important clue of context-dependency as explicit prior knowledge in a fully end-to-end trainable manner for enhancing the adaptability toward the target domain. Firstly, we present a contextual mask generation strategy by leveraging the accumulated spatial distributions and prior contextual relationships. The generated contextual mask is critical in this work and will guide the context-aware domain mixup on three different levels. Besides, provided the context knowledge, we introduce a significance-reweighted consistency loss to penalize the inconsistency between the mixed student prediction and the mixed teacher prediction, which alleviates the negative transfer of the adaptation, e.g., early performance degradation. Extensive experiments and analysis demonstrate the effectiveness of our method against the state-of-the-art approaches on widely-used UDA benchmarks.

View on arXivView PDF

Code Implementations(1)

qianyuzqy/CAMixOfficial100%
Apache-2.0

(TCSVT 2022) Context-Aware Mixup for Domain Adaptive Semantic Segmentation

171PythonJan 20, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhou2021contextaware,
  title  = {Context-Aware Mixup for Domain Adaptive Semantic Segmentation},
  author = {Qianyu Zhou and Zhengyang Feng and Qiqi Gu and Jiangmiao Pang and Guangliang Cheng and Xuequan Lu and Jianping Shi and Lizhuang Ma},
  year   = {2021},
  eprint = {2108.03557},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.03557}
}

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

Discussion