Guiding Deep Learning System Testing Using Surprise Adequacy

被引:306
作者
Kim, Jinhan [1 ]
Feldt, Robert [2 ,3 ]
Yoo, Shin [1 ]
机构
[1] Korea Adv Inst Sci & Technol, Sch Comp, Daejeon, South Korea
[2] Chalmers Univ, Dept Comp Sci & Engn, Gothenburg, Sweden
[3] Blekinge Inst Technol, Dept Software Engn, Karlskrona, Sweden
来源
2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019) | 2019年
基金
瑞典研究理事会; 新加坡国家研究基金会;
关键词
Test Adequacy; Deep Learning Systems;
D O I
10.1109/ICSE.2019.00108
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Deep Learning (DL) systems are rapidly being adopted in safety and security critical domains, urgently calling for ways to test their correctness and robustness. Testing of DL systems has traditionally relied on manual collection and labelling of data. Recently, a number of coverage criteria based on neuron activation values have been proposed. These criteria essentially count the number of neurons whose activation during the execution of a DL system satisfied certain properties, such as being above predefined thresholds. However, existing coverage criteria are not sufficiently fine grained to capture subtle behaviours exhibited by DL systems. Moreover, evaluations have focused on showing correlation between adversarial examples and proposed criteria rather than evaluating and guiding their use for actual testing of DL systems. We propose a novel test adequacy criterion for testing of DL systems, called Surprise Adequacy for Deep Learning Systems (SADL), which is based on the behaviour of DL systems with respect to their training data. We measure the surprise of an input as the difference in DL system's behaviour between the input and the training data (i.e., what was learnt during training), and subsequently develop this as an adequacy criterion: a good test input should be sufficiently but not overtly surprising compared to training data. Empirical evaluation using a range of DL systems from simple image classifiers to autonomous driving car platforms shows that systematic sampling of inputs based on their surprise can improve classification accuracy of DL systems against adversarial examples by up to 77.5% via retraining.
引用
收藏
页码:1039 / 1049
页数:11
相关论文
共 41 条
[1]  
[Anonymous], 2016, ABS160702533 CORR
[2]  
[Anonymous], 2016, ARXIV PREPRINT ARXIV
[3]  
[Anonymous], 2018, ARXIV180505206
[4]  
[Anonymous], 2018, TECHNICAL REPORT CLE
[5]  
[Anonymous], 2015, Nature, DOI [10.1038/nature14539, DOI 10.1038/NATURE14539]
[6]  
[Anonymous], 2015, INT C LEARN REPR ICL
[7]  
[Anonymous], 2015, ABS151107528 CORR
[8]  
[Anonymous], 2018, ARXIV180607723
[9]  
[Anonymous], 2012, ABS12074404 CORR
[10]  
Carlini N., 2017, ACM WORKSH ART INT S, P3