Black-box adversarial sample generation based on differential evolution

被引:30
作者
Lin, Junyu [1 ,2 ]
Xu, Lei [1 ,2 ]
Liu, Yingqi [3 ]
Zhang, Xiangyu [3 ]
机构
[1] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Peoples R China
[2] Nanjing Univ, Dept Comp Sci & Technol, Nanjing, Peoples R China
[3] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47907 USA
关键词
Adversarial samples; Differential evolution; Black-box testing; Deep Neural Network;
D O I
10.1016/j.jss.2020.110767
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Deep Neural Networks (DNNs) are being used in various daily tasks such as object detection, speech processing, and machine translation. However, it is known that DNNs suffer from robustness problems - perturbed inputs called adversarial samples leading to misbehaviors of DNNs. In this paper, we propose a black-box technique called Black-box Momentum Iterative Fast Gradient Sign Method (BMI-FGSM) to test the robustness of DNN models. The technique does not require any knowledge of the structure or weights of the target DNN. Compared to existing white-box testing techniques that require accessing model internal information such as gradients, our technique approximates gradients through Differential Evolution and uses approximated gradients to construct adversarial samples. Experimental results show that our technique can achieve 100% success in generating adversarial samples to trigger misclassification, and over 95% success in generating samples to trigger misclassification to a specific target output label. It also demonstrates better perturbation distance and better transferability. Compared to the state-of-the-art black-box technique, our technique is more efficient. Furthermore, we conduct testing on the commercial Aliyun API and successfully trigger its misbehavior within a limited number of queries, demonstrating the feasibility of real-world black-box attack. (C) 2020 Elsevier Inc. All rights reserved.
引用
收藏
页数:11
相关论文
共 50 条
[41]   Multi-objective differential evolution in the generation of adversarial examples [J].
Bartlett, Antony ;
Liem, Cynthia C. S. ;
Panichella, Annibale .
SCIENCE OF COMPUTER PROGRAMMING, 2024, 238
[42]   AutoBlackTest: A Tool for Automatic Black-Box Testing [J].
Mariani, Leonardo ;
Pezze, Mauro ;
Riganelli, Oliviero ;
Santoro, Mauro .
2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, :1013-1015
[43]   Evolving a Test Oracle in Black-Box Testing [J].
Wang, Farn ;
Wu, Jung-Hsuan ;
Huang, Chung-Hao ;
Chang, Kai-Hsiang .
FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, 2011, 6603 :310-325
[44]   Effective black-box testing with genetic algorithms [J].
Last, Mark ;
Eyal, Shay ;
Kandel, Abraham .
HARDWARE AND SOFTWARE VERIFICATION AND TESTING, 2006, 3875 :134-148
[45]   Flakify: A Black-Box, Language Model-Based Predictor for Flaky Tests [J].
Fatima, Sakina ;
Ghaleb, Taher A. ;
Briand, Lionel .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) :1912-1927
[46]   RESTest: Black-Box Constraint-Based Testing of RESTful Web APIs [J].
Martin-Lopez, Alberto ;
Segura, Sergio ;
Ruiz-Cortes, Antonio .
SERVICE-ORIENTED COMPUTING (ICSOC 2020), 2020, 12571 :459-475
[47]   Black-Box Test-Cost Reduction Based on Bayesian Network Models [J].
Pan, Renjian ;
Zhang, Zhaobo ;
Li, Xin ;
Chakrabarty, Krishnendu ;
Gu, Xinli .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2021, 40 (02) :386-399
[48]   Adversarial sample generation technology of malicious code based on LIME [J].
Huang T. ;
Li C. ;
Liu Y. ;
Li D. ;
Wen W. .
Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2022, 48 (02) :331-338
[49]   AN ALGORITHM FOR AUTOMATICALLY GENERATING BLACK-BOX TEST CASES [J].
Xu Baowen Nie Changhai Shi Qunfeng Lu Hong (Department of computer Science & Engineering .
JournalofElectronics(China), 2003, (01) :74-77
[50]   Using MC/DC as a Black-Box Testing Technique [J].
Vilkomir, Sergiy ;
Baptista, John ;
Das, Gourav .
2017 IEEE 28TH ANNUAL SOFTWARE TECHNOLOGY CONFERENCE (STC), 2017,