ROAD: Reality Oriented Adaptation for Semantic Segmentation of Urban Scenes

Yuhua Chen, Wen Li, Luc Van Gool

TL;DR

ROAD-Net (Reality Oriented Adaptation Network) significantly improves the performance of urban scene segmentation models trained on synthetic data (like video games) when applied to the real world. It achieves this by combining target-guided distillation to maintain real-world image styles and spatial-aware adaptation to align data distributions based on the predictable geometry of city streets.

What Problem Does This Paper Address?

Deep learning models for semantic segmentation—the task of labeling every pixel in an image (e.g., "road," "car," "pedestrian")—require massive amounts of human-annotated data. Labeling urban scenes is incredibly expensive and slow. A popular workaround is to use synthetic data from photo-realistic video games like Grand Theft Auto V, where pixel-perfect labels can be generated automatically.

However, models trained on synthetic data often fail in the real world due to the domain gap. This gap is two-fold:

  1. Representation Overfitting: The model's convolutional filters learn to recognize "video game textures" rather than real-world features.
  2. Distribution Mismatch: The statistical distribution of features in a game differs from real-world sensor data, leading to biased predictions.

Methods

The authors propose two novel modules to bridge this gap, integrated into a framework called ROAD-Net:

1. Target Guided Distillation

To keep the model's "eyes" focused on reality, the authors use a distillation strategy. They take a model already pretrained on a large real-world dataset (like ImageNet) and freeze it to act as a "teacher." During training, unlabeled real-world images are fed into both the new segmentation model and the frozen teacher. The segmentation model is penalized if its internal feature maps deviate too much from the teacher's. This "soft guidance" prevents the filters from overfitting to synthetic styles while allowing them to learn the segmentation task.

Figure 2. Illustration of target guided distillation. By feeding the target real images into both the segmentation model, and a pre- trained model, the segmentation model is encourage to imitate the pretrained model to learn real style convolutional filters.

2. Spatial-Aware Adaptation

Standard domain adaptation techniques try to align the global statistics of two domains. However, urban scenes have a very consistent spatial structure: the sky is usually at the top, the road is at the bottom, and cars appear in the middle.

ROAD-Net exploits this by dividing images into a grid (e.g., $3 \times 3$) and performing domain alignment locally within each region. This ensures the model aligns "synthetic sky" features specifically with "real sky" features, rather than trying to match the entire image at once.

Figure 1. Illustration of our Reality Oriented Adaptation networks(ROAD-Net) for semantic segmentation of urban scenes. Our network is built upon conventional semantic segmentation networks, and incorporates a target guided distillation module for real style orientation, and a spatial-aware adaptation module for real distribution orientation.

Datasets

The researchers evaluated ROAD-Net using two common synthetic-to-real benchmarks:

  • Source (Synthetic): GTAV (25,000 images from the game) and SYNTHIA (a large-scale synthetic urban dataset).
  • Target (Real): Cityscapes, a benchmark dataset containing high-quality images of European street scenes.

Key Insights and Ideas

  • Style vs. Distribution: The paper argues that domain adaptation isn't just about aligning distributions; it's also about preventing the fundamental feature extractors (the convolutional filters) from becoming "corrupted" by synthetic textures.
  • Geometry as a Prior: By using a simple spatial grid, the authors show that basic geometric knowledge of a scene is a powerful tool for domain adaptation. Aligning features based on where they appear in the frame is much more effective than global alignment.
  • Distillation > Freezing: The authors found that guiding a model via distillation is superior to simply freezing early layers. Distillation allows the entire network to remain flexible enough to learn the new task while staying grounded in real-world representations.

Key Results

ROAD-Net achieved state-of-the-art results for unsupervised domain adaptation at the time of publication:

  • Performance Boost: On the GTAV-to-Cityscapes task, the baseline model (no adaptation) achieved only 21.9% mean Intersection over Union (mIoU). ROAD-Net boosted this to 35.9% using a VGG-16 backbone and 39.4% using a more powerful PSPNet backbone.
  • Ablation Study: Both modules contributed significantly. Distillation alone improved mIoU by ~9%, and spatial adaptation alone improved it by ~10%.
  • Qualitative Improvement: As seen in the figure below, ROAD-Net produces much cleaner, more spatially coherent segmentation masks compared to the non-adapted baseline.
Figure 5. Qualitative semantic segmentation results on the Cityscapes: (a) original image, (b) ground truth annotation, (c) NonAdapt baseline, (d) our model using target guided distillation only, (e) our model using spatial aware adaptation only, (f) our final ROAD-Net model.

Limitations and Future Work

  • Small Objects: The model still struggles with categories that occupy very few pixels, such as traffic lights and signs. The authors suggest this is due to the inherent instability of calculating IoU for very small classes.
  • Teacher Dependency: The method relies on the availability of a high-quality pretrained model to act as a teacher for the distillation process.
  • Future Directions: The authors suggest that further exploiting more complex scene layouts or temporal information (in videos) could further enhance adaptation.

Summary updated

BibTeX
@inproceedings{chen2017road,
  author = {Yuhua Chen and Wen Li and Luc Van Gool},
  title = {{ROAD: Reality Oriented Adaptation for Semantic Segmentation of Urban Scenes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2018.00823},
}
Figure