An Adversarial Perturbation Oriented Domain Adaptation Approach for Semantic Segmentation
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Semantic segmentation | GTA5 → Cityscapes (val) | mIoU45.9 | 533 | |
| Semantic segmentation | SYNTHIA to Cityscapes (val) | Rider IoU84.1 | 435 | |
| Semantic segmentation | GTA5 to Cityscapes (test) | mIoU45.9 | 151 | |
| Semantic segmentation | SYNTHIA to Cityscapes | Road IoU86.4 | 150 | |
| Semantic segmentation | Synthia to Cityscapes (test) | Road IoU86.4 | 138 | |
| Semantic segmentation | Cityscapes (val) | mIoU45.9 | 133 | |
| Semantic segmentation | GTA5 to Cityscapes 1.0 (val) | Road IoU85.6 | 98 | |
| Semantic segmentation | GTA to Cityscapes | Road IoU85.6 | 72 | |
| Semantic segmentation | GTA5 to Cityscapes | mIoU45.9 | 58 | |
| Semantic segmentation | Cityscapes (val) | IoU (road)88.4 | 37 |