Prompt-to-Prompt Image Editing with Cross-Attention Control
Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, Daniel Cohen-Or
摘要
Recent large-scale text-driven synthesis models have attracted much attention thanks to their remarkable capabilities of generating highly diverse images that follow given text prompts. Such text-based synthesis methods are particularly appealing to humans who are used to verbally describe their intent. Therefore, it is only natural to extend the text-driven image synthesis to text-driven image editing. Editing is challenging for these generative models, since an innate property of an editing technique is to preserve most of the original image, while in the text-based models, even a small modification of the text prompt often leads to a completely different outcome. State-of-the-art methods mitigate this by requiring the users to provide a spatial mask to localize the edit, hence, ignoring the original structure and content within the masked region. In this paper, we pursue an intuitive prompt-toprompt editing framework, where the edits are controlled by text only. To this end, we analyze a text-conditioned model in depth and observe that the cross-attention layers are the key to controlling the relation between the spatial layout of the image to each word in the prompt. With this observation, we present several applications which monitor the image synthesis by editing the textual prompt only. This includes localized editing by replacing a word, global editing by adding a specification, and even delicately controlling the extent to which a word is reflected in the image. We present our results over diverse images and prompts, demonstrating high-quality synthesis and fidelity to the edited prompts. * Performed this work while working at Google.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1,070 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Implicit Models
- NExT-GPT: Any-to-Any Multimodal LLM 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- NExT-GPT: Any-to-Any Multimodal LLM 引用了 Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
- NExT-GPT: Any-to-Any Multimodal LLM 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models 引用了 Adding Conditional Control to Text-to-Image Diffusion Models
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 Adding Conditional Control to Text-to-Image Diffusion Models
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 Diffusion Models Beat GANs on Image Synthesis
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 Denoising Diffusion Probabilistic Models
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators 引用了 Denoising Diffusion Implicit Models
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Implicit Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation 引用了 Adding Conditional Control to Text-to-Image Diffusion Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation 引用了 T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation 引用了 Denoising Diffusion Probabilistic Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation 引用了 Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper1,070
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 次引用
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion ModelsChong Mou, Xintao Wang, Liangbin Xie, Yanze Wu 等AAAI 2024 · 1,641 次引用
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video GenerationJay Zhangjie Wu, Yixiao Ge, Xintao Wang, Stan Weixian Lei 等ICCV 2023 · 1,113 次引用
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video GeneratorsLevon Khachatryan, Andranik Movsisyan, Vahram Tadevosyan, Roberto Henschel 等ICCV 2023 · 800 次引用
- NExT-GPT: Any-to-Any Multimodal LLMShengqiong Wu, Hao Fei, Leigang Qu, Wei Ji 等ICML 2024 · 786 次引用
它引用的 Paper23
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
- 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 次引用
相关 Paper
- An Item Is Worth a Prompt: Versatile Image Editing with Disentangled ControlAosong Feng, Weikang Qiu, Jinbin Bai, Zhen Dong 等AAAI 2025 · 9 次引用
- Zero-shot Image-to-Image TranslationGaurav Parmar, Krishna Kumar Singh, Richard Zhang, Yijun Li 等SIGGRAPH 2023 · 355 次引用
- Dynamic Prompt Learning: Addressing Cross-Attention Leakage for Text-Based Image EditingKai Wang, Fei Yang, Shiqi Yang, Muhammad Atif Butt 等NeurIPS 2023 · 108 次引用
- Describe, Don't Dictate: Semantic Image Editing with Natural Language IntentEn Ci, Shanyan Guan, Yanhao Ge, Yilin Zhang 等ICCV 2025
- Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion ModelsWenkai Dong, Song Xue, Xiaoyue Duan, Shumin HanICCV 2023 · 104 次引用
