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 条
  • [41] Automated Glaucoma Diagnosis Using Deep and Transfer Learning: Proposal of a System for Clinical Testing
    Norouzifard, Mohammad
    Nemati, Ali
    GholamHosseini, Hamid
    Klette, Reinhard
    Nouri-Mahdavi, Kouros
    Yousefi, Siamak
    2018 INTERNATIONAL CONFERENCE ON IMAGE AND VISION COMPUTING NEW ZEALAND (IVCNZ), 2018,
  • [42] Assessing generalizability of Deep Reinforcement Learning algorithms for Automated Vulnerability Assessment and Penetration Testing
    Venturi, Andrea
    Andreolini, Mauro
    Marchetti, Mirco
    Colajanni, Michele
    ARRAY, 2024, 24
  • [43] DynPen: Automated Penetration Testing in Dynamic Network Scenarios Using Deep Reinforcement Learning
    Li, Qianyu
    Wang, Ruipeng
    Li, Dong
    Shi, Fan
    Zhang, Min
    Chattopadhyay, Anupam
    Shen, Yi
    Li, Yang
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2024, 19 : 8966 - 8981
  • [44] ASRTest: Automated Testing for Deep-Neural-Network-Driven Speech Recognition Systems
    Ji, Pin
    Feng, Yang
    Liu, Jia
    Zhao, Zhihong
    Chen, Zhenyu
    PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 189 - 201
  • [45] DeepMutation plus plus : a Mutation Testing Framework for Deep Learning Systems
    Hu, Qiang
    Ma, Lei
    Xie, Xiaofei
    Yu, Bing
    Liu, Yang
    Zhao, Jianjun
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 1158 - 1161
  • [46] DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systems
    Ma, Lei
    Juefei-Xu, Felix
    Zhang, Fuyuan
    Sun, Jiyuan
    Xue, Minhui
    Li, Bo
    Chen, Chunyang
    Su, Ting
    Li, Li
    Liu, Yang
    Zhao, Jianjun
    Wang, Yadong
    PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 120 - 131
  • [47] Markov model based coverage testing of deep learning software systems
    Shi, Ying
    Yin, Beibei
    Shi, Jing-Ao
    INFORMATION AND SOFTWARE TECHNOLOGY, 2025, 179
  • [48] DeepCrime: Mutation Testing of Deep Learning Systems Based on Real Faults
    Humbatova, Nargiz
    Jahangirova, Gunel
    Tonella, Paolo
    ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2021, : 67 - 78
  • [49] Efficient and Effective Feature Space Exploration for Testing Deep Learning Systems
    Zohdinasab, Tahereh
    Riccio, Vincenzo
    Gambi, Alessio
    Tonella, Paolo
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (02)
  • [50] Condition-Guided Adversarial Generative Testing for Deep Learning Systems
    Dai, Qiyin
    Zhang, Pengcheng
    Ji, Shunhui
    2019 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING (AITEST), 2019, : 71 - 72