DifFilter: Defending Against Adversarial Perturbations With Diffusion Filter
- 4 July 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 19 (15566013) , 6779-6794
Abstract
The inherent vulnerability of deep learning to adversarial examples poses a significant security challenge. Although existing defense methods have partially mitigated the harm caused by adversarial attacks, they are still unable to meet practical needs due to their high cost, high latency, and poor defense performance. In this paper, we propose an advanced plug-and-play adversarial purification model called DifFilter. Specifically, we use the superior generative properties of diffusion models to denoise adversarial perturbations and recover clean images. To make Gaussian noise disrupt adversarial perturbations while preserving the real semantic information in the input image, we extend forward diffusion to an infinite number of noise scales so that the distribution of perturbation data evolves with increasing noise according to stochastic differential equations. In the inverse denoising process, we develop a score-based model learning method to restore the input prior distribution to the data distribution of the original clean sample, resulting in stronger purification effects. Additionally, we propose an efficient sampling method to accelerate the computation speed of inverse process, greatly reducing the time cost of purification. We conduct extensive experiments to evaluate the defense generalization performance of DifFilter. The results demonstrate that our method not only surpasses existing defense methods in defense robustness under strong adaptive and black-box attacks but also achieves higher certificate accuracy than the baseline. Furthermore, DifFilter can be combined with adversarial training to further improve defense robustness.Keywords
Funding Information
- Open Fund of Advanced Cryptography and System Security Key Laboratory of Sichuan Province (SKLACSS-202204)
- Postdoctoral Fellowship Program of CPSF (GZC20241731)
- National Natural Science Foundation of China (62372315, 62306197)
- Sichuan Science and Technology Program (24ZDZX0007, 2024NSFTD0049, 2023ZYD0143, 2023YFG0033, 2024YFHZ0144, 2024YFHZ0089, 2023ZHCG0016)
- China Postdoctoral Science Foundation (2021TQ0223, 2022M712236)
- Postdoctoral Joint Training Program of Sichuan University (SCDXLHPY2307)
This publication has 22 references indexed in Scilit:
- Adversarial example detection for DNN models: a review and experimental comparisonArtificial Intelligence Review, 2022
- Robustifying models against adversarial attacks by Langevin dynamicsNeural Networks, 2021
- Efficient Adversarial Training With Transferable Adversarial Examples2020
- Single-Step Adversarial Training With Dropout Scheduling2020
- Feature Distillation: DNN-Oriented JPEG Compression Against Adversarial Examples2019
- Barrage of Random Transforms for Adversarially Robust Defense2019
- Boosting Adversarial Attacks with Momentum2018
- Defense Against Universal Adversarial Perturbations2018
- Universal Adversarial Perturbations2017
- Deep Residual Learning for Image Recognition2016