atlas

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

CausalDiff: Causality-Inspired Disentanglement via Diffusion Model for Adversarial Defense

NeurIPS 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Diffusion-based adversarial purification · 1 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 CausalDiff, a causality-inspired conditional diffusion model that disentangles label-causative and non-causative latent factors via a causal information bottleneck objective, then purifies and classifies adversarial inputs for robustness against unseen attacks.

Problem

Neural classifiers remain vulnerable to adversarial attacks, especially unseen attack types; existing adversarial training, certified defenses, and purification generalize poorly to unforeseen attacks.

Approach

Model data generation with a structural causal model in which label-causative factors S and label-non-causative factors Z jointly generate the input via a conditional diffusion model; train with a causal information bottleneck objective (mutual information terms plus CLUB disentanglement penalty) and at inference purify the input with the unconditional diffusion model, infer S and Z by likelihood

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CausalDiff instead of the strongest reported baselineCIFAR-10 defense · CIFAR-10 unseen attacks (average)robust accuracy (%): 82.38 -> 86.39Helped
Use CausalDiff instead of DiffPureCIFAR-10 defense · CIFAR-10 BPDA + EOT, ℓ∞robust accuracy (%): 81.40 -> 88.48Helped
Use CausalDiff instead of RDCCIFAR-100 defense · CIFAR-100 AutoAttack, ℓ∞robust accuracy (%): 53.12 -> 56.25Helped
Use CausalDiff instead of AT-4GTSRB defense · GTSRB AutoAttack and fog (average)robust accuracy (%): 77.69 -> 82.62Helped
Add causal factor inference to the AP-only variant (ablation)CausalDiff · CIFAR-10 unseen attacks (average)robust accuracy (%): 77.48 -> 86.39Helped
Add adversarial purification to the variant without AP (ablation)CausalDiff · CIFAR-10 unseen attacks (average)robust accuracy (%): 81.77 -> 86.39Helped
Add the CLUB disentanglement term (η = 10⁻⁵ rather than η = 0) (ablation)CausalDiff training · CIFAR-10 AutoAttack, ℓ∞robust accuracy (%): 65.04% -> 69.14%Helped
Use encoder-predicted latent variables instead of diffusion-based causal factor inference (ablation)CausalDiff inference · CIFAR-10 AutoAttack, ℓ∞robust accuracy (%): 0.00%Hurt
Disentangle label-causative and non-causative factors (ablation)Toy causal model · Toy data, 100-step PGD, ε = 6.4robust accuracy (%): at least 71.8% vs. 61.4%Helped
Add disentanglement to the causal toy model (ablation)Toy causal model · Toy dataprediction margin (ℓ₂): 9.58 -> 10.64Helped
Add disentanglement to the causal toy model (ablation)Toy causal model · Toy dataΔp(y|v): 0.32 -> 0.22Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 GTSRB EDM-generated images (CIFAR-100 augmentation)

Benchmarks: CIFAR-10 CIFAR-100 GTSRB

Metrics: clean accuracy robust accuracy average robust accuracy

Baselines: AT-l_inf AT-l_2 CausalAdv DICE DiffPure LM-DDPM LM-EDM SBGC CAMA RDC ADP GDMP

Builds on: DDPM Likelihood Maximization purification CLUB mutual information upper bound DiffAE CausalAdv

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