Identifying Implementation Bugs in Machine Learning Based Image Classifiers using Metamorphic Testing

被引:117
|
作者
Dwarakanath, Anurag [1 ]
Ahuja, Manish [1 ]
Sikand, Samarth [1 ]
Rao, Raghotham M. [1 ]
Bose, R. P. Jagadeesh Chandra [1 ]
Dubash, Neville [1 ]
Podder, Sanjay [1 ]
机构
[1] Accenture Technol Labs, Bangalore, Karnataka, India
来源
ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS | 2018年
关键词
Testing Machine Learning based applications; Metamorphic Testing;
D O I
10.1145/3213846.3213858
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We have recently witnessed tremendous success of Machine Learning (ML) in practical applications. Computer vision, speech recognition and language translation have all seen a near human level performance. We expect, in the near future, most business applications will have some form of ML. However, testing such applications is extremely challenging and would be very expensive if we follow today's methodologies. In this work, we present an articulation of the challenges in testing ML based applications. We then present our solution approach, based on the concept of Metamorphic Testing, which aims to identify implementation bugs in ML based image classifiers. We have developed metamorphic relations for an application based on Support Vector Machine and a Deep Learning based application. Empirical validation showed that our approach was able to catch 71% of the implementation bugs in the ML applications.
引用
收藏
页码:118 / 128
页数:11
相关论文
共 26 条
  • [1] Testing and validating machine learning classifiers by metamorphic testing
    Xie, Xiaoyuan
    Ho, Joshua W. K.
    Murphy, Christian
    Kaiser, Gail
    Xu, Baowen
    Chen, Tsong Yueh
    JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (04) : 544 - 558
  • [2] Testing acoustic scene classifiers using Metamorphic Relations
    Moreira, Diogo
    Furtado, Ana Paula
    Nogueira, Sidney
    2020 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING (AITEST), 2020, : 47 - 54
  • [3] Detecting Implementation Bugs in Graph Convolutional Network based Node Classifiers
    Wang, Yiwei
    Wang, Wei
    Cai, Yujun
    Hooi, Bryan
    Ooi, Beng Chin
    2020 IEEE 31ST INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2020), 2020, : 313 - 324
  • [4] Detecting Integer Bugs without Oracle Based on Metamorphic Testing Technique
    Huang, Song
    Ji, Mengyu
    Hui, Zhanwei
    Duanmu, Yiting
    FRONTIERS OF MANUFACTURING AND DESIGN SCIENCE II, PTS 1-6, 2012, 121-126 : 1961 - 1965
  • [5] Metamorphic Testing For Machine Learning: Applicability, Challenges, and Research Opportunities
    Rehman, Faqeer Ur
    Srinivasan, Madhusudan
    2023 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING, AITEST, 2023, : 34 - 39
  • [6] Predicting metamorphic relations for testing scientific software: a machine learning approach using graph kernels
    Kanewala, Upulee
    Bieman, James M.
    Ben-Hur, Asa
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2016, 26 (03) : 245 - 269
  • [7] MT4UML: Metamorphic Testing for Unsupervised Machine Learning
    Rehman, Faqeer Ur
    Izurieta, Clemente
    2022 9TH SWISS CONFERENCE ON DATA SCIENCE (SDS), 2022, : 26 - 32
  • [8] Metamorphic Testing of Machine Translation Models using Back Translation
    Gao, Wentao
    He, Jiayuan
    Pham, Van-Thuan
    2023 IEEE/ACM INTERNATIONAL WORKSHOP ON DEEP LEARNING FOR TESTING AND TESTING FOR DEEP LEARNING, DEEPTEST, 2023, : 1 - 8
  • [9] Word Closure-Based Metamorphic Testing for Machine Translation
    Xie, Xiaoyuan
    Jin, Shuo
    Chen, Songqiang
    Cheung, Shing-chi
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (08)
  • [10] Metamorphic Testing of Image Classification and Consistency Analysis Using Clustering
    Gudaparthi, Hemanth
    Naidu, Prudhviraj
    Niu, Nan
    INTERNATIONAL JOURNAL OF MULTIMEDIA DATA ENGINEERING & MANAGEMENT, 2022, 13 (01)