Local Nonlinear Substitution for Bounding Activation Functions
Zhongkui Ma, Mengdie Huang, Zihan Wang, Elisa Bertino, Guangdong Bai
ICSE'27AcceptedCCF-A, CORE-A*
Carries quadratic symbolic bounds through one local back-substitution step, then returns to linear form before nonlinear terms proliferate, preserving cancellation that purely linear activation bounds can lose.
Abstract
the 49th IEEE/ACM International Conference on Software Engineering (ICSE) · Dublin, Ireland
As neural networks become common components of AI-based systems, bound propagation is a fundamental technique for neural network verification, crucial in determining the output range of each neuron given an input range. A key challenge in this process lies in handling nonlinear activation functions. Existing methods typically address this by relaxing them into linear symbolic bounds. This transformation facilitates constraint solving, but often results in a loose approximation that diminishes verification accuracy. In this work, we propose a novel bound propagation method utilizing nonlinear symbolic bounds in back-substitution, called nonlinear substitution, for over-approximating activation functions. Our key insight is that nonlinear symbolic bounds provide a tighter over-approximation than linear ones, by capturing more variations in activation functions. To manage the trade-off between tightness and computational cost, our method strategically applies nonlinear symbolic bounds in a localized manner and relaxes them back to linear ones to avoid the explosion of nonlinear terms. We instantiate our approach using quadratic polynomials, called Tightening Sum (TiSum), and evaluate it on local robustness verification across various network architectures and VNN-COMP benchmarks. Compared to linear bound-propagation baselines, TiSum verifies up to 45 more samples out of 100, with competitive runtime in most tested settings, about 1%–20% of PRIMA's or α-CROWN's runtime on nonlinear-activation models. It often produces tighter output bounds under increasing perturbation radii, demonstrating improved bound stability in the tested regimes. This brings tighter bounds to the branch-and-bound (BaB) framework. On VNN-COMP benchmarks, quadratic bounds branch less for the same solved count, and solve more on harder instances at comparable cost.