Lune

AAAI2025Top-tier venue

Attentive Eraser: Unleashing Diffusion Model's Object Removal Potential via Self-Attention Redirection Guidance

Wenhao Sun, Xue-Mei Dong, Benlei Cui, Jingqun Tang

Abstract

Recently, diffusion models have emerged as promising newcomers in the field of generative models, shining brightly in image generation. However, when employed for object removal tasks, they still encounter issues such as generating random artifacts and the incapacity to repaint foreground object areas with appropriate content after removal. To tackle these problems, we propose Attentive Eraser, a tuning-free method to empower pre-trained diffusion models for stable and effective object removal. Firstly, in light of the observation that the self-attention maps influence the structure and shape details of the generated images, we propose Attention Activation and Suppression (ASS), which re-engineers the self-attention mechanism within the pretrained diffusion models based on the given mask, thereby prioritizing the background over the foreground object during the reverse generation process. Moreover, we introduce Self-Attention Redirection Guidance (SARG), which utilizes the self-attention redirected by ASS to guide the generation process, effectively removing foreground objects within the mask while simultaneously generating content that is both plausible and coherent. Experiments demonstrate the stability and effectiveness of Attentive Eraser in object removal across a variety of pre-trained diffusion models, outperforming even training-based methods. Furthermore, Attentive Eraser can be implemented in various diffusion model architectures and checkpoints, enabling excellent scalability. Code is available at https://github.com/Anonym0u3/AttentiveEraser .

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.

16 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

  • Diffusion Probe: Generated Image Result Prediction Using CNN Probes cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Diffusion Probe: Generated Image Result Prediction Using CNN Probes cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Probe: Generated Image Result Prediction Using CNN Probes cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • 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
  • LBM: Latent Bridge Matching for Fast Image-to-Image Translation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Object-WIPER: Training-Free Object and Associated Effect Removal in Videos cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Object-WIPER: Training-Free Object and Associated Effect Removal in Videos cites Learning Transferable Visual Models From Natural Language Supervision
  • GeoRemover: Removing Objects and Their Causal Visual Artifacts cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Precise Object and Effect Removal with Adaptive Target-Aware Attention cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Precise Object and Effect Removal with Adaptive Target-Aware Attention cites GeoRemover: Removing Objects and Their Causal Visual Artifacts
  • Precise Object and Effect Removal with Adaptive Target-Aware Attention cites Learning Transferable Visual Models From Natural Language Supervision
  • Precise Object and Effect Removal with Adaptive Target-Aware Attention cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Diffusion Probe: Generated Image Result Prediction Using CNN ProbesBukun Huang, Benlei Cui, Zhizeng Ye, Xuemei Dong et al.CVPR 2026 · 13 citations
  2. Precise Object and Effect Removal with Adaptive Target-Aware AttentionJixin Zhao, Zhouxia Wang, Peiqing Yang, Shangchen ZhouCVPR 2026 · 13 citations
  3. GeoRemover: Removing Objects and Their Causal Visual ArtifactsZixin Zhu, Haoxiang Li, Xuelu Feng, He Wu et al.NeurIPS 2025 · 11 citations
  4. LBM: Latent Bridge Matching for Fast Image-to-Image TranslationClément Chadebec, Onur Tasar, Sanjeev Sreetharan, Benjamin AubinICCV 2025 · 5 citations
  5. Object-WIPER: Training-Free Object and Associated Effect Removal in VideosSaksham Singh Kushwaha, Sayan Nag, Yapeng Tian, Kuldeep KulkarniCVPR 2026 · 5 citations

Builds on42

  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. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. AdaEraser: Training-Free Object Removal via Adaptive Attention SuppressionDingming LiuICML 2026
  2. Concept Erasure via Attention RedirectionAmit Schechter, Rinon Gal, Ofir Kedem, Gal Chechik, Daniel Cohen-OrCVPR Findings 2026
  3. Erase Diffusion: Empowering Object Removal Through Calibrating Diffusion PathwaysYi Liu, Hao Zhou, Benlei Cui, Wenxiang Shang et al.CVPR 2025
  4. VideoEraser: Concept Erasure in Text-to-Video Diffusion ModelsNaen Xu, Jinghuai Zhang, Changjiang Li, Zhi Chen et al.EMNLP 2025 · 1 citation
  5. You Only Erase Once: Erasing Anything without Bringing Unexpected ContentYixing Zhu, Qing Zhang, Wenju Xu, Wei-Shi ZhengCVPR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines