In this paper, we present the Metamorphic Testing of an in-use deep learning based forecasting application. The application looks at the past data of system characteristics (e.g. `memory allocation') to predict outages in the future. We focus on two statistical / machine learning based components - a) detection of co-relation between system characteristics and b) estimating the future value of a system characteristic using an LSTM (a deep learning architecture). In total, 19 Metamorphic Relations have been developed and we provide proofs & algorithms where applicable. We evaluated our method through two settings. In the first, we executed the relations on the actual application and uncovered 8 issues not known before. Second, we generated hypothetical bugs, through Mutation Testing, on a reference implementation of the LSTM based forecaster and found that 65.9% of the bugs were caught through the relations.
Using Metamorphic Relations to Verify and Enhance Artcode Classification
University of Cambridge(剑桥大学);University of Nottingham Ningbo China(宁波诺丁汉大学);University of Nottingham(诺丁汉大学);University of Wollongong(伍伦贡大学);Swinburne University of Technology(斯威本科技大学)
Testing Deep Learning Models for Image Analysis Using Object-Relevant Metamorphic Relations
Hong Kong University of Science and Technology(香港科技大学);Rutgers University(罗格斯大学);Southern University of Science and Technology(南方科技大学);Purdue University(普渡大学)
Domain-Validity-Gated Metamorphic Testing of Scientific ML Surrogates
School of Computing, University of South China(南方大学计算机学院);Hunan Engineering Research Center of Software Evaluation and Testing for Intellectual Equipment(湖南软件评估与测试研究中心);CNNC Key Laboratory on High Trusted Computing(中核高可信计算重点实验室)
A semantic mutation metric for metamorphic relation adequacy in scientific computing programs
School of Computing, University of South China(南华大学计算机学院);Hunan Engineering Research Center of Software Evaluation and Testing for Intellectual Equipment(湖南软件测评与智能设备工程研究中心);CNNC Key Laboratory on High Trusted Computing(中核集团高可信计算重点实验室)
NOETHER: A Constructive Framework for Metamorphic Pattern Discovery from Operator Algebras
School of Computing, University of South China(南华大学计算机学院);Hunan Engineering Research Center of Software Evaluation and Testing for Intellectual Equipment(湖南软件测评与智能设备工程研究中心);CNNC Key Laboratory on High Trusted Computing(中核集团高可信计算重点实验室)