Chinese Journal of Network and Information Security ›› 2022, Vol. 8 ›› Issue (1): 86-94.doi: 10.11959/j.issn.2096-109x.2021095

• Research and Development • Previous Articles     Next Articles

Adversarial example defense algorithm for MNIST based on image reconstruction

Zhongyuan QIN1, Zhaoxiang HE1, Tao LI1,2, Liquan CHEN1,2   

  1. 1 School of Cyber Science and Engineering, Southeast University, Nanjing 211189, China
    2 Network Communication and Security Purple Mountain Laboratory, Nanjing 211189, China
  • Revised:2021-09-14 Online:2022-02-15 Published:2022-02-01
  • Supported by:
    The National Key R&D Program of China(2020YFE0200600);The National Natural Science Foundation of China(61601113)

Abstract:

With the popularization of deep learning, more and more attention has been paid to its security issues.The adversarial sample is to add a small disturbance to the original image, which can cause the deep learning model to misclassify the image, which seriously affects the performance of deep learning technology.To address this challenge, the attack form and harm of the existing adversarial samples were analyzed.An adversarial examples defense method based on image reconstruction was proposed to effectively detect adversarial examples.The defense method used MNIST as the test data set.The core idea was image reconstruction, including central variance minimization and image quilting optimization.The central variance minimization was only processed for the central area of the image.The image quilting optimization incorporated the overlapping area into the patch block selection.Considered and took half the size of the patch as the overlap area.Using FGSM, BIM, DeepFool and C&W attack methods to generate adversarial samples to test the defense performance of the two methods, and compare with the existing three image reconstruction defense methods (cropping and scaling, bit depth compression and JPEG compression).The experimental results show that the central variance minimization and image quilting optimization algorithms proposed have a satisfied defense effect against the attacks of existing common adversarial samples.Image quilting optimization achieves over 75% classification accuracy for samples generated by the four attack algorithms, and the defense effect of minimizing central variance is around 70%.The three image reconstruction algorithms used for comparison have unstable defense effects on different attack algorithms, and the overall classification accuracy rate is less than 60%.The central variance minimization and image quilting optimization proposed achieve the purpose of effectively defending against adversarial samples.The experiments illustrate the defense effect of the proposed defense algorithm in different adversarial sample attack algorithms.The comparison between the reconstruction algorithm and the algorithm shows that the proposed scheme has good defense performance.

Key words: adversarial example, image reconstruction, deep learning, image classification

CLC Number: 

No Suggested Reading articles found!