Classifier Guidance Enhances Diffusion-based Adversarial Purification by Preserving Predictive Information

Mingkun Zhang, Jianing Li, Wei Chen, Jiafeng Guo, Xueqi Cheng
8/12/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Adversarial purification is one of the promising approaches to defend neural networks against adversarial attacks. Recently, methods utilizing diffusion probabilistic models have achieved great success for adversarial purification in image classification tasks. However, such methods fall into the dilemma of balancing the needs for noise removal and information preservation. This paper points out that existing adversarial purification methods based on diffusion models gradually lose sample information during the core denoising process, causing occasional label shift in subsequent classification tasks. As a remedy, we suggest to suppress such information loss by introducing guidance from the classifier confidence. Specifically, we propose Classifier-cOnfidence gUided Purification (COUP) algorithm, which purifies adversarial examples while keeping away from the classifier decision boundary. Experimental results show that COUP can achieve better adversarial robustness under strong attack methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2024classifier,
  title  = {Classifier Guidance Enhances Diffusion-based Adversarial Purification by Preserving Predictive Information},
  author = {Mingkun Zhang and Jianing Li and Wei Chen and Jiafeng Guo and Xueqi Cheng},
  year   = {2024},
  eprint = {2408.05900},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.05900v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.05900.svg)](https://codeofpaper.com/paper/2408.05900)

Discussion