Table of Contents
Fetching ...

Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verification

Shiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin, Suman Jana, Cho-Jui Hsieh, J. Zico Kolter

TL;DR

The paper tackles robust neural network verification by enabling complete BaB with efficient, GPU-friendly bound propagation. It introduces β-CROWN, which encodes neuron split constraints per neuron via optimizable β parameters, deriving bounds from both primal and dual perspectives and jointly optimizing intermediate-layer bounds. This yields substantially tighter relaxations than fixed LP relaxations and matches LP quality while maintaining the parallelism of bound propagation on GPUs; in complete verification, β-CROWN BaB achieves up to three orders of magnitude speedups over LP-based BaB, and in incomplete verification, it delivers higher verified accuracy with much lower runtimes compared to SDP and other strong verifiers. The approach also supports early stopping for efficient incomplete verification and secures strong performance on VNN-COMP 2021 benchmarks, backed by public code. Overall, β-CROWN offers a scalable, high-accuracy, GPU-accelerated path for both complete and incomplete robustness verification of neural networks.

Abstract

Bound propagation based incomplete neural network verifiers such as CROWN are very efficient and can significantly accelerate branch-and-bound (BaB) based complete verification of neural networks. However, bound propagation cannot fully handle the neuron split constraints introduced by BaB commonly handled by expensive linear programming (LP) solvers, leading to loose bounds and hurting verification efficiency. In this work, we develop $β$-CROWN, a new bound propagation based method that can fully encode neuron splits via optimizable parameters $β$ constructed from either primal or dual space. When jointly optimized in intermediate layers, $β$-CROWN generally produces better bounds than typical LP verifiers with neuron split constraints, while being as efficient and parallelizable as CROWN on GPUs. Applied to complete robustness verification benchmarks, $β$-CROWN with BaB is up to three orders of magnitude faster than LP-based BaB methods, and is notably faster than all existing approaches while producing lower timeout rates. By terminating BaB early, our method can also be used for efficient incomplete verification. We consistently achieve higher verified accuracy in many settings compared to powerful incomplete verifiers, including those based on convex barrier breaking techniques. Compared to the typically tightest but very costly semidefinite programming (SDP) based incomplete verifiers, we obtain higher verified accuracy with three orders of magnitudes less verification time. Our algorithm empowered the $α,\!β$-CROWN (alpha-beta-CROWN) verifier, the winning tool in VNN-COMP 2021. Our code is available at http://PaperCode.cc/BetaCROWN

Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verification

TL;DR

The paper tackles robust neural network verification by enabling complete BaB with efficient, GPU-friendly bound propagation. It introduces β-CROWN, which encodes neuron split constraints per neuron via optimizable β parameters, deriving bounds from both primal and dual perspectives and jointly optimizing intermediate-layer bounds. This yields substantially tighter relaxations than fixed LP relaxations and matches LP quality while maintaining the parallelism of bound propagation on GPUs; in complete verification, β-CROWN BaB achieves up to three orders of magnitude speedups over LP-based BaB, and in incomplete verification, it delivers higher verified accuracy with much lower runtimes compared to SDP and other strong verifiers. The approach also supports early stopping for efficient incomplete verification and secures strong performance on VNN-COMP 2021 benchmarks, backed by public code. Overall, β-CROWN offers a scalable, high-accuracy, GPU-accelerated path for both complete and incomplete robustness verification of neural networks.

Abstract

