Domain Adaptation and Generalization: A Low-Complexity Approach

Joshua Niemeijer, Jörg Peter SchäferCoRL 2022

Introduction

Deep learning models for semantic segmentation, particularly in autonomous driving, often struggle with domain shift. A model trained on synthetic data or specific geographic locations frequently fails when deployed in novel environments due to variations in weather, lighting, and urban architecture. While synthetic datasets like GTA5 offer a cost-effective alternative to manual labeling, the "domain gap" between simulated and real-world pixels remains a significant hurdle.

Current state-of-the-art Unsupervised Domain Adaptation (UDA) methods often rely on complex "hybrid" architectures involving adversarial training, style transfer, and multiple loss functions. These approaches are frequently difficult to tune and reproduce. This paper introduces EasyAdap, a streamlined iterative framework that achieves competitive performance through a combination of robust source training, semantic feature clustering, and iterative self-training.

Methodology

EasyAdap is designed as a low-complexity alternative to existing hybrid UDA models. The framework operates through three integrated components:

1. Robust Source Training

The initial phase involves training on synthetic source data using class-uniform sampling. This ensures that rare but critical classes, such as pedestrians or traffic signs, receive adequate representation compared to dominant classes like road or sky. Extensive data augmentation is applied to improve the model's initial generalization capabilities.

2. Semantic Feature Clustering

To align the source and target domain distributions, EasyAdap utilizes semantic clustering in the feature space. Target-domain features are pulled toward class-specific centroids derived from the source data. This self-supervised alignment helps bridge the domain gap without requiring ground-truth labels for the target domain.

3. Iterative Self-Training

The model generates pseudo-labels for target images, using an entropy-based threshold to filter out low-confidence predictions. Unlike standard self-training, this process is iterative: the model generates labels, resets its weights, and is retrained from scratch using a combination of synthetic data and the high-confidence pseudo-labels.

The EasyAdap training pipeline, illustrating the iterative cycle of self-supervision, supervision, and self-training to improve pseudo-labels.

Experimental Setup

The method was evaluated using synthetic-to-real benchmarks:

  • Source Domains: GTA5 and Synthia.
  • Target Domain: Cityscapes.
  • Generalization Domains: BDD100K (diverse US locations) and ACDC (Rain, Fog, Snow, and Night conditions).

Results and Discussion

EasyAdap demonstrates that high performance does not necessitate extreme architectural complexity. On the GTA5 to Cityscapes benchmark, the method achieved a mean Intersection over Union (mIoU) of 56.32%, performing comparably to complex state-of-the-art models like ProDA (57.5%).

Synergy and Generalization

A key finding is the synergistic effect between semantic clustering and self-training. While self-training alone improved mIoU by 8% and clustering alone by 4%, their simultaneous application resulted in a 15% gain. The clustering process refines the feature space, leading to more accurate pseudo-labels, which in turn stabilizes the self-training loop.

Quantitative mIoU progression over adaptation steps and qualitative segmentation results comparing Source Only, Self-Training, and the full EasyAdap method.

Furthermore, EasyAdap exhibits strong generalization to unseen domains. In tests on the ACDC "Rain" dataset, the model achieved 43.02% mIoU, nearly matching the 45.58% mIoU of a model trained directly on real Cityscapes data. This suggests the adaptation process captures robust features that transcend specific environmental conditions.

Conclusion

EasyAdap provides a powerful, reproducible baseline for unsupervised domain adaptation. By focusing on iterative self-training and feature-space alignment, it bridges the gap between synthetic and real-world data without the overhead of adversarial "hybrid" models. Future work will explore richer synthetic datasets to further narrow the gap in extreme conditions like heavy fog and snow.

Summary updated

BibTeX
@inproceedings{niemeijer2022domain,
  author = {Joshua Niemeijer and Jörg Peter Schäfer},
  title = {{Domain Adaptation and Generalization: A Low-Complexity Approach}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
}
Figure