arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.10875stat.MLcs.LG
收藏

TensorFuzz:具有覆盖引导模糊的神经网络

TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzing

Google Brain(谷歌大脑)

Augustus Odena, Ian Goodfellow

摘要:

众所周知,机器学习模型很难解释和调试。对于神经网络来说尤其如此。在这项工作中,我们介绍了神经网络的自动化软件测试技术,非常适合发现只发生在罕见的输入错误。具体来说,我们开发覆盖引导模糊(CGF)方法的神经网络。在CGF中,输入到神经网络的随机突变由覆盖度量引导朝向满足用户指定的约束的目标。我们描述如何快速近似最近邻算法可以提供这种覆盖度量。然后,我们讨论了CGF的应用程序,以实现以下目标:在训练的神经网络中发现数值错误,产生神经网络和量化版本的网络之间的分歧,并在字符级语言模型中出现不良行为。最后,我们发布了一个名为TensorFuzz的开源库,它实现了所描述的技术。

英文摘要:

Machine learning models are notoriously difficult to interpret and debug. This is particularly true of neural networks. In this work, we introduce automated software testing techniques for neural networks that are well-suited to discovering errors which occur only for rare inputs. Specifically, we develop coverage-guided fuzzing (CGF) methods for neural networks. In CGF, random mutations of inputs to a neural network are guided by a coverage metric toward the goal of satisfying user-specified constraints. We describe how fast approximate nearest neighbor algorithms can provide this coverage metric. We then discuss the application of CGF to the following goals: finding numerical errors in trained neural networks, generating disagreements between neural networks and quantized versions of those networks, and surfacing undesirable behavior in character level language models. Finally, we release an open source library called TensorFuzz that implements the described techniques.

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

↑