Augmentation-based Domain Generalization for Semantic Segmentation

Manuel Schwonberg, Fadoua El Bouazati, Nico M. Schmidt, Hanno Gottschalk · DOI

Introduction

Deep Neural Networks (DNNs) often encounter a significant performance drop when transitioned from a training environment (source domain) to an unseen environment (target domain). In the context of autonomous driving, this is a critical safety concern: a model trained on synthetic, clear-weather data may fail when deployed in a real-world rainy city.

While researchers typically address this through Unsupervised Domain Adaptation (UDA)—which requires target domain data—this paper explores Domain Generalization (DG). In DG, the goal is to learn robust features from the source domain that generalize to any environment. This study investigates a fundamental question: Can simple, rule-based image augmentations, when systematically combined, rival complex state-of-the-art methods?

Methodology

The authors employ a two-step systematic approach to identify optimal augmentation strategies:

  1. Screening Phase: An extensive set of individual augmentations across three categories—Geometric (e.g., cropping, flipping), Color (e.g., jitter, CLAHE), and Texture (e.g., Gaussian blur, noise)—were evaluated.
  2. Full Factorial Design (FFD): The top five performers were selected to test all $2^5 = 32$ possible combinations. This statistical approach allowed the authors to identify synergistic interactions and redundant operations.

Architectures: The study benchmarks the industry-standard DeepLabV2 (ResNet-101) against a modern Vision Transformer (ViT) architecture, DAFormer, marking one of the first rigorous DG evaluations for ViTs in semantic segmentation.

Datasets: Models were trained on the synthetic Synthia dataset (9,400 images) and evaluated on real-world datasets, Cityscapes (CS) and BDD100K (BDD), to measure out-of-domain generalization.

Statistical Analysis and Key Insights

The systematic evaluation revealed several critical findings regarding how models learn to generalize:

  • The Power of the Crop: Random cropping significantly outperformed resizing. Resizing likely introduces artifacts or removes fine-grained details essential for robust feature extraction.
  • Diminishing Returns: Statistical analysis showed that many augmentations have negative interaction coefficients. For instance, combining Random Rain and Gaussian Blur provides less benefit than the sum of their parts, as both primarily perform blurring operations.
  • Transformers as Natural Generalizers: The DAFormer architecture inherently outperformed ResNet-101. ViTs appear less susceptible to the "texture bias" common in CNNs, making them better suited for DG tasks.
  • Statistical Validation: The FFD confirmed that Elastic Transform (ET) and Random Resized Cropping (RRC) were the most impactful individual factors for out-of-domain performance.
Statistical analysis of augmentation effects on out-of-domain generalization.

Experimental Results

The results demonstrate that simple augmentation strategies can be highly effective. Using only basic augmentations with a ResNet-101 backbone, the authors achieved 39.5% mIoU on Cityscapes, nearing the performance of far more complex methods that utilize external data or specialized layers.

By combining the optimized augmentation strategy with the DAFormer architecture, the authors established a new state-of-the-art benchmark of 44.2% mIoU for synthetic-to-real generalization.

Comparison of the proposed augmentation strategy against state-of-the-art DG methods.

Conclusion and Future Work

This research highlights that systematic augmentation is a potent tool for Domain Generalization. However, limitations remain. The study was restricted to 5 augmentations in the FFD due to computational costs, and augmentation intensities were kept at default levels. Future work could explore tuning the "strength" of these augmentations and developing "source-only" metrics for model checkpoint selection, as current methods often rely on target data to determine the best-performing model.

Summary updated

BibTeX
@inproceedings{schwonberg2023augmentation,
  author = {Manuel Schwonberg and Fadoua El Bouazati and Nico M. Schmidt and Hanno Gottschalk},
  title = {{Augmentation-based Domain Generalization for Semantic Segmentation}},
  booktitle = {IV},
  year = {2023},
  url = {https://openreview.net/forum?id=GOUz0SGG6z},
}
Figure