mlsanityData to 14 Oct 2026

AdvPaint: Protecting Images from Inpainting Manipulation via Adversarial Attention Disruption

arXiv 2503.10081 ↗First posted 13 Mar 2025cs.CV cs.CRcited by 11

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

The outstanding capability of diffusion models in generating high-quality images poses significant threats when misused by adversaries. In particular, we assume malicious adversaries exploiting diffusion models for inpainting tasks, such as replacing a specific region with a celebrity. While existing methods for protecting images from manipulation in diffusion-based generative models have primarily focused on image-to-image and text-to-image tasks, the challenge of preventing unauthorized inpainting has been rarely addressed, often resulting in suboptimal protection performance. To mitigate inpainting abuses, we propose ADVPAINT, a novel defensive framework that generates adversarial perturbations that effectively disrupt the adversary's inpainting tasks. ADVPAINT targets the self- and cross-attention blocks in a target diffusion inpainting model to distract semantic understanding and prompt interactions during image generation. ADVPAINT also employs a two-stage perturbation strategy, dividing the perturbation region based on an enlarged bounding box around the object, enhancing robustness across diverse masks of varying shapes and sizes. Our experimental results demonstrate that ADVPAINT's perturbations are highly effective in disrupting the adversary's inpainting tasks, outperforming existing methods; ADVPAINT attains over a 100-point increase in FID and substantial decreases in precision.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 32 of its 41 references that are in the map. First posted on arXiv 13 Mar 2025.

Builds on

32 of 41 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024Perturbing Attention Gives You More Bang for the Buck: Subtle Imaging Perturbations That Efficiently Fool Customized Diffusion Models23 Apr
  2. 2023MetaCloak: Preventing Unauthorized Subject-driven Text-to-image Diffusion-based Synthesis via Meta-learning22 Nov
  3. 2023IMPRESS: Evaluating the Resilience of Imperceptible Perturbations Against Unauthorized Data Usage in Diffusion-Based Generative AI30 Oct
  4. 2023Toward effective protection against diffusion based mimicry through score distillation2 Oct
  5. 2023Mist: Towards Improved Adversarial Examples for Diffusion Models22 May
  6. 2023Anti-DreamBooth: Protecting users from personalized text-to-image synthesis27 Mar
  7. 2023Raising the Cost of Malicious AI-Powered Image Editing13 Feb
  8. 2023Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examples9 Feb

Other references · 24

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  5. 2020Denoising Diffusion Implicit Modelscited by 9,781
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  8. 2022Scalable Diffusion Models with Transformerscited by 6,054
  9. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  10. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
  11. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
  12. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
12 more
  1. 2016Adversarial examples in the physical worldcited by 1,769
  2. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
  3. 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 929
  4. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
  5. 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 864
  6. 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
  7. 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 205
  8. 2024PIXART-δ: Fast and Controllable Image Generation with Latent Consistency Modelscited by 141
  9. 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editingcited by 135
  10. 2023HD-Painter: High-Resolution and Prompt-Faithful Text-Guided Image Inpainting with Diffusion Modelscited by 67
  11. 2023Zero-shot Referring Image Segmentation with Global-Local Context Featurescited by 61
  12. 2024Adversarial Perturbations Cannot Reliably Protect Artists From Generative AIcited by 38

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 7.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Anti-Inpainting: A Proactive Defense Approach against Malicious Diffusion-based Inpainters under Unknown Conditions
  2. 2024Disrupting Diffusion-based Inpainters with Semantic Digression
  3. 2024DiffusionGuard: A Robust Defense Against Malicious Diffusion-based Image Editing
  4. 2024A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse
  5. 2025Towards Transferable Defense Against Malicious Image Edits
  6. 2026GuardPaint:SpeculativeSafetyDecodingforText-to-ImageGeneration
  7. 2025Towards Robust Defense against Customization via Protective Perturbation Resistant to Diffusion-based Purification
  8. 2026Anti-I2V: Safeguarding your photos from malicious image-to-video generation