English

Tighter Truncated Rectangular Prism Approximation for RNN Robustness Verification

Machine Learning 2025-11-18 v1

Abstract

Robustness verification is a promising technique for rigorously proving Recurrent Neural Networks (RNNs) robustly. A key challenge is to over-approximate the nonlinear activation functions with linear constraints, which can transform the verification problem into an efficiently solvable linear programming problem. Existing methods over-approximate the nonlinear parts with linear bounding planes individually, which may cause significant over-estimation and lead to lower verification accuracy. In this paper, in order to tightly enclose the three-dimensional nonlinear surface generated by the Hadamard product, we propose a novel truncated rectangular prism formed by two linear relaxation planes and a refinement-driven method to minimize both its volume and surface area for tighter over-approximation. Based on this approximation, we implement a prototype DeepPrism for RNN robustness verification. The experimental results demonstrate that \emph{DeepPrism} has significant improvement compared with the state-of-the-art approaches in various tasks of image classification, speech recognition and sentiment analysis.

Keywords

Cite

@article{arxiv.2511.11699,
  title  = {Tighter Truncated Rectangular Prism Approximation for RNN Robustness Verification},
  author = {Xingqi Lin and Liangyu Chen and Min Wu and Min Zhang and Zhenbing Zeng},
  journal= {arXiv preprint arXiv:2511.11699},
  year   = {2025}
}
R2 v1 2026-07-01T07:38:09.335Z