Semantic RGB-D Image Synthesis

Shijie Li, Rong Li, Juergen Gall

Abstract

Training robust indoor robotic vision systems is often hindered by the scarcity of high-quality, annotated RGB-D data. We present SCMIS (Semantic Consistent Multi-Modal Image Synthesis), a novel framework designed to generate realistic, paired RGB and depth images from simple semantic label maps. By disentangling scene layout from modality-specific details and utilizing an adaptive perceptual loss, SCMIS produces synthetic data that significantly improves the performance of downstream tasks. Our experiments demonstrate that augmenting training sets with SCMIS-generated data can boost indoor semantic segmentation accuracy by over 6% mIoU.

Introduction

Robust RGB-D semantic segmentation—the ability to identify objects using both color and depth—is critical for indoor robotic navigation. However, collecting such data is fraught with challenges: privacy concerns limit data collection in residential spaces, and manual annotation of depth maps is exceptionally labor-intensive.

Existing semantic image synthesis tools, such as SPADE or OASIS, are primarily optimized for RGB data. Attempts to adapt these models for depth generation often result in noisy, geometrically inconsistent outputs. SCMIS addresses this gap by providing a framework for multi-modal synthesis that ensures both visual realism and physical consistency.

The SCMIS Framework

The SCMIS architecture is built on three core innovations designed to handle the complexities of multi-modal data:

  1. Disentangled Generation: The generator employs a shared Modal-Independent Encoder to capture the spatial layout (the "where") from the label map. This is followed by two separate Modal-Dependent Decoders: an Appearance Decoder for color/texture (RGB) and a Geometry Decoder for depth. This separation allows the model to learn modality-specific features while maintaining a shared structural foundation.
  2. Adaptive Alignment Discriminator ($A^2Dis$): Unlike standard GAN discriminators that provide a single real/fake score, $A^2Dis$ is segmentation-based. It attempts to predict the semantic class of every pixel, forcing the generator to strictly adhere to the input label map.
  3. Adaptive Perceptual Loss: Traditional models use a fixed VGG network pre-trained on ImageNet to measure realism. SCMIS introduces a learnable backbone that adapts to the specific indoor dataset, ensuring the perceptual loss focuses on features relevant to indoor semantic classes rather than generic ImageNet features.
The SCMIS architecture features a shared encoder and separate decoders for RGB and depth, governed by an adaptive discriminator and perceptual loss.

Experimental Results

We evaluated SCMIS on major indoor benchmarks, including NYUv2 and SUN RGB-D. The model demonstrated superior performance in both image quality and utility for downstream tasks.

Enhanced Realism and Consistency

SCMIS achieves a Frechet Inception Distance (FID) of 55.2 on the NYUv2 dataset, significantly outperforming the previous state-of-the-art, OASIS, which scored 77.5. Qualitatively, the inclusion of explicit depth modeling improves the lighting and shadow consistency in the generated RGB images, as the model learns the underlying 3D structure of the scene.

Qualitative comparison on the NYUv2 dataset. SCMIS (c) produces significantly more realistic and geometrically consistent RGB and depth maps compared to the OASIS baseline (b).

Impact on Semantic Segmentation

The ultimate test of synthetic data is its ability to train better models. When synthetic SCMIS images were used to augment a standard ESANet segmentation model, the accuracy on NYUv2 jumped from 42.08 mIoU to 48.24 mIoU—a substantial +6.16 point improvement. This gain is attributed to both the quality of the images and the use of "LabelMix" regularization, which blends synthetic and real pixels during training.

Conclusion

SCMIS represents a significant step forward in multi-modal image synthesis. By disentangling geometry from appearance and employing adaptive training objectives, it provides a viable path for generating the large-scale RGB-D datasets required for modern robotics. Future work will focus on improving the high-frequency precision of synthetic depth maps and further narrowing the sim-to-real gap for physical robotic deployments.

Summary updated

Abstract

Collecting diverse sets of training images for RGB-D semantic image segmentation is not always possible. In particular, when robots need to operate in privacy-sensitive areas like homes, the collection is often limited to a small set of locations. As a consequence, the annotated images lack diversity in appearance and approaches for RGB-D semantic image segmentation tend to overfit the training data. In this paper, we thus introduce semantic RGB-D image synthesis to address this problem. It requires synthesising a realistic-looking RGB-D image for a given semantic label map. Current approaches, however, are uni-modal and cannot cope with multi-modal data. Indeed, we show that extending uni-modal approaches to multi-modal data does not perform well. In this paper, we therefore propose a generator for multi-modal data that separates modal-independent information of the semantic layout from the modal-dependent information that is needed to generate an RGB and a depth image, respectively. Furthermore, we propose a discriminator that ensures semantic consistency between the label maps and the generated images and perceptual similarity between the real and generated images. Our comprehensive experiments demonstrate that the proposed method outperforms previous uni-modal methods by a large margin and that the accuracy of an approach for RGB-D semantic segmentation can be significantly improved by mixing real and generated images during training.
BibTeX
@inproceedings{li2023semantic,
  author = {Shijie Li and Rong Li and Juergen Gall},
  title = {{Semantic RGB-D Image Synthesis}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
}
Figure