Pose Guided Person Image Generation

Liqian Ma, Xu Jia, Qianru Sun, Bernt Schiele, Tinne Tuytelaars, Luc Van Gool

Introduction

Generating realistic images of humans is a highly sought-after capability in computer vision, with applications ranging from movie production and fashion retail to data augmentation for AI training. Researchers have developed a novel two-stage framework called PG² (Pose Guided Person Generation Network) that can take a single image of a person and "re-pose" them into any target position. By splitting the task into a global structure stage and a local refinement stage, the model generates remarkably realistic human images that preserve identity and clothing details.

The Challenge of Human Image Synthesis

Unlike rigid objects, the human body is highly deformable, making image generation exceptionally difficult. When moving a person from a "standing" pose to a "sitting" pose, the transformation is non-linear: some body parts disappear (occlusion), others appear (hallucination), and textures like clothing folds change entirely. Previous end-to-end models struggled to handle both the global "skeleton" of the person and the fine-grained "texture" of their clothes simultaneously. This often resulted in blurry, distorted outputs that lacked realistic human features.

The PG² Framework: A Divide-and-Conquer Strategy

To address these challenges, the authors propose a two-stage Generative Adversarial Network (GAN) architecture that separates structural generation from texture refinement.

The PG² framework takes a condition image and a target pose sequence to generate refined, re-posed results.

Stage-I: Pose Integration (The "Sketcher")

The model first takes a reference image and a target pose, which is represented as 18 keypoint heatmaps. A U-Net-like generator (G1) focuses entirely on the global structure. Rather than attempting to render crisp fabric details, its primary job is to position the limbs correctly and establish basic colors. To prevent the model from getting distracted by changing backgrounds, the authors introduced a Masked L1 Loss, forcing the network to prioritize the person's body over the surrounding environment.

Stage-II: Image Refinement (The "Detailer")

Because the output from Stage-I is often blurry, Stage-II employs a second generator (G2) to refine the image. Crucially, instead of generating a new image from scratch, G2 learns to produce a difference map (a residual) that is added to the Stage-I result. This approach makes the learning process significantly faster and more stable. This stage is trained adversarially; a Discriminator network constantly tries to distinguish fake images from real ones, pushing the generator to produce sharper, more realistic textures.

Key Insights and Innovations

  • Structure First, Texture Second: Trying to solve geometry and appearance simultaneously often leads to "mode collapse" or blurriness. Forcing the model to establish geometry in Stage-I before refining appearance in Stage-II yields much higher fidelity.
  • The Power of Difference Maps: Learning a "correction" to an existing image is mathematically easier for a neural network than generating a high-resolution image from a blank canvas.
  • Heatmaps over Coordinates: Instead of providing raw (x, y) coordinates for joints, the model uses 2D heatmaps. This spatial representation allows Convolutional Neural Networks (CNNs) to leverage their inherent spatial awareness to better understand body proportions.
  • Identity-Preserving Discriminator: The discriminator is trained to ask not just "is this a real person?" but "is this the same person from the reference image in the correct target pose?" This ensures the generated person retains their original clothing and identity.

Datasets and Results

The PG² model was evaluated on two distinct benchmarks:

  • DeepFashion: A high-resolution (256x256) dataset of fashion photos with clean backgrounds, testing the model's ability to handle complex clothing textures.
  • Market-1501: A challenging, low-resolution (128x64) dataset from surveillance cameras, testing robustness against cluttered backgrounds, varying lighting, and poor image quality.

Quantitatively, PG² significantly outperformed existing methods like VariGAN, achieving higher Structural Similarity (SSIM) and Inception Scores, which indicate better image quality and diversity. Qualitatively, the model successfully retained intricate details like shirt stripes and facial shapes on the DeepFashion dataset. In an Amazon Mechanical Turk (AMT) user study, the generated images were realistic enough to confuse human observers in nearly 15% of trials for the DeepFashion dataset—a significant improvement over previous one-stage models.

Limitations and Future Work

Despite these impressive results, the model exhibits a few limitations:

  • Rare Poses: If a target pose is extremely rare in the training data, the model may generate disconnected limbs or incomplete body parts.
  • Color Bleeding: When a person's clothing closely matches the background or their skin tone, the model can struggle to define sharp boundaries, leading to a blended effect.
  • Gender Imbalance: The model occasionally struggles with gender-specific features if the training data for a particular clothing type is heavily skewed.

Future work could involve conditioning the generation on additional factors beyond pose—such as specific clothing attributes or textures—granting users even more granular control over the synthesis process.

Summary updated

BibTeX
@inproceedings{ma2017pose,
  author = {Liqian Ma and Xu Jia and Qianru Sun and Bernt Schiele and Tinne Tuytelaars and Luc Van Gool},
  title = {{Pose Guided Person Image Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure