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 条
  • [31] QuoTe: Quality-oriented Testing for Deep Learning Systems
    Chen, Jialuo
    Wang, Jingyi
    Ma, Xingjun
    Sun, Youcheng
    Sun, Jun
    Zhang, Peixin
    Cheng, Peng
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (05)
  • [32] A lightweight adaptive random testing method for deep learning systems
    Mao, Chengying
    Song, Yue
    Chen, Jifu
    SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (11): : 2271 - 2295
  • [33] RobOT: Robustness-Oriented Testing for Deep Learning Systems
    Wang, Jingyi
    Chen, Jialuo
    Sun, Youcheng
    Ma, Xingjun
    Wang, Dongxia
    Sun, Jun
    Cheng, Peng
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 300 - 311
  • [34] THE APPLICATION OF IOT TECHNOLOGY AND DEEP LEARNING IN AUTOMATED INTELLIGENT CONTROL SYSTEMS
    HE C.
    KANG L.
    Scalable Computing, 2024, 25 (04): : 2274 - 2281
  • [35] Trajectory Planning for Automated Parking Systems Using Deep Reinforcement Learning
    Du, Zhuo
    Miao, Qiheng
    Zong, Changfu
    INTERNATIONAL JOURNAL OF AUTOMOTIVE TECHNOLOGY, 2020, 21 (04) : 881 - 887
  • [36] Trajectory Planning for Automated Parking Systems Using Deep Reinforcement Learning
    Zhuo Du
    Qiheng Miao
    Changfu Zong
    International Journal of Automotive Technology, 2020, 21 : 881 - 887
  • [37] Automated testing of telecommunication systems
    Alberts, M.Ya.
    Kalninysh, A.A.
    Kalninya, D.A.
    Avtomatika i Vychislitel'naya Tekhnika, (05): : 29 - 39
  • [38] AUTOMATED MATERIAL TESTING SYSTEMS
    PFEIFER, T
    HERKENRATH, P
    VOLKEL, M
    KOMISCHKE, M
    TECHNISCHES MESSEN, 1986, 53 (03): : 92 - 96
  • [39] Automated testing of telecommunication systems
    Alberts, MY
    Kalnins, AA
    Kalnina, DA
    AVTOMATIKA I VYCHISLITELNAYA TEKHNIKA, 1997, (05): : 29 - 39
  • [40] Billions and Billions of Constraints: Whitebox Fuzz Testing in Production
    Bounimova, Ella
    Godefroid, Patrice
    Molnar, David
    PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 122 - 131