Provably Bounding Neural Network Preimages
Suhas Kotha, Christopher Brix, Zico Kolter, Krishnamurthy Dvijotham, Huan Zhang
TL;DR
This work tackles inverse verification for neural networks by introducing INVPROP, a GPU-accelerated, LP-free bound-propagation method that over-approximates the preimage of a linearly constrained output set $f^{-1}(\mathcal{S}_{\text{out}})$. By unifying INVPROP with traditional bound propagation and applying a dual-relaxation chain (MILP -> LP -> dual), the authors derive tight, reusable lower bounds on intermediate activations under output constraints, enabling iterative tightening and branching. The approach yields dramatic improvements across benchmarks: up to $\sim$2500x tighter and $\sim$2.5x faster in control tasks, and up to $257\times$ tighter and $3.29\times$ faster for high-dimensional quadrotor models, while strengthening robustness verification and enabling OOD detection. The method is integrated into $α,\!β$-CROWN and demonstrates strong practical impact on safety-critical scenarios, including large models like YOLO in VNN-COMP '23, and supports more reliable OOD calibration and backward reachability analyses.
Abstract
Most work on the formal verification of neural networks has focused on bounding the set of outputs that correspond to a given set of inputs (for example, bounded perturbations of a nominal input). However, many use cases of neural network verification require solving the inverse problem, or over-approximating the set of inputs that lead to certain outputs. We present the INVPROP algorithm for verifying properties over the preimage of a linearly constrained output set, which can be combined with branch-and-bound to increase precision. Contrary to other approaches, our efficient algorithm is GPU-accelerated and does not require a linear programming solver. We demonstrate our algorithm for identifying safe control regions for a dynamical system via backward reachability analysis, verifying adversarial robustness, and detecting out-of-distribution inputs to a neural network. Our results show that in certain settings, we find over-approximations over 2500x tighter than prior work while being 2.5x faster. By strengthening robustness verification with output constraints, we consistently verify more properties than the previous state-of-the-art on multiple benchmarks, including a large model with 167k neurons in VNN-COMP 2023. Our algorithm has been incorporated into the $α,\!β$-CROWN verifier, available at https://abcrown.org.
