Lune

CVPR2024Top-tier venue

MimicDiffusion: Purifying Adversarial Perturbation via Mimicking Clean Diffusion Model

Kaiyu Song, Hanjiang Lai, Yan Pan, Jian Yin

Abstract

Deep neural networks (DNNs) are vulnerable to adversarial perturbation, where an imperceptible perturbation is added to the image that can fool the DNNs. Diffusion-based adversarial purification uses the diffusion model to generate a clean image against such adversarial attacks. Un-fortunately, the generative process of the diffusion model is also inevitably affected by adversarial perturbation since the diffusion model is also a deep neural network where its input has adversarial perturbation. In this work, we propose MimicDiffusion, a new diffusion-based adversarial purification technique that directly approximates the generative process of the diffusion model with the clean image as input. Concretely, we analyze the differences between the guided terms using the clean image and the ad-versarial sample. After that, we first implement MimicD-iffusion based on Manhattan distance. Then, we propose two guidance to purify the adversarial perturbation and ap-proximate the clean diffusion model. Extensive experiments on three image datasets, including CIFAR-10, CIFAR-100, and ImageNet, with three classifier backbones including WideResNet-70-16, WideResNet-28-10, and ResNet-50 demonstrate that MimicDiffusion significantly performs better than the state-of-the-art baselines. On CIFAR -10, CIFAR-100, and ImageNet, it achieves 92.67%, 61.35%, and 61.53% average robust accuracy, which are 18.49%, 13.23%, and 17.64% higher, respectively. The code is available at https://github.com/psky1111/MimicDiffusion.

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.

12 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

  • Watch the Watchers! On the Security Risks of Robustness-Enhancing Diffusion Models cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Watch the Watchers! On the Security Risks of Robustness-Enhancing Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Probabilistic Models
  • DiffBreak: Is Diffusion-Based Purification Robust? cites Towards Evaluating the Robustness of Neural Networks
  • DiffBreak: Is Diffusion-Based Purification Robust? cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • DiffBreak: Is Diffusion-Based Purification Robust? cites Fast is better than free: Revisiting adversarial training
  • DiffBreak: Is Diffusion-Based Purification Robust? cites Denoising Diffusion Probabilistic Models
  • Efficient Image-to-Image Diffusion Classifier for Adversarial Robustness cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Efficient Image-to-Image Diffusion Classifier for Adversarial Robustness cites Denoising Diffusion Probabilistic Models
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Towards Evaluating the Robustness of Neural Networks
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Fast is better than free: Revisiting adversarial training
  • Fast is better than free: Revisiting adversarial training cites Towards Evaluating the Robustness of Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. DiffBreak: Is Diffusion-Based Purification Robust?Andre Kassis, Urs Hengartner, Yaoliang YuNeurIPS 2025 · 8 citations
  2. Efficient Image-to-Image Diffusion Classifier for Adversarial RobustnessHefei Mei, Minjing Dong, Chang XuAAAI 2025 · 2 citations
  3. Enhancing Adversarial Transferability by Balancing Exploration and Exploitation with Gradient-Guided SamplingZenghao Niu, Weicheng Xie, Siyang Song, Zitong Yu et al.ICCV 2025 · 2 citations
  4. OTI: A Model-free and Visually Interpretable Measure of Image AttackabilityJiaming Liang, Haowei Liu, Chi-Man PunAAAI 2026 · 1 citation
  5. Watch the Watchers! On the Security Risks of Robustness-Enhancing Diffusion ModelsChangjiang Li, Ren Pang, Bochuan Cao, Jinghui Chen et al.USENIX Security 2025

Builds on24

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  3. Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila, Samuli LaineNeurIPS 2022 · 3,959 citations
  4. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
  5. Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 citations

Related papers

  1. Diffusion Models for Adversarial PurificationWeili Nie, Brandon Guo, Yujia Huang, Chaowei Xiao et al.ICML 2022 · 663 citations
  2. Diffusion Models Demand Contrastive Guidance for Adversarial Purification to AdvanceMingyuan Bai, Wei Huang, Tenghui Li, Andong Wang et al.ICML 2024 · 18 citations
  3. Adversarial Training on Purification (AToP): Advancing Both Robustness and GeneralizationGuang Lin, Chao Li, Jianhai Zhang, Toshihisa Tanaka et al.ICLR 2024 · 25 citations
  4. Two Modalities Are Better Than One: Efficient Adversarial Purification via Multimodal Diffusion ModelsMingyuan Bai, Wei Huang, Tenghui Li, Andong Wang et al.ICML 2026
  5. DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial PurificationMintong Kang, Dawn Song, Bo LiNeurIPS 2023 · 66 citations
Dusk over the sea between two cliffs drawn in fine vertical lines