Affinity Space Adaptation for Semantic Segmentation Across Domains
About
Semantic segmentation with dense pixel-wise annotation has achieved excellent performance thanks to deep learning. However, the generalization of semantic segmentation in the wild remains challenging. In this paper, we address the problem of unsupervised domain adaptation (UDA) in semantic segmentation. Motivated by the fact that source and target domain have invariant semantic structures, we propose to exploit such invariance across domains by leveraging co-occurring patterns between pairwise pixels in the output of structured semantic segmentation. This is different from most existing approaches that attempt to adapt domains based on individual pixel-wise information in image, feature, or output level. Specifically, we perform domain adaptation on the affinity relationship between adjacent pixels termed affinity space of source and target domain. To this end, we develop two affinity space adaptation strategies: affinity space cleaning and adversarial affinity space alignment. Extensive experiments demonstrate that the proposed method achieves superior performance against some state-of-the-art methods on several challenging benchmarks for semantic segmentation across domains. The code is available at https://github.com/idealwei/ASANet.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Semantic segmentation | GTA5 → Cityscapes (val) | mIoU45.1 | 533 | |
| Semantic segmentation | SYNTHIA to Cityscapes (val) | Rider IoU21.9 | 435 | |
| Semantic segmentation | Synthia to Cityscapes (test) | Road IoU91.2 | 138 | |
| Semantic segmentation | Cityscapes adaptation from Synthia 1.0 (val) | Person IoU56.4 | 114 | |
| Semantic segmentation | GTA5 to Cityscapes 1.0 (val) | Road IoU89.2 | 98 | |
| Semantic segmentation | GTA to Cityscapes | Road IoU89.2 | 72 | |
| Semantic segmentation | Cityscapes trained on SYNTHIA (val) | Road IoU91.2 | 60 | |
| Semantic segmentation | GTA → Cityscapes (test) | Road IoU89.2 | 27 | |
| Semantic segmentation | SYNTHIA to Cityscapes 16 and 13 categories (val) | Road91.2 | 23 | |
| Surgical Instrument Segmentation | Endovis17 to Endovis18 1.0 (target) | Scissor IoU70.19 | 14 |