English

Dense Text-to-Image Generation with Attention Modulation

Computer Vision and Pattern Recognition 2023-08-25 v1 Graphics Machine Learning

Abstract

Existing text-to-image diffusion models struggle to synthesize realistic images given dense captions, where each text prompt provides a detailed description for a specific image region. To address this, we propose DenseDiffusion, a training-free method that adapts a pre-trained text-to-image model to handle such dense captions while offering control over the scene layout. We first analyze the relationship between generated images' layouts and the pre-trained model's intermediate attention maps. Next, we develop an attention modulation method that guides objects to appear in specific regions according to layout guidance. Without requiring additional fine-tuning or datasets, we improve image generation performance given dense captions regarding both automatic and human evaluation scores. In addition, we achieve similar-quality visual results with models specifically trained with layout conditions.

Keywords

Cite

@article{arxiv.2308.12964,
  title  = {Dense Text-to-Image Generation with Attention Modulation},
  author = {Yunji Kim and Jiyoung Lee and Jin-Hwa Kim and Jung-Woo Ha and Jun-Yan Zhu},
  journal= {arXiv preprint arXiv:2308.12964},
  year   = {2023}
}

Comments

Accepted by ICCV2023. Code and data are available at https://github.com/naver-ai/DenseDiffusion

R2 v1 2026-06-28T12:03:43.539Z