paper-with-me

홈 › Papers

DensePure: Understanding Diffusion Models towards Adversarial Robustness

2022-11-01 · 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.

📄 PDF Abstract BibTeX arXiv:2211.00322

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial RobustnessDenoising

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Certified but Fooled! Breaking Certified Defences with Ghost Certificates

2025-11-18 · Quoc Viet Vo, Tashreque M. Haq, Paul Montague, Tamas Abraham 외 arxiv

Certified defenses promise provable robustness guarantees. We study the malicious exploitation of probabilistic certification frameworks to better understand the limits of guarantee provisions. Now, the objective is to n…

Towards Understanding the Robustness of Diffusion-Based Purification: A Stochastic Perspective

2024-04-22 · Yiming Liu, Kezhao Liu, Yao Xiao, Ziyi Dong 외

Diffusion-Based Purification (DBP) has emerged as an effective defense mechanism against adversarial attacks. The efficacy of DBP has been attributed to the forward diffusion process, which narrows the distribution gap b…

Adversarial PurificationDenoising

Diffusion Models are Certifiably Robust Classifiers

2024-02-04 · Huanran Chen, Yinpeng Dong, Shitong Shao, Zhongkai Hao 외

Generative learning, recognized for its effective modeling of data distributions, offers inherent advantages in handling out-of-distribution instances, especially for enhancing robustness to adversarial attacks. Among th…

Robust classification

Robust Evaluation of Diffusion-Based Adversarial Purification

2023-03-16 · ICCV 2023 1 · Minjong Lee, Dongwoo Kim

We question the current evaluation practice on diffusion-based purification methods. Diffusion-based purification methods aim to remove adversarial effects from an input data point at test time. The approach gains increa…

Adversarial Purification

How Do Diffusion Models Improve Adversarial Robustness?

2025-05-28 · Liu Yuezhang, Xue-Xin Wei

Recent findings suggest that diffusion models significantly enhance empirical adversarial robustness. While some intuitive explanations have been proposed, the precise mechanisms underlying these improvements remain uncl…

Adversarial PurificationAdversarial Robustness