Addressing Text Embedding Leakage in Diffusion-based Image Editing
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Text-based image editing, powered by generative diffusion models, lets users modify images through natural-language prompts and has dramatically simplified traditional workflows. Despite these advances, current methods still suffer from a critical problem: attribute leakage, where edits meant for specific objects unintentionally affect unrelated regions or other target objects. Our analysis reveals the root cause as the semantic entanglement inherent in End-of-Sequence (EOS) embeddings generated by autoregressive text encoders, which indiscriminately aggregate attributes across prompts. To address this issue, we introduce Attribute-Leakage-free Editing (ALE), a framework that tackles attribute leakage at its source. ALE combines Object-Restricted Embeddings (ORE) to disentangle text embeddings, Region-Guided Blending for Cross-Attention Masking (RGB-CAM) for spatially precise attention, and Background Blending (BB) to preserve non-edited content. To quantitatively evaluate attribute leakage across various editing methods, we propose the Attribute-Leakage Evaluation Benchmark (ALE-Bench), featuring comprehensive editing scenarios and new metrics. Extensive experiments show that ALE reduces attribute leakage by large margins, thereby enabling accurate, multi-object, text-driven image editing while faithfully preserving non-target content.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 32 of its 39 references that are in the map. First posted on arXiv 6 Dec 2024.
Builds on
32 of 39 references.
Closest ancestors · 14
Same direction, newest first
- 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
- 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusion1 Mar
- 2024Towards Efficient Diffusion-Based Image Editing with Instant Attention Masks15 Jan
- 2023Inversion-Free Image Editing with Natural Language7 Dec
- 2023Direct Inversion: Boosting Diffusion-based Editing with 3 Lines of Code2 Oct
- 2023Dynamic Prompt Learning: Addressing Cross-Attention Leakage for Text-Based Image Editing27 Sep
- 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment15 Jun
- 2023Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion Models8 May
- 2023StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing28 Mar
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
- 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpainting13 Dec
- 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis9 Dec
2 more
Other references · 18
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
- 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 914
- 2023Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inferencecited by 826
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
- 2023MagicBrush: A Manually Annotated Dataset for Instruction-Guided Image Editingcited by 615
6 more
- 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
- 2022Splicing ViT Features for Semantic Appearance Transfercited by 209
- 2016Scribbler: Controlling Deep Image Synthesis with Sketch and Colorcited by 77
- 2023Zero-shot Referring Image Segmentation with Global-Local Context Featurescited by 61
- 2023Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulationcited by 61
- 2024Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesiscited by 35
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026I2E: From Image Pixels to Actionable Interactive Environments for Text-Guided Image Editingcited by 4
- 2026Shifting the Breaking Point of Flow Matching for Multi-Instance Editingcited by 1
- 2026T2LSC-Bench: Benchmarking Localized Semantic Control in Text-to-Image Generationcited by 1
- 2026The Attention Triangle in Audio-Video Modelscited by 1
- 2026Editing Everything Everywhere All at Oncecited by 0
- 2026Localize, Don't Beautify: Client-Side Control of Image-Editing APIs for Cosmetic Surgery Previewscited by 0
- 2026Measured Sliders: Learning Continuous Controls from Differentiable Image Measurementscited by 0
- 2026Measured Sliders: Learning Continuous Controls from Differentiable Image Measurements4 Sep 2026
- 2026The Attention Triangle in Audio-Video Models3 Sep 2026
- 2026T2LSC-Bench: Benchmarking Localized Semantic Control in Text-to-Image Generation2 Sep 2026
- 2026Localize, Don't Beautify: Client-Side Control of Image-Editing APIs for Cosmetic Surgery Previews3 Aug 2026
- 2026Editing Everything Everywhere All at Once30 Jun 2026
- 2026Shifting the Breaking Point of Flow Matching for Multi-Instance Editing9 Feb 2026
- 2026I2E: From Image Pixels to Actionable Interactive Environments for Text-Guided Image Editing7 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2024Prompt-Softbox-Prompt: A Free-Text Embedding Control for Image Editing
- 2025Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization
- 2024Uncovering the Text Embedding in Text-to-Image Diffusion Models
- 2025SAEdit: Token-level control for continuous image editing via Sparse AutoEncoder
- 2024Latent Space Disentanglement in Diffusion Transformers Enables Zero-shot Fine-grained Semantic Editing
- 2025Training-Free Disentangled Text-Guided Image Editing via Sparse Latent Constraints
- 2023Forgedit: Text Guided Image Editing via Learning and Forgetting
- 2025S2Edit: Text-Guided Image Editing with Precise Semantic and Spatial Control