Neural networks have complex structures, and thus it is hard to understand their inner workings and ensure correctness. To understand and debug convolutional neural networks (CNNs) we propose techniques for testing the channels of CNNs. We design FtGAN, an extension to GAN, that can generate test data with varying the intensity (i.e., sum of the neurons) of a channel of a target CNN. We also proposed a channel selection algorithm to find representative channels for testing. To efficiently inspect the target CNN's inference computations, we define unexpectedness score, which estimates how similar the inference computation of the test data is to that of the training data. We evaluated FtGAN with five public datasets and showed that our techniques successfully identify defective channels in five different CNN models.
翻译:神经网络结构复杂,因此很难理解其内部功能并确保正确性。为了理解和调试有线电视新闻网频道,我们提出了测试CNN频道的技术。我们设计了FtGAN,这是GAN的延伸,可以产生不同强度(即神经元之和)的目标CNN频道测试数据。我们还提议了频道选择算法,以找到具有代表性的测试渠道。为了有效地检查有线电视新闻网的目标推论计算,我们定义了意外性评分,其中估计了测试数据的推论计算与培训数据的推论的相似程度。我们用五个公共数据集对FtGAN进行了评估,并表明我们的技术成功地发现了五个不同的CNN模型中的有缺陷的渠道。</s>