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(普渡大学)
Please note that a later version of this paper is accepted by Empirical Software Engineering in 2021. The title of the accepted paper is: "To What Extent Do DNN-based Image Classification Models Make Unreliable Inferences?". Please contact the first author if you are interested in the accepted version
Deep learning models are widely used for image analysis. While they offer high performance in terms of accuracy, people are concerned about if these models inappropriately make inferences using irrelevant features that are not encoded from the target object in a given image. To address the concern, we propose a metamorphic testing approach that assesses if a given inference is made based on irrelevant features. Specifically, we propose two novel metamorphic relations to detect such inappropriate inferences. We applied our approach to 10 image classification models and 10 object detection models, with three large datasets, i.e., ImageNet, COCO, and Pascal VOC. Over 5.3% of the top-5 correct predictions made by the image classification models are subject to inappropriate inferences using irrelevant features. The corresponding rate for the object detection models is over 8.5%. Based on the findings, we further designed a new image generation strategy that can effectively attack existing models. Comparing with a baseline approach, our strategy can double the success rate of attacks.
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(斯威本科技大学)
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(中核集团高可信计算重点实验室)