HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Context-Aware Mixup for Domain Adaptive Semantic Segmentation

Qianyu Zhou Zhengyang Feng Qiqi Gu Jiangmiao Pang Guangliang Cheng Xuequan Lu Jianping Shi Lizhuang Ma

Context-Aware Mixup for Domain Adaptive Semantic Segmentation

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

Code Repositories

qianyuzqy/CAMix
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-to-image-translation-on-gtav-toCAMix (w Deeplabv2 ResNet 101)
mIoU: 55.2
image-to-image-translation-on-gtav-toCAMix (w DAFormer)
mIoU: 70.0
image-to-image-translation-on-synthia-toCAMix (w Deeplabv2 ResNet 101)
mIoU (13 classes): 59.7
image-to-image-translation-on-synthia-toCAMix (w DAFormer)
mIoU (13 classes): 69.2
synthetic-to-real-translation-on-gtav-toCAMix (w Deeplabv2 ResNet101)
mIoU: 55.2
synthetic-to-real-translation-on-gtav-toCAMix (w DAFormer)
mIoU: 70.0
synthetic-to-real-translation-on-synthia-to-1CAMix (w DAFormer)
MIoU (13 classes): 69.2
synthetic-to-real-translation-on-synthia-to-1CAMix (ResNet 101)
MIoU (13 classes): 59.7
unsupervised-domain-adaptation-on-gtav-toCAMix (w Deeplabv2 ResNet 101)
mIoU: 55.2
unsupervised-domain-adaptation-on-gtav-toCAMix (w DAFormer)
mIoU: 70.0

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Context-Aware Mixup for Domain Adaptive Semantic Segmentation | Papers | HyperAI