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—the process of animating a subject from a single "reference" image using a "target" pose—remains a significant challenge in computer vision. While Generative Adversarial Networks (GANs) were the traditional standard, they often struggle with occlusions and significant perspective changes.
Recent Latent Diffusion Models (LDMs) like Stable Diffusion offer superior image quality but frequently fail to maintain identity consistency. Most existing diffusion-based methods either lose fine facial and clothing details or require computationally expensive per-subject fine-tuning. MagicPose addresses these issues by acting as a "plug-in" for Stable Diffusion that can retarget any person—including those from out-of-domain sources like anime or statues—instantly and accurately.
Methodology
The core innovation of MagicPose is the decomposition of the retargeting task into two distinct control mechanisms: identity/appearance and pose/expression.
Appearance Control and Multi-Source Self-Attention
Instead of relying on global image embeddings, MagicPose replicates the Stable Diffusion UNet structure to create an auxiliary Appearance Control Model. This branch extracts dense, layer-by-layer features from the reference image. These features are integrated into the main generation branch via a Multi-Source Self-Attention Module. By concatenating Key ($K$) and Value ($V$) pairs from the reference branch with those of the generation branch, the model can precisely map textures and identity markers onto the new pose during the denoising process.
Two-Stage Training Strategy
- Stage A (Appearance Pre-training): The model is trained to reconstruct the same person in different poses, establishing a foundation for identity stability.
- Stage B (Disentangled Pose Control): The model is jointly fine-tuned with a Pose ControlNet. By fixing the appearance branch, the model learns to modulate geometry (pose) without bleeding into the identity features.
Results and Generalization
MagicPose was evaluated using the TikTok dataset and the Everybody Dance Now dataset, alongside various out-of-domain images. The model demonstrates exceptional zero-shot capabilities, successfully re-posing 2D cartoons, oil paintings, and statues despite being trained primarily on real human dance videos.
Quantitative Performance
MagicPose significantly outperforms state-of-the-art (SOTA) methods like Disco and DreamPose:
- Identity Preservation: Using the Face-Cos metric (Face Cosine Similarity), MagicPose achieved a score of 0.426, compared to Disco’s 0.166.
- Image Quality: The model achieved a Fréchet Inception Distance (FID) of 25.50, indicating higher realism than competitors.
- User Preference: In a 100-participant study, MagicPose was preferred 73% of the time.
Conclusion and Future Work
MagicPose provides a robust framework for identity-aware motion transfer. While highly effective, the model currently depends on the accuracy of external pose detectors like OpenPose. Future work will explore integrating 3D-aware pose detectors and dedicated motion modules to further reduce temporal flickering in long-form video generation.
Summary updated