Coverage-Guided Testing for Recurrent Neural Networks

Huang, Wei and Sun, Youcheng and Zhao, Xingyu and Sharp, James and Ruan, Wenjie and Meng, Jie and Huang, Xiaowei (2022) Coverage-Guided Testing for Recurrent Neural Networks. IEEE Transactions on Reliability, 71 (3). pp. 1191-1206. ISSN 0018-9529

Full text not available from this repository.

Abstract

Recurrent neural networks (RNNs) have been applied to a broad range of applications, including natural language processing, drug discovery, and video recognition. Their vulnerability to input perturbation is also known. Aligning with a view from software defect detection, this article aims to develop a coverage-guided testing approach to systematically exploit the internal behavior of RNNs, with the expectation that such testing can detect defects with high possibility. Technically, the long short-term memory network (LSTM), a major class of RNNs, is thoroughly studied. A family of three test metrics are designed to quantify not only the values but also the temporal relations (including both stepwise and bounded-length) exhibited when LSTM processing inputs. A genetic algorithm is applied to efficiently generate test cases. The test metrics and test case generation algorithm are implemented into a tool testRNN , which is then evaluated on a set of LSTM benchmarks. Experiments confirm that testRNN has advantages over the state-of-the-art tool DeepStellar and attack-based defect detection methods, owing to its working with finer temporal semantics and the consideration of the naturalness of input perturbation. Furthermore, testRNN enables meaningful information to be collected and exhibited for users to understand the testing results, which is an important step toward interpretable neural network testing.

Item Type:
Journal Article
Journal or Publication Title:
IEEE Transactions on Reliability
Uncontrolled Keywords:
/dk/atira/pure/subjectarea/asjc/2200/2213
Subjects:
?? ELECTRICAL AND ELECTRONIC ENGINEERINGSAFETY, RISK, RELIABILITY AND QUALITYELECTRICAL AND ELECTRONIC ENGINEERINGSAFETY, RISK, RELIABILITY AND QUALITY ??
ID Code:
193910
Deposited By:
Deposited On:
18 May 2023 15:15
Refereed?:
Yes
Published?:
Published
Last Modified:
22 Sep 2023 00:51