TL;DR
E-Globe introduces a scalable, bidirectional neural network verification framework that simultaneously tightens upper and lower bounds using a branch-and-bound approach. By exactly encoding ReLU activations as nonlinear complementarity constraints, it achieves exceptionally tight upper bounds and provides up to a 2-to-3 orders of magnitude speedup over traditional mixed-integer programming (MIP) verifiers on complex problems.
What Problem Does This Paper Address?
Formal verification of neural networks (VNN) is essential for deploying deep learning models in safety-critical applications like autonomous driving or power grids. However, proving that a network will always behave safely under input perturbations is an NP-complete problem.
Current VNN methods suffer from a harsh scalability-completeness trade-off:
- Complete verifiers (like Mixed-Integer Programming, or MIP) guarantee exact answers but scale exponentially, frequently timing out on larger networks.
- Incomplete verifiers use loose linear relaxations to find lower bounds quickly, but they leave an unquantified "optimality gap," often returning an ambiguous "unknown" status.
- Adversarial attacks (like Projected Gradient Descent, or PGD) try to find upper bounds via local heuristic searches, but they often get trapped in local minima and fail to find valid counterexamples.
E-Globe addresses this gap by introducing a hybrid verifier that aggressively squeezes the optimality gap from both sides simultaneously, allowing for rapid pruning of the search space.
Methods
The authors embed three novel components into a standard Branch-and-Bound (BaB) framework:
- NLP-CC Upper Bounding: Instead of approximating or relaxing ReLU activations, E-Globe models them exactly using a Nonlinear Program with Complementarity Constraints (NLP-CC). By enforcing that the pre-activation and post-activation slacks multiply to zero ($p \odot q = 0$), any feasible solution maps perfectly to the actual network, providing a mathematically sound upper bound ($\bar{u}$).
- Warm-starts with Low-Rank KKT Updates: Solving non-linear programs from scratch at every node in a BaB tree is computationally prohibitive. E-Globe accelerates this by reusing the primal and dual solutions from the parent node. Because a branch split only changes the bounds of a few neurons, the underlying KKT matrix undergoes a low-rank correction (rank $\le 4$), allowing the interior-point solver (IPOPT) to converge in just a few Newton steps.
- Pattern-Aligned Strong Branching: E-Globe introduces a branching rule that regularizes standard Filtered Smart Branching (FSB) scores based on how well a split aligns with the activation pattern ($a_{NLP}$) discovered by the NLP solver, prioritizing the most informative splits.
The overall architecture couples $\beta$-CROWN (for global lower bounds) with this warm-started NLP-CC solver to execute an efficient, bidirectional bounding loop.
Datasets
The framework was evaluated using standard image classification benchmarks:
- MNIST (using a fully connected
NoSoftmaxNetarchitecture) - CIFAR-10 (using a fully connected ReLU MLP)
The models were tested under varying perturbation magnitudes ($\delta$) using $l_\infty$ balls.
Key Insights and Ideas
- The Optimization Landscape is Surprisingly Benign: Although the exact NLP-CC formulation is non-convex, empirical results show that "strict complementarity" holds for the vast majority of neurons. The number of "undecided" neurons ($|I_0|$) where numerical ambiguity occurs is extremely small—typically fewer than 5 neurons per case, which is over 25× smaller than the total binary variable count.
- Bidirectional Pruning Prevents Exponential Explosion: Traditional BaB verifiers only push the lower bound up. By actively pushing the upper bound down at the same time, E-Globe can trigger early stopping the moment an upper bound drops below zero (proving the system is Unsafe via a concrete counterexample), saving massive amounts of computation.
- Exploiting Structural Continuity: Because branching only alters a tiny fraction of the network's constraints, the structural properties of the trained network remain highly stable from node to node, making low-rank warm-starting uniquely effective here.
Key Results
- Superior Tightness: On MNIST, E-Globe consistently maintained an absolute optimality gap below 0.05, drastically outperforming loose bound-propagation methods. On CIFAR-10, E-Globe achieved a 100% upper-bounding rate, whereas PGD dropped to 21%–42% and yielded much looser bounds.
- Massive Speedups Over MIP: For complex verification instances where the number of binary variables exceeded 120, standard MIP solvers (like Gurobi) frequently hit the 2500-second timeout. E-Globe solved these same instances in seconds, demonstrating a 2-to-3 orders of magnitude speedup.
- Warm-start Dividends: The low-rank KKT warm-start mechanism yielded a 2–5× speedup compared to solving the NLP subproblems from scratch.
Limitations and Future Work
- Small-Problem Overhead: E-Globe is not a silver bullet for every scenario. For small networks or tiny perturbation radii (where the number of binary variables is under ~120), highly optimized commercial MIP solvers can still be faster due to the mathematical setup overhead of E-Globe's NLP solver.
- Future Directions: The authors note that future work will focus on deeper co-design between advanced local non-linear solvers and convex relaxations to scale this bidirectional approach to massive, deep convolutional and transformer architectures in near-real-time settings.
Summary updated