ActGraph: Prioritization of Test Cases Based on Deep Neural Network Activation Graph

11/01/2022
by   Jinyin Chen, et al.
0

Widespread applications of deep neural networks (DNNs) benefit from DNN testing to guarantee their quality. In the DNN testing, numerous test cases are fed into the model to explore potential vulnerabilities, but they require expensive manual cost to check the label. Therefore, test case prioritization is proposed to solve the problem of labeling cost, e.g., activation-based and mutation-based prioritization methods. However, most of them suffer from limited scenarios (i.e. high confidence adversarial or false positive cases) and high time complexity. To address these challenges, we propose the concept of the activation graph from the perspective of the spatial relationship of neurons. We observe that the activation graph of cases that triggers the models' misbehavior significantly differs from that of normal cases. Motivated by it, we design a test case prioritization method based on the activation graph, ActGraph, by extracting the high-order node features of the activation graph for prioritization. ActGraph explains the difference between the test cases to solve the problem of scenario limitation. Without mutation operations, ActGraph is easy to implement, leading to lower time complexity. Extensive experiments on three datasets and four models demonstrate that ActGraph has the following key characteristics. (i) Effectiveness and generalizability: ActGraph shows competitive performance in all of the natural, adversarial and mixed scenarios, especially in RAUC-100 improvement ( 1.40). (ii) Efficiency: ActGraph does not use complex mutation operations and runs in less time ( 1/50) than the state-of-the-art method.

READ FULL TEXT

page 3

page 16

page 17

research
01/20/2022

DeepGalaxy: Testing Neural Network Verifiers via Two-Dimensional Input Space Exploration

Deep neural networks (DNNs) are widely developed and applied in many are...
research
08/22/2023

LEAP: Efficient and Automated Test Method for NLP Software

The widespread adoption of DNNs in NLP software has highlighted the need...
research
07/20/2023

Neuron Sensitivity Guided Test Case Selection for Deep Learning Testing

Deep Neural Networks (DNNs) have been widely deployed in software to add...
research
07/21/2023

Feature Map Testing for Deep Neural Networks

Due to the widespread application of deep neural networks (DNNs) in safe...
research
07/09/2021

GGT: Graph-Guided Testing for Adversarial Sample Detection of Deep Neural Network

Deep Neural Networks (DNN) are known to be vulnerable to adversarial sam...
research
11/23/2019

On Functional Test Generation for Deep Neural Network IPs

Machine learning systems based on deep neural networks (DNNs) produce st...
research
08/02/2023

TEASMA: A Practical Approach for the Test Assessment of Deep Neural Networks using Mutation Analysis

Successful deployment of Deep Neural Networks (DNNs), particularly in sa...

Please sign up or login with your details

Forgot password? Click here to reset