Directed Diffusion: Direct Control of Object Placement through Attention Guidance
Wan-Duo Kurt Ma, Avisek Lahiri, John P. Lewis, Thomas Leung, W. Bastiaan Kleijn
Abstract
Text-guided diffusion models such as DALL•E 2, Imagen, eDiff-I, and Stable Diffusion are able to generate an effectively endless variety of images given only a short text prompt describing the desired image content. In many cases the images are of very high quality. However, these models often struggle to compose scenes containing several key objects such as characters in specified positional relationships. The missing capability to "direct" the placement of characters and objects both within and across images is crucial in storytelling, as recognized in the literature on film and animation theory. In this work, we take a particularly straightforward approach to providing the needed direction. Drawing on the observation that the cross-attention maps for prompt words reflect the spatial layout of objects denoted by those words, we introduce an optimization objective that produces "activation" at desired positions in these cross-attention maps. The resulting approach is a step toward generalizing the applicability of text-guided diffusion models beyond single images to collections of related images, as in storybooks. Directed Diffusion provides easy high-level positional control over multiple objects, while making use of an existing pre-trained model and maintaining a coherent blend between the positioned objects and the background. Moreover, it requires only a few lines to implement. 2
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
35 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
- TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Learning Transferable Visual Models From Natural Language Supervision
- TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Denoising Diffusion Probabilistic Models
- TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Denoising Diffusion Implicit Models
- TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- LayoutGPT: Compositional Visual Planning and Generation with Large Language Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- LayoutGPT: Compositional Visual Planning and Generation with Large Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation cites Learning Transferable Visual Models From Natural Language Supervision
- StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation cites Denoising Diffusion Probabilistic Models
- StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation cites Denoising Diffusion Implicit Models
- StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites Denoising Diffusion Probabilistic Models
- Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites Denoising Diffusion Implicit Models
- Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion cites High-Resolution Image Synthesis with Latent Diffusion Models
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion cites LayoutGPT: Compositional Visual Planning and Generation with Large Language Models
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion cites Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion cites Learning Transferable Visual Models From Natural Language Supervision
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion cites Denoising Diffusion Probabilistic Models
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Cited by top-tier papers35
- LayoutGPT: Compositional Visual Planning and Generation with Large Language ModelsWeixi Feng, Wanrong Zhu, Tsu-Jui Fu, Varun Jampani et al.NeurIPS 2023 · 462 citations
- TokenFlow: Consistent Diffusion Features for Consistent Video EditingMichal Geyer, Omer Bar-Tal, Shai Bagon, Tali DekelICLR 2024 · 439 citations
- Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion ModelsYuchao Gu, Xintao Wang, Jay Zhangjie Wu, Yujun Shi et al.NeurIPS 2023 · 333 citations
- BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained DiffusionJinheng Xie, Yuexiang Li, Yawen Huang, Haozhe Liu et al.ICCV 2023 · 313 citations
- StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video GenerationYupeng Zhou, Daquan Zhou, Ming-Ming Cheng, Jiashi Feng et al.NeurIPS 2024 · 291 citations
Builds on24
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
Related papers
- Training-Free Structured Diffusion Guidance for Compositional Text-to-Image SynthesisWeixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani et al.ICLR 2023 · 70 citations
- CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion ModelsTuna Han Salih Meral, Enis Simsar, Federico Tombari, Pinar YanardagCVPR 2024 · 11 citations
- Dense Text-to-Image Generation with Attention ModulationYunji Kim, Jiyoung Lee, Jin-Hwa Kim, Jung-Woo Ha et al.ICCV 2023 · 204 citations
- Build-A-Scene: Interactive 3D Layout Control for Diffusion-Based Image GenerationAbdelrahman Eldesokey, Peter WonkaICLR 2025 · 1 citation
- Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image SynthesisQiucheng Wu, Yujian Liu, Handong Zhao, Trung Bui et al.ICCV 2023 · 55 citations
