CausalDiff: Causality-Inspired Disentanglement via Diffusion Model for Adversarial Defense
Mingkun Zhang, Keping Bi, Wei Chen, Quanrun Chen, Jiafeng Guo, Xueqi Cheng
Abstract
Despite ongoing efforts to defend neural classifiers from adversarial attacks, they remain vulnerable, especially to unseen attacks. In contrast, humans are difficult to be cheated by subtle manipulations, since we make judgments only based on essential factors. Inspired by this observation, we attempt to model label generation with essential label-causative factors and incorporate label-non-causative factors to assist data generation. For an adversarial example, we aim to discriminate the perturbations as non-causative factors and make predictions only based on the label-causative factors. Concretely, we propose a casual diffusion model (CausalDiff) that adapts diffusion models for conditional data generation and disentangles the two types of casual factors by learning towards a novel casual information bottleneck objective. Empirically, CausalDiff has significantly outperformed state-of-the-art defense methods on various unseen attacks, achieving an average robustness of 86.39% (+4.01%) on CIFAR-10, 56.25% (+3.13%) on CIFAR-100, and 82.62% (+4.93%) on GTSRB (German Traffic Sign Recognition Benchmark). The code is available at https://github.com/CAS-AISafetyBasicResearchGroup/CausalDiff.
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.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- 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
- NAPPure: Adversarial Purification for Robust Image Classification Under Non-Additive Perturbations cites Denoising Diffusion Probabilistic Models
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Denoising Diffusion Probabilistic Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites Diffusion Models Beat GANs on Image Synthesis
- Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Probabilistic Models
- CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot Classification cites High-Resolution Image Synthesis with Latent Diffusion Models
- CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot Classification cites Elucidating the Design Space of Diffusion-Based Generative Models
- CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot Classification cites Diffusion Models Beat GANs on Image Synthesis
- CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot Classification cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers4
- Generating Attribute-Aware Human Motions from Textual PromptXinghan Wang, Kun Xu, Fei Li, Cao Sheng et al.AAAI 2026
- NAPPure: Adversarial Purification for Robust Image Classification Under Non-Additive PerturbationsJunjie Nan, Jianing Li, Wei Chen, Mingkun Zhang et al.ICCV 2025
- Clinically-Grounded Counterfactual Reasoning for Medical Video DiagnosisJianzhe Gao, Churan Wang, Weiyi Zhang, Jianghua Li et al.CVPR 2026
- CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot ClassificationMingkun Zhang, Keping Bi, Wei Chen, Jiafeng Guo et al.ICLR 2025
Builds on30
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
- Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila, Samuli LaineNeurIPS 2022 · 3,959 citations
Related papers
- AdvDiffuser: Natural Adversarial Example Synthesis with Diffusion ModelsXinquan Chen, Xitong Gao, Juanjuan Zhao, Kejiang Ye et al.ICCV 2023 · 94 citations
- Robust Classification via a Single Diffusion ModelHuanran Chen, Yinpeng Dong, Zhengyi Wang, Xiao Yang et al.ICML 2024 · 94 citations
- On the Scalability of Certified Adversarial Robustness with Generated DataThomas Altstidl, David Dobre, Arthur Kosmala, Bjoern M. Eskofier et al.NeurIPS 2024 · 10 citations
- Adversarial Counterfactual Visual ExplanationsGuillaume Jeanneret, Loïc Simon, Frédéric JurieCVPR 2023
- DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative DenoisingZhenhao Li, Huichi Zhou, Marek Rei, Lucia SpeciaACL 2025
