Affiliation:
1. SWAT Lab., Polytechnique Montreal, Canada
2. SWAT Lab., Polytechnique Montréal, Canada
Abstract
Nowadays, we are witnessing an increasing effort to improve the performance and trustworthiness of Deep Neural Networks (DNNs), with the aim to enable their adoption in safety critical systems such as self-driving cars or aircraft collision-avoidance systems. Multiple testing techniques are proposed to generate test cases that can expose inconsistencies in the behavior of DNN models. These techniques assume implicitly that the training program is bug-free and appropriately configured. However, satisfying this assumption for a novel problem requires significant engineering work to prepare the data, design the DNN, implement the training program, and tune the hyperparameters in order to produce the model for which current automated test data generators search for corner-case behaviors. All these model training steps can be error-prone. Therefore, it is crucial to detect and correct errors throughout all the engineering steps of DNN-based software systems and not only on the resulting DNN model.
In this paper, we gather a catalog of training issues and based on their symptoms and their effects on the behavior of the training program, we propose practical verification routines to detect the aforementioned issues, automatically, by continuously validating that some important properties of the learning dynamics hold during the training. Then, we design,
TheDeepChecker
, an end-to-end property-based debugging approach for DNN training programs and implement it as a TensorFlow-based library. As an empirical evaluation, we conduct a case study to assess the effectiveness of
TheDeepChecker
on synthetic and real-world buggy DL programs and compare its performance to that of the Amazon SageMaker Debugger (
SMD
). Results show that
TheDeepChecker
’s on-execution validation of DNN-based program’s properties through three sequential phases (pre-, on-, and post-fitting), succeeds in revealing several coding bugs and system misconfigurations errors, early on and at a low cost. Moreover, our property-based approach outperforms the
SMD
’s offline rules verification on training logs in terms of detection accuracy for unstable learning issues and coverage of additional DL bugs.
Publisher
Association for Computing Machinery (ACM)
Reference99 articles.
1. Martín Abadi Ashish Agarwal Paul Barham Eugene Brevdo Zhifeng Chen Craig Citro Gregory S. Corrado Andy Davis Jeffrey Dean Matthieu Devin Sanjay Ghemawat Ian J. Goodfellow Andrew Harp Geoffrey Irving Michael Isard Yangqing Jia Rafal Józefowicz Lukasz Kaiser Manjunath Kudlur Josh Levenberg Dan Mané Rajat Monga Sherry Moore Derek Gordon Murray Chris Olah Mike Schuster Jonathon Shlens Benoit Steiner Ilya Sutskever Kunal Talwar Paul A. Tucker Vincent Vanhoucke Vijay Vasudevan Fernanda B. Viégas Oriol Vinyals Pete Warden Martin Wattenberg Martin Wicke Yuan Yu and Xiaoqiang Zheng. 2016. TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. CoRR abs/1603.04467(2016). Martín Abadi Ashish Agarwal Paul Barham Eugene Brevdo Zhifeng Chen Craig Citro Gregory S. Corrado Andy Davis Jeffrey Dean Matthieu Devin Sanjay Ghemawat Ian J. Goodfellow Andrew Harp Geoffrey Irving Michael Isard Yangqing Jia Rafal Józefowicz Lukasz Kaiser Manjunath Kudlur Josh Levenberg Dan Mané Rajat Monga Sherry Moore Derek Gordon Murray Chris Olah Mike Schuster Jonathon Shlens Benoit Steiner Ilya Sutskever Kunal Talwar Paul A. Tucker Vincent Vanhoucke Vijay Vasudevan Fernanda B. Viégas Oriol Vinyals Pete Warden Martin Wattenberg Martin Wicke Yuan Yu and Xiaoqiang Zheng. 2016. TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. CoRR abs/1603.04467(2016).
2. Black box fairness testing of machine learning models
3. Kian Katanforoosh Andrew Ng and Younes Bensouda Mourri . 2020 . Visualization: How to visualize, monitor and debug neural network learning. https://www.coursera.org/learn/deep-neural-network Kian Katanforoosh Andrew Ng and Younes Bensouda Mourri. 2020. Visualization: How to visualize, monitor and debug neural network learning. https://www.coursera.org/learn/deep-neural-network
4. Thomas J Archdeacon . 1994. Correlation and regression analysis: a historian’s guide . Univ of Wisconsin Press . Thomas J Archdeacon. 1994. Correlation and regression analysis: a historian’s guide. Univ of Wisconsin Press.
5. Martin Arjovsky and Léon Bottou. 2017. Towards principled methods for training generative adversarial networks. arXiv preprint arXiv:1701.04862(2017). Martin Arjovsky and Léon Bottou. 2017. Towards principled methods for training generative adversarial networks. arXiv preprint arXiv:1701.04862(2017).
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献