Projects per year
Abstract
Recurrent neural networks (RNNs) have been applied to a broad range of applications including natural language processing, drug discovery, and video recognition. However, their vulnerability to input perturbation is also exposed. Aligning with a view from software defect detection, this paper aims to develop a coverage guided testing approach to systematically exploit the internal behaviour of RNNs, with high possibility of detecting defects. Technically, the long short term memory network (LSTM), a major class of RNN, is thoroughly studied. A family of three test metrics are designed to quantify not only the
values but also the temporal relations (including both step-wise and bounded-length) exhibited when LSTM processing inputs. A genetic algorithm is applied to efficiently generate test cases. Based on these, we develop a tool testRNN, and extensively evaluate testRNN on a set of LSTM benchmarks. Experiments confirm that testRNN has several advantages over the state-of-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 towards interpretable neural network testing.
values but also the temporal relations (including both step-wise and bounded-length) exhibited when LSTM processing inputs. A genetic algorithm is applied to efficiently generate test cases. Based on these, we develop a tool testRNN, and extensively evaluate testRNN on a set of LSTM benchmarks. Experiments confirm that testRNN has several advantages over the state-of-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 towards interpretable neural network testing.
Original language | English |
---|---|
Journal | IEEE Transactions on Reliability |
Early online date | 10 Jun 2021 |
DOIs | |
Publication status | Published - 10 Jun 2021 |
Keywords
- Coverage-guided testing
- Logic gates
- Measurement
- Recurrent neural networks
- Semantics
- Software
- Testing
- Tools
- coverage metrics
- recurrent neural networks (RNNs)
- test case generation
Fingerprint
Dive into the research topics of 'Coverage Guided Testing for Recurrent Neural Networks'. Together they form a unique fingerprint.Projects
- 1 Active
-
EnnCore: End-to-End Conceptual Guarding of Neural Architectures
Cordeiro, L. (PI), Brown, G. (CoI), Freitas, A. (CoI), Luján, M. (CoI) & Mustafa, M. (CoI)
1/02/21 → 31/12/25
Project: Research