Lune

USENIX Security2023Top-tier venue

DiffSmooth: Certifiably Robust Learning via Diffusion Models and Local Smoothing

Jiawei Zhang, Zhongzhu Chen, Huan Zhang, Chaowei Xiao, Bo Li

Abstract

Diffusion models have been leveraged to perform adversarial purification and thus provide both empirical and certified robustness for a standard model. On the other hand, different robustly trained smoothed models have been studied to improve the certified robustness. Thus, it raises a natural question: Can diffusion model be used to achieve improved certified robustness on those robustly trained smoothed models? In this work, we first theoretically show that recovered instances by diffusion models are in the bounded neighborhood of the original instance with high probability; and the"one-shot"denoising diffusion probabilistic models (DDPM) can approximate the mean of the generated distribution of a continuous-time diffusion model, which approximates the original instance under mild conditions. Inspired by our analysis, we propose a certifiably robust pipeline DiffSmooth, which first performs adversarial purification via diffusion models and then maps the purified instances to a common region via a simple yet effective local smoothing strategy. We conduct extensive experiments on different datasets and show that DiffSmooth achieves SOTA-certified robustness compared with eight baselines. For instance, DiffSmooth improves the SOTA-certified accuracy from 36.0%36.0\% to 53.0%53.0\% under ℓ2\ell_2 radius 1.51.5 on ImageNet. The code is available at [https://github.com/javyduck/DiffSmooth].

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.

13 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

  • 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
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • DiffHammer: Rethinking the Robustness of Diffusion-Based Adversarial Purification cites Denoising Diffusion Probabilistic Models
  • DiffBreak: Is Diffusion-Based Purification Robust? cites DiffHammer: Rethinking the Robustness of Diffusion-Based Adversarial Purification
  • DiffBreak: Is Diffusion-Based Purification Robust? cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DiffBreak: Is Diffusion-Based Purification Robust? cites Diffusion Models Beat GANs on Image Synthesis
  • DiffBreak: Is Diffusion-Based Purification Robust? cites Denoising Diffusion Probabilistic Models
  • Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacks cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable Confidence cites Denoising Diffusion Probabilistic Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Diffusion Models are Certifiably Robust Classifiers cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Diffusion Models are Certifiably Robust ClassifiersHuanran Chen, Yinpeng Dong, Shitong Shao, Zhongkai Hao et al.NeurIPS 2024 · 42 citations
  2. DiffHammer: Rethinking the Robustness of Diffusion-Based Adversarial PurificationKaibo Wang, Xiaowen Fu, Yuxuan Han, Yang XiangNeurIPS 2024 · 11 citations
  3. Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacksPranav Dahiya, Ilia Shumailov, Ross AndersonUSENIX Security 2024 · 11 citations
  4. DiffBreak: Is Diffusion-Based Purification Robust?Andre Kassis, Urs Hengartner, Yaoliang YuNeurIPS 2025 · 8 citations
  5. Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable ConfidenceHanbin Hong, Xinyu Zhang, Binghui Wang, Zhongjie Ba et al.CCS 2024 · 3 citations

Builds on26

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. DensePure: Understanding Diffusion Models for Adversarial RobustnessChaowei Xiao, Zhongzhu Chen, Kun Jin, Jiongxiao Wang et al.ICLR 2023 · 18 citations
  2. Consistency Purification: Effective and Efficient Diffusion Purification towards Certified RobustnessYiquan Li, Zhongzhu Chen, Kun Jin, Jiongxiao Wang et al.NeurIPS 2024 · 3 citations
  3. (Certified!!) Adversarial Robustness for Free!Nicholas Carlini, Florian Tramèr, Krishnamurthy (Dj) Dvijotham, Leslie Rice et al.ICLR 2023 · 17 citations
  4. Robust Representation Consistency Model via Contrastive DenoisingJiachen Lei, Julius Berner, Jiongxiao Wang, Zhongzhu Chen et al.ICLR 2025
  5. Multi-scale Diffusion Denoised SmoothingJongheon Jeong, Jinwoo ShinNeurIPS 2023 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines