Skip to main content
QUICK REVIEW

[Paper Review] Lagrangian Decomposition for Neural Network Verification

Rudy Bunel, Alessandro De Palma|arXiv (Cornell University)|Feb 24, 2020
Adversarial Robustness in Machine LearningComputer Science27 references8 citations
TL;DR

This paper proposes a novel Lagrangian decomposition approach for neural network verification that yields tighter bounds than prior dual methods by exploiting problem structure. The method uses supergradient and proximal algorithms inspired by neural network operations, enabling GPU-parallelization and anytime stopping, resulting in faster convergence and superior bounds compared to off-the-shelf solvers and prior dual algorithms under the same time constraints.

ABSTRACT

A fundamental component of neural network verification is the computation of bounds on the values their outputs can take. Previous methods have either used off-the-shelf solvers, discarding the problem structure, or relaxed the problem even further, making the bounds unnecessarily loose. We propose a novel approach based on Lagrangian Decomposition. Our formulation admits an efficient supergradient ascent algorithm, as well as an improved proximal algorithm. Both the algorithms offer three advantages: (i) they yield bounds that are provably at least as tight as previous dual algorithms relying on Lagrangian relaxations; (ii) they are based on operations analogous to forward/backward pass of neural networks layers and are therefore easily parallelizable, amenable to GPU implementation and able to take advantage of the convolutional structure of problems; and (iii) they allow for anytime stopping while still providing valid bounds. Empirically, we show that we obtain bounds comparable with off-the-shelf solvers in a fraction of their running time, and obtain tighter bounds in the same time as previous dual algorithms. This results in an overall speed-up when employing the bounds for formal verification. Code for our algorithms is available at https://github.com/oval-group/decomposition-plnn-bounds.

Motivation & Objective

  • To develop a tighter, more scalable dual relaxation for neural network verification that preserves structural properties of the network.
  • To design optimization algorithms that mirror forward/backward passes for efficient GPU implementation and parallelization.
  • To enable anytime bounds by allowing early termination without sacrificing validity.
  • To improve upon existing Lagrangian relaxation methods by deriving a stronger dual through decomposition.
  • To provide a practical verification framework that balances speed and tightness for both incomplete and complete verification.

Proposed method

  • The method formulates neural network verification as a mixed-integer program and applies Lagrangian decomposition to split the problem into subproblems per neuron, exploiting layer-wise structure.
  • It introduces a supergradient ascent algorithm that updates dual variables using gradients computed via backpropagation-like operations, enabling efficient parallelization.
  • A proximal algorithm is developed that solves each subproblem as a strongly convex optimization task with analytically derived optimal step sizes.
  • The decomposition allows the dual problem to be solved layer-by-layer, mimicking forward and backward passes, and supports convolutional structure exploitation.
  • Both algorithms are designed to be anytime: valid bounds are produced at any iteration, enabling trade-offs between runtime and tightness.
  • The approach is implemented on GPU, allowing hundreds of bounds to be computed in parallel, significantly accelerating verification pipelines.

Experimental results

Research questions

  • RQ1Can Lagrangian decomposition yield tighter dual bounds than existing relaxation-based verification methods?
  • RQ2Can the dual optimization be structured to mirror neural network inference and backpropagation for efficient GPU computation?
  • RQ3Can the proposed algorithms provide valid bounds at any iteration, enabling flexible trade-offs between speed and accuracy?
  • RQ4Does the decomposition-based dual outperform off-the-shelf solvers in both bound quality and runtime?
  • RQ5Can the method scale effectively to large networks and multiple verification properties simultaneously?

Key findings

  • The proposed Lagrangian decomposition dual produces bounds that are provably at least as tight as those from Dvijotham et al. (2018), with empirical results showing tighter bounds in the same time.
  • The supergradient and proximal algorithms achieve comparable or better bounds than off-the-shelf solvers (e.g., Gurobi) in a fraction of the time.
  • On the base model, the proximal method reduced average solving time to 73.6 seconds (vs. 545.7 seconds for Gurobi) while solving 1377.7 subproblems on average.
  • For hard verification problems, the proximal method achieved a 21.83% timeout rate, compared to 41.31% for Gurobi, indicating superior scalability.
  • The method enabled solving hundreds of linear programs in parallel on a single GPU, achieving a level of parallelism unattainable on CPU-based systems.
  • In incomplete verification, the proximal method outperformed DSG+ and other baselines, especially on normally trained networks, with tighter bounds even after 1040 iterations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.