Bound propagation based incomplete neural network verifiers such as CROWN are very efficient and can significantly accelerate branch-and-bound (BaB) based complete verification of neural networks. However, bound propagation cannot fully handle the neuron split constraints introduced by BaB commonly handled by expensive linear programming (LP) solvers, leading to loose bounds and hurting verification efficiency. In this work, we develop -CROWN, a new bound propagation based method that can fully encode neuron splits via optimizable parameters constructed from either primal or dual space. When jointly optimized in intermediate layers, -CROWN generally produces better bounds than typical LP verifiers with neuron split constraints, while being as efficient and parallelizable as CROWN on GPUs. Applied to complete robustness verification benchmarks, -CROWN with BaB is up to three orders of magnitude faster than LP-based BaB methods, and is notably faster than all existing approaches while producing lower timeout rates. By terminating BaB early, our method can also be used for efficient incomplete verification. We consistently achieve higher verified accuracy in many settings compared to powerful incomplete verifiers, including those based on convex barrier breaking techniques. Compared to the typically tightest but very costly semidefinite programming (SDP) based incomplete verifiers, we obtain higher verified accuracy with three orders of magnitudes less verification time. Our algorithm empowered the -CROWN (alpha-beta-CROWN) verifier, the winning tool in VNN-COMP 2021. Our code is available at http://PaperCode.cc/BetaCROWN

Paper Structure

This paper contains 37 sections, 7 theorems, 63 equations, 4 figures, 7 tables, 1 algorithm.

Key Result

Lemma 2.1

Given $w, v \in \mathbb{R}^d, \IfNoValueTF {-NoValue-} {\mathbf{l}} { \IfNoValueTF {-NoValue-} {\mathbf{l}^{(-NoValue-)}}{\mathbf{l}^{(-NoValue-)}_{-NoValue-}} } \leq v \leq \IfNoValueTF {-NoValue-} {\mathbf{u}} { \IfNoValueTF {-NoValue-} {\mathbf{u}^{(-NoValue-)}}{\mathbf{u}^{(-NoVa where $\IfNoValueTF {-NoValue-} {\mathbf{D}} { \IfNoValueTF {-NoValue-} {\mathbf{D}^{(-NoValue-)}}{

Figures (4)

  • Figure 1: Percentage of solved properties with growing running time. $\beta$-CROWN FSB (light green) and $\beta$-CROWN BaBSR (dark green) clearly lead in all 3 settings and solve over 90% properties within 10 seconds.
  • Figure 2: Verified lower bound v.s. PGD adversarial upper bound. A lower bound closer to the upper bound (closer to the line $y=x$) is better. $\beta$-CROWN FSB uses 3mins while SDP-FO needs 2 to 3 hours per point.
  • Figure A1: Verified lower bound on $\IfNoValueTF {-NoValue-} {f} { \IfNoValueTF {-NoValue-} {f^{(-NoValue-)}}{f^{(-NoValue-)}_{-NoValue-}} } (x)$ by $\beta$-CROWN FSB compared against incomplete LP verifiers using different intermediate layer bounds obtained from wong2018provable (denoted as LP (WK)), CROWN zhang2018efficient (denoted as LP (CROWN)), and jointly optimized intermediate bounds in Eq. \ref{['eq:opt_non_convex']} (denoted as LP (CROWN-OPT)), v.s. the adversarial upper bound on $\IfNoValueTF {-NoValue-} {f} { \IfNoValueTF {-NoValue-} {f^{(-NoValue-)}}{f^{(-NoValue-)}_{-NoValue-}} } (x)$ found by PGD. LPs need much longer time to solve than $\beta$-CROWN on CIFAR-10 models (see Table \ref{['tab:verified_acc_sdp_aset']}).
  • Figure A2: For the CNN-A-Adv (MNIST) model, we randomly select four examples from the incomplete verification experiment and plot the lower bound v.s. time (in 180 seconds) of $\beta$-CROWN BaBSR and BigM+A.set BaBSR. Larger lower bounds are better. $\beta$-CROWN BaBSR improves bound noticeably faster in all four situations.

Theorems & Definitions (14)

  • Lemma 2.1: ReLU relaxation in CROWN
  • Lemma 2.2: CROWN bound zhang2018efficient
  • Theorem 3.1: $\beta$-CROWN bound
  • Theorem 3.2
  • Corollary 3.2.1
  • Theorem 3.3
  • proof
  • Definition A.1
  • proof
  • Lemma A.2
  • ...and 4 more