All About Structure: Adapting Structural Information Across Domains for Boosting Semantic Segmentation

Wei-Lun Chang, Hui-Po Wang, Wen-Hsiao Peng, Wei-Chen Chiu

Abstract

In this paper we tackle the problem of unsupervised domain adaptation for the task of semantic segmentation, where we attempt to transfer the knowledge learned upon synthetic datasets with ground-truth labels to real-world images without any annotation. With the hypothesis that the structural content of images is the most informative and decisive factor to semantic segmentation and can be readily shared across domains, we propose a Domain Invariant Structure Extraction (DISE) framework to disentangle images into domain-invariant structure and domain-specific texture representations, which can further realize image-translation across domains and enable label transfer to improve segmentation performance. Extensive experiments verify the effectiveness of our proposed DISE model and demonstrate its superiority over several state-of-the-art approaches.

Introduction

Semantic segmentation—the task of labeling every pixel in an image—is a critical component of autonomous systems. However, training these models requires vast amounts of pixel-level annotations. While synthetic datasets like GTA5 and SYNTHIA provide millions of labeled images automatically, models trained on them often fail in the real world due to domain shift. Lighting, weather, and rendering styles (texture) differ significantly between synthetic and real-world domains.

Conventional domain adaptation methods typically attempt to align feature distributions between domains to find a common representation. However, forcing global alignment can be counterproductive as it ignores the inherent differences in domain-specific appearances. This paper proposes the Domain Invariant Structure Extraction (DISE) framework, which operates on the hypothesis that the structural layout of a scene is universal across domains, while texture is the primary source of domain-specific noise.

Comparison between conventional domain adaptation and the proposed DISE framework.

The DISE Framework

The core innovation of DISE is a disentanglement strategy that breaks an image into two distinct representations: domain-invariant structure and domain-specific texture.

Disentanglement and Architecture

The framework utilizes a shared common encoder ($E_c$) to extract domain-invariant structural features ($z_c$) and domain-specific private encoders ($E_p^s, E_p^t$) to capture texture features ($z_p^s, z_p^t$). By separating these components, the model can focus its segmentation efforts on the structural "bones" of the image, which remain consistent whether the image is from a video game or a real-world camera.

Detailed architecture of the Domain Invariant Structure Extraction (DISE) framework, showing encoders, decoders, and loss functions.

Image Translation and Label Transfer

This disentanglement enables cross-domain image translation. By combining the structure of a synthetic image ($z_c^s$) with the texture of a real-world image ($z_p^t$), the model generates a "real-looking" version of the synthetic scene. Crucially, because the structure is preserved, the original synthetic labels remain valid for this translated image. This process, termed Label Transfer (LT), allows for supervised training on target-like textures without requiring manual annotations for the real-world domain.

Experiments and Results

The DISE framework was evaluated on standard benchmarks transferring knowledge from synthetic (GTA5, SYNTHIA) to real-world (Cityscapes) domains.

  • GTA5 to Cityscapes: DISE achieved a mean Intersection over Union (mIoU) of 45.4, significantly outperforming previous state-of-the-art methods like AdaptSegNet (42.4) and CyCADA (39.5).
  • SYNTHIA to Cityscapes: The model reached 41.5 mIoU (16-class evaluation), again demonstrating superiority over existing approaches.

Qualitative analysis shows that DISE is particularly effective at distinguishing between classes with similar textures but distinct structural roles, such as roads and sidewalks, which are often confused by conventional adaptation methods.

Conclusion

The DISE framework demonstrates that focusing on domain-invariant structural information is a powerful strategy for unsupervised domain adaptation. By disentangling structure from texture, the model not only improves segmentation accuracy but also enables effective cross-domain image translation and label transfer. This "structure-first" approach provides a robust path forward for training AI models on synthetic data for real-world deployment.

Summary updated

BibTeX
@inproceedings{chang2019all,
  author = {Wei-Lun Chang and Hui-Po Wang and Wen-Hsiao Peng and Wei-Chen Chiu},
  title = {{All About Structure: Adapting Structural Information Across Domains for Boosting Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=vJW16D1jBW},
}
Figure