HackerPapers

arXiv:1705.06640cs.LG

DeepXplore: Automated Whitebox Testing of Deep Learning Systems

Kexin Pei, Yinzhi Cao, Junfeng Yang, Suman Jana

Abstract

Deep learning (DL) systems are increasingly deployed in safety- and security-critical domains including 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 whitebox framework for systematically testing real-world DL systems. First, we introduce neuron coverage for systematically 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 including 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%.

arXiv comments
To be published in SOSP'17
Journal reference
DOI
doi:10.1145/3132747.3132785
Subjects
cs.LGMachine Learning cs.CRCryptography and Security cs.SESoftware Engineering

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Feb 2018 to Mar 2018. Found in 1 HN submission from Jun 2017 to Jun 2017. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • I think that DeepXplore [0] is on the right track. I think that perhaps some methodological improvements could likely be made, but applying an adversarial, security-like approach to deep neural networks is a way to build fault-tolerance into these methods. I'll keep hoping that…

      stochastic_monkView on HNParent context

    • I read a great, great paper about training systems against this. Obfuscation is currently easy against AI, but obfuscation that fools an AI and a human could still detect (Purposeful perturbations). This can be pre-trained against by incorporating such perturbations…

      wpascView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.