Verification of Recurrent Neural Networks Through Rule Extraction
Not on the map. Why?
Abstract (arXiv)
The verification problem for neural networks is verifying whether a neural network will suffer from adversarial samples, or approximating the maximal allowed scale of adversarial perturbation that can be endured. While most prior work contributes to verifying feed-forward networks, little has been explored for verifying recurrent networks. This is due to the existence of a more rigorous constraint on the perturbation space for sequential data, and the lack of a proper metric for measuring the perturbation. In this work, we address these challenges by proposing a metric which measures the distance between strings, and use deterministic finite automata (DFA) to represent a rigorous oracle which examines if the generated adversarial samples violate certain constraints on a perturbation. More specifically, we empirically show that certain recurrent networks allow relatively stable DFA extraction. As such, DFAs extracted from these recurrent networks can serve as a surrogate oracle for when the ground truth DFA is unknown. We apply our verification mechanism to several widely used recurrent networks on a set of the Tomita grammars. The results demonstrate that only a few models remain robust against adversarial samples. In addition, we show that for grammars with different levels of complexity, there is also a difference in the difficulty of robust learning of these grammars.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 14 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 2.
4 papers.
- 2022Extracting Weighted Finite Automata from Recurrent Neural Networks for Natural Languagescited by 10
- 2023Weighted Automata Extraction and Explanation of Recurrent Neural Networks for Natural Language Taskscited by 7
- 2024Confidence Preservation Property in Knowledge Distillation Abstractionscited by 1
- 2024Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languagescited by 0
- 2024Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languages4 Oct 2024
- 2024Confidence Preservation Property in Knowledge Distillation Abstractions21 Jan 2024
- 2023Weighted Automata Extraction and Explanation of Recurrent Neural Networks for Natural Language Tasks24 Jun 2023
- 2022Extracting Weighted Finite Automata from Recurrent Neural Networks for Natural Languages27 Jun 2022