4.6 Article

Grammar Based Directed Testing of Machine Learning Systems

Journal

IEEE TRANSACTIONS ON SOFTWARE ENGINEERING
Volume 47, Issue 11, Pages 2487-2503

Publisher

IEEE COMPUTER SOC
DOI: 10.1109/TSE.2019.2953066

Keywords

Machine learning; Grammar; Robustness; Systematics; Test pattern generators; Natural language processing; Software testing; machine learning; natural language processing

Funding

  1. Ministry of Education, Singapore

Ask authors/readers for more resources

The paper introduces a systematic test framework for machine-learning systems, called the Ogma approach, which can discover erroneous behaviors and improve model performance. Testing on three natural language processing classifiers shows that Ogma is more effective than random testing methods.
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? 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 percent.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available