Testing and Validating Machine Learning Classifiers by Metamorphic Testing

Machine Learning algorithms have provided core functionality to many application domains - such as bioinformatics, computational linguistics, etc. However, it is difficult to detect faults in such applications because often there is no "test oracle" to verify the correctness of the compute...

Ausführliche Beschreibung

Bibliographische Detailangaben
Veröffentlicht in:The Journal of systems and software. - 1998. - 84(2011), 4 vom: 01. Apr., Seite 544-558
1. Verfasser: Xie, Xiaoyuan (VerfasserIn)
Weitere Verfasser: Ho, Joshua W K, Murphy, Christian, Kaiser, Gail, Xu, Baowen, Chen, Tsong Yueh
Format: Aufsatz
Sprache:English
Veröffentlicht: 2011
Zugriff auf das übergeordnete Werk:The Journal of systems and software
Schlagworte:Journal Article
Beschreibung
Zusammenfassung:Machine Learning algorithms have provided core functionality to many application domains - such as bioinformatics, computational linguistics, etc. However, it is difficult to detect faults in such applications because often there is no "test oracle" to verify the correctness of the computed outputs. To help address the software quality, in this paper we present a technique for testing the implementations of machine learning classification algorithms which support such applications. Our approach is based on the technique "metamorphic testing", which has been shown to be effective to alleviate the oracle problem. Also presented include a case study on a real-world machine learning application framework, and a discussion of how programmers implementing machine learning algorithms can avoid the common pitfalls discovered in our study. We also conduct mutation analysis and cross-validation, which reveal that our method has high effectiveness in killing mutants, and that observing expected cross-validation result alone is not sufficiently effective to detect faults in a supervised classification program. The effectiveness of metamorphic testing is further confirmed by the detection of real faults in a popular open-source classification program
Beschreibung:Date Revised 20.10.2021
published: Print
Citation Status PubMed-not-MEDLINE
ISSN:0164-1212