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
相关论文
共 39 条
  • [31] 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
  • [32] From black box to clear box: A hypothesis testing framework for scalar regression problems using deep artificial neural networks
    Messner, Wolfgang
    APPLIED SOFT COMPUTING, 2023, 146
  • [33] Efficient Low Cost Alternative Testing of Analog Crossbar Arrays for Deep Neural Networks
    Ma, Kwondo
    Saha, Anurup
    Amarnath, Chandramouli
    Chatterjee, Abhijit
    2022 IEEE INTERNATIONAL TEST CONFERENCE (ITC), 2022, : 499 - 503
  • [34] Detecting flooding state in extraction columns: Convolutional neural networks vs. a white-box approach for image-based soft sensor development
    Bayomie, Omar S.
    de Cerqueira, Rafael F. L.
    Neuendorf, Laura
    Kornijez, Iwan
    Kieling, Samuel
    Sandermann, Tim H.
    Lammers, Keno
    Kockmann, Norbert
    COMPUTERS & CHEMICAL ENGINEERING, 2022, 164
  • [35] 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
  • [36] 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
  • [37] Representation of white- and black-box adversarial examples in deep neural networks and humans: A functional magnetic resonance imaging study
    Han, Chihye
    Yoon, Wonjun
    Kwon, Gihyun
    Kim, Daeshik
    Nam, Seungkyu
    2019 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2019,
  • [39] An Evolutionary, Gradient-Free, Query-Efficient, Black-Box Algorithm for Generating Adversarial Instances in Deep Convolutional Neural Networks
    Lapid, Raz
    Haramaty, Zvika
    Sipper, Moshe
    ALGORITHMS, 2022, 15 (11)