HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Classes Matter: A Fine-grained Adversarial Approach to Cross-domain Semantic Segmentation

Haoran Wang Tong Shen Wei Zhang Lingyu Duan Tao Mei

Classes Matter: A Fine-grained Adversarial Approach to Cross-domain Semantic Segmentation

Abstract

Despite great progress in supervised semantic segmentation,a large performance drop is usually observed when deploying the model in the wild. Domain adaptation methods tackle the issue by aligning the source domain and the target domain. However, most existing methods attempt to perform the alignment from a holistic view, ignoring the underlying class-level data structure in the target domain. To fully exploit the supervision in the source domain, we propose a fine-grained adversarial learning strategy for class-level feature alignment while preserving the internal structure of semantics across domains. We adopt a fine-grained domain discriminator that not only plays as a domain distinguisher, but also differentiates domains at class level. The traditional binary domain labels are also generalized to domain encodings as the supervision signal to guide the fine-grained feature alignment. An analysis with Class Center Distance (CCD) validates that our fine-grained adversarial strategy achieves better class-level alignment compared to other state-of-the-art methods. Our method is easy to implement and its effectiveness is evaluated on three classical domain adaptation tasks, i.e., GTA5 to Cityscapes, SYNTHIA to Cityscapes and Cityscapes to Cross-City. Large performance gains show that our method outperforms other global feature alignment based and class-wise alignment based counterparts. The code is publicly available at https://github.com/JDAI-CV/FADA.

Code Repositories

JDAI-CV/FADA
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
domain-adaptation-on-synthia-to-cityscapesFADA (ResNet-101)
mIoU: 45.2
domain-adaptation-on-synthia-to-cityscapesFADA (VGG-16)
mIoU: 39.5
image-to-image-translation-on-synthia-toFADA (ResNet-101)
mIoU (13 classes): 52.5
synthetic-to-real-translation-on-gtav-toFADA
mIoU: 50.1
synthetic-to-real-translation-on-synthia-to-1FADA(ResNet-101)
MIoU (13 classes): 52.5
MIoU (16 classes): 45.2

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