Lagrangian Decomposition for Neural Network Verification

Rudy Bunel, Alessandro De Palma, Alban Desmaison, Krishnamurthy Dvijotham, Pushmeet Kohli +2 more
2/24/2020
cs.LGstat.ML

Official code: oval-group/decomposition-plnn-bounds (4 stars, MIT, last commit 2021-01-14).

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.

View on arXivView PDF

Code Implementations(1)

MIT

Dual iterative algorithms for Neural Network output bounds computations

43Shell, PythonJun 10, 20205 years agoMIT

Similar Papers

Cite this paper

@article{bunel2020lagrangian,
  title  = {Lagrangian Decomposition for Neural Network Verification},
  author = {Rudy Bunel and Alessandro De Palma and Alban Desmaison and Krishnamurthy Dvijotham and Pushmeet Kohli and Philip H. S. Torr and M. Pawan Kumar},
  year   = {2020},
  eprint = {2002.10410},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.10410}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.10410.svg)](https://codeofpaper.com/paper/2002.10410)

Discussion