StateTree: A Tree-Based Modeling Approach for Fault Detection in Recurrent Neural Networks
Xinyu Gao, Shuoxiao Zhang, Minghui Wei, Xiao Zhang, An Guo, Enyi Tang
Key points
From the paper's conclusion- Experiments show that StateTree accurately abstracts RNN decisions, detects hundreds of faults, and retraining with its identified test cases improves robustness beyond existing RNN coverage methods, demonstrating its effectiveness in both fault detection and model performance enhancement.
Abstract
Recurrent Neural Networks (RNNs) have become a core component of modern intelligent software due to their strong ability to model temporal dependencies. As RNNs are increasingly deployed in safety-critical domains, ensuring their reliability is crucial. However, most existing testing techniques are designed for feedforward networks and struggle with RNNs. The stateful nature, recurrent feedback, and long-term dependencies of RNNs make it difficult for existing testing methods to capture decision logic and temporal behaviors, which in turn makes detecting fault-inducing behaviors that emerge through temporal decision evolution challenging. To address these challenges, we propose StateTree, a tree-based abstract modeling approach for systematic testing of RNN-based systems. StateTree constructs an Abstract State Tree (AST) that captures major RNN decision behaviors, where each root-to-leaf path represents an abstract decision for intuitive interpretation and structured exploration. Using the AST, StateTree guides the testing process toward both major and previously unseen paths to reveal erroneous behaviors. Experiments show that StateTree accurately abstracts RNN decisions, detects hundreds of faults, and retraining with its identified test cases improves robustness beyond existing RNN coverage methods, demonstrating its effectiveness in both fault detection and model performance enhancement.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Yggdrasil: Tree-Routed Recurrent Experts for State Tracking and Fast CPU InferencearXiv · 2026
- Learning faults in time: sequential behavioural modelling for complex fault detection in multi-robot systems.Frontiers in robotics and AI · 2026
- NeuralRNN: a unified framework for recurrent neural network methods in cognitive neurosciencebioRxiv · 2026
- Stateful Testing for Deep Learning CompilersarXiv · 2026
- Halting in Recurrent Sequence ModelsarXiv · 2026
- Towards critical branching mechanism in recurrent neural networks.Physical review. E · 2026