Skip to main content
QUICK REVIEW

[Paper Review] Semantic Road Layout Understanding by Generative Adversarial Inpainting

Lorenzo Berlincioni, Federico Becattini|arXiv (Cornell University)|May 29, 2018
Generative Adversarial Networks and Image SynthesisComputer Science32 references6 citations
TL;DR

This paper proposes a GAN-based semantic inpainting model that reconstructs occluded road layouts by removing dynamic objects from semantic segmentation maps, rather than RGB images. The method achieves superior accuracy in recovering static scene structures—especially roads and sidewalks—compared to RGB inpainting and segmentation baselines, demonstrating that direct semantic inpainting outperforms image-to-image translation for autonomous driving scene understanding.

ABSTRACT

Autonomous driving is becoming a reality, yet vehicles still need to rely on complex sensor fusion to understand the scene they act in. The ability to discern static environment and dynamic entities provides a comprehension of the road layout that poses constraints to the reasoning process about moving objects. We pursue this through a GAN-based semantic segmentation inpainting model to remove all dynamic objects from the scene and focus on understanding its static components such as streets, sidewalks and buildings. We evaluate this task on the Cityscapes dataset and on a novel synthetically generated dataset obtained with the CARLA simulator and specifically designed to quantitatively evaluate semantic segmentation inpaintings. We compare our methods with a variety of baselines working both in the RGB and segmentation domains.

Motivation & Objective

  • To address the challenge of understanding static road layouts in autonomous driving despite occlusions from dynamic objects like vehicles and pedestrians.
  • To develop a novel semantic inpainting model that reconstructs missing scene structures directly from segmentation maps, rather than RGB images.
  • To evaluate the method on both real (Cityscapes) and synthetic (CARLA-generated) datasets to ensure robustness and quantitative assessment.
  • To demonstrate that semantic inpainting outperforms RGB inpainting and standard segmentation pipelines in preserving structural accuracy of road layouts.
  • To enable more reliable trajectory planning and obstacle avoidance by recovering physically constrained scene layouts from partially occluded views.

Proposed method

  • The method employs a conditional GAN architecture trained to inpaint masked regions in semantic segmentation maps, using context from surrounding static classes.
  • Dynamic object masks are generated via a pre-trained DeepLab-v3+ model on RGB images, which are then used to define the inpainting region in the segmentation map.
  • The generator learns to reconstruct plausible spatial layouts by attending to semantic context, while the discriminator ensures realistic distribution of predicted classes.
  • The model is trained end-to-end on both Cityscapes and a novel synthetic dataset generated with the CARLA simulator, with class-aware loss functions.
  • Two pipeline variants are evaluated: inpainting the segmentation map directly, and inpainting the RGB image first before segmentation.
  • The approach leverages the structural consistency of semantic maps, avoiding texture-based reconstruction errors common in RGB inpainting.

Experimental results

Research questions

  • RQ1Can a GAN-based model effectively reconstruct occluded road layouts from semantic segmentation maps, rather than RGB images?
  • RQ2How does direct semantic inpainting compare to RGB inpainting followed by segmentation in terms of structural accuracy and layout recovery?
  • RQ3Does the model generalize to real-world (Cityscapes) and synthetic (CARLA) urban driving scenarios with varying levels of occlusion?
  • RQ4To what extent does the method preserve fine-grained structures like curbs, poles, and fences that are often poorly segmented?
  • RQ5Can the model recover physically meaningful scene layouts even when the input segmentation is imperfect, such as from a weakly supervised model?

Key findings

  • The proposed semantic inpainting model achieves significantly higher accuracy in reconstructing road layouts compared to RGB inpainting baselines, especially on fine-grained classes like fences and poles.
  • On the MICC-SRI synthetic dataset, the method outperforms all baselines, with a 20-point improvement over nearest-neighbor RGB inpainting in mIoU.
  • Inpainting directly on segmentation maps yields better results than RGB inpainting followed by segmentation, due to reduced error propagation from texture-based reconstruction.
  • The confusion matrix shows strong performance on large classes (Road, Building, Sidewalk), but lower accuracy on small, fine-structured objects (Fence, Pole), which are inherently challenging for segmentation models.
  • The method maintains high performance even when using predictions from DeepLab-v3+ instead of ground truth segmentations, demonstrating robustness to segmentation noise.
  • Qualitative results confirm that the model produces coherent, structurally plausible layouts that preserve spatial continuity and boundary consistency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.