[Paper Review] Provably Bounding Neural Network Preimages
This paper introduces INVPROP, a GPU-accelerated, bound-propagation-based algorithm for provably over-approximating the preimage of a neural network—i.e., identifying all inputs that produce outputs within a given linearly constrained set. Unlike prior methods, it avoids linear programming solvers and leverages output constraints to tighten intermediate activation bounds, achieving up to 2500× tighter bounds and 2.5× faster verification than state-of-the-art on control and robustness benchmarks.
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.
Motivation & Objective
- To address the inverse verification problem: over-approximating the set of inputs that lead to a specified set of outputs under linear constraints.
- To develop a method that tightens intermediate activation bounds using output constraints without relying on linear programming solvers.
- To integrate with existing verification frameworks like α,β-CROWN to enhance precision in robustness and safety verification.
- To enable backward reachability analysis for neural-controlled dynamical systems by identifying safe and unsafe input regions.
- To strengthen certified out-of-distribution (OOD) detection by identifying input regions that lead to high-confidence predictions.
Proposed method
- INVPROP generalizes bound propagation to the inverse direction, propagating output constraints backward through the network to tighten intermediate layer bounds.
- It computes bounds on any intermediate layer using a novel backward propagation scheme that incorporates output constraints.
- The method avoids linear programming by using differentiable, differentiable relaxation techniques to propagate constraints efficiently.
- It unifies forward and inverse bound propagation, enabling integration with state-of-the-art tools like α,β-CROWN.
- The algorithm supports iterative refinement of bounds across all layers, leveraging global network structure for tighter over-approximations.
- It is GPU-accelerated and designed for scalability in high-dimensional input spaces.
Experimental results
Research questions
- RQ1Can we efficiently over-approximate the preimage of a neural network output set without relying on linear programming?
- RQ2How can output constraints be used to tighten intermediate activation bounds in a backward propagation framework?
- RQ3To what extent can INVPROP improve the precision and speed of formal verification in safety-critical control systems?
- RQ4Can INVPROP enhance certified robustness verification by incorporating output constraints?
- RQ5Can INVPROP be used to identify input regions that lead to confident predictions, enabling certified OOD detection?
Key findings
- INVPROP achieves over 2500× tighter bounds than prior work on the Double Integrator control benchmark while being 2.5× faster.
- On a 6D Quadrotor system, INVPROP produces bounds that are 257× tighter and 3.29× faster than previous methods.
- The algorithm enables stronger robustness verification by incorporating output constraints, verifying more properties than the previous state of the art.
- INVPROP improves certified OOD detection by identifying input regions that lead to high-confidence predictions.
- The method has been integrated into the α,β-CROWN verifier, demonstrating practical scalability on large models with up to 167k neurons in VNN-COMP 2023.
- INVPROP’s GPU acceleration and lack of LP dependency make it significantly more efficient than LP-based alternatives, especially in iterative refinement settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.