Defending Against Adversarial Examples Using Perceptual Image Hashing

Ke Wu,Zichi Wang,Xinpeng Zhang,Zhenjun Tang
DOI: https://doi.org/10.1117/1.jei.32.2.023016
IF: 0.829
2023-01-01
Journal of Electronic Imaging
Abstract:Conventional deep neural networks (DNNs) have been shown to be vulnerable to images with adversarial perturbations, referred to as adversarial examples. In this study, we propose a method to protect neural networks against adversarial examples using perceptual image hashing. Because perceptual hashing is robust to adversarial perturbations, we combine hash sequences of input images with the parameters of a neural network in an image-hash processing network. Thus, outputs of the neural network are affected by image hashes, which render the model robust to adversarial examples to some extent. Thus, the proposed approach provides a defense against adversarial examples. The experiment was conducted on the CIFAR-10 dataset, and we used ResNet-18 as our target network. To verify our method, we tested our defense network using several common white-box attacks and black-box attacks. The results show that it achieved a significant improvement in the classification accuracy for adversarial examples.
What problem does this paper attempt to address?