ATOM: Automated Black-Box Testing of Multi-Label Image Classification Systems

被引:2
作者
Hu, Shengyou [1 ,2 ]
Wu, Huayao [1 ,2 ]
Wang, Peng [1 ,2 ]
Chang, Jing [3 ]
Tu, Yongjun [3 ]
Jiang, Xiu [3 ]
Niu, Xintao [1 ,2 ]
Nie, Changhai [1 ,2 ]
机构
[1] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Peoples R China
[2] Nanjing Univ, Dept Comp Sci & Technol, Nanjing, Peoples R China
[3] Guangdong OPPO Mobile Telecommun Corp Ltd, Guangzhou, Guangdong, Peoples R China
来源
2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE | 2023年
基金
中国国家自然科学基金;
关键词
Multi-label Image Classification Testing; Black-box Testing; Metamorphic Testing;
D O I
10.1109/ASE56229.2023.00156
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Multi-label Image Classification Systems (MICSs) developed based on Deep Neural Networks (DNNs) are extensively used in people's daily life. Currently, although there are a variety of approaches to test DNN-based systems, they typically rely on the internals of DNNs to design test cases, and do not take the core specification of MICS (i.e., correctly recognizing multiple objects in a given image) into account. In this paper, we propose ATOM, an automated and systematic black-box testing framework for testing MICS. Specifically, ATOM exploits the label combination as the testing adequacy criteria, hoping to systematically examine the impact of correlations between a fixed number of labels on the classification ability of MICS. Then, ATOM leverages image search engine and natural language processing to find test images that are not only common to the real-world, but also relevant to target label combinations. Finally, ATOM combines metamorphic testing and label information to realize test oracle identification, based on which the ability of MICS in classifying different label combinations is evaluated. To evaluate the effectiveness of ATOM, we have performed experiments on two popular datasets of MICS, VOC and COCO (each with five state-of-the-art DNN models), and one real-world photo tagging application from our industrial partner. The experimental results reveal that the performance of current DNN-based MICSs remains less satisfactory even in recognizing correlations between only two labels, as ATOM triggers a total number of 6,049 such label combination related errors for all MICSs studied. In particular, ATOM reports 587 error-revealing images for the industrial MICS, in which 92% of them are confirmed by the developers.
引用
收藏
页码:230 / 242
页数:13
相关论文
共 75 条
[1]   Black-Box Testing of Deep Neural Networks through Test Case Diversity [J].
Aghababaeyan, Zohreh ;
Abdellatif, Manel ;
Briand, Lionel ;
Ramesh, S. ;
Bagherzadeh, Mojtaba .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (05) :3182-3204
[2]  
aslerd, About us
[3]  
Boudette N. E, 2015, Tesla's self-driving system cleared in deadly crash
[4]   Black-Box Testing of Deep Neural Networks [J].
Byun, Taejoon ;
Rayadurgam, Sanjai ;
Heimdahl, Mats P. E. .
2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, :309-320
[5]   Manifold for Machine Learning Assurance [J].
Byun, Taejoon ;
Rayadurgam, Sanjai .
2020 IEEE/ACM 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2020), 2020, :97-100
[6]   SST: Spatial and Semantic Transformers for Multi-Label Image Recognition [J].
Chen, Zhao-Min ;
Cui, Quan ;
Zhao, Borui ;
Song, Renjie ;
Zhang, Xiaoqin ;
Yoshie, Osamu .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2022, 31 :2570-2583
[7]   Multi-Label Image Recognition with Graph Convolutional Networks [J].
Chen, Zhao-Min ;
Wei, Xiu-Shen ;
Wang, Peng ;
Guo, Yanwen .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :5172-5181
[8]  
Demir Samet, 2020, P THEWORKSHOP ARTIFI, V2640, P134
[9]  
Deng J, 2009, PROC CVPR IEEE, P248, DOI 10.1109/CVPRW.2009.5206848
[10]  
DeVries T., 2017, P INT C LEARN REPR