journal article·2020-11-14Open access

On the Effectiveness of Adversarial Training in Defending against Adversarial Example Attacks for Image Classification

Sanglee Park, Jungmin So

Applied Sciences· Volume 10· Issue 22

Abstract

State-of-the-art neural network models are actively used in various fields, but it is well-known that they are vulnerable to adversarial example attacks. Throughout the efforts to make the models robust against adversarial example attacks, it has been found to be a very difficult task. While many defense approaches were shown to be not effective, adversarial training remains as one of the promising methods. In adversarial training, the training data are augmented by “adversarial” samples generated using an attack algorithm. If the attacker uses a similar attack algorithm to generate adversarial examples, the adversarially trained network can be quite robust to the attack. However, there are numerous ways of creating adversarial examples, and the defender does not know what algorithm the attacker may use. A natural question is: Can we use adversarial training to train a model robust to multiple types of attack? Previous work have shown that, when a network is trained with adversarial examples generated from multiple attack methods, the network is still vulnerable to white-box attacks where the attacker has complete access to the model parameters. In this paper, we study this question in the context of black-box attacks, which can be a more realistic assumption for practical applications. Experiments with the MNIST dataset show that adversarially training a network with an attack method helps defending against that particular attack method, but has limited effect for other attack methods. In addition, even if the defender trains a network with multiple types of adversarial examples and the attacker attacks with one of the methods, the network could lose accuracy to the attack if the attacker uses a different data augmentation strategy on the target network. These results show that it is very difficult to make a robust network using adversarial training, even for black-box settings where the attacker has restricted information on the target network.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Adversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Engineering, Sogang University, Seoul 04107, Korea

Funding

National Research Foundation of Korea

References (36)

