Lune

CVPR2022Top-tier venue

DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentation

Lukas Hoyer, Dengxin Dai, Luc Van Gool

Abstract

As acquiring pixel-wise annotations of real-world images for semantic segmentation is a costly process, a model can instead be trained with more accessible synthetic data and adapted to real images without requiring their annotations. This process is studied in unsupervised domain adaptation (UDA). Even though a large number of methods propose new adaptation strategies, they are mostly based on outdated network architectures. As the influence of recent network architectures has not been systematically studied, we first benchmark different network architectures for UDA and newly reveal the potential of Transformers for UDA semantic segmentation. Based on the findings, we propose a novel UDA method, DAFormer. The network architecture of DAFormer consists of a Transformer encoder and a multilevel context-aware feature fusion decoder. It is enabled by three simple but crucial training strategies to stabilize the training and to avoid overfitting to the source domain: While (1) Rare Class Sampling on the source domain improves the quality of the pseudo-labels by mitigating the confirmation bias of self-training toward common classes, (2) a Thing-Class ImageNet Feature Distance and (3) a learning rate warmup promote feature transfer from Ima-geNet pretraining. DAFormer represents a major advance in UDA. It improves the state of the art by 10.8 mIoU for GTA→Cityscapes and 5.4 mIoU for Synthia→Cityscapes and enables learning even difficult classes such as train, bus, and truck well. The implementation is available at https://github.com/lhoyer/DAFormer .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

112 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Continual Test-Time Domain Adaptation cites ACDC: The Adverse Conditions Dataset with Correspondences for Semantic Driving Scene Understanding
  • Continual Test-Time Domain Adaptation cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • PiPa: Pixel- and Patch-wise Self-supervised Learning for Domain Adaptative Semantic Segmentation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • PiPa: Pixel- and Patch-wise Self-supervised Learning for Domain Adaptative Semantic Segmentation cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • CMDA: Cross-Modality Domain Adaptation for Nighttime Semantic Segmentation cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • ACDC: The Adverse Conditions Dataset with Correspondences for Semantic Driving Scene Understanding cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Pasta: Proportional Amplitude Spectrum Training Augmentation for Syn-to-Real Domain Generalization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pasta: Proportional Amplitude Spectrum Training Augmentation for Syn-to-Real Domain Generalization cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers112

  1. ACDC: The Adverse Conditions Dataset with Correspondences for Semantic Driving Scene UnderstandingChristos Sakaridis, Dengxin Dai, Luc Van GoolICCV 2021 · 655 citations
  2. Continual Test-Time Domain AdaptationQin Wang, Olga Fink, Luc Van Gool, Dengxin DaiCVPR 2022 · 383 citations
  3. PiPa: Pixel- and Patch-wise Self-supervised Learning for Domain Adaptative Semantic SegmentationMu Chen, Zhedong Zheng, Yi Yang, Tat-Seng ChuaACM MM 2023 · 65 citations
  4. Pasta: Proportional Amplitude Spectrum Training Augmentation for Syn-to-Real Domain GeneralizationPrithvijit Chattopadhyay, Kartik Sarangmath, Vivek Vijaykumar, Judy HoffmanICCV 2023 · 57 citations
  5. CMDA: Cross-Modality Domain Adaptation for Nighttime Semantic SegmentationRuihao Xia, Chaoqiang Zhao, Meng Zheng, Ziyan Wu et al.ICCV 2023 · 54 citations

Builds on31

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
  4. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  5. FixMatch: Simplifying Semi-Supervised Learning with Consistency and ConfidenceKihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang et al.NeurIPS 2020 · 5,129 citations

Related papers

  1. Masked Representation Modeling for Domain-Adaptive SegmentationWenlve Zhou, Zhiheng Zhou, Tiantao Xian, Yikui Zhai et al.CVPR 2026
  2. Transferring to Real-World Layouts: A Depth-aware Framework for Scene AdaptationMu Chen, Zhedong Zheng, Yi YangACM MM 2024 · 19 citations
  3. MIC: Masked Image Consistency for Context-Enhanced Domain AdaptationLukas Hoyer, Dengxin Dai, Haoran Wang, Luc Van GoolCVPR 2023
  4. Focus on Your Target: A Dual Teacher-Student Framework for Domain-adaptive Semantic SegmentationXinyue Huo, Lingxi Xie, Wengang Zhou, Houqiang Li et al.ICCV 2023 · 18 citations
  5. UniDAformer: Unified Domain Adaptive Panoptic Segmentation Transformer via Hierarchical Mask CalibrationJingyi Zhang, Jiaxing Huang, Xiaoqin Zhang, Shijian LuCVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines