TFCheck : A TensorFlow Library for Detecting Training Issues in Neural Network Programs

被引:7
作者
Ben Braiek, Houssem [1 ]
Khomh, Foutse [1 ]
机构
[1] Polytech Montreal, SWAT Lab, Montreal, PQ, Canada
来源
2019 IEEE 19TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2019) | 2019年
关键词
D O I
10.1109/QRS.2019.00059
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The increasing inclusion of Machine Learning (ML) models in safety critical systems like autonomous cars have led to the development of multiple model-based ML testing techniques. One common denominator of these testing techniques is their assumption that training programs are adequate and bug-free. These techniques only focus on assessing the performance of the constructed model using manually labeled data or automatically generated data. However, their assumptions about the training program are not always true as training programs can contain inconsistencies and bugs. In this paper, we examine training issues in ML programs and propose a catalog of verification routines that can be used to detect the identified issues, automatically. We implemented the routines in a Tensorflow-based library named TFCheck. Using TFCheck, practitioners can detect the aforementioned issues automatically. To assess the effectiveness of TFCheck, we conducted a case study with real -world, mutants, and synthetic training programs. Results show that TFCheck can successfully detect training issues in ML code implementations.
引用
收藏
页码:426 / 433
页数:8
相关论文
共 14 条
[1]  
[Anonymous], 2014, ARXIV14125218
[2]  
[Anonymous], 2017, ARXIV170608605
[3]   The Open-Closed Principle of Modern Machine Learning Frameworks [J].
Ben Braiek, Houssem ;
Khomh, Foutse ;
Adams, Bram .
2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, :353-363
[4]  
Bottou L., 2015, Multilayer neural networks
[5]  
Braiek H., 2018, ARXIV181202257
[6]  
Cai S., 2016, P RELIABLE MACHINE L
[7]  
Cai Shanqing, 2016, Tensorflow debugger: Debugging dataflow graphs for machine learning
[8]   Identifying Implementation Bugs in Machine Learning Based Image Classifiers using Metamorphic Testing [J].
Dwarakanath, Anurag ;
Ahuja, Manish ;
Sikand, Samarth ;
Rao, Raghotham M. ;
Bose, R. P. Jagadeesh Chandra ;
Dubash, Neville ;
Podder, Sanjay .
ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, :118-128
[9]  
Glorot X., 2010, P 13 INT C ART INT S, P249
[10]  
Goodfellow I, 2016, ADAPT COMPUT MACH LE, P1