Prompt-Softbox-Prompt: A Free-Text Embedding Control for Image Editing
Yitong Yang, Yinglin Wang, Tian Zhang, Jing Wang, Shuting He
摘要
While text-driven diffusion models demonstrate remarkable performance in image editing, the critical components of their text embeddings remain underexplored. The ambiguity and entanglement of these embeddings pose challenges for precise editing. In this paper, we provide a comprehensive analysis of text embeddings in Stable Diffusion XL, offering three key insights: (1) aug embedding . aug embedding is obtained by combining the pooled output of the final text encoder with the timestep embeddings. https://github.com/huggingface/diffusers retains complete textual semantics but contributes minimally to image generation as it is only fused via the ResBlocks. More text information weakens its local semantics while preserving most global semantics. (2) BOS and padding embedding do not contain any semantic information. (3) EOS holds the semantic information of all words and stylistic information. Each word embedding is important and does not interfere with the semantic injection of other embeddings. Based on these insights, we propose PSP (Prompt-Softbox-Prompt), a training-free image editing method that leverages free-text embedding. PSP enables precise image editing by modifying text embeddings within the cross-attention layers and using Softbox to control the specific area for semantic injection. This technique enables the addition and replacement of objects without affecting other areas of the image. Additionally, PSP can achieve style transfer by simply replacing text embeddings. Extensive experiments show that PSP performs remarkably well in tasks such as object replacement, object addition, and style transfer. Our code is available at https://github.com/yangyt46/PSP.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Segment Anything 引用了 Learning Transferable Visual Models From Natural Language Supervision
- DiffStyle3D: Consistent 3D Gaussian Stylization via Attention Optimization 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- DiffStyle3D: Consistent 3D Gaussian Stylization via Attention Optimization 引用了 SplitFlux: Learning to Decouple Content and Style from a Single Image
- DiffStyle3D: Consistent 3D Gaussian Stylization via Attention Optimization 引用了 Learning Transferable Visual Models From Natural Language Supervision
- SplitFlux: Learning to Decouple Content and Style from a Single Image 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SplitFlux: Learning to Decouple Content and Style from a Single Image 引用了 Directly Denoising Diffusion Models
- SplitFlux: Learning to Decouple Content and Style from a Single Image 引用了 Learning Transferable Visual Models From Natural Language Supervision
- SplitFlux: Learning to Decouple Content and Style from a Single Image 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Directly Denoising Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Directly Denoising 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 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper2
它引用的 Paper39
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao 等ICCV 2023 · 13,211 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 次引用
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li 等NeurIPS 2022 · 8,965 次引用
相关 Paper
- Rethinking Global Text Conditioning in Diffusion TransformersNikita Starodubcev, Daniil Pakhomov, Zongze Wu, Ilya Drobyshevskiy 等ICLR 2026
- Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image EditingBingyan Liu, Chengyu Wang, Tingfeng Cao, Kui Jia 等CVPR 2024
- Addressing Text Embedding Leakage in Diffusion-Based Image EditingSunung Mun, Jinhwan Nam, Sunghyun Cho, Jungseul OkICCV 2025 · 10 次引用
- Zero-shot Image-to-Image TranslationGaurav Parmar, Krishna Kumar Singh, Richard Zhang, Yijun Li 等SIGGRAPH 2023 · 355 次引用
- 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 次引用
