[Paper Review] Classes Matter: A Fine-grained Adversarial Approach to Cross-domain Semantic Segmentation
This paper proposes FADA, a fine-grained adversarial learning framework for cross-domain semantic segmentation that enhances class-level feature alignment by using a class-aware discriminator and domain encodings. By generalizing binary domain labels to multi-class supervision, FADA achieves state-of-the-art performance on GTA5→Cityscapes, SYNTHIA→Cityscapes, and Cityscapes→Cross-City, with a 50.1% mIoU on GTA5→Cityscapes using ResNet-101 and DeeperLabV2.
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.
Motivation & Objective
- Address the domain shift problem in semantic segmentation by improving feature alignment between source and target domains.
- Overcome the limitation of global feature alignment methods that ignore class-level semantic structures in the target domain.
- Enable more precise alignment by incorporating class-level information into the adversarial training process.
- Develop a novel supervision signal—domain encodings—that generalizes binary domain labels to include class-aware information.
- Preserve inter-class separation while aligning intra-class features across domains to reduce class mismatch errors.
Proposed method
- Design a fine-grained domain discriminator that models $P(d,c|f)$, where $d$ is domain, $c$ is class, and $f$ is the feature, enabling class-level distinction.
- Generalize binary domain labels to 'domain encodings' derived from model predictions on both source and target domains to supervise the fine-grained discriminator.
- Use confidence clipping with a threshold of 0.9 to regularize soft labels and prevent overfitting to noisy predictions.
- Integrate self-distillation and multi-scale testing as auxiliary components to further boost performance.
- Formulate the adversarial loss to encourage domain-invariant features while preserving class-specific structure.
- Define a new evaluation metric, Class Center Distance (CCD), to quantitatively measure intra-class compactness and inter-class separation.
Experimental results
Research questions
- RQ1Can class-aware adversarial training improve cross-domain semantic segmentation beyond global distribution alignment?
- RQ2How does incorporating class-level information into the discriminator affect feature alignment quality and segmentation accuracy?
- RQ3What is the impact of using soft labels versus hard labels for constructing domain encodings in the absence of ground-truth target labels?
- RQ4To what extent does confidence clipping improve robustness when using noisy soft labels for supervision?
- RQ5How does the proposed method preserve inter-class separation while aligning intra-class features across domains?
Key findings
- FADA achieves a 50.1% mIoU on the GTA5→Cityscapes benchmark using DeeplabV2 with ResNet-101, outperforming prior state-of-the-art methods.
- The method reduces the mean Class Center Distance (CCD) to 1.1, indicating superior intra-class compactness and inter-class separation compared to AdaptSegNet and CLAN.
- Fine-grained adversarial training alone improves mIoU by 10.1% over global alignment baselines on GTA5→Cityscapes.
- Soft labels with confidence clipping (threshold 0.9) yield better performance than hard labels, with a 46.9% mIoU on GTA5→Cityscapes compared to 45.7% with hard labels.
- The ablation study confirms that self-distillation and multi-scale testing further improve performance by 2.3% and 0.7%, respectively.
- Qualitative results show that FADA significantly reduces misclassification and domain-specific artifacts in segmentation predictions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.