# Affinity Space Adaptation for Semantic Segmentation Across Domains

arXiv: https://arxiv.org/abs/2009.12559 · HTML: https://mlsanity.com/paper/2009.12559/

## Key facts

- Cited by 31 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 26 Sep 2020.

## Built on by (most cited first, 30 of 31)

- [Context-Aware Mixup for Domain Adaptive Semantic Segmentation](https://mlsanity.com/paper/2108.03557/) (2021)
- [DSP: Dual Soft-Paste for Unsupervised Domain Adaptive Semantic Segmentation](https://mlsanity.com/paper/2107.09600/) (2021)
- [PiPa: Pixel- and Patch-wise Self-supervised Learning for Domain Adaptative Semantic Segmentation](https://mlsanity.com/paper/2211.07609/) (2022)
- [Prototypical Contrast Adaptation for Domain Adaptive Semantic Segmentation](https://mlsanity.com/paper/2207.06654/) (2022)
- [Transfer beyond the Field of View: Dense Panoramic Semantic Segmentation via Unsupervised Domain Adaptation](https://mlsanity.com/paper/2110.11062/) (2021)
- [Self-Adversarial Disentangling for Specific Domain Adaptation](https://mlsanity.com/paper/2108.03553/) (2021)
- [Survey on Unsupervised Domain Adaptation for Semantic Segmentation for Visual Perception in Automated Driving](https://mlsanity.com/paper/2304.11928/) (2023)
- [SimT: Handling Open-set Noise for Domain Adaptive Semantic Segmentation](https://mlsanity.com/paper/2203.15202/) (2022)
- [Domain Adaptive Semantic Segmentation via Regional Contrastive Consistency Regularization](https://mlsanity.com/paper/2110.05170/) (2021)
- [Adaptive Boosting for Domain Adaptation: Towards Robust Predictions in Scene Segmentation](https://mlsanity.com/paper/2103.15685/) (2021)
- [Transferring to Real-World Layouts: A Depth-aware Framework for Scene Adaptation](https://mlsanity.com/paper/2311.12682/) (2023)
- [Unsupervised Foggy Scene Understanding via Self Spatial-Temporal Label Diffusion](https://mlsanity.com/paper/2206.04879/) (2022)
- [Self-Ensembling GAN for Cross-Domain Semantic Segmentation](https://mlsanity.com/paper/2112.07999/) (2021)
- [Birds of A Feather Flock Together: Category-Divergence Guidance for Domain Adaptive Segmentation](https://mlsanity.com/paper/2204.02111/) (2022)
- [Threshold-adaptive Unsupervised Focal Loss for Domain Adaptation of Semantic Segmentation](https://mlsanity.com/paper/2208.10716/) (2022)
- [Reciprocal Normalization for Domain Adaptation](https://mlsanity.com/paper/2112.10474/) (2021)
- [Self-training via Metric Learning for Source-Free Domain Adaptation of Semantic Segmentation](https://mlsanity.com/paper/2212.04227/) (2022)
- [Sensor-invariant Fingerprint ROI Segmentation Using Recurrent Adversarial Learning](https://mlsanity.com/paper/2107.01361/) (2021)
- [Content Preserving Image Translation with Texture Co-occurrence and Spatial Self-Similarity for Texture Debiasing and Domain Adaptation](https://mlsanity.com/paper/2110.07920/) (2021)
- [FreeCOS: Self-Supervised Learning from Fractals and Unlabeled Images for Curvilinear Object Segmentation](https://mlsanity.com/paper/2307.07245/) (2023)
- [MoDA: Leveraging Motion Priors from Videos for Advancing Unsupervised Domain Adaptation in Semantic Segmentation](https://mlsanity.com/paper/2309.11711/) (2023)
- [Dual-level Interaction for Domain Adaptive Semantic Segmentation](https://mlsanity.com/paper/2307.07972/) (2023)
- [Robust Unsupervised Domain Adaptation by Retaining Confident Entropy via Edge Concatenation](https://mlsanity.com/paper/2310.07149/) (2023)
- [PiPa++: Towards Unification of Domain Adaptive Semantic Segmentation via Self-supervised Learning](https://mlsanity.com/paper/2407.17101/) (2024)
- [Prototypical Progressive Alignment and Reweighting for Generalizable Semantic Segmentation](https://mlsanity.com/paper/2507.11955/) (2025)
- [Dual form Complementary Masking for Domain-Adaptive Image Segmentation](https://mlsanity.com/paper/2507.12008/) (2025)
- [Single-Image Super-Resolution Reconstruction based on the Differences of Neighboring Pixels](https://mlsanity.com/paper/2212.13730/) (2022)
- [A Class-wise Non-salient Region Generalized Framework for Video Semantic Segmentation](https://mlsanity.com/paper/2212.14154/) (2022)
- [Adaptive Feature Fusion Neural Network for Glaucoma Segmentation on Unseen Fundus Images](https://mlsanity.com/paper/2404.02084/) (2024)
- [Depth-Sensitive Soft Suppression with RGB-D Inter-Modal Stylization Flow for Domain Generalization Semantic Segmentation](https://mlsanity.com/paper/2505.07050/) (2025)

## Abstract (arXiv)

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.
