arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.01734cs.SE
收藏

测试神经网络的若干问题

Tutorials on Testing Neural Networks

Nicolas Berthier, Youcheng Sun, Wei Huang, Yanghao Zhang, Wenjie Ruan, Xiaowei Huang

摘要:

深度学习在模式识别方面取得了卓越的性能,但在一些重要属性(如鲁棒性和安全性)上存在缺陷。本教程基于自2018年夏季以来在几所英国大学进行的研究,包括利物浦大学,牛津大学,贝尔法斯特女王大学,兰开斯特大学,拉夫堡大学和埃克塞特大学。该研究旨在适应软件工程方法,特别是软件测试方法,与机器学习模型。软件测试技术已经成功地识别软件缺陷,并帮助软件开发人员验证他们设计和实现的软件。正是由于这个原因,一些软件测试技术--例如MC/DC覆盖度量--已经在安全关键系统的工业标准中被强制执行,包括用于汽车系统的ISO 26262和用于航空电子系统的RTCA DO-178 B/C。然而,这些技术不能直接应用于机器学习模型,因为后者与传统软件截然不同,它们的设计遵循完全不同的开发生命周期。作为这一研究思路的成果,该团队开发了一系列方法,使软件测试技术适用于几类机器学习模型。后者主要包括卷积神经网络、递归神经网络和随机森林。从这项研究中开发的工具现在被收集起来,并在GitHub存储库中公开发布:\url{https://github.com/TrustAI/DeepConcolic},带有BSD 3条款许可证。本教程将通过几个运行示例来介绍这些工具的主要功能,展示所开发的技术如何工作,结果是什么以及如何解释它们。

英文摘要:

Deep learning achieves remarkable performance on pattern recognition, but can be vulnerable to defects of some important properties such as robustness and security. This tutorial is based on a stream of research conducted since the summer of 2018 at a few UK universities, including the University of Liverpool, University of Oxford, Queen's University Belfast, University of Lancaster, University of Loughborough, and University of Exeter. The research aims to adapt software engineering methods, in particular software testing methods, to work with machine learning models. Software testing techniques have been successful in identifying software bugs, and helping software developers in validating the software they design and implement. It is for this reason that a few software testing techniques -- such as the MC/DC coverage metric -- have been mandated in industrial standards for safety critical systems, including the ISO26262 for automotive systems and the RTCA DO-178B/C for avionics systems. However, these techniques cannot be directly applied to machine learning models, because the latter are drastically different from traditional software, and their design follows a completely different development life-cycle. As the outcome of this thread of research, the team has developed a series of methods that adapt the software testing techniques to work with a few classes of machine learning models. The latter notably include convolutional neural networks, recurrent neural networks, and random forest. The tools developed from this research are now collected, and publicly released, in a GitHub repository: \url{https://github.com/TrustAI/DeepConcolic}, with the BSD 3-Clause licence. This tutorial is to go through the major functionalities of the tools with a few running examples, to exhibit how the developed techniques work, what the results are, and how to interpret them.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