arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.00741cs.SE
收藏

MLCheck-机器学习模型的属性驱动测试

MLCheck- Property-Driven Testing of Machine Learning Models

Arnab Sharma, Caglar Demir, Axel-Cyrille Ngonga Ngomo, Heike Wehrheim

摘要:

近年来,我们观察到越来越多的软件部署了机器学习组件。这就提出了这样的组件的质量保证问题:我们如何验证机器学习软件是否满足指定的要求?当前的测试和验证方法或者集中于单个需求(例如,公平性)或专注于单一类型的机器学习模型(例如,神经网络)。在本文中,我们提出了机器学习模型的属性驱动测试。我们的方法MLCheck包括(1)属性规范的语言,(2)系统的测试用例生成技术。规约语言与基于属性的测试语言相当。测试用例生成采用先进的验证技术,系统的,属性相关的测试套件的建设,没有额外的用户提供的生成器功能。我们评估MLCheck使用的要求和数据集从三个不同的应用领域(软件歧视,学习知识图谱和安全)。我们的评估表明,尽管它的一般性MLCheck甚至可以优于专门的测试方法,同时具有可比的运行时间。

英文摘要:

In recent years, we observe an increasing amount of software with machine learning components being deployed. This poses the question of quality assurance for such components: how can we validate whether specified requirements are fulfilled by a machine learned software? Current testing and verification approaches either focus on a single requirement (e.g., fairness) or specialize on a single type of machine learning model (e.g., neural networks). In this paper, we propose property-driven testing of machine learning models. Our approach MLCheck encompasses (1) a language for property specification, and (2) a technique for systematic test case generation. The specification language is comparable to property-based testing languages. Test case generation employs advanced verification technology for a systematic, property-dependent construction of test suites, without additional user-supplied generator functions. We evaluate MLCheck using requirements and data sets from three different application areas (software discrimination, learning on knowledge graphs and security). Our evaluation shows that despite its generality MLCheck can even outperform specialised testing approaches while having a comparable runtime.

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

↑