Stable-Pose: Leveraging Transformers for Pose-Guided Text-to-Image Generation

Jiajun Wang, Morteza Ghahremani, Yitong Li, Bjorn Ommer, Christian Wachinger
2/3/2026

No official code found. Best implementation: ai-med/StablePose (112 stars, GPL-3.0, last commit 2024-12-23).

Abstract

Controllable text-to-image (T2I) diffusion models have shown impressive performance in generating high-quality visual content through the incorporation of various conditions. Current methods, however, exhibit limited performance when guided by skeleton human poses, especially in complex pose conditions such as side or rear perspectives of human figures. To address this issue, we present Stable-Pose, a novel adapter model that introduces a coarse-to-fine attention masking strategy into a vision Transformer (ViT) to gain accurate pose guidance for T2I models. Stable-Pose is designed to adeptly handle pose conditions within pre-trained Stable Diffusion, providing a refined and efficient way of aligning pose representation during image synthesis. We leverage the query-key self-attention mechanism of ViTs to explore the interconnections among different anatomical parts in human pose skeletons. Masked pose images are used to smoothly refine the attention maps based on target pose-related features in a hierarchical manner, transitioning from coarse to fine levels. Additionally, our loss function is formulated to allocate increased emphasis to the pose region, thereby augmenting the model's precision in capturing intricate pose details. We assessed the performance of Stable-Pose across five public datasets under a wide range of indoor and outdoor human pose scenarios. Stable-Pose achieved an AP score of 57.1 in the LAION-Human dataset, marking around 13% improvement over the established technique ControlNet. The project link and code is available at https://github.com/ai-med/StablePose.

View on arXivView PDF

Code Implementations(1)

ai-med/StablePoseCommunity100%
GPL-3.0

Official Pytorch Implementation of Paper - Stable-Pose: Leveraging Transformers for Pose-Guided Text-to-Image Generation - NeurIPS 2024

1127PythonJun 4, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{wang2026stablepose,
  title  = {Stable-Pose: Leveraging Transformers for Pose-Guided Text-to-Image Generation},
  author = {Jiajun Wang and Morteza Ghahremani and Yitong Li and Bjorn Ommer and Christian Wachinger},
  year   = {2026},
  eprint = {2406.02485},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.02485},
  url    = {https://arxiv.org/abs/2406.02485},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.02485.svg)](https://codeofpaper.com/paper/2406.02485)

Discussion