Skip to content

Coverage-Guided Testing for Recurrent Neural NetworksCoverage Guided Testing for Recurrent Neural Networks

arXiv· arXiv:1911.01952· IEEE Transactions on Reliability 2021· Wei Huang, Youcheng Sun, Xingyu Zhao, James Sharp, Wenjie Ruan, Jie Meng, Xiaowei Huang·Indexed by this site · 27 days ago· Originally publishedTools
AI summary

The researchers propose a coverage-guided testing method for recurrent neural networks and implement it as a tool, TestRNN, for systematically probing the model's internal behavior with the aim of detecting defects with high probability. Targeting the known input perturbation fragility of RNNs, the method studies LSTM in depth, designs three test metrics to quantify the values and two types of temporal relations—stepwise and bounded-length—when the model processes inputs, and uses a genetic algorithm to efficiently generate test cases. Experiments on multiple LSTM benchmarks show that TestRNN outperforms the existing tool DeepStellar and attack-based defect detection methods, which the paper attributes to finer temporal semantics and consideration of the naturalness of input perturbations. The authors claim that TestRNN can also collect and present meaningful information to help users understand test results, and is a step toward interpretable neural network testing.

Read originalIEEE Transactions on Reliability 2021