MLCheck- Property-Driven Testing of Machine Learning Models

05/03/2021
by   Arnab Sharma, et al.
0

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.

READ FULL TEXT
research
02/27/2020

Testing Monotonicity of Machine Learning Models

Today, machine learning (ML) models are increasingly applied in decision...
research
01/28/2022

Systematic Training and Testing for Machine Learning Using Combinatorial Interaction Testing

This paper demonstrates the systematic use of combinatorial coverage for...
research
06/13/2022

Specifying and Testing k-Safety Properties for Machine-Learning Models

Machine-learning models are becoming increasingly prevalent in our lives...
research
02/26/2019

Grammar Based Directed Testing of Machine Learning Systems

The massive progress of machine learning has seen its application over a...
research
04/30/2022

Software Testing for Machine Learning

Machine learning has become prevalent across a wide variety of applicati...
research
12/14/2020

Automatic Property-based Testing of GraphQL APIs

In recent years, GraphQL has become a popular way to expose web APIs. Wi...
research
04/15/2021

mlf-core: a framework for deterministic machine learning

Machine learning has shown extensive growth in recent years and is now r...

Please sign up or login with your details

Forgot password? Click here to reset