Exploring Consistency in Cross-Domain Transformer for Domain Adaptive Semantic Segmentation
Not on the map. Why?
Abstract (arXiv)
While transformers have greatly boosted performance in semantic segmentation, domain adaptive transformers are not yet well explored. We identify that the domain gap can cause discrepancies in self-attention. Due to this gap, the transformer attends to spurious regions or pixels, which deteriorates accuracy on the target domain. We propose to perform adaptation on attention maps with cross-domain attention layers that share features between the source and the target domains. Specifically, we impose consistency between predictions from cross-domain attention and self-attention modules to encourage similar distribution in the attention and output of the model across domains, i.e., attention-level and output-level alignment. We also enforce consistency in attention maps between different augmented views to further strengthen the attention-based alignment. Combining these two components, our method mitigates the discrepancy in attention maps across domains and further boosts the performance of the transformer under unsupervised domain adaptation settings. Our model outperforms the existing state-of-the-art baseline model on three widely used benchmarks, including GTAV-to-Cityscapes by 1.3 percent point (pp), Synthia-to-Cityscapes by 0.6 pp, and Cityscapes-to-ACDC by 1.1 pp, on average. Additionally, we verify the effectiveness and generalizability of our method through extensive experiments. Our code will be publicly available.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 37 of its 50 references that are in the map. First posted on arXiv 27 Nov 2022.
Builds on
37 of 50 references.
References · 37
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,274
- 2017CyCADA: Cycle-Consistent Adversarial Domain Adaptationcited by 1,082
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
25 more
- 2016Playing for Data: Ground Truth from Computer Gamescited by 818
- 2018ADVENT: Adversarial Entropy Minimization for Domain Adaptation in Semantic Segmentationcited by 623
- 2018Learning to Adapt Structured Output Space for Semantic Segmentationcited by 584
- 2020FDA: Fourier Domain Adaptation for Semantic Segmentationcited by 541
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2019Confidence Regularized Self-Trainingcited by 419
- 2019Bidirectional Learning for Domain Adaptation of Semantic Segmentationcited by 308
- 2021DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentationcited by 300
- 2018Taking A Closer Look at Domain Shift: Category-level Adversaries for Semantics Consistent Domain Adaptationcited by 295
- 2021Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentationcited by 268
- 2016FCNs in the Wild: Pixel-level Adversarial and Constraint-based Adaptationcited by 243
- 2020DACS: Domain Adaptation via Cross-domain Mixed Samplingcited by 226
- 2020Learning Texture Invariant Representation for Domain Adaptation of Semantic Segmentationcited by 153
- 2019Domain Adaptation for Structured Output via Discriminative Patch Representationscited by 150
- 2021Self-supervised Augmentation Consistency for Adapting Semantic Segmentationcited by 149
- 2021CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptationcited by 129
- 2019Self-Ensembling with GAN-based Data Augmentation for Domain Adaptation in Semantic Segmentationcited by 126
- 2020Differential Treatment for Stuff and Things: A Simple Unsupervised Domain Adaptation Method for Semantic Segmentationcited by 126
- 2020TransPose: Keypoint Localization via Transformercited by 126
- 2018DCAN: Dual Channel-wise Alignment Networks for Unsupervised Scene Adaptationcited by 101
- 2020Map-Guided Curriculum Domain Adaptation and Uncertainty-Aware Evaluation for Semantic Nighttime Image Segmentationcited by 86
- 2021Domain Adaptive Semantic Segmentation with Self-Supervised Depth Estimationcited by 80
- 2022Scratching Visual Transformer's Back with Uniform Attentioncited by 16
- 2020Consistency Regularization with High-dimensional Non-adversarial Source-guided Perturbation for Unsupervised Domain Adaptation in Segmentationcited by 13
- 2022Domain Adaptation via Bidirectional Cross-Attention Transformercited by 13
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 1.
4 papers.
- 2023Survey on Unsupervised Domain Adaptation for Semantic Segmentation for Visual Perception in Automated Drivingcited by 29
- 2024Gradient-based Class Weighting for Unsupervised Domain Adaptation in Dense Prediction Visual Taskscited by 3
- 2024Layer-wise Model Merging for Unsupervised Domain Adaptation in Segmentation Taskscited by 1
- 2025OMUDA: Omni-level Masking for Unsupervised Domain Adaptation in Semantic Segmentationcited by 0
- 2025OMUDA: Omni-level Masking for Unsupervised Domain Adaptation in Semantic Segmentation13 Dec 2025
- 2024Layer-wise Model Merging for Unsupervised Domain Adaptation in Segmentation Tasks24 Sep 2024
- 2024Gradient-based Class Weighting for Unsupervised Domain Adaptation in Dense Prediction Visual Tasks1 Jul 2024
- 2023Survey on Unsupervised Domain Adaptation for Semantic Segmentation for Visual Perception in Automated Driving24 Apr 2023