atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

DiffHammer: Rethinking the Robustness of Diffusion-Based Adversarial Purification

NeurIPS 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Diffusion-based adversarial purification · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DiffHammer, a selective EM-based attack with gradient grafting and N-evaluation in the attack loop, showing diffusion-based purifications are substantially less robust than prior EOT-based evaluations suggest.

Problem

Diffusion-based adversarial purification may appear robust because EOT-based attacks are ineffective against its stochasticity (a gradient dilemma), and 1-evaluation underestimates the risk of resubmission attacks against stochastic defenses.

Approach

Treats the set of stochastic purifications as having shared vs. unshared vulnerabilities, uses EM to identify the shared-vulnerability subset (E-step) and aggregates gradients only from it (M-step), approximates purification gradients via gradient grafting so only one full backpropagation is needed, and integrates N-evaluation into the attack loop to estimate M-resubmit robustness.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DiffHammer instead of DA/AAAttack evaluation of DiffPure · CIFAR10, ℓ∞: 8/255Avg.Rob: 57.60 -> 42.54Helped
Use DiffHammer instead of PGDAttack evaluation of GDMP · CIFAR10, ℓ∞: 8/255Avg.Rob: 49.41 -> 41.64Helped
Use DiffHammer instead of PGDAttack evaluation of LM · CIFAR10, ℓ∞: 8/255Avg.Rob: 17.99 -> 16.15Helped
Use DiffHammer instead of DA/AAAttack evaluation of DiffPure · ImageNette, ℓ∞: 4/255Avg.Rob: 53.12 -> 38.36Helped
Use DiffHammer instead of DA/AAAttack evaluation of GDMP · ImageNette, ℓ∞: 4/255Avg.Rob: 46.64 -> 33.98Helped
Use DiffHammer instead of BPDAAttack evaluation of LM · ImageNette, ℓ∞: 4/255Avg.Rob: 28.28 -> 26.25Helped
Replace the grafted gradient with the selective approximate gradient E(qϕ∇ϕLϕ) (ablation)DiffHammer · CIFAR10, ℓ∞: 8/255, DiffPureAvg.Rob difference from default: +27.44Hurt
Replace the grafted gradient with the selective approximate gradient E(qϕ∇ϕLϕ) (ablation)DiffHammer · CIFAR10, ℓ∞: 8/255, GDMPAvg.Rob difference from default: +30.02Hurt
Replace the grafted gradient with the selective approximate gradient E(qϕ∇ϕLϕ) (ablation)DiffHammer · CIFAR10, ℓ∞: 8/255, LMAvg.Rob difference from default: +41.29Hurt
Use the full gradient E(qϕ∇xLϕ) instead of the grafted gradient (ablation)DiffHammer · CIFAR10, ℓ∞: 8/255, DiffPureAvg.Rob difference from default: -3.52Helped
Set α = 0.2 instead of α = 0.5 (ablation)DiffHammer · CIFAR10, ℓ∞: 8/255, DiffPureAvg.Rob difference from default: +2.19Hurt
Set N = 5 instead of N = 10 (ablation)DiffHammer · CIFAR10, ℓ∞: 8/255, DiffPureAvg.Rob difference from default: +1.44Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 ImageNette

Benchmarks: CIFAR10 CIFAR100 ImageNette

Metrics: Avg.Rob Wor.Rob iterations to 90% best attack effect

Baselines: BPDA PGD AutoAttack DiffAttack DMI TMI VMI SVRE Adjoint method Score attack Full attack

Builds on: EOT BPDA AutoAttack DiffAttack DiffPure

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy