CoDi: Subject-Consistent and Pose-Diverse Text-to-Image Generation
Zhanxin Gao, Beier Zhu, Liang Yao, Jian Yang, Ying Tai
TL;DR
CoDi tackles the challenge of subject-consistent yet pose-diverse text-to-image generation by a training-free two-stage diffusion strategy. Identity Transport (IT) uses optimal transport in early denoising steps to mosaic the reference subject into target images while preserving pose, followed by Identity Refinement (IR) in later steps with selective cross-attention to refine identity details. This combination yields stronger subject consistency without sacrificing pose/layout diversity, validated on the ConsiStory+ benchmark with favorable quantitative metrics and user study results. The approach is scalable to multi-subject generation and can adapt to different styles, offering a practical, efficient solution for coherent visual storytelling and character design in diffusion-based T2I systems.
Abstract
Subject-consistent generation (SCG)-aiming to maintain a consistent subject identity across diverse scenes-remains a challenge for text-to-image (T2I) models. Existing training-free SCG methods often achieve consistency at the cost of layout and pose diversity, hindering expressive visual storytelling. To address the limitation, we propose subject-Consistent and pose-Diverse T2I framework, dubbed as CoDi, that enables consistent subject generation with diverse pose and layout. Motivated by the progressive nature of diffusion, where coarse structures emerge early and fine details are refined later, CoDi adopts a two-stage strategy: Identity Transport (IT) and Identity Refinement (IR). IT operates in the early denoising steps, using optimal transport to transfer identity features to each target image in a pose-aware manner. This promotes subject consistency while preserving pose diversity. IR is applied in the later denoising steps, selecting the most salient identity features to further refine subject details. Extensive qualitative and quantitative results on subject consistency, pose diversity, and prompt fidelity demonstrate that CoDi achieves both better visual perception and stronger performance across all metrics. The code is provided in https://github.com/NJU-PCALab/CoDi.
