To what extent do DNN-based image classification models make unreliable inferences?

被引:15
作者
Tian, Yongqiang [1 ]
Ma, Shiqing [2 ]
Wen, Ming [3 ]
Liu, Yepang [4 ]
Cheung, Shing-Chi [1 ]
Zhang, Xiangyu [5 ]
机构
[1] Hong Kong Univ Sci & Technol, Dept Comp Sci & Engn, Hong Kong, Peoples R China
[2] Rutgers State Univ, Dept Comp Sci, Piscataway, NJ USA
[3] Huazhong Univ Sci & Technol, Sch Cyber Sci & Engn, Wuhan, Hubei, Peoples R China
[4] Southern Univ Sci & Technol, Dept Comp Sci & Engn, Shenzhen, Guangdong, Peoples R China
[5] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47907 USA
基金
中国国家自然科学基金;
关键词
Deep learning; Metamorphic testing; Software engineering for AI;
D O I
10.1007/s10664-021-09985-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Deep Neural Network (DNN) models are widely used for image classification. While they offer high performance in terms of accuracy, researchers are concerned about if these models inappropriately make inferences using features irrelevant to the target object in a given image. To address this concern, we propose a metamorphic testing approach that assesses if a given inference is made based on irrelevant features. Specifically, we propose two metamorphic relations (MRs) to detect such unreliable inferences. These relations expect (a) the classification results with different labels or the same labels but less certainty from models after corrupting the relevant features of images, and (b) the classification results with the same labels after corrupting irrelevant features. The inferences that violate the metamorphic relations are regarded as unreliable inferences. Our evaluation demonstrated that our approach can effectively identify unreliable inferences for single-label classification models with an average precision of 64.1% and 96.4% for the two MRs, respectively. As for multi-label classification models, the corresponding precision for MR-1 and MR-2 is 78.2% and 86.5%, respectively. Further, we conducted an empirical study to understand the problem of unreliable inferences in practice. Specifically, we applied our approach to 18 pre-trained single-label image classification models and 3 multi-label classification models, and then examined their inferences on the ImageNet and COCO datasets. We found that unreliable inferences are pervasive. Specifically, for each model, more than thousands of correct classifications are actually made using irrelevant features. Next, we investigated the effect of such pervasive unreliable inferences, and found that they can cause significant degradation of a model's overall accuracy. After including these unreliable inferences from the test set, the model's accuracy can be significantly changed. Therefore, we recommend that developers should pay more attention to these unreliable inferences during the model evaluations. We also explored the correlation between model accuracy and the size of unreliable inferences. We found the inferences of the input with smaller objects are easier to be unreliable. Lastly, we found that the current model training methodologies can guide the models to learn object-relevant features to certain extent, but may not necessarily prevent the model from making unreliable inferences. We encourage the community to propose more effective training methodologies to address this issue.
引用
收藏
页数:40
相关论文
共 30 条
  • [1] To what extent do DNN-based image classification models make unreliable inferences?
    Yongqiang Tian
    Shiqing Ma
    Ming Wen
    Yepang Liu
    Shing-Chi Cheung
    Xiangyu Zhang
    Empirical Software Engineering, 2021, 26
  • [2] DNN-Based PolSAR Image Classification on Noisy Labels
    Ni, Jun
    Xiang, Deliang
    Lin, Zhiyuan
    Lopez-Martinez, Carlos
    Hu, Wei
    Zhang, Fan
    IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2022, 15 : 3697 - 3713
  • [3] A COMPARATIVE STUDY OF DNN-BASED MODELS FOR BLIND IMAGE QUALITY PREDICTION
    Yang, Xiaohan
    Li, Fan
    Liu, Hantao
    2019 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2019, : 1019 - 1023
  • [4] Waveform Manipulation Against DNN-based Modulation Classification Attacks
    Varkatzas, Dimitrios
    Argyriou, Antonios
    MILCOM 2023 - 2023 IEEE MILITARY COMMUNICATIONS CONFERENCE, 2023,
  • [5] Hierarchical DNN-Based Image Segmentation Algorithm Using Texton, Superpixels, and Layer-Adaptive Loss Functions
    Yu, Cheng-Hsuan
    Ding, Jian-Jiun
    2022 16TH INTERNATIONAL CONFERENCE ON SIGNAL-IMAGE TECHNOLOGY & INTERNET-BASED SYSTEMS, SITIS, 2022, : 135 - 139
  • [6] Image Classification based on CNN: Models and Modules
    Tang, Haoran
    2022 INTERNATIONAL CONFERENCE ON BIG DATA, INFORMATION AND COMPUTER NETWORK (BDICN 2022), 2022, : 693 - 696
  • [7] Detection System for Construction Image Classification Based on Deep Learning Models
    Dai, Jiajie
    Liu, Ruijun
    Luo, Ouwen
    Ning, Zhiyuan
    2022 INTERNATIONAL CONFERENCE ON BIG DATA, INFORMATION AND COMPUTER NETWORK (BDICN 2022), 2022, : 728 - 731
  • [8] WBC image classification and generative models based on convolutional neural network
    Jung, Changhun
    Abuhamad, Mohammed
    Mohaisen, David
    Han, Kyungja
    Nyang, DaeHun
    BMC MEDICAL IMAGING, 2022, 22 (01)
  • [9] WBC image classification and generative models based on convolutional neural network
    Changhun Jung
    Mohammed Abuhamad
    David Mohaisen
    Kyungja Han
    DaeHun Nyang
    BMC Medical Imaging, 22
  • [10] Soil suitability classification for crop selection in precision agriculture using GBRT-based hybrid DNN surrogate models
    Bhat, Showkat Ahmad
    Hussain, Imtiyaz
    Huang, Nen-Fu
    ECOLOGICAL INFORMATICS, 2023, 75