Self-supervised Augmentation Consistency for Adapting Semantic Segmentation

Nikita Araslanov, Stefan Roth

Introduction

Semantic segmentation is a critical task in computer vision, yet its reliance on dense, pixel-level annotations makes scaling to new environments prohibitively expensive. Unsupervised Domain Adaptation (UDA) offers a solution by training models on synthetic data (e.g., GTA5) and adapting them to real-world target domains (e.g., Cityscapes). However, recent UDA research has trended toward increasingly complex architectures involving adversarial training, multi-stage self-training, and style transfer.

This paper introduces Self-supervised Augmentation Consistency (SAC), a streamlined framework that achieves state-of-the-art performance by prioritizing a fundamental principle: model predictions should remain consistent under various data augmentations. By moving away from complex GAN-based pipelines, SAC offers a more reproducible and efficient path for domain adaptation.

The SAC Framework

The core of the SAC approach is enforcing prediction consistency across photometric and spatial transformations. Unlike traditional self-training that relies on static pseudo-labels generated in offline rounds, SAC utilizes a "co-evolving" pseudo-labeling strategy.

Overview of the SAC framework, illustrating the interaction between the Segmentation Net and the Momentum Net, as well as the multi-scale fusion process.

Momentum Network and Multi-scale Fusion

The framework maintains two versions of the segmentation model: a primary Segmentation Net and a Momentum Net. The Momentum Net is a slowly moving average of the Segmentation Net's weights, providing stable targets that act as a temporal ensemble.

During training, the Momentum Net processes multiple random crops and flips of a target image. These diverse views are fused back onto the original image canvas to create high-fidelity pseudo-labels. The Segmentation Net is then trained to match these fused predictions while being subjected to additional photometric noise (e.g., color jitter, blur), ensuring the model learns features invariant to lighting and texture changes.

Addressing the Long-Tail Distribution

A common failure mode in UDA is the neglect of rare classes (e.g., "bus", "traffic light"). To combat this, the authors implement three strategies:

  1. Confidence-based Moving Threshold (CBT): Dynamically adjusts the pseudo-labeling threshold for each class based on its global frequency, allowing rare classes to be included even with lower initial confidence.
  2. Focal Loss with Confidence Regularization: Re-weights the loss to emphasize difficult, under-represented classes.
  3. Importance Sampling: Increases the frequency of images containing rare classes during the training process.

Experimental Results

The SAC framework was evaluated on standard synthetic-to-real benchmarks, specifically GTA5 → Cityscapes and SYNTHIA → Cityscapes.

Performance comparison on the GTA5 to Cityscapes benchmark. SAC (Ours) significantly outperforms previous methods using the VGG-16 backbone.

As shown in the comparison above, SAC achieves a Mean Intersection over Union (mIoU) of 49.9 on the GTA5 → Cityscapes benchmark using a VGG-16 backbone, a significant improvement over previous state-of-the-art methods like CD-AM and SA-I2I. With a ResNet-101 backbone, the performance reaches 53.8 mIoU. Similar gains were observed on the SYNTHIA benchmark, where SAC outperformed the previous VGG-based SOTA by 7.6%.

Conclusion

The success of SAC demonstrates that simplicity and consistency are powerful tools in domain adaptation. By leveraging a momentum network and multi-scale fusion, the framework avoids the computational overhead and instability of adversarial training while setting new performance benchmarks. The method's ability to handle long-tail distributions through dynamic thresholding further ensures robust performance across all semantic categories. Future work may extend these principles of augmentation consistency to other dense prediction tasks such as depth estimation or instance segmentation.

Summary updated

BibTeX
@misc{araslanov2021self,
  author = {Nikita Araslanov and Stefan Roth},
  title = {{Self-supervised Augmentation Consistency for Adapting Semantic Segmentation}},
  year = {2021},
  eprint = {2105.00097},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.00097},
}
Figure