Lune

ICLR2023顶会

DensePure: Understanding Diffusion Models for Adversarial Robustness

Chaowei Xiao, Zhongzhu Chen, Kun Jin, Jiongxiao Wang, Weili Nie, Mingyan Liu, Anima Anandkumar, Bo Li, Dawn Song

摘要

Diffusion models have been recently employed to improve certified robustness through the process of denoising. However, the theoretical understanding of why diffusion models are able to improve the certified robustness is still lacking, preventing from further improvement. In this study, we close this gap by analyzing the fundamental properties of diffusion models and establishing the conditions under which they can enhance certified robustness. This deeper understanding allows us to propose a new method DensePure, designed to improve the certified robustness of a pretrained model (i.e. classifier). Given an (adversarial) input, DensePure consists of multiple runs of denoising via the reverse process of the diffusion model (with different random seeds) to get multiple reversed samples, which are then passed through the classifier, followed by majority voting of inferred labels to make the final prediction. This design of using multiple runs of denoising is informed by our theoretical analysis of the conditional distribution of the reversed sample. Specifically, when the data density of a clean sample is high, its conditional density under the reverse process in a diffusion model is also high; thus sampling from the latter conditional distribution can purify the adversarial example and return the corresponding clean sample with a high probability. By using the highest density point in the conditional distribution as the reversed sample, we identify the robust region of a given instance under the diffusion model's reverse process. We show that this robust region is a union of multiple convex sets, and is potentially much larger than the robust regions identified in previous works. In practice, DensePure can approximate the label of the high density region in the conditional distribution so that it can enhance certified robustness. We conduct extensive experiments to demonstrate the effectiveness of DensePure by evaluating its certified robustness given a standard model via randomized smoothing. We show that DensePure is consistently better than existing methods on ImageNet, with 7% improvement on average.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllability 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllability 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllability 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllability 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
  • Robust Classification via a Single Diffusion Model 引用了 Improved Denoising Diffusion Probabilistic Models
  • Robust Classification via a Single Diffusion Model 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Robust Classification via a Single Diffusion Model 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Robust Classification via a Single Diffusion Model 引用了 Denoising Diffusion Probabilistic Models
  • Robust Classification via a Single Diffusion Model 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
  • Diffusion Models Demand Contrastive Guidance for Adversarial Purification to Advance 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Diffusion Models Demand Contrastive Guidance for Adversarial Purification to Advance 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
  • Improved Denoising Diffusion Probabilistic Models 引用了 Denoising Diffusion Probabilistic Models
  • Improved Denoising Diffusion Probabilistic Models 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Improved Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
  • Multi-scale Diffusion Denoised Smoothing 引用了 Improved Denoising Diffusion Probabilistic Models
  • Multi-scale Diffusion Denoised Smoothing 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Multi-scale Diffusion Denoised Smoothing 引用了 Denoising Diffusion Probabilistic Models
  • Score-Based Generative Modeling through Stochastic Differential Equations 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models are Certifiably Robust Classifiers 引用了 Robust Classification via a Single Diffusion Model
  • Diffusion Models are Certifiably Robust Classifiers 引用了 Improved Denoising Diffusion Probabilistic Models
  • Diffusion Models are Certifiably Robust Classifiers 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models are Certifiably Robust Classifiers 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and ControllabilityHaotian Xue, Alexandre Araujo, Bin Hu, Yongxin ChenNeurIPS 2023 · 110 次引用
  2. Robust Classification via a Single Diffusion ModelHuanran Chen, Yinpeng Dong, Zhengyi Wang, Xiao Yang 等ICML 2024 · 94 次引用
  3. Diffusion Models are Certifiably Robust ClassifiersHuanran Chen, Yinpeng Dong, Shitong Shao, Zhongkai Hao 等NeurIPS 2024 · 42 次引用
  4. Diffusion Models Demand Contrastive Guidance for Adversarial Purification to AdvanceMingyuan Bai, Wei Huang, Tenghui Li, Andong Wang 等ICML 2024 · 18 次引用
  5. Multi-scale Diffusion Denoised SmoothingJongheon Jeong, Jinwoo ShinNeurIPS 2023 · 15 次引用

它引用的 Paper18

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
  4. Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 次引用
  5. Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar 等ICLR 2021 · 1,270 次引用

相关 Paper

  1. DiffSmooth: Certifiably Robust Learning via Diffusion Models and Local SmoothingJiawei Zhang, Zhongzhu Chen, Huan Zhang, Chaowei Xiao 等USENIX Security 2023
  2. Watch the Watchers! On the Security Risks of Robustness-Enhancing Diffusion ModelsChangjiang Li, Ren Pang, Bochuan Cao, Jinghui Chen 等USENIX Security 2025
  3. (Certified!!) Adversarial Robustness for Free!Nicholas Carlini, Florian Tramèr, Krishnamurthy (Dj) Dvijotham, Leslie Rice 等ICLR 2023 · 17 次引用
  4. Diffusion Models for Adversarial PurificationWeili Nie, Brandon Guo, Yujia Huang, Chaowei Xiao 等ICML 2022 · 663 次引用
  5. Robust Representation Consistency Model via Contrastive DenoisingJiachen Lei, Julius Berner, Jiongxiao Wang, Zhongzhu Chen 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