mlsanityData to 7 Oct 2026

Addressing Text Embedding Leakage in Diffusion-based Image Editing

arXiv 2412.04715 ↗First posted 6 Dec 2024cs.CVcited by 7

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

  1. 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
  2. 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusion1 Mar
  3. 2024Towards Efficient Diffusion-Based Image Editing with Instant Attention Masks15 Jan
  4. 2023Inversion-Free Image Editing with Natural Language7 Dec
  5. 2023Direct Inversion: Boosting Diffusion-based Editing with 3 Lines of Code2 Oct
  6. 2023Dynamic Prompt Learning: Addressing Cross-Attention Leakage for Text-Based Image Editing27 Sep
  7. 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment15 Jun
  8. 2023Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion Models8 May
  9. 2023StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing28 Mar
  10. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
  11. 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpainting13 Dec
  12. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis9 Dec
2 more
  1. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
  2. 2022Direct Inversion: Optimization-Free Text-Driven Real Image Editing with Diffusion Models15 Nov

Other references · 18

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  5. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  6. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  7. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  8. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
  9. 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 914
  10. 2023Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inferencecited by 826
  11. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  12. 2023MagicBrush: A Manually Annotated Dataset for Instruction-Guided Image Editingcited by 615
6 more
  1. 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
  2. 2022Splicing ViT Features for Semantic Appearance Transfercited by 209
  3. 2016Scribbler: Controlling Deep Image Synthesis with Sketch and Colorcited by 77
  4. 2023Zero-shot Referring Image Segmentation with Global-Local Context Featurescited by 61
  5. 2023Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulationcited by 61
  6. 2024Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesiscited by 35

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Prompt-Softbox-Prompt: A Free-Text Embedding Control for Image Editing
  2. 2025Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization
  3. 2024Uncovering the Text Embedding in Text-to-Image Diffusion Models
  4. 2025SAEdit: Token-level control for continuous image editing via Sparse AutoEncoder
  5. 2024Latent Space Disentanglement in Diffusion Transformers Enables Zero-shot Fine-grained Semantic Editing
  6. 2025Training-Free Disentangled Text-Guided Image Editing via Sparse Latent Constraints
  7. 2023Forgedit: Text Guided Image Editing via Learning and Forgetting
  8. 2025S2Edit: Text-Guided Image Editing with Precise Semantic and Spatial Control