[Paper Review] General Cutting Planes for Bound-Propagation-Based Neural Network Verification
The paper generalizes bound propagation to include arbitrary cutting plane constraints (including relaxed integer variables) and combines GPU-accelerated bound propagation (GCP-CROWN) with an off-the-shelf MIP solver to generate high-quality cuts, achieving state-of-the-art verification performance on challenging benchmarks.
Bound propagation methods, when combined with branch and bound, are among the most effective methods to formally verify properties of deep neural networks such as correctness, robustness, and safety. However, existing works cannot handle the general form of cutting plane constraints widely accepted in traditional solvers, which are crucial for strengthening verifiers with tightened convex relaxations. In this paper, we generalize the bound propagation procedure to allow the addition of arbitrary cutting plane constraints, including those involving relaxed integer variables that do not appear in existing bound propagation formulations. Our generalized bound propagation method, GCP-CROWN, opens up the opportunity to apply general cutting plane methods for neural network verification while benefiting from the efficiency and GPU acceleration of bound propagation methods. As a case study, we investigate the use of cutting planes generated by off-the-shelf mixed integer programming (MIP) solver. We find that MIP solvers can generate high-quality cutting planes for strengthening bound-propagation-based verifiers using our new formulation. Since the branching-focused bound propagation procedure and the cutting-plane-focused MIP solver can run in parallel utilizing different types of hardware (GPUs and CPUs), their combination can quickly explore a large number of branches with strong cutting planes, leading to strong verification performance. Experiments demonstrate that our method is the first verifier that can completely solve the oval20 benchmark and verify twice as many instances on the oval21 benchmark compared to the best tool in VNN-COMP 2021, and also noticeably outperforms state-of-the-art verifiers on a wide range of benchmarks. GCP-CROWN is part of the $α,\!β$-CROWN verifier, the VNN-COMP 2022 winner. Code is available at http://PaperCode.cc/GCP-CROWN
Motivation & Objective
- Motivate combining efficient bound propagation with general cutting planes to strengthen neural network verifiers.
- Generalize bound propagation to handle cutting planes involving any layer variables and relaxed integer variables.
- Leverage an off-the-shelf MIP solver to generate cuts and run in parallel with GPU-bound propagation for efficiency.
- Demonstrate strong empirical performance on oval20 and oval21 benchmarks and SDP-FO models.
Proposed method
- Generalize bound propagation to include arbitrary cutting plane constraints across any layer, involving x^(i), hat{x}^(i), and z^(i).
- Formulate LP relaxation with cutting planes and derive the dual problem to obtain layer-wise bound propagation rules (Theorem 3.1).
- Introduce g(alpha, beta) as a tightened lower-bound objective and optimize alpha, beta via gradient ascent to tighten bounds.
- Combine GPU-accelerated bound propagation (GCP-CROWN) with an off-the-shelf MIP solver that generates cutting planes without branching (CPU) and feed cuts to the bound-propagation verifier in a parallel, asynchronous setup.
- Integrate GCP-CROWN into the alpha,beta-CROWN framework and adjust BnB strategy to exploit early cuts and varying subdomain difficulty.
Experimental results
Research questions
- RQ1Can general cutting planes be incorporated into bound-propagation-based NN verifiers without relying on slow LP solvers?
- RQ2How can cutting planes involving variables from multiple layers (including relaxed integer variables) improve verification bounds?
- RQ3What is the impact of combining GPU-accelerated bound propagation with CPU-based MIP-generated cuts on verification performance?
- RQ4How does GCP-CROWN+MIP perform on hard benchmarks (oval20, oval21, SDP-FO) compared to state-of-the-art verifiers?
- RQ5Does integrating general cuts into a BaB framework yield complete verification on challenging networks?
Key findings
- GCP-CROWN completely solves all oval20 instances with average time under 5 seconds per instance.
- On oval21, GCP-CROWN verifies roughly twice as many instances as the competition winner in VNN-COMP 2021.
- GCP-CROWN with MIP cuts outperforms state-of-the-art bound-propagation verifiers on a wide range of benchmarks.
- Using general cutting planes, including those across multiple layers and relaxed integer variables, significantly strengthens convex relaxations and reduces branching.
- The CPU-MIP solver and GPU-bound propagation run in parallel, enabling efficient exploration of many branches with strong cuts.
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.