MagicPose: Realistic Human Poses and Facial Expressions Retargeting with Identity-aware Diffusion

Di Chang, Yichun Shi, Quankai Gao, Jessica Fu, Hongyi Xu, Guoxian Song, Qing Yan, X. B. Yang, M. Reza Soleymani, Soleymani, Mohammad

Abstract

In this work, we propose MagicPose, a diffusion-based model for 2D human pose and facial expression retargeting. Specifically, given a reference image, we aim to generate a person's new images by controlling the poses and facial expressions while keeping the identity unchanged. To this end, we propose a two-stage training strategy to disentangle human motions and appearance (e.g., facial expressions, skin tone and dressing), consisting of (1) the pre-training of an appearance-control block and (2) learning appearance-disentangled pose control. Our novel design enables robust appearance control over generated human images, including body, facial attributes, and even background. By leveraging the prior knowledge of image diffusion models, MagicPose generalizes well to unseen human identities and complex poses without the need for additional fine-tuning. Moreover, the proposed model is easy to use and can be considered as a plug-in module/extension to Stable Diffusion.

Introduction

Human motion transfer involves taking a person's appearance from a reference image and "re-posing" them into a target pose. Traditional methods, often based on Generative Adversarial Networks (GANs), frequently struggle with self-occlusion—where a new pose reveals body parts hidden in the original image. While modern Diffusion Models like Stable Diffusion offer superior generative capabilities, they often fail at identity preservation, leading to "identity drift" where the subject's features change during the transfer process. Existing solutions typically require per-subject fine-tuning, which is computationally expensive and slow. MagicPose addresses these challenges by providing a robust, zero-shot framework for pose and expression retargeting that maintains strict identity fidelity.

Methodology

The core of MagicPose is a two-stage training strategy designed to disentangle human motion from appearance.

Architecture Overview

The framework consists of three primary components integrated with a Stable Diffusion U-Net:

  1. Appearance Control Model (ACM): A trainable copy of the Stable Diffusion U-Net dedicated to capturing appearance details such as skin tone, clothing, and background.
  2. Pose ControlNet: Based on the ControlNet architecture, this module processes 2D skeletons and facial landmarks to guide the spatial positioning of the subject.
  3. Multi-Source Self-Attention Module: This module modifies the standard self-attention mechanism to simultaneously process features from both the noisy target image and the reference image. By concatenating key-value pairs from the reference, the model can "anchor" identity details during the denoising process.
The MagicPose architecture featuring the Pose ControlNet, Appearance Control Model, and the Multi-Source Self-Attention Module.

Two-Stage Training

To ensure clean disentanglement, the model is trained in two phases:

  • Stage A (Appearance Control Pre-training): The ACM is pre-trained to master appearance while the original U-Net remains frozen.
  • Stage B (Appearance-Disentangled Pose Control): The ACM and Pose ControlNet are jointly fine-tuned. This prevents the pose controller from inadvertently leaking appearance information, ensuring that motion signals do not distort the subject's identity.

Experimental Results

MagicPose was evaluated on the TikTok dataset, the "Everybody Dance Now" dataset, and out-of-domain (OOD) images.

Qualitative Performance

MagicPose demonstrates remarkable zero-shot generalization. As shown in the figure below, the model successfully retargets poses and expressions across diverse domains, including realistic humans, comic book characters, and anime styles, without any additional fine-tuning.

Qualitative results of MagicPose across different domains (realistic, comic, anime, and dance), demonstrating robust identity preservation and pose control.

Quantitative Comparison

The model significantly outperforms existing state-of-the-art (SOTA) methods like Disco and DreamPose:

  • Identity Preservation: MagicPose achieved a Face-Cos (Face Cosine Similarity) score of 0.426, vastly superior to Disco's 0.166.
  • Image Quality: It reached an FID of 25.50 on the TikTok dataset, improving upon Disco's 30.75.
  • User Preference: In a study with 100 participants, MagicPose was preferred 73% of the time for its superior identity and appearance preservation.

Conclusion

MagicPose offers a powerful, "plug-and-play" extension for Stable Diffusion that enables realistic human pose and facial expression retargeting. By disentangling appearance from motion through a novel two-stage training strategy and multi-source self-attention, it achieves high-fidelity identity preservation in a zero-shot manner. While currently dependent on the accuracy of the underlying pose detector (OpenPose), future iterations could integrate 3D pose constraints to further enhance performance in complex scenarios.

Summary updated

Abstract

In this work, we propose MagicPose, a diffusion-based model for 2D human pose and facial expression retargeting. Specifically, given a reference image, we aim to generate a person's new images by controlling the poses and facial expressions while keeping the identity unchanged. To this end, we propose a two-stage training strategy to disentangle human motions and appearance (e.g., facial expressions, skin tone and dressing), consisting of (1) the pre-training of an appearance-control block and (2) learning appearance-disentangled pose control. Our novel design enables robust appearance control over generated human images, including body, facial attributes, and even background. By leveraging the prior knowledge of image diffusion models, MagicPose generalizes well to unseen human identities and complex poses without the need for additional fine-tuning. Moreover, the proposed model is easy to use and can be considered as a plug-in module/extension to Stable Diffusion. The code is available at: https://github.com/Boese0601/MagicDance
BibTeX
@inproceedings{chang2024magicpose,
  author = {Di Chang and Yichun Shi and Quankai Gao and Jessica Fu and Hongyi Xu and Guoxian Song and Qing Yan and X. B. Yang and M. Reza Soleymani and Soleymani, Mohammad},
  title = {{MagicPose: Realistic Human Poses and Facial Expressions Retargeting with Identity-aware Diffusion}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=jVXJdGQ4eD},
}
Figure