Introduction
Deep neural networks have achieved remarkable success in semantic segmentation, a critical task for autonomous driving. However, these models often exhibit significant performance degradation when deployed in environments different from their training data—a phenomenon known as domain shift. While synthetic datasets like GTA5 and SYNTHIA provide abundant, pixel-perfect labels, models trained exclusively on them often fail to generalize to real-world road scenes due to discrepancies in lighting, texture, and sensor characteristics.
Manually labeling real-world data is prohibitively expensive. Consequently, Unsupervised Domain Adaptation (UDA) has emerged as a vital research area, aiming to transfer knowledge from a labeled source domain (synthetic) to an unlabeled target domain (real-world). This paper proposes a novel framework that refines domain alignment through a dual-discriminator adversarial setup and a class-wise adaptive self-training strategy.
Methodology
The proposed architecture integrates four primary components to bridge the reality gap: supervised learning on source data, dual adversarial learning, adaptive self-training, and a dynamic thresholding mechanism.
Dual Adversarial Learning
Unlike conventional UDA methods that utilize a single discriminator, this framework employs two distinct discriminators to provide a more comprehensive alignment signal:
- Discriminator 1 ($D_1$): This module is trained to distinguish between ground-truth labels and predicted segmentation maps. By doing so, it encourages the generator ($G$) to produce spatially consistent and "realistic-looking" label distributions.
- Discriminator 2 ($D_2$): This module focuses on domain alignment by attempting to distinguish whether a segmentation map originated from a synthetic or a real image. This forces the network to produce similar output distributions regardless of the input domain.
Adaptive Self-Training and Thresholding
A key innovation of this work is the use of $D_1$ as a confidence estimator. If $D_1$ perceives a prediction as "realistic," the model treats it as a high-confidence pseudo-label for self-training on the target domain.
To prevent the model from being overwhelmed by "easy" classes (e.g., road, sky) and neglecting "hard" classes (e.g., poles, signs), the authors introduce Adaptive Thresholding. Instead of a fixed confidence threshold, the system calculates a class-wise, time-varying threshold based on the $f$-th percentile of confidence within each batch. This dynamic approach ensures a balanced selection of pseudo-labels throughout the training process, allowing the model to adapt as its certainty improves.
Experimental Setup
The framework was rigorously evaluated across four cross-domain scenarios involving major benchmarks:
- Source Domains (Synthetic): GTA5 (~25k images) and SYNTHIA (~9k images).
- Target Domains (Real-World): Cityscapes (5k high-quality images) and Mapillary Vistas (20k high-resolution images with diverse settings).
The primary metric for evaluation is the mean Intersection over Union (mIoU), which measures the overlap between predicted and ground-truth segments.
Results and Analysis
The proposed method consistently outperformed state-of-the-art UDA approaches across all tested scenarios. In the GTA5 $\rightarrow$ Cityscapes task, the model achieved a 35.1% mIoU, a significant improvement over the 31.9% non-adapted baseline. Similarly, for SYNTHIA $\rightarrow$ Cityscapes, the performance reached 34.6% mIoU, compared to a 28.8% baseline.
Qualitative analysis reveals that the proposed method produces much cleaner boundaries for large regions like "road" and "sidewalk." Furthermore, it demonstrates superior performance in detecting small, structurally complex objects such as traffic signs and poles, which are often missed or misclassified by competing methods.
Conclusion
This paper demonstrates that combining dual-discriminator adversarial learning with class-wise adaptive self-training significantly enhances the robustness of semantic segmentation models under domain shift. By leveraging the discriminator as a confidence proxy and employing dynamic thresholding, the framework effectively balances the learning process across diverse object classes. Future research may explore direct alignment within the feature space to further narrow the gap between synthetic and real-world data distributions.
Summary updated