Lune

ICCV2025Top-tier venue

Addressing Text Embedding Leakage in Diffusion-Based Image Editing

Sunung Mun, Jinhwan Nam, Sunghyun Cho, Jungseul Ok

Abstract

Text-based image editing, powered by generative diffusion models, lets users modify images through naturallanguage 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 (B B) 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Shifting the Breaking Point of Flow Matching for Multi-Instance Editing cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • Shifting the Breaking Point of Flow Matching for Multi-Instance Editing cites Prompt-to-Prompt Image Editing with Cross-Attention Control
  • I2E: From Image Pixels to Actionable Interactive Environments for Text-Guided Image Editing cites Prompt-to-Prompt Image Editing with Cross-Attention Control
  • I2E: From Image Pixels to Actionable Interactive Environments for Text-Guided Image Editing cites SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites Prompt-to-Prompt Image Editing with Cross-Attention Control
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
  • MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Prompt-to-Prompt Image Editing with Cross-Attention Control
  • MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Learning Transferable Visual Models From Natural Language Supervision
  • Prompt-to-Prompt Image Editing with Cross-Attention Control cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. I2E: From Image Pixels to Actionable Interactive Environments for Text-Guided Image EditingJinghan Yu, Junhao Xiao, Chenyu Zhu, Jiaming Li et al.ACL 2026 · 3 citations
  2. Shifting the Breaking Point of Flow Matching for Multi-Instance EditingCarmine Zaccagnino, Fabio Quattrini, Enis Simsar, Marta Gazulla et al.ICML 2026 · 1 citation

Builds on19

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. SDEdit: Guided Image Synthesis and Editing with Stochastic Differential EquationsChenlin Meng, Yutong He, Yang Song, Jiaming Song et al.ICLR 2022 · 2,128 citations
  3. MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and EditingMingdeng Cao, Xintao Wang, Zhongang Qi, Ying Shan et al.ICCV 2023 · 770 citations
  4. Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion ModelsHila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf et al.SIGGRAPH 2023 · 438 citations
  5. Prompt-to-Prompt Image Editing with Cross-Attention ControlAmir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman et al.ICLR 2023 · 361 citations

Related papers

  1. MAG-Edit: Localized Image Editing in Complex Scenarios via Mask-Based Attention-Adjusted GuidanceQi Mao, Lan Chen, Yuchao Gu, Zhen Fang et al.ACM MM 2024 · 7 citations
  2. VSC: Visual Search Compositional Text-to-Image Diffusion ModelDo Huu Dat, Nam Hyeon-Woo, Po Yuan Mao, Tae-Hyun OhICCV 2025 · 1 citation
  3. An Item Is Worth a Prompt: Versatile Image Editing with Disentangled ControlAosong Feng, Weikang Qiu, Jinbin Bai, Zhen Dong et al.AAAI 2025 · 9 citations
  4. Dynamic Prompt Learning: Addressing Cross-Attention Leakage for Text-Based Image EditingKai Wang, Fei Yang, Shiqi Yang, Muhammad Atif Butt et al.NeurIPS 2023 · 108 citations
  5. LoMOE: Localized Multi-Object Editing via Multi-DiffusionGoirik Chakrabarty, Aditya Chandrasekar, Ramya Hebbalaguppe, Prathosh APACM MM 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines