Controllable Person Image Synthesis with Attribute-Decomposed GAN

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

Introduction

Person Image Synthesis (PIS) is the task of generating a photo-realistic image of a person in a target pose while preserving their appearance. While significant progress has been made, two primary challenges remain: spatial misalignment due to the non-rigid nature of the human body and a lack of granular control over specific attributes. Most existing models treat appearance as a monolithic entity, preventing users from independently modifying components like shirts or pants.

The Attribute-Decomposed GAN (AD-GAN) addresses these issues by decoupling pose and body components into independent latent codes. This enables high-fidelity "mix-and-match" garment transfer and continuous style interpolation without requiring expensive, manually labeled attribute datasets.

The AD-GAN Architecture

The core innovation of AD-GAN is its ability to decompose a person's appearance into distinct, controllable parts. The generator architecture utilizes two independent pathways to process pose and style, allowing for granular manipulation of the final output.

Overview of the AD-GAN architecture for controllable person image synthesis, showing the decomposition of pose and style into independent codes.

Pose and Component Encoding

The Pose Encoding Pathway transforms a 2D skeleton, represented by 18 keypoints, into a "pose code." This provides the structural foundation for the generated image, defining the orientation and posture of the subject.

Example of pose attribute extraction where a person's image is mapped to 18 keypoints.

Simultaneously, the Decomposed Component Encoding (DCE) module uses an off-the-shelf human parser to segment source images into components such as the head, upper clothes, and pants. Each segment is processed by a Global Texture Encoder (GTE), which combines a learnable encoder with a pre-trained VGG network to capture intricate, "in-the-wild" textures that standard encoders might miss.

Feature Fusion and Style Injection

These component-specific styles are injected into the pose pathway via style blocks using Adaptive Instance Normalization (AdaIN). To prevent visual "bleeding" between parts (e.g., a shirt overlapping with pants), a Fusion Module (FM) disentangles the features, ensuring each component remains distinct in the final synthesis.

Training and Loss Functions

Training AD-GAN involves a sophisticated mix of Adversarial, Reconstruction, and Perceptual losses. A critical addition is the Contextual (CX) loss, which measures similarity between images that are not spatially aligned. This allows the model to handle the deformations inherent in changing poses while maintaining high texture fidelity, as it prioritizes texture preservation over exact pixel-wise matching.

Evaluation and Results

The model was rigorously tested on the DeepFashion dataset, comprising over 50,000 images. AD-GAN demonstrated state-of-the-art performance across several benchmarks:

  • Quantitative Metrics: It achieved a top Inception Score (IS) of 3.364 and a Contextual Score (CX-GT) of 2.474, reflecting superior texture coherence compared to previous models like PG2 and PATN.
  • Qualitative Quality: The model excels at preserving fine details, including clothing wrinkles, muscle definition, and facial identity, which often become blurred in other synthesis methods.
  • User Preference: In a "real vs. fake" study, AD-GAN was preferred by participants 73.55% of the time over competing methods.

Beyond standard pose transfer, the researchers demonstrated a new capability: Component Attribute Transfer. This allows for the synthesis of a single image using a pose from one source, a shirt from a second, and pants from a third, effectively enabling virtual "mix-and-match" functionality.

Conclusion and Future Work

AD-GAN represents a significant step toward granular, unsupervised control in person image synthesis. By leveraging human parsing to automate attribute separation, it avoids the need for manual labeling while improving realism through component-specific subtasks.

While highly effective, the model's performance is currently dependent on the accuracy of the underlying human parser and can struggle with extremely rare poses or patterns. Future research may extend this decomposition strategy to other complex domains, such as animal or furniture synthesis.

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