Lune

AAAI2024Top-tier venue

Towards Efficient Diffusion-Based Image Editing with Instant Attention Masks

Siyu Zou, Jiji Tang, Yiyi Zhou, Jing He, Chaoyi Zhao, Rongsheng Zhang, Zhipeng Hu, Xiaoshuai Sun

Abstract

Diffusion-based Image Editing (DIE) is an emerging research hot-spot, which often applies a semantic mask to control the target area for diffusion-based editing. However, most existing solutions obtain these masks via manual operations or off-line processing, greatly reducing their efficiency. In this paper, we propose a novel and efficient image editing method for Text-to-Image (T2I) diffusion models, termed Instant Diffusion Editing (InstDiffEdit). In particular, InstDiffEdit aims to employ the cross-modal attention ability of existing diffusion models to achieve instant mask guidance during the diffusion steps. To reduce the noise of attention maps and realize the full automatics, we equip InstDiffEdit with a training-free refinement scheme to adaptively aggregate the attention distributions for the automatic yet accurate mask generation. Meanwhile, to supplement the existing evaluations of DIE, we propose a new benchmark called Editing-Mask to examine the mask accuracy and local editing ability of existing methods. To validate InstDiffEdit, we also conduct extensive experiments on ImageNet and Imagen, and compare it with a bunch of the SOTA methods. The experimental results show that InstDiffEdit not only outperforms the SOTA methods in both image quality and editing results, but also has a much faster inference speed, i.e., +5 to +6 times. Our code available at https://anonymous.4open.science/r/InstDiffEdit-C306

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.

5 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

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • Addressing Text Embedding Leakage in Diffusion-Based Image Editing cites Learning Transferable Visual Models From Natural Language Supervision
  • Rethinking UMM Visual Generation: Masked Modeling for Efficient Image-Only Pre-training cites High-Resolution Image Synthesis with Latent Diffusion Models
  • FashionTailor: Controllable Clothing Editing for Human Images with Appearance Preserving cites High-Resolution Image Synthesis with Latent Diffusion Models
  • FashionTailor: Controllable Clothing Editing for Human Images with Appearance Preserving cites Learning Transferable Visual Models From Natural Language Supervision
  • VINCIE: Unlocking In-context Image Editing from Video cites High-Resolution Image Synthesis with Latent Diffusion Models
  • VINCIE: Unlocking In-context Image Editing from Video cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Click2Mask: Local Editing with Dynamic Mask Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Click2Mask: Local Editing with Dynamic Mask Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • Click2Mask: Local Editing with Dynamic Mask Generation cites Denoising Diffusion Implicit Models
  • Click2Mask: Local Editing with Dynamic Mask Generation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. VINCIE: Unlocking In-context Image Editing from VideoLeigang Qu, Feng Cheng, Ziyan Yang, Qi Zhao et al.ICLR 2026 · 18 citations
  2. Addressing Text Embedding Leakage in Diffusion-Based Image EditingSunung Mun, Jinhwan Nam, Sunghyun Cho, Jungseul OkICCV 2025 · 10 citations
  3. Click2Mask: Local Editing with Dynamic Mask GenerationOmer Regev, Omri Avrahami, Dani LischinskiAAAI 2025 · 3 citations
  4. Rethinking UMM Visual Generation: Masked Modeling for Efficient Image-Only Pre-trainingPeng Sun, Jun XIE, Tao LinCVPR 2026 · 1 citation
  5. FashionTailor: Controllable Clothing Editing for Human Images with Appearance PreservingJie Hou, Jianghong Ma, Xiangyu Mu, Haijun Zhang et al.AAAI 2025 · 1 citation

Builds on18

  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. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations

Related papers

  1. SwiftEdit: Lightning Fast Text-Guided Image Editing via One-Step DiffusionTrong-Tung Nguyen, Quang Nguyen, Khoi Nguyen, Anh Tuan Tran et al.CVPR 2025
  2. DiffEdit: Diffusion-based semantic image editing with mask guidanceGuillaume Couairon, Jakob Verbeek, Holger Schwenk, Matthieu CordICLR 2023 · 102 citations
  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. Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image EditingBingyan Liu, Chengyu Wang, Tingfeng Cao, Kui Jia et al.CVPR 2024
  5. Inversion-Free Image Editing with Language-Guided Diffusion ModelsSihan Xu, Yidong Huang, Jiayi Pan, Ziqiao Ma et al.CVPR 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines