Skip to main content
QUICK REVIEW

[Paper Review] An Adversarial Perturbation Oriented Domain Adaptation Approach for Semantic Segmentation

Jihan Yang, Ruijia Xu|arXiv (Cornell University)|Dec 18, 2019
Domain Adaptation and Few-Shot LearningComputer Science37 references7 citations
TL;DR

This paper proposes a perturbation-based domain adaptation method for semantic segmentation that mitigates category-conditional shift by generating and defending against pointwise adversarial perturbations in feature space. By perturbing each feature map location individually and training a domain-invariant classifier to resist these perturbations, the method achieves state-of-the-art performance on GTA5→Cityscapes and SYNTHIA→Cityscapes, especially improving segmentation of tail classes and small objects.

ABSTRACT

We focus on Unsupervised Domain Adaptation (UDA) for the task of semantic segmentation. Recently, adversarial alignment has been widely adopted to match the marginal distribution of feature representations across two domains globally. However, this strategy fails in adapting the representations of the tail classes or small objects for semantic segmentation since the alignment objective is dominated by head categories or large objects. In contrast to adversarial alignment, we propose to explicitly train a domain-invariant classifier by generating and defensing against pointwise feature space adversarial perturbations. Specifically, we firstly perturb the intermediate feature maps with several attack objectives (i.e., discriminator and classifier) on each individual position for both domains, and then the classifier is trained to be invariant to the perturbations. By perturbing each position individually, our model treats each location evenly regardless of the category or object size and thus circumvents the aforementioned issue. Moreover, the domain gap in feature space is reduced by extrapolating source and target perturbed features towards each other with attack on the domain discriminator. Our approach achieves the state-of-the-art performance on two challenging domain adaptation tasks for semantic segmentation: GTA5 -> Cityscapes and SYNTHIA -> Cityscapes.

Motivation & Objective

  • To address the limitation of adversarial alignment in domain adaptation, where head classes or large objects dominate due to global distribution matching.
  • To reduce category-conditional shift in semantic segmentation by ensuring even adaptation across all categories, especially tail classes and small objects.
  • To improve model robustness and generalization by explicitly training the classifier to be invariant to local adversarial perturbations.
  • To achieve better domain-invariant representations without relying on heuristic re-weighting or implicit assumptions about data distribution.

Proposed method

  • The method generates adversarial perturbations at each spatial position of intermediate feature maps using an iterative Fast Gradient Sign Preposed Method (I-FGSPM) to reduce gradient gaps across multiple attack objectives.
  • Perturbations are derived from gradients of both the domain discriminator and the segmentation classifier, enabling the model to learn robust, domain-invariant features.
  • The classifier is trained to maintain consistent predictions under these perturbations, using source supervision and target consistency constraints to enforce invariance.
  • Perturbations are applied to deeper feature layers (e.g., after layer 4 of ResNet-101), which empirically yield better performance than input or shallow layer perturbations.
  • The framework integrates Lovász-Softmax and entropy minimization losses to further improve segmentation accuracy and reduce class bias.
  • The approach is evaluated on GTA5→Cityscapes and SYNTHIA→Cityscapes, with ablation studies validating the effectiveness of each component.

Experimental results

Research questions

  • RQ1Can adversarial perturbations applied at the pixel-level feature map position improve domain generalization in semantic segmentation?
  • RQ2Does pointwise perturbation training mitigate category-conditional shift and improve performance on tail classes and small objects?
  • RQ3How does the choice of attack method and perturbation layer affect model robustness and adaptation performance?
  • RQ4Can adversarial perturbation training outperform standard adversarial alignment when the latter is dominated by head classes?
  • RQ5What is the contribution of each component (e.g., perturbation, entropy, Lovász loss) in improving mIoU and reducing class bias?

Key findings

  • The proposed I-FGSPM attack method achieves 53.1 mIoU on SYNTHIA→Cityscapes, outperforming I-FGSM (51.8) and MI-FGSPM (52.2), demonstrating its effectiveness in generating stable, informative perturbations.
  • Perturbing features at deeper layers (e.g., after layer 4 of ResNet-101) yields the best performance (53.1 mIoU), confirming that hidden-layer perturbations are more effective than input or shallow-layer perturbations.
  • The full model with all components (perturbation, Lovász, entropy) achieves 45.9 mIoU on GTA5→Cityscapes and 53.1 mIoU on SYNTHIA→Cityscapes, significantly outperforming the baseline source-only model (36.6 and 38.6 mIoU).
  • When combined with ASN pre-training, the method achieves +3.8% and +7.0% mIoU gains on GTA5→Cityscapes and SYNTHIA→Cityscapes, respectively, showing strong synergy with existing methods.
  • The ablation study confirms that entropy minimization and Lovász-Softmax losses reduce class bias, and the perturbation strategy is most effective when combined with both.
  • The method significantly improves segmentation of tail classes (e.g., 'sign', 'traffic light') compared to ASN, which tends to collapse on such categories due to global alignment dominance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.