UPGPT: Universal Diffusion Model for Person Image Generation, Editing and Pose Transfer

Soon Yau Cheong, Armin Mustafa, Andrew Gilbert

Introduction

Generating and editing human images remains a significant challenge in the field of computer vision. While standard Text-to-Image (T2I) models like Stable Diffusion have made massive strides, they often struggle with consistency and fine-grained control. For instance, generating a specific individual in a red shirt across multiple frames usually results in varying identities and garment styles. Conversely, specialized pose transfer models can move a person from one image to another but often lack the flexibility to generate new content from text or perform edits without complex, manual segmentation masks.

UPGPT introduces a unified multimodal diffusion framework designed to master the "holy trinity" of person-centric tasks: text-to-image generation, pose transfer, and mask-less editing. By moving beyond traditional 2D keypoints and adopting 3D body model parameters, UPGPT achieves superior appearance consistency and smooth pose transitions within a single, universal architecture.

Methodology

The core of the UPGPT architecture is the Multimodal Fusion Block (MFB), which is integrated into a latent diffusion pipeline. This block allows the model to process and synthesize three distinct types of input data simultaneously:

  1. 3D SMPL Pose Parameters: Unlike traditional models that rely on 2D skeletons, UPGPT utilizes 72 parameters from the SMPL (Skinned Multi-Person Linear) 3D body model. This enables the model to understand body volume and rotation, facilitating smooth interpolation between different poses and camera perspectives.
  2. Disentangled Text Prompts: The framework splits text prompts into "content" (e.g., "long sleeve shirt") and "style" (e.g., "floral pattern"). This separation allows the model to disentangle the structural shape of clothing from its texture, leading to more accurate synthesis.
  3. Visual Style Prompts: Users can provide reference images for specific clothing or facial features. These are processed via a CLIP image encoder to extract high-level semantic features that guide the generation process.

To ensure spatial accuracy, the model employs a Reinforced Person Mask (RPM). This acts as a binary silhouette guide, providing spatial constraints without requiring the pixel-perfect precision of traditional parsing maps, which are often difficult to generate for complex poses.

Key Innovations and Insights

3D-Driven Pose Interpolation

By utilizing 3D SMPL parameters, UPGPT can perform mathematical interpolation between poses. A user can transition from a "standing" pose to a "walking" pose, and the model generates the intermediate frames with high temporal and structural consistency. This level of fluidity is nearly impossible to achieve with 2D keypoint-based systems.

Text-Guided Information Recovery

A common failure point in pose transfer is the "missing information" problem—for example, when a source image shows a person from the waist up, but the target pose requires a full-body view. UPGPT leverages the text prompt to logically "hallucinate" the missing elements (such as pants or shoes), ensuring the final image is coherent and complete.

Zero-Shot, Mask-less Editing

Traditional image editing typically requires a user to manually paint a mask over the area they wish to change. UPGPT enables "zero-shot" editing; by simply modifying the text prompt (e.g., changing "skirt" to "pants"), the model automatically identifies and updates the relevant region while preserving the person's identity and the rest of the scene.

Experimental Results

The researchers evaluated UPGPT using the DeepFashion dataset, specifically the Multimodal and In-shop Clothes Retrieval subsets.

  • Generation Quality: On the DeepFashion Multimodal benchmark, UPGPT achieved a Frechet Inception Distance (FID) of 23.46, significantly outperforming established baselines such as Text2Human (24.52) and HumanDiffusion (30.42).
  • Pose Transfer Accuracy: Despite its generalist nature, UPGPT remains competitive with specialized models, achieving a Structural Similarity Index (SSIM) of 0.7276 when compared against VAE-reconstructed ground truths.

Qualitatively, the model avoids common artifacts like "blended" limbs or distorted body proportions that frequently plague 2D parsing-based methods. It demonstrates a sophisticated understanding of gender-specific traits and complex garment textures.

Limitations and Future Directions

While UPGPT represents a significant step forward, it faces two primary limitations. First is the "Small Face" problem: because the underlying Variational Autoencoder (VAE) compresses the image, fine facial details in full-body shots can become blurry during the reconstruction phase. Second, the model occasionally misses hyper-fine spatial details, such as the exact thickness of stripes in a pattern, as the CLIP encoder prioritizes semantic meaning over pixel-level precision.

Future work will focus on incorporating more specialized facial encoders and improving the VAE architecture to maintain high-fidelity details across all scales of the generated image.

Summary updated

BibTeX
@inproceedings{cheong2023upgpt,
  author = {Soon Yau Cheong and Armin Mustafa and Andrew Gilbert},
  title = {{UPGPT: Universal Diffusion Model for Person Image Generation, Editing and Pose Transfer}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
}
Figure