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

机器学习软件的不可假设测试数据生成

Unsupposable Test-data Generation for Machine-learned Software

Hitachi, Ltd.(株式会社日立制作所)

Naoto Sato, Hironobu Kuruma, Hideto Ogawa

摘要:

关于通过机器学习的软件开发,通过使用现有数据集的一部分作为测试数据来评估训练模型。但是,如果输入的数据具有与现有数据不同的特征,则模型并不总是按预期运行。因此,为了更严格地确认模型的行为,有必要创建与现有数据不同的数据,并使用该不同的数据测试模型。要测试的数据不仅包括开发人员可以假设的数据(可假设数据),还包括他们不能假设的数据(不可假设数据)。为了严格地确认模型的行为,创建尽可能多的不可假设的数据是很重要的。因此,在本研究中,提出了一种称为“不可假设的测试数据生成”(UTG)的方法--用于为模型开发人员和测试人员提供不可假设的数据建议。UTG使用变分自编码器(VAE)来生成不可推测的数据。通过获取VAE的先验分布中具有低出现概率的潜在值并将所获取的潜在值输入到解码器中来生成不可推测数据。如果解码器生成的数据中包含不可推测的数据,则开发人员可以通过参考该数据来识别新的不可推测的特征。基于这些不可假设的特征,开发人员将能够创建具有相同特征的其他不可假设的数据。建议的UTG应用于MNIST数据集和房屋销售价格数据集。结果证明了UTG的可行性。

英文摘要:

As for software development by machine learning, a trained model is evaluated by using part of an existing dataset as test data. However, if data with characteristics that differ from the existing data is input, the model does not always behave as expected. Accordingly, to confirm the behavior of the model more strictly, it is necessary to create data that differs from the existing data and test the model with that different data. The data to be tested includes not only data that developers can suppose (supposable data) but also data they cannot suppose (unsupposable data). To confirm the behavior of the model strictly, it is important to create as much unsupposable data as possible. In this study, therefore, a method called "unsupposable test-data generation" (UTG)---for giving suggestions for unsupposable data to model developers and testers---is proposed. UTG uses a variational autoencoder (VAE) to generate unsupposable data. The unsupposable data is generated by acquiring latent values with low occurrence probability in the prior distribution of the VAE and inputting the acquired latent values into the decoder. If unsupposable data is included in the data generated by the decoder, the developer can recognize new unsupposable features by referring to the data. On the basis of those unsupposable features, the developer will be able to create other unsupposable data with the same features. The proposed UTG was applied to the MNIST dataset and the House Sales Price dataset. The results demonstrate the feasibility of UTG.

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

↑