DiffRNN: Differential Verification of Recurrent Neural Networks
Not on the map. Why?
Abstract (arXiv)
Recurrent neural networks (RNNs) such as Long Short Term Memory (LSTM) networks have become popular in a variety of applications such as image processing, data classification, speech recognition, and as controllers in autonomous systems. In practical settings, there is often a need to deploy such RNNs on resource-constrained platforms such as mobile phones or embedded devices. As the memory footprint and energy consumption of such components become a bottleneck, there is interest in compressing and optimizing such networks using a range of heuristic techniques. However, these techniques do not guarantee the safety of the optimized network, e.g., against adversarial inputs, or equivalence of the optimized and original networks. To address this problem, we propose DIFFRNN, the first differential verification method for RNNs to certify the equivalence of two structurally similar neural networks. Existing work on differential verification for ReLUbased feed-forward neural networks does not apply to RNNs where nonlinear activation functions such as Sigmoid and Tanh cannot be avoided. RNNs also pose unique challenges such as handling sequential inputs, complex feedback structures, and interactions between the gates and states. In DIFFRNN, we overcome these challenges by bounding nonlinear activation functions with linear constraints and then solving constrained optimization problems to compute tight bounding boxes on nonlinear surfaces in a high-dimensional space. The soundness of these bounding boxes is then proved using the dReal SMT solver. We demonstrate the practical efficacy of our technique on a variety of benchmarks and show that DIFFRNN outperforms state-of-the-art RNN verification tools such as POPQORN.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 3; 2024: 1; 2025: 2; 2026: 2.
12 papers.
- 2022QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networkscited by 12
- 2022LinSyn: Synthesizing Tight Linear Bounds for Arbitrary Neural Network Activation Functionscited by 10
- 2024Verification of Neural Networks' Global Robustnesscited by 10
- 2022QEBVerif: Quantization Error Bound Verification of Neural Networkscited by 9
- 2021DeepSplit: Scalable Verification of Deep Neural Networks via Operator Splittingcited by 8
- 2023Certifying the Fairness of KNN in the Presence of Dataset Biascited by 7
- 2023Bridging Dimensions: Confident Reachability for High-Dimensional Controllerscited by 5
- 2025Exact Verification of Graph Neural Networks with Incremental Constraint Solvingcited by 4
- 2023Systematic Testing of the Data-Poisoning Robustness of KNNcited by 1
- 2025Tighter Truncated Rectangular Prism Approximation for RNN Robustness Verificationcited by 0
- 2026Probabilistic Verification of Recurrent Neural Networks for Single and Multi-Agent Reinforcement Learningcited by 0
- 2026Robustness Verification of Recurrent Neural Networks with Abstraction Refinementcited by 0
- 2026Robustness Verification of Recurrent Neural Networks with Abstraction Refinement10 Jun 2026
- 2026Probabilistic Verification of Recurrent Neural Networks for Single and Multi-Agent Reinforcement Learning14 May 2026
- 2025Tighter Truncated Rectangular Prism Approximation for RNN Robustness Verification12 Nov 2025
- 2025Exact Verification of Graph Neural Networks with Incremental Constraint Solving12 Aug 2025
- 2024Verification of Neural Networks' Global Robustness29 Feb 2024
- 2023Bridging Dimensions: Confident Reachability for High-Dimensional Controllers8 Nov 2023
- 2023Certifying the Fairness of KNN in the Presence of Dataset Bias17 Jul 2023
- 2023Systematic Testing of the Data-Poisoning Robustness of KNN17 Jul 2023
- 2022QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks10 Dec 2022
- 2022QEBVerif: Quantization Error Bound Verification of Neural Networks6 Dec 2022
- 2022LinSyn: Synthesizing Tight Linear Bounds for Arbitrary Neural Network Activation Functions31 Jan 2022
- 2021DeepSplit: Scalable Verification of Deep Neural Networks via Operator Splitting16 Jun 2021