Dynamic Prompt Learning: Addressing Cross-Attention Leakage for Text-Based Image Editing
Kai Wang, Fei Yang, Shiqi Yang, Muhammad Atif Butt, Joost van de Weijer
摘要
Large-scale text-to-image generative models have been a ground-breaking development in generative AI, with diffusion models showing their astounding ability to synthesize convincing images following an input text prompt. The goal of image editing research is to give users control over the generated images by modifying the text prompt. Current image editing techniques are susceptible to unintended modifications of regions outside the targeted area, such as on the background or on distractor objects which have some semantic or visual relationship with the targeted object. According to our experimental findings, inaccurate cross-attention maps are at the root of this problem. Based on this observation, we propose Dynamic Prompt Learning (DPL) to force cross-attention maps to focus on correct noun words in the text prompt. By updating the dynamic tokens for nouns in the textual input with the proposed leakage repairment losses, we achieve fine-grained image editing over particular objects while preventing undesired changes to other image regions. Our method DPL, based on the publicly available Stable Diffusion, is extensively evaluated on a wide range of images, and consistently obtains superior results both quantitatively (CLIP score, Structure-Dist) and qualitatively (on user-evaluation). We show improved prompt editing results for Word-Swap, Prompt Refinement, and Attention Re-weighting, especially for complex multi-object scenes.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 29 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Models 引用了 Denoising Diffusion Implicit Models
- Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Models 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Free-Lunch Color-Texture Disentanglement for Stylized Image Generation 引用了 Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Models
- Free-Lunch Color-Texture Disentanglement for Stylized Image Generation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Free-Lunch Color-Texture Disentanglement for Stylized Image Generation 引用了 Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis
- Free-Lunch Color-Texture Disentanglement for Stylized Image Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Free-Lunch Color-Texture Disentanglement for Stylized Image Generation 引用了 Denoising Diffusion Implicit Models
- Free-Lunch Color-Texture Disentanglement for Stylized Image Generation 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Zero-Shot Text-to-Image Generation
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Implicit Models
- Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis 引用了 Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Models
- Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Zero-Shot Text-to-Image Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- EditMGT: Unleashing Potentials of Masked Generative Transformers in Image Editing 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- EditMGT: Unleashing Potentials of Masked Generative Transformers in Image Editing 引用了 Zero-Shot Text-to-Image Generation
- EditMGT: Unleashing Potentials of Masked Generative Transformers in Image Editing 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Zero-Shot Text-to-Image Generation
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Denoising Diffusion Implicit Models
引用它的顶会 Paper29
- Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion ModelsSenmao Li, Joost van de Weijer, Taihang Hu, Fahad Shahbaz Khan 等ICLR 2024 · 56 次引用
- Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion ModelsDominik Hintersdorf, Lukas Struppek, Kristian Kersting, Adam Dziedzic 等NeurIPS 2024 · 46 次引用
- Token Merging for Training-Free Semantic Binding in Text-to-Image SynthesisTaihang Hu, Linxuan Li, Joost van de Weijer, Hongcheng Gao 等NeurIPS 2024 · 45 次引用
- EditMGT: Unleashing Potentials of Masked Generative Transformers in Image EditingWei Chow, Linfeng Li, Lingdong Kong, Zefeng Li 等CVPR 2026 · 14 次引用
- Free-Lunch Color-Texture Disentanglement for Stylized Image GenerationJiang Qin, Alexandra Gomez-Villa, Senmao Li, Shiqi Yang 等NeurIPS 2025 · 12 次引用
它引用的 Paper31
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 次引用
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li 等NeurIPS 2022 · 8,965 次引用
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用
相关 Paper
- Multi-Region Text-Driven Manipulation of Diffusion ImageryYiming Li, Peng Zhou, Jun Sun, Yi XuAAAI 2024 · 4 次引用
- An Item Is Worth a Prompt: Versatile Image Editing with Disentangled ControlAosong Feng, Weikang Qiu, Jinbin Bai, Zhen Dong 等AAAI 2025 · 9 次引用
- Training-Free Structured Diffusion Guidance for Compositional Text-to-Image SynthesisWeixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani 等ICLR 2023 · 70 次引用
- MAG-Edit: Localized Image Editing in Complex Scenarios via Mask-Based Attention-Adjusted GuidanceQi Mao, Lan Chen, Yuchao Gu, Zhen Fang 等ACM MM 2024 · 7 次引用
- Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion ModelsWenkai Dong, Song Xue, Xiaoyue Duan, Shumin HanICCV 2023 · 104 次引用
