arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.00694cs.SEcs.AIcs.LG
收藏

前馈神经网络训练程序的测试

Testing Feedforward Neural Networks Training Programs

Polytechnique Montreal(蒙特利尔综合理工学院)

Houssem Ben Braiek, Foutse Khomh

摘要:

如今,我们正在不断努力提高深度神经网络(DNN)的性能和可信度,目的是使其能够应用于自动驾驶汽车等安全关键系统。提出了多种测试技术来生成测试用例,这些测试用例可以暴露DNN模型行为中的不一致性。这些技术隐含地假设训练程序是无错误的并且被适当地配置。然而,满足新问题的这一假设需要大量的工程工作来准备数据,设计DNN,实现训练程序,并调整超参数,以产生当前自动测试数据生成器搜索角情况行为的模型。所有这些模型训练步骤都容易出错。因此,在基于DNN的软件系统的所有工程步骤中检测和纠正错误至关重要,而不仅仅是在最终的DNN模型上。在本文中,我们收集了一个训练问题的目录,并根据它们的症状及其对训练程序行为的影响,我们提出了实用的验证例程来自动检测上述问题,通过不断验证学习动态的一些重要属性在训练过程中保持不变。然后,我们设计了一种端到端的基于属性的DNN训练程序调试方法TheDeepcraft。我们评估了TheDeepcraft在合成和现实世界中有缺陷的DL程序上的有效性,并将其与Amazon SageMaker Replogger(SMD)进行了比较。结果表明,TheDeepMind对基于DNN的程序属性的执行验证成功地揭示了几个编码错误和系统错误配置,早期和低成本。此外,在检测准确性和DL错误覆盖率方面,TheDeepMind优于SMD对训练日志的离线规则验证。

英文摘要:

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. 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. We assess the effectiveness of TheDeepChecker on synthetic and real-world buggy DL programs and compare it with Amazon SageMaker Debugger (SMD). Results show that TheDeepChecker's on-execution validation of DNN-based program's properties succeeds in revealing several coding bugs and system misconfigurations, early on and at a low cost. Moreover, TheDeepChecker outperforms the SMD's offline rules verification on training logs in terms of detection accuracy and DL bugs coverage.

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

↑