DeepXplore: Automated Whitebox Testing of Deep Learning Systems

被引:61
|
作者
Pei, Kexin [1 ]
Cao, Yinzhi [2 ]
Yang, Junfeng [1 ]
Jana, Suman [1 ]
机构
[1] Columbia Univ, New York, NY 10027 USA
[2] Johns Hopkins Univ, Baltimore, MD 21218 USA
关键词
Gradient-based search - Joint optimization - Malware detection - Manual checking - Safety and securities - Self drivings - State of the art - White-box testing;
D O I
10.1145/3361566
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deep learning (DL) systems are increasingly deployed in safety- and security-critical domains such as self-driving cars and malware detection, where the correctness and predictability of a system's behavior for corner case inputs are of great importance. Existing DL testing depends heavily on manually labeled data and therefore often fails to expose erroneous behaviors for rare inputs. We design, implement, and evaluate DeepXplore, the first white-box framework for systematically testing real-world DL systems. First, we introduce neuron coverage for measuring the parts of a DL system exercised by test inputs. Next, we leverage multiple DL systems with similar functionality as cross-referencing oracles to avoid manual checking. Finally, we demonstrate how finding inputs for DL systems that both trigger many differential behaviors and achieve high neuron coverage can be represented as a joint optimization problem and solved efficiently using gradient-based search techniques. DeepXplore efficiently finds thousands of incorrect corner case behaviors (e.g., self-driving cars crashing into guard rails and malware masquerading as benign software) in state-of-the-art DL models with thousands of neurons trained on five popular datasets such as ImageNet and Udacity self-driving challenge data. For all tested DL models, on average, DeepXplore generated one test input demonstrating incorrect behavior within one second while running only on a commodity laptop. We further show that the test inputs generated by DeepXplore can also be used to retrain the corresponding DL model to improve the model's accuracy by up to 3%.
引用
收藏
页码:137 / 145
页数:9
相关论文
共 50 条
  • [1] DeepXplore: Automated Whitebox Testing of Deep Learning Systems
    Pei, Kexin
    Cao, Yinzhi
    Yang, Junfeng
    Jana, Suman
    PROCEEDINGS OF THE TWENTY-SIXTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '17), 2017, : 1 - 18
  • [2] DEEPXPLORE: Automated Whitebox Testing of Deep Learning Systems
    Pei, Kexin
    Cao, Yinzhi
    Yang, Junfeng
    Jana, Suman
    GETMOBILE-MOBILE COMPUTING & COMMUNICATIONS REVIEW, 2018, 22 (03) : 36 - 38
  • [3] AUDEE: Automated Testing for Deep Learning Frameworks
    Guo, Qianyu
    Xie, Xiaofei
    Li, Yi
    Zhang, Xiaoyu
    Liu, Yang
    Li, Xiaohong
    Shen, Chao
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 486 - 498
  • [4] Automated Performance Testing Based on Active Deep Learning
    Sedaghatbaf, Ali
    Moghadam, Mahshid Helali
    Saadatmand, Mehrdad
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 11 - 19
  • [5] Augmenting Automated Game Testing with Deep Reinforcement Learning
    Bergdahl, Joakim
    Gordillo, Camilo
    Tollmar, Konrad
    Gisslen, Linus
    2020 IEEE CONFERENCE ON GAMES (IEEE COG 2020), 2020, : 600 - 603
  • [6] Automated Penetration Testing Using Deep Reinforcement Learning
    Hu, Zhenguo
    Beuran, Razvan
    Tan, Yasuo
    2020 IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (EUROS&PW 2020), 2020, : 2 - 10
  • [7] Whiteboxgrind - Automated Analysis of Whitebox Cryptography
    Holl, Tobias
    Bogad, Katharina
    Gruber, Michael
    CONSTRUCTIVE SIDE-CHANNEL ANALYSIS AND SECURE DESIGN, COSADE 2023, 2023, 13979 : 221 - 240
  • [8] Deep-Learning Approach with DeepXplore for Software Defect Severity Level Prediction
    Kumar, Lov
    Dastidar, Triyasha Ghosh
    Neti, Lalitha Bhanu Murthy
    Satapathy, Shashank Mouli
    Misra, Sanjay
    Kocher, Vipul
    Padmanabhuni, Srinivas
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2021, PT VII, 2021, 12955 : 398 - 410
  • [9] Automated Software Vulnerability Testing Using Deep Learning Methods
    Kuznetsov, Alexandr
    Yeromin, Yehor
    Shapoval, Oleksiy
    Chernov, Kyrylo
    Popova, Mariia
    Serdukov, Kostyantyn
    2019 IEEE 2ND UKRAINE CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING (UKRCON-2019), 2019, : 837 - 841
  • [10] ACETest: Automated Constraint Extraction for Testing Deep Learning Operators
    Shi, Jingyi
    Xiao, Yang
    Li, Yuekang
    Li, Yeting
    Yu, Dongsong
    Yu, Chendong
    Su, Hui
    Chen, Yufeng
    Huo, Wei
    PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 690 - 702