Mutation-Based White Box Testing of Deep Neural Networks

被引:1
|
作者
Cetiner, Gokhan [1 ]
Yayan, Ugur [2 ]
Yazici, Ahmet [1 ]
机构
[1] Univ Eskisehir Osmangazi, Comp Engn Dept, TR-26040 Eskisehir, Turkiye
[2] Univ Eskisehir Osmangazi, Software Engn Dept, TR-26040 Eskisehir, Turkiye
来源
IEEE ACCESS | 2024年 / 12卷
关键词
Testing; Artificial neural networks; Robustness; Software testing; Long short term memory; Accuracy; Transformers; Predictive models; Libraries; Convolutional neural networks; Reinforcement learning; Convolutional neural network; deep neural networks; long short-term memory; machine learning; mutation-based testing; reinforcement learning; transformers;
D O I
10.1109/ACCESS.2024.3482114
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Deep Neural Networks (DNNs) are used in many critical areas, such as autonomous vehicles, generative AI systems, etc. Therefore, testing DNNs is vital, especially for models used in critical areas. Mutation-based testing is a very successful technique for testing DNNs by mutating their complex structures. Deep Mutation Module was developed to address mutation-based testing and the robustness challenges of DNNs. It analyses the structures of DNNs in detail. It tests models by applying mutation to parameters and structures using its fault library. Testing DNN structures and detecting faults is a highly complex and open-ended challenge. The method proposed in this study applies mutations to DNN parameters to expose faults and weaknesses in the models, thereby testing their robustness. The paper focuses on mutation-based tests of an Reinforce Learning (RL) model developed for electric vehicle routing, a Long Short-Term Memory (LSTM) model developed for prognostic predictions, and a Transformer-based neural network model for electric vehicle routing tasks. The best mutation scores for the LSTM model were measured as 96%, 91.02%, 71.19%, and 68.77%. The test results for the RL model resulted in mutation scores of 93.20%, 72.13%, 77.47%, 79.28%, and 55.74%. The mutation scores of the Transformer model were 75.87%, 76.36%, and 74.93%. These results show that the module can successfully test the targeted models and generate mutants classified as "survived mutants" that outperform the original models. In this way, it provides critical information to researchers to improve the overall performance of the models. Conducting these tests before using them in real-world applications minimizes faults and maximizes model success.
引用
收藏
页码:160156 / 160174
页数:19
相关论文
共 50 条
  • [21] An evolutionary mutation-based algorithm for weight training in neural networks for telecommunication flow modelling
    Fischer, MM
    Hlavácková-Schindler, K
    Reismann, M
    COMPUTATIONAL INTELLIGENCE FOR MODELLING, CONTROL & AUTOMATION - EVOLUTIONARY COMPUTATION & FUZZY LOGIC FOR INTELLIGENT CONTROL, KNOWLEDGE ACQUISITION & INFORMATION RETRIEVAL, 1999, 55 : 54 - 59
  • [22] A FORTRAN LANGUAGE SYSTEM FOR MUTATION-BASED SOFTWARE TESTING
    KING, KN
    OFFUTT, AJ
    SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (07): : 685 - 718
  • [23] From genetic to bacteriological algorithms for mutation-based testing
    Baudry, B
    Fleurey, F
    Jézéquel, JM
    Le Traon, Y
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2005, 15 (02): : 73 - 96
  • [24] Test Case Generation for Mutation-based Testing of Timeliness
    Nilsson, Robert
    Offutt, Jeff
    Mellin, Jonas
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (04) : 97 - 114
  • [25] Mutation-based Compliance Testing for RISC-V
    Herdt, Vladimir
    Tempel, Soren
    Grosse, Daniel
    Drechsler, Rolf
    2021 26TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2021, : 55 - 60
  • [26] Integrating neural mutation into mutation-based fault localization: A hybrid approach
    Liu, Hengyuan
    Li, Zheng
    Han, Baolong
    Chen, Xiang
    Paul, Doyle
    Liu, Yong
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 221
  • [27] A Theoretical Framework for Understanding Mutation-Based Testing Methods
    Shin, Donghwan
    Bae, Doo-Hwan
    2016 9TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2016, : 299 - 308
  • [28] MUTEC: Mutation-based Testing of Cross Site Scripting
    Shahriar, Hossain
    Zulkernine, Mohammad
    2009 ICSE WORKSHOP ON SOFTWARE ENGINEERING FOR SECURE SYSTEMS, 2009, : 47 - 53
  • [29] Neuroevolution with box mutation: An adaptive and modular framework for evolving deep neural networks
    Santos, Frederico J. J. B.
    Goncalves, Ivo
    Castelli, Mauro
    APPLIED SOFT COMPUTING, 2023, 147
  • [30] RIGA: Covert and Robust White-Box-Watermarking of Deep Neural Networks
    Wang, Tianhao
    Kerschbaum, Florian
    PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2021 (WWW 2021), 2021, : 993 - 1004