HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation

Xuan Ju, Ailing Zeng, Chenchen Zhao, Jianan Wang, Lei Zhang, Qiang Xu

Introduction

Controllable Human Image Generation (HIG) is a rapidly evolving field aimed at generating high-fidelity images where human subjects adhere to specific pose skeletons. While existing state-of-the-art models like ControlNet and T2I-Adapter have made significant strides, they typically rely on a "plug-and-play" dual-branch architecture. In these setups, a pre-trained Stable Diffusion (SD) model is frozen, and a separate trainable branch is added to inject pose information.

The authors of HumanSD identify a fundamental flaw in this design: the "dual-branch conflict." The frozen SD branch attempts to generate an image based solely on the text prompt, while the auxiliary branch tries to force the features to match the pose skeleton. This competition often results in "pose leakage"—where the model ignores the skeleton—or artifacts in complex poses. Furthermore, the additional branch increases computational overhead, slowing down inference.

Methodology: A Native Approach

HumanSD moves away from the dual-branch paradigm in favor of a "native" architecture that treats pose information as a primary input.

Native Skeleton Addition

Instead of using a separate network, HumanSD encodes the pose skeleton image via a VAE and directly concatenates it to the noisy latent embeddings. This ensures that structural information is processed at the same resolution and density as the image data, allowing the model to learn the relationship between pose and pixels more effectively.

Heatmap-Guided Denoising Loss

To fine-tune the model without losing its ability to generate diverse backgrounds and styles (catastrophic forgetting), the researchers introduced a novel heatmap-guided denoising loss. This loss function utilizes a pre-trained pose estimator to generate a heatmap from the noise difference—the discrepancy between predicted and actual noise during the diffusion process. This heatmap serves as a dynamic mask, prioritizing updates to pixels associated with the human figure while preserving the model's original knowledge of backgrounds and artistic styles.

Datasets and Benchmarking

To support this native training approach, the authors curated two massive new datasets:

  • GHI (Generated Human Images): 1 million high-quality images generated by SD using complex prompts, filtered for pose accuracy.
  • LAION-Human: 1 million real-world images from the LAION-5B dataset, selected for diverse actions and artistic styles.
  • Human-Art: A specialized 50k-image dataset used for rigorous evaluation across natural and artificial scenes (e.g., cartoons, murals, sculptures).
Example of a 'Kids drawing' style generation from the Human-Art dataset.

Key Results

HumanSD demonstrates superior performance over dual-branch models in both accuracy and efficiency.

Qualitative results of HumanSD across various artistic styles and complex poses.

Performance Metrics

  • Pose Accuracy: On the Human-Art validation set, HumanSD achieved a 72.6% improvement in Average Precision (AP) compared to ControlNet. It particularly excelled in medium-sized human generation, showing a 109.1% boost in AP(m).
  • Inference Speed: By maintaining a single-branch architecture, HumanSD generates images in 3.89 seconds on an NVIDIA A100—approximately 40% faster than ControlNet (6.37 seconds).
  • Qualitative Quality: The model is significantly more robust when handling "challenging" poses, such as acrobatics or handstands, and avoids the "extra limb" artifacts common in multi-person scenarios generated by dual-branch competitors.

Conclusion and Future Work

HumanSD represents a shift toward more efficient and accurate controllable generation by integrating constraints directly into the diffusion process. While it sets a new standard for HIG, limitations remain in extremely crowded scenes with overlapping skeletons and very rare, niche actions. Future research will focus on enhancing local details, such as facial expressions, while maintaining global pose integrity and improving robustness to unusual body orientations.

Summary updated

BibTeX
@inproceedings{ju2023humansd,
  author = {Xuan Ju and Ailing Zeng and Chenchen Zhao and Jianan Wang and Lei Zhang and Qiang Xu},
  title = {{HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure