A lightweight adaptive random testing method for deep learning systems

被引:0
作者
Mao, Chengying [1 ]
Song, Yue [1 ]
Chen, Jifu [1 ]
机构
[1] Jiangxi Univ Finance & Econ, Sch Software & IoT Engn, Nanchang, Peoples R China
基金
中国国家自然科学基金;
关键词
adaptive random testing; cluster analysis; deep learning systems; efficiency; failure detection; REDUCTION;
D O I
10.1002/spe.3256
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In recent years, deep learning (DL) systems are increasingly used in the safety-critical fields such as autonomous driving, medical diagnosis, and financial service. Although these systems have demonstrated an outstanding performance in enhancing the accuracy of decision-making, they pose significant challenges to the trustworthiness due to their limited interpretability and inherent uncertainty. Adaptive random testing (ART) has been proved as an effective approach for ensuring the reliability of DL systems. However, existing ART methods for DL systems incur a heavy overhead in test case selection due to the computation of distances. To address this issue, we propose a lightweight adaptive random testing (Lw-ARTDL) method for DL systems. In our improved algorithm, we employ the K-Means technique to divide the entire test suite into several subsets. Then, for a candidate test case, we only calculate distances between it and the test cases within the category to which it belongs. This partition strategy ensures that the selected test cases are more representative while significantly reducing the computational cost. To validate the proposed algorithm, the comparison experiments between Lw-ARTDL and the original ARTDL algorithm are conducted on two typical DL systems. The experimental results show that Lw-ARTDL significantly reduces the overhead of failure detection, and exhibits stronger failure detection capability compared to ARTDL in most similarity metrics.
引用
收藏
页码:2271 / 2295
页数:25
相关论文
共 83 条
  • [1] Aghababaeyan Z., 2021, Black‐box testing of deep neural networks through test case diversity. CoRR
  • [2] AIGuide: An Augmented Reality Hand Guidance Application for People with Visual Impairments
    Aldas, Nelson Daniel Troncoso
    Lee, Sooyeon
    Lee, Chonghan
    Rosson, Mary Beth
    Carroll, John M.
    Narayanan, Vijaykrishnan
    [J]. 22ND INTERNATIONAL ACM SIGACCESS CONFERENCE ON COMPUTERS AND ACCESSIBILITY (ASSETS '20), 2020,
  • [3] Almaghairbe R., 2015, Building test oracles by clustering failures. Paper presented at: Proceedings of the 10th International Workshop on Automation of Software Test (AST'15)
  • [4] Arcuri A., 2011, Adaptive random testing: an illusion of effectiveness? Paper presented at: Proceedings of the 2011 International Symposium on Software Testing and Analysis (ISSTA'11), Toronto, Ontario, Canada
  • [5] A Cost-Effective Random Testing Method for Programs with Non-Numeric Inputs
    Barus, Arlinta C.
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Merkel, Robert
    Rothermel, Gregg
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (12) : 3509 - 3523
  • [6] Boudette N. E., 2017, Tesla's self-driving system cleared in deadly crash
  • [7] Chen J., 2019, A taxonomic review of adaptive random testing: current status, classifications
  • [8] A Novel Test Case Generation Approach for Adaptive Random Testing of Object-Oriented Software Using K-Means Clustering Technique
    Chen, Jinfu
    Chen, Haibo
    Guo, Yuchi
    Zhou, Minmin
    Huang, Rubing
    Mao, Chengying
    [J]. IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTATIONAL INTELLIGENCE, 2022, 6 (04): : 969 - 981
  • [9] A Similarity Metric for the Inputs of OO Programs and Its Application in Adaptive Random Testing
    Chen, Jinfu
    Kuo, Fei-Ching
    Chen, Tsong Yueh
    Towey, Dave
    Su, Chenfei
    Huang, Rubing
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2017, 66 (02) : 373 - 402
  • [10] DGEPN-GCEN2V: a new framework for mining GGI and its application in biomarker detection
    Chen, Jinyin
    Zheng, Haibin
    Xiong, Hui
    Wu, Yangyang
    Lin, Xiang
    Ying, Shiyan
    Xuan, Qi
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2019, 62 (09)