Show source-provided references
1. ImageNet Classification with Deep Convolutional Neural Networks
2. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 15–17). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Chengdu, China.10.1109/CVPR.2016.90 ↗
3. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Association for Computational Linguistics.
4. Ravanelli, M., Parcollet, T., and Bengio, Y. (2019, January 12–17). The Pytorch-kaldi speech recognition toolkit. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK.10.1109/ICASSP.2019.8683713 ↗
5. Szegedy, C., Zaremba, W., Sutskever, I., Bruna, J., Erhan, D., Goodfellow, I., and Fergus, R. (2014). Intriguing properties of neural networks. arXiv.
6. Goodfellow, I., Shlens, J., and Szegedy, C. (2015). Explaining and Harnessing Adversarial Examples. arXiv.
7. Carlini, N., and Wagner, D. (2017, January 22–26). Towards evaluating the robustness of neural networks. Proceedings of the 2017 IEEE Symposium on Security and Privacy (sp), San Jose, CA, USA.10.1109/SP.2017.49 ↗
8. Moosavi-Dezfooli, S.M., Fawzi, A., and Frossard, P. (2016, January 27–30). Deepfool: A simple and accurate method to fool deep neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.282 ↗
9. Papernot, N., McDaniel, P., Jha, S., Fredrikson, M., Celik, Z.B., and Swami, A. (2016, January 21–24). The limitations of deep learning in adversarial settings. Proceedings of the 2016 IEEE European Symposium on Security and Privacy (EuroS&P), Saarbrucken, Germany.10.1109/EuroSP.2016.36 ↗
10. Madry, A., Makelov, A., Schmidt, L., Tsipras, D., and Vladu, A. (2018). Towards Deep Learning Models Resistant to Adversarial Attacks. arXiv.
11. Adversarially robust generalization requires more data
12. Schott, L., Rauber, J., Bethge, M., and Brendel, W. (2019). Towards the first adversarially robust neural network model on MNIST. arXiv.
13. Adversarial training and robustness for multiple perturbations
14. Papernot, N., McDaniel, P., Goodfellow, I., Jha, S., Celik, Z.B., and Swami, A. (2017, January 2–6). Practical Black-Box Attacks against Machine Learning. Proceedings of the 2017 ACM Asia Conference on Computer and Communications Security (ASIACCS), Abu Dhabi, UAE.10.1145/3052973.3053009 ↗
15. Guo, C., Gardner, J.R., You, Y., Wilson, A.G., and Weinberger, K.Q. (2019). Simple Black-box Adversarial Attacks. arXiv.
16. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
17. Chen, P.Y., Sharma, Y., Zhang, H., Yi, J., and Hsieh, C.J. (2018, January 2–7). EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examples. Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence (AAAI-18), New Orleans, LA, USA.10.1609/aaai.v32i1.11302 ↗
18. Papernot, N., McDaniel, P., and Goodfellow, I. (2016). Transferability in Machine Learning: From Phenomena to Black-Box Attacks using Adversarial Samples. arXiv.
19. Kurakin, A., Goodfellow, I., and Bengio, S. (2017). Adversarial examples in the physical world. arXiv.10.1201/9781351251389-8 ↗
20. Dong, Y., Liao, F., Pang, T., Su, H., Zhu, J., Hu, X., and Li, J. (2018, January 18–23). Boosting Adversarial Attacks with Momentum. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00957 ↗
21. Carlini, N., and Wagner, D. (2017, January 3). Adversarial examples are not easily detected: Bypassing ten detection methods. Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, Dallas, TX, USA.10.1145/3128572.3140444 ↗
22. Carlini, N., and Wagner, D. (2017). MagNet and “Efficient Defenses Against Adversarial Attacks” are Not Robust to Adversarial Examples. arXiv.
23. Papernot, N., McDaniel, P., Wu, X., Jha, S., and Swami, A. (2016, January 22–26). Distillation as a defense to adversarial perturbations against deep neural networks. Proceedings of the 2016 IEEE Symposium on Security and Privacy (SP), San Jose, CA, USA.10.1109/SP.2016.41 ↗
24. Xu, W., Evans, D., and Qi, Y. (2018, January 18–21). Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks. Proceedings of the 2018 Network and Distributed System Security Symposium, San Diego, CA, USA.10.14722/ndss.2018.23198 ↗
25. Xie, C., Wang, J., Zhang, Z., Ren, Z., and Yuille, A. (2018). Mitigating Adversarial Effects Through Randomization. arXiv.
26. Samangouei, P., Kabkab, M., and Chellappa, R. (2018). Defense-GAN: Protecting classifiers against adversarial attacks using generative models. arXiv.
27. Dhillon, G.S., Azizzadenesheli, K., Bernstein, J.D., Kossaifi, J., Khanna, A., Lipton, Z.C., and Anandkumar, A. (2018). Stochastic activation pruning for robust adversarial defense. arXiv.
28. Liu, X., Cheng, M., Zhang, H., and Hsieh, C. (2018, January 8–14). Towards robust neural networks via random self-ensemble. Proceedings of the 15th European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_23 ↗
29. Lu, J., Issaranon, T., and Forsyth, D. (2017, January 22–29). SafetyNet: Detecting and rejecting adversarial examples robustly. Proceedings of the International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.56 ↗
30. Metzen, J., Genewein, T., Fischer, V., and Bischoff, B. (2017, January 24–26). On detecting adversarial perturbations. Proceedings of the Fifth International Conference on Learning Representations (ICLR), Toulon, France.
31. Grosse, K., Manoharan, P., Papernot, N., Backes, M., and McDaniel, P. (2017). On the (Statistical) Detection of Adversarial Examples. arXiv.
32. Feinman, R., Curtin, R., Shintre, S., and Gardner, A. (2017). Detecting adversarial samples from artifacts. arXiv.
33. Hendrycks, D., and Gimpel, K. (2017). Early methods for detecting adversarial images. arXiv.
34. Song, Y., Kim, T., Nowozin, S., Ermon, S., and Kushman, N. (2018). PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examples. arXiv.
35. Kingma, D.P., and Ba, J. (2014). Adam: A Method for Stochasic Optimization. arXiv.
36. He, Z., Xie, L., Chen, X., Zhang, Y., Wang, Y., and Tian, Q. (2019). Data augmentation revisited: Rethinking the distribution gap between clean and augmented data. arXiv.