Semantic Image Synthesis via Adversarial Learning

Hao Dong, Simiao Yu, Chao Wu, Yike Guo

Abstract

This paper introduces a GAN-based framework for semantic image manipulation, allowing users to modify existing images through natural language descriptions. By utilizing a Residual Transformation Unit and pretrained VGG-19 features, the model successfully disentangles image structure from semantic attributes, enabling precise modifications while maintaining the original pose and background.

Introduction

While text-to-image synthesis had seen significant progress by 2017, the task of modifying an existing image via text remained a substantial challenge. The authors identify two primary hurdles: disentanglement and semantic mapping. The model must distinguish between features that should change (e.g., the color of a bird's breast) and those that should remain constant (e.g., the shape of the branch or the bird's posture), while accurately mapping specific words to spatial regions in the image.

Methodology

The proposed architecture is built on Generative Adversarial Networks (GANs) using an end-to-end neural structure.

The Generator and Residual Transformation

The Generator employs an encoder-decoder structure. A pretrained VGG-19 network extracts spatial features from the source image, while a text encoder converts descriptions into vectors. A key innovation is the Residual Transformation Unit. By using residual blocks, the network learns to treat text-based modifications as a "delta" to existing features rather than a total reconstruction, naturally preserving the source image's structure.

Overview of the semantic image manipulation task: combining a source image with a text description to produce a modified result.

Adaptive Loss Function

To ensure the model respects the text without overwriting the source image, the authors used a training strategy involving three types of pairs for the discriminator: positive (matching), negative (mismatch), and negative (synthesized). This forces the generator to focus on the nuances of the description rather than producing generic outputs.

Key Results and Insights

The model was evaluated on the CUB-200 (birds) and Oxford-102 (flowers) datasets. Human evaluation studies confirmed the model's superiority in maintaining structural integrity.

  • Pose Preservation: On the bird dataset, the model achieved a score of 1.52, significantly outperforming the baseline's 2.87.
  • Background Consistency: The model scored 1.39, compared to the baseline's 2.68.
Synthesized bird images demonstrating the model's ability to alter color and species characteristics while preserving the original pose and background.

Qualitative results show that the model can transition smoothly between semantic states, such as changing a bird's color from blue to red while keeping the exact same branch and lighting conditions. This demonstrates that the model has learned a continuous and smooth semantic manifold.

Limitations and Future Work

Despite its success, the model is limited by the relatively low resolution (64x64 and 128x128) typical of GANs from its era. Additionally, the architecture was tested on highly structured domains like birds and flowers; its performance on more complex, multi-object scenes remains an area for future exploration.

Summary updated

BibTeX
@inproceedings{dong2017semantic,
  author = {Hao Dong and Simiao Yu and Chao Wu and Yike Guo},
  title = {{Semantic Image Synthesis via Adversarial Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.608},
}
Figure