Controllable Person Image Synthesis With Attribute-Decomposed GAN

Yifang Men, Yiming Mao, Yuning Jiang, Wei-Ying Ma, Zhouhui Lian

Abstract

This paper introduces the Attribute-Decomposed GAN, a novel generative model for controllable person image synthesis, which can produce realistic person images with desired human attributes (e.g., pose, head, upper clothes and pants) provided in various source inputs. The core idea of the proposed model is to embed human attributes into the latent space as independent codes and thus achieve flexible and continuous control of attributes via mixing and interpolation operations in explicit style representations. Specifically, a new architecture consisting of two encoding pathways with style block connections is proposed to decompose the original hard mapping into multiple more accessible subtasks. In source pathway, we further extract component layouts with an off-the-shelf human parser and feed them into a shared global texture encoder for decomposed latent codes. This strategy allows for the synthesis of more realistic output images and automatic separation of un-annotated attributes. Experimental results demonstrate the proposed method's superiority over the state of the art in pose transfer and its effectiveness in the brand-new task of component attribute transfer.

Introduction

Person Image Synthesis (PIS) has traditionally focused on pose transfer: taking a person from one photo and rendering them in a new orientation. However, most existing models treat the person as a single, holistic entity. This makes it nearly impossible to perform "component-level" editing, such as changing just the trousers or the shirt, without affecting the rest of the image.

The challenges in this domain are three-fold. First, human bodies exhibit non-rigid deformation; clothes fold and stretch differently depending on the pose. Second, there is often significant spatial misalignment between the source image and the target pose. Finally, annotation scarcity makes supervised learning difficult, as most datasets lack detailed labels for every piece of clothing.

Methodology

The Attribute-Decomposed GAN (AD-GAN) addresses these challenges through a "divide and conquer" strategy using a dual-pathway architecture.

Pose Encoding Pathway

This pathway takes a 2D skeleton—represented as an 18-channel heat map of keypoints—and encodes it into a pose code. This provides the spatial framework for the synthesized image, allowing the model to understand the target orientation independently of the person's appearance.

Pose extraction and skeleton representation used in the Pose Encoding Pathway.

Decomposed Component Encoding (DCE)

Instead of encoding the whole source image, the model uses an off-the-shelf human parser to segment the person into parts (head, upper clothes, pants, etc.). Each part is masked and fed into a shared global texture encoder. These individual latent vectors are then concatenated into a structured style code. This decomposition simplifies learning, as it is significantly easier for a neural network to learn the texture of a specific component in isolation than to learn the entire appearance of a person in a complex pose.

Attribute decomposition where different body components are mapped to independent latent codes.

Style Blocks and Fusion Module

The style code is injected into the pose pathway using Adaptive Instance Normalization (AdaIN). A specific Fusion Module (FM), consisting of fully connected layers, helps the network select the most relevant features and avoid conflicts between the structured style code and the spatial features of the pose. Without the FM, the model often struggles to map rigid style codes to fluid pose features, resulting in blurry or distorted outputs.

Experimental Results

The model was trained and evaluated on the DeepFashion benchmark, utilizing over 50,000 high-resolution images. AD-GAN sets a new state-of-the-art in both quantitative and qualitative metrics.

Quantitative and Qualitative Performance

AD-GAN achieved the highest Inception Score (IS) of 3.364 and Detection Score (DS) of 0.984, outperforming popular models like PATN and Def-GAN. Qualitatively, the model produces noticeably sharper textures, preserves facial identity better, and generates realistic clothing wrinkles that correspond to the target pose. In a "real vs. fake" perception test, participants preferred AD-GAN's results 73.55% of the time.

Component Attribute Transfer

A key contribution of this work is the demonstration of component attribute transfer. By decomposing attributes into independent latent codes, the model allows users to swap specific components—like a head from one image and a shirt from another—while placing the result in any desired pose. This strategy also allows for the automatic separation of un-annotated attributes by associating specific positions in the style code with specific body parts.

Conclusion

While AD-GAN demonstrates impressive results, it faces limitations in cases of extreme manifold bias or when the underlying human parser fails to accurately segment the source image. However, the success of this decomposition strategy suggests it could be adapted to other image synthesis tasks beyond humans, such as interior design or vehicle customization, where fine-grained control over components is required.

Summary updated

BibTeX
@inproceedings{men2020controllable,
  author = {Yifang Men and Yiming Mao and Yuning Jiang and Wei-Ying Ma and Zhouhui Lian},
  title = {{Controllable Person Image Synthesis With Attribute-Decomposed GAN}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=ZFrXVszLviZ},
}
Figure