Abstract
Semantic segmentation requires massive amounts of pixel-perfect human annotations, which are expensive and time-consuming to produce. While synthetic data from computer games like Grand Theft Auto V provides an alternative with free ground-truth labels, the "domain shift" between synthetic and real-world data significantly degrades model performance. We present Fully Convolutional Adaptation Networks (FCAN), a framework that bridges this gap through a dual-pronged approach: pixel-level appearance adaptation and feature-level representation adaptation. Our method achieves state-of-the-art unsupervised domain adaptation performance on the Cityscapes and BDDS datasets without requiring any manual labels for real-world images.
Introduction
Deep learning has revolutionized semantic segmentation, yet the reliance on large-scale annotated datasets remains a significant bottleneck. Synthetic data generation offers a scalable solution, but models trained on game engines often fail to generalize to real-world dashcam footage due to differences in lighting, textures, and camera characteristics. This paper addresses the challenge of Unsupervised Domain Adaptation (UDA), aiming to transfer knowledge from a labeled source domain (synthetic) to an unlabeled target domain (real-world).
Methodology
The proposed FCAN architecture tackles domain shift at two distinct levels to ensure robust performance across different environments:
- Appearance Adaptation Networks (AAN): Operating at the pixel level, AAN utilizes neural style transfer to transform source images to match the visual style (texture, lighting, shading) of the target domain. This ensures that synthetic inputs "look" more realistic before they enter the segmentation model.
- Representation Adaptation Networks (RAN): Operating at the feature level, RAN employs an adversarial learning strategy. A domain discriminator attempts to distinguish between source and target features, while the segmentation network (generator) is trained to produce domain-invariant representations that fool the discriminator.
Technical Innovations
- ASPP in the Discriminator: Integrating Atrous Spatial Pyramid Pooling (ASPP) allows the discriminator to account for objects at multiple scales (e.g., large nearby cars vs. distant pedestrians), improving alignment.
- Joint Optimization: The system balances standard segmentation loss on labeled synthetic data with adversarial loss on unlabeled real data.
- Region-Level Alignment: Unlike global style transfer, FCAN performs adaptation at the region level, acknowledging that different image components (e.g., sky vs. road) have distinct domain characteristics.
Experiments and Results
The model was evaluated using GTA5 (24,966 frames) as the source dataset and Cityscapes (5,000 frames) and BDDS as target datasets.
Performance Benchmarks
- Cityscapes: FCAN improved the Mean Intersection over Union (mIoU) from a baseline of 29.15% (no adaptation) to 46.60%, significantly outperforming previous methods like FCNWild (42.04%).
- BDDS: The model achieved a record unsupervised mIoU of 47.5% on the Berkeley Deep Driving Segmentation dataset.
Ablation studies confirmed that both AAN and RAN are complementary. Appearance-level adaptation handles low-level visual differences, while representation-level adaptation ensures high-level semantic alignment. Notably, the authors found that treating the target style as a subtle "delta" adjustment helped preserve precise semantic boundaries.
Conclusion and Future Work
FCAN successfully demonstrates that combining pixel-level and feature-level adaptation can significantly mitigate domain shift in semantic segmentation. While effective, the authors noted that AAN can sometimes introduce noise at object boundaries. Future work will explore more advanced rendering techniques and extend the framework to other domains such as indoor scene and portrait segmentation.
Summary updated