Effective Use of Synthetic Data for Urban Scene Semantic Segmentation

Fatemeh Sadat Saleh, Mohammad Sadegh Aliakbarian, Mathieu Salzmann, Lars Petersson, José M. Álvarez

Introduction

Deep learning has revolutionized semantic segmentation, yet it remains constrained by a significant "data hunger." Manually labeling a single image from high-fidelity datasets like Cityscapes can take approximately 90 minutes. While synthetic data—sourced from video games like Grand Theft Auto V (GTA V)—offers an infinite supply of free labels, models trained exclusively on these "fake" images often fail in real-world applications. This failure is primarily due to domain shift: the perceptual discrepancies in texture, lighting, and style between synthetic pixels and those captured by a real camera.

The Challenge of Domain Shift

Traditional solutions to domain shift involve Domain Adaptation, where models utilize unlabeled real images during training to bridge the gap. However, this limits deployment to environments the model has already "seen." This research explores a more ambitious goal: building a high-performing model using only synthetic data, ensuring portability for "cold-start" deployments in entirely new environments.

Comparison of real-world image patches (top) and synthetic patches (bottom) across various classes, highlighting the domain gap in textures.

Methodology: The "Stuff vs. Things" Split

The authors' core insight is that domain shift affects different semantic classes in distinct ways. They propose a bifurcated framework that treats background "stuff" and foreground "things" separately:

  1. Background Segmentation (Texture-based): For classes like roads, sidewalks, and vegetation ("stuff"), texture is the primary cue. Synthetic datasets like GTA5 are remarkably realistic in these areas, allowing a standard DeepLab (VGG16-based) network to generalize well.
  2. Foreground Detection (Shape-based): For "things" like cars, pedestrians, and riders, synthetic textures often look "off" (the uncanny valley). However, their geometric shapes remain highly realistic. The authors utilize Mask R-CNN for these classes, arguing that object detectors are more robust to domain shift because they rely on object proposals and geometry rather than local pixel textures.
  3. Fusion and Pseudo-Labeling: At inference, foreground instance masks from Mask R-CNN are prioritized, with the DeepLab background model filling the remaining areas. If unlabeled real images are available, this fused model can generate "pseudo-ground-truth" labels for further fine-tuning.

To validate this approach, the authors conducted an experiment training a classifier to distinguish between real and synthetic images. When shown full textures, the classifier was 95% accurate. However, when shown only silhouettes (shapes), accuracy dropped to 70%, proving that shape is a much more domain-invariant feature than texture.

Datasets

The study utilizes GTA5 (24,966 images) for background training and introduces VEIS (Virtual Environment for Instance Segmentation). Created in Unity3D, VEIS provides 61,305 frames with perfect instance-level annotations for foreground objects, compensating for the lack of such detailed data in GTA5.

Key Results

The bifurcated approach achieves remarkable results without seeing a single real image during primary training. On the Cityscapes validation set, the synthetic-only model reached 38.0 mIoU, outperforming established domain adaptation methods like ROAD (35.9) and CyCADA (35.4) that had the advantage of seeing real-world data during training.

Quantitative comparison of standard segmentation versus the proposed detection-based approach across foreground classes.

As shown in the table above, the detection-based approach significantly boosts performance for difficult foreground classes. For instance, the "Rider" class saw its accuracy more than double compared to standard segmentation baselines. When pseudo-labeling on real images was added, performance further climbed to 42.5 mIoU, setting a new state-of-the-art for the time.

Conclusion

By recognizing that semantic segmentation is a dual problem—texture matching for backgrounds and geometry recognition for foregrounds—the authors demonstrate that synthetic data can be used far more effectively than previously thought. Their "zero-real-image" training paradigm offers a scalable path forward for deploying robust vision systems in diverse and unpredictable urban environments.

Summary updated

BibTeX
@inproceedings{saleh2018effective,
  author = {Fatemeh Sadat Saleh and Mohammad Sadegh Aliakbarian and Mathieu Salzmann and Lars Petersson and José M. Álvarez},
  title = {{Effective Use of Synthetic Data for Urban Scene Semantic Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01216-8\_6},
}
Figure