Grammar Based Directed Testing of Machine Learning Systems

Sakshi Udeshi, Sudipta Chattopadhyay
2/26/2019
cs.LGcs.AI

Official code: sakshiudeshi/Ogma (2 stars, Python, last commit 2019-11-07).

Abstract

The massive progress of machine learning has seen its application over a variety of domains in the past decade. But how do we develop a systematic, scalable and modular strategy to validate machine-learning systems?

Show full abstract

We present, to the best of our knowledge, the first approach, which provides a systematic test framework for machine-learning systems that accepts grammar-based inputs. Our OGMA approach automatically discovers erroneous behaviours in classifiers and leverages these erroneous behaviours to improve the respective models. OGMA leverages inherent robustness properties present in any well trained machine-learning model to direct test generation and thus, implementing a scalable test generation methodology. To evaluate our OGMA approach, we have tested it on three real world natural language processing (NLP) classifiers. We have found thousands of erroneous behaviours in these systems. We also compare OGMA with a random test generation approach and observe that OGMA is more effective than such random test generation by up to 489%.

View on arXivView PDF

Code Implementations(1)

sakshiudeshi/OgmaOfficial100%
21Python, Rich Text FormatSep 18, 20187 years ago

Similar Papers

Cite this paper

@article{udeshi2019grammar,
  title  = {Grammar Based Directed Testing of Machine Learning Systems},
  author = {Sakshi Udeshi and Sudipta Chattopadhyay},
  year   = {2019},
  eprint = {1902.10027},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.10027}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1902.10027.svg)](https://codeofpaper.com/paper/1902.10027)

Discussion