Improving Early Fault Detection in Machine Learning Systems Using Data Diversity-Driven Metamorphic Relation Prioritization

Author:

Srinivasan Madhusudan1ORCID,Kanewala Upulee2

Affiliation:

1. Computer Science Department, East Carolina University, Greenville, NC 27858, USA

2. School of Computing, University of North Florida, Jacksonville, FL 32224, USA

Abstract

Metamorphic testing is a valuable approach to verifying machine learning programs where traditional oracles are unavailable or difficult to apply. This paper proposes a technique to prioritize metamorphic relations (MRs) in metamorphic testing for machine learning and deep learning systems, aiming to enhance early fault detection. We introduce five metrics based on diversity in source and follow-up test cases to prioritize MRs. The effectiveness of our proposed prioritization methods is evaluated on three machine learning and one deep learning algorithm implementation. We compare our approach against random-based, fault-based, and neuron activation coverage-based MR ordering. The results show that our data diversity-based prioritization performs comparably to fault-based prioritization, reducing fault detection time by up to 62% compared to random MR execution. Our proposed metrics outperformed neuron activation coverage-based prioritization, providing 5–550% higher fault detection effectiveness. Overall, our approach to prioritizing metamorphic relations leads to increased fault detection effectiveness and reduced average fault detection time. This improvement in efficiency can result in significant time and cost savings when applying metamorphic testing to machine learning and deep learning systems.

Publisher

MDPI AG

Reference43 articles.

1. An empirical study on the selection of good metamorphic relations;Mayer;Proceedings of the 30th Annual International Computer Software and Applications Conference (COMPSAC’06),2006

2. Ziegler, C. (2016). A Google self-driving car caused a crash for the first time. Verge, 198.

3. Ohnsman, A. (2018). Lidar Maker Velodyne ‘Baffled’ By Self-Driving Uber’s Failure to Avoid Pedestrian. Forbes, Available online: https://www.forbes.com/sites/alanohnsman/2018/03/23/lidar-maker-velodyne-baffled-by-self-driving-ubers-failure-to-avoid-pedestrian/.

4. The oracle problem in software testing: A survey;Barr;IEEE Trans. Softw. Eng.,2015

5. On testing non-testable programs;Weyuker;Comput. J.,1982

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3