DeepCNP: An efficient white-box testing of deep neural networks by aligning critical neuron paths

被引:0
|
作者
Liu, Weiguang [1 ]
Luo, Senlin [1 ]
Pan, Limin [1 ]
Zhang, Zhao [1 ]
机构
[1] Beijing Inst Technol, Informat Syst & Secur & Countermeasures Expt Ctr, Beijing 100081, Peoples R China
关键词
Deep neural networks; Deep learning testing; Critical neuron paths; Test cases;
D O I
10.1016/j.infsof.2024.107640
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Erroneous decisions of Deep Neural Networks may pose a significant threat to Deep Learning systems deployed in security-critical domains. The key to testing DNNs is to propose a testing technique to generate test cases that can detect more defects of the models. It has been demonstrated that coverage-guided fuzz testing methods are difficult to detect the correctness defects of model's decision logic. Meanwhile, the neuron activation threshold is set based on experience, which increases the uncertainty of the test even more. In addition, the randomly selected seed mutations are prone to generate a large number of invalid test cases, which has a great impact on the testing efficiency. Objective: This paper introduces DeepCNP, a method that combines Critical Neuron Paths alignment and dynamic seeds selection strategy, which can comprehensively and efficiently test all the decision paths of DNN and generate as many different classes of test cases as possible to expose misbehaviors of the model and thus finding defects. Method: DeepCNP utilizes training data to construct decision paths determined by the neuron output distribution, and aligns different decision paths in order to generate test cases. Seeds that are easy to align are dynamically selected based on the decision paths to be tested, and the labeling of seed mutations is specified during the path alignment process, thus improving the efficiency of fuzz testing. Results: Experimental results show that DeepCNP achieves new state-of-the-art results, pioneering the testing of all decision logics of the model through critical neuron path alignment, which greatly enhances the number of defects found, the efficiency and number of generated test cases. Conclusion: DeepCNP comprehensively tests the decision logic of DNNs, efficiently generating a large number of test cases of different categories to expose model's misbehaviors and thus finding additional defects.
引用
收藏
页数:13
相关论文
共 5 条
  • [1] Test4Deep: an Effective White-box Testing for Deep Neural Networks
    Yu, Jing
    Fu, Yao
    Zheng, Yanan
    Zheng, Wang
    Ye, Xiaojun
    2019 22ND IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (IEEE CSE 2019) AND 17TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (IEEE EUC 2019), 2019, : 16 - 23
  • [2] Mutation-Based White Box Testing of Deep Neural Networks
    Cetiner, Gokhan
    Yayan, Ugur
    Yazici, Ahmet
    IEEE ACCESS, 2024, 12 : 160156 - 160174
  • [3] Practical Black-Box Attacks on Deep Neural Networks Using Efficient Query Mechanisms
    Bhagoji, Arjun Nitin
    He, Warren
    Li, Bo
    Song, Dawn
    COMPUTER VISION - ECCV 2018, PT XII, 2018, 11216 : 158 - 174
  • [4] Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimation
    Hu, Qiang
    Guo, Yuejun
    Xie, Xiaofei
    Cordy, Maxime
    Papadakis, Mike
    Ma, Lei
    Le Traon, Yves
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 1776 - 1787
  • [5] DLRegion: Coverage-guided fuzz testing of deep neural networks with region-based neuron selection strategies
    Tao, Chuanqi
    Tao, Yali
    Guo, Hongjing
    Huang, Zhiqiu
    Sun, Xiaobing
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 162