DiffBody: Diffusion-Based Pose and Shape Editing of Human Images

Yuta Okuyama, Yuki Endo, Yoshihiro Kanamori

TL;DR

This paper introduces DiffBody, a novel method for editing human images to change pose and body shape while preserving identity and clothing textures. It achieves this by combining a 3D body model with a diffusion-based refinement process, enabling large edits that were previously challenging for existing methods.

What Problem Does This Paper Address?

Editing human images to alter pose and body shape is a challenging task with applications in areas like virtual try-on and character animation. Existing methods often struggle with two main issues: dataset bias, leading to poor performance on real-world "in-the-wild" images, and a degradation of realism and identity preservation when users attempt significant edits. Many approaches either rely on image warping, which can introduce artifacts with large transformations, or diffusion models, which, while capable of generating high-quality outputs, often fail to maintain the original person's identity and clothing details. This paper aims to bridge this gap by enabling large, realistic edits with strong identity preservation.

Methods

DiffBody employs a two-stage approach. First, it fits a 3D parametric body model (SMPL-X) to the input reference image. The image is then projected onto this 3D model, and the pose and shape are manipulated using user-defined parameters (keypoints, height, weight). This initial textured 3D model, however, often contains artifacts due to occlusions and inaccuracies in texture projection.

To address these artifacts, the method uses a diffusion-based refinement process. Specifically, it fine-tunes a pre-trained latent diffusion model (LDM) using DreamBooth with the reference person's image. This allows the diffusion model to generate images specific to the person. The refinement is guided by a text prompt and keypoints from a T2I-Adapter.

The core innovation lies in the refinement strategy:

  • Two-Stage Refinement: The process is split into two stages: full-body refinement for general texture correction and facial refinement for enhanced identity preservation.
  • Iterative Refinement with Weak Noise: Instead of a single denoising step, the method iteratively applies weak noise and denoising. This allows for gradual refinement of fine texture details without drastically altering the coarse structure or identity.
  • Text Embedding Optimization: During iterative refinement, the text embeddings used to condition the diffusion model are optimized via backpropagation. This helps to further improve the visual quality and identity preservation.
  • Input Reinitialization: To prevent the text embedding optimization from converging to undesirable solutions, the input image is reinitialized periodically during the iterative refinement process.

Datasets

The paper evaluates DiffBody on several datasets:

  • DeepFashion: Used for training and evaluation, with a split of 26 reference images and 54 target poses.
  • Everybody Dance Now (EDN), EHF, MonoPerfCap, YouTube 18 Dancers (Y18D): These datasets, primarily containing videos, were used by taking single frames as references and approximately 35 frames as targets.

In total, the experiments utilized 51 reference images and 963 target images. No new benchmarks were introduced.

Key Insights and Ideas

  • The power of iterative refinement with weak noise: The paper demonstrates that a single strong denoising step in diffusion models can be detrimental to identity. Instead, multiple passes with weak noise, combined with text embedding optimization, are crucial for achieving both realism and identity preservation.
  • Separating full-body and facial refinement is beneficial: Treating facial refinement as a distinct step after full-body refinement allows for targeted improvements in identity preservation, which is critical for human image editing.
  • 3D body models as a strong prior for large edits: Using a 3D parametric body model as an initial step provides a robust foundation for manipulating pose and shape, enabling larger transformations than purely 2D methods.
  • DreamBooth for personalized diffusion models: Fine-tuning a general diffusion model with DreamBooth on a single reference image is an effective way to create a personalized model capable of generating specific individuals.

Key Results

  • Quantitative Performance: DiffBody achieved superior or comparable results to existing methods across multiple datasets for pose editing, outperforming them in most metrics (SSIM, PSNR, LPIPS, FID, ID, AW loss). For instance, on the Everybody Dance Now dataset, DiffBody achieved the best FID and ID scores.
  • Qualitative Performance: The method produced visually convincing results for both pose and body shape editing. It successfully preserved clothing textures and facial identity, even with large edits, outperforming methods that suffered from stretched textures or identity loss. Figure 9 showcases impressive qualitative comparisons across various datasets.
  • Body Shape Editing: For body shape editing, where objective quantitative evaluation is challenging, DiffBody produced more plausible images compared to a state-of-the-art method, handling changes in facial appearance that occur with changes in body weight.

Limitations and Future Work

  • Computational Cost: The paper acknowledges that the method is computationally intensive, requiring about 20 minutes for each finetuning and inference.
  • Loose Clothing: The authors suggest that future work could focus on enhancing the method's capability to handle loose clothing, such as skirts.
  • Speed Improvement: Exploring ways to speed up the inference process is also mentioned as a future direction.

Summary updated

BibTeX
@inproceedings{okuyama2024diffbody,
  author = {Yuta Okuyama and Yuki Endo and Yoshihiro Kanamori},
  title = {{DiffBody: Diffusion-Based Pose and Shape Editing of Human Images}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
}
Figure