Deformable GANs for Pose-based Human Image Generation

Aliaksandr Siarohin, Enver Sangineto, Stéphane Lathuilière, Nicu Sebe · DOI

Abstract

Generating realistic images of humans in arbitrary poses is a complex task due to the non-rigid nature of the human body. Standard image-to-image translation frameworks often fail because they assume spatial alignment between input and output. We present Deformable GANs, an architecture that introduces deformable skip connections to warp features according to body part movements and a nearest-neighbor loss to mitigate pixel-level misalignments. Our model achieves state-of-the-art results on the Market-1501 and DeepFashion benchmarks, significantly improving texture preservation and identity consistency.

The Challenge of Unaligned Synthesis

Pose-based synthesis requires transforming a person from a source pose to a target pose. Traditional architectures like Pix2Pix utilize U-Nets with standard skip connections, which work well when the input and output are spatially aligned (e.g., mapping a satellite image to a map). However, human bodies are articulated; moving an arm or leg changes the spatial location of features. Standard skip connections attempt to copy features to their original coordinates, leading to blurry or physically impossible artifacts in the generated output.

Methodology: Deformable Skip Connections and Nearest-Neighbor Loss

To address the misalignment problem, the authors propose two core innovations within a Generative Adversarial Network (GAN) framework:

  1. Deformable Skip Connections (DSC): The model employs a keypoint detector to identify 10 rigid sub-parts of the human body. It calculates affine transformations to map these parts from the source pose to the target pose. Feature maps in the encoder are warped according to these transformations before being passed to the decoder, ensuring that textures (like clothing patterns) are moved to the correct anatomical locations.
  2. Nearest-Neighbor Loss ($L_{NN}$): Standard $L_1$ or $L_2$ losses penalize even minor spatial offsets, often resulting in oversmoothed images. The $L_{NN}$ loss, computed in the VGG-19 feature space, allows for slight spatial slack by searching for the most similar patch in a local neighborhood of the target image. This rewards the model for accurate texture generation even if the alignment is not pixel-perfect.
The Deformable GAN architecture, featuring the generator with deformable skip connections and the discriminator.

Key Insights

  • Articulated Symmetry: The model can "borrow" textures from symmetric body parts (e.g., using the left arm's texture for an occluded right arm).
  • Max-Activation Merging: When warped body parts overlap, the model uses a max-activation strategy to select the most prominent features for the final output.
  • Stream Separation: By processing appearance and pose in separate encoder streams, the model prevents low-level texture details from interfering with high-level structural information.

Experimental Evaluation

The model was evaluated on the Market-1501 dataset (surveillance footage) and the DeepFashion dataset (high-resolution studio photos).

Quantitative and Qualitative Results

Deformable GANs significantly outperformed previous state-of-the-art methods. On Market-1501, the Structural Similarity Index (SSIM) improved from 0.253 to 0.290. Qualitatively, the model excels at preserving complex textures like stripes and logos that previously appeared as blurry smudges. In human perception tests, users confused the generated images with real photos over 50% of the time on the Market-1501 dataset.

Qualitative comparison of the proposed model against baselines, demonstrating superior texture and pose accuracy.

Limitations and Future Work

Despite its success, the model's performance is tied to the accuracy of the external Human Pose Estimator; errors in joint detection lead to distorted limbs. Additionally, the 2D nature of the keypoints creates ambiguity in depth, such as determining whether an arm is in front of or behind the torso. Future research may extend this deformable approach to other non-rigid objects, such as animal bodies or human faces.

Summary updated

BibTeX
@inproceedings{siarohin2017deformable,
  author = {Aliaksandr Siarohin and Enver Sangineto and Stéphane Lathuilière and Nicu Sebe},
  title = {{Deformable GANs for Pose-based Human Image Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2018.00359},
}
Figure