Skip to main content
QUICK REVIEW

[Paper Review] Branch and Bound for Piecewise Linear Neural Network Verification

Rudy Bunel, Jingyue Lu|arXiv (Cornell University)|Sep 14, 2019
Adversarial Robustness in Machine LearningComputer Science27 references41 citations
TL;DR

The paper introduces a Branch-and-Bound framework for verifying piecewise-linear neural networks, unifying prior methods and offering new branching and bounding strategies, especially for convolutional architectures.

ABSTRACT

The success of Deep Learning and its potential use in many safety-critical applications has motivated research on formal verification of Neural Network (NN) models. In this context, verification involves proving or disproving that an NN model satisfies certain input-output properties. Despite the reputation of learned NN models as black boxes, and the theoretical hardness of proving useful properties about them, researchers have been successful in verifying some classes of models by exploiting their piecewise linear structure and taking insights from formal methods such as Satisifiability Modulo Theory. However, these methods are still far from scaling to realistic neural networks. To facilitate progress on this crucial area, we exploit the Mixed Integer Linear Programming (MIP) formulation of verification to propose a family of algorithms based on Branch-and-Bound (BaB). We show that our family contains previous verification methods as special cases. With the help of the BaB framework, we make three key contributions. Firstly, we identify new methods that combine the strengths of multiple existing approaches, accomplishing significant performance improvements over previous state of the art. Secondly, we introduce an effective branching strategy on ReLU non-linearities. This branching strategy allows us to efficiently and successfully deal with high input dimensional problems with convolutional network architecture, on which previous methods fail frequently. Finally, we propose comprehensive test data sets and benchmarks which includes a collection of previously released testcases. We use the data sets to conduct a thorough experimental comparison of existing and new algorithms and to provide an inclusive analysis of the factors impacting the hardness of verification problems.

Motivation & Objective

  • Formalize neural network verification as a global optimization problem using a MIP/BaB framework.
  • Identify strengths and weaknesses of existing verification methods and unify them under BaB.
  • Develop new branching strategies, especially for ReLU in convolutional networks, to improve scalability.
  • Propose comprehensive datasets (including convolutional and synthetic models) for robust benchmarking.
  • Evaluate and compare existing and proposed methods to understand hardness factors in verification problems.

Proposed method

  • Formulate verification as a global optimization problem with a canonical representation that reduces to checking the sign of a minimum.
  • Encode ReLU and other layers via a MIP with big-M constraints and derive bounds from interval propagation.
  • Present a generic BaB algorithm that alternates branching, bound computation, and pruning to converge to a global minimum within tolerance epsilon.
  • Show that many prior methods (Reluplex, Planet, etc.) fit into the BaB framework as special cases.
  • Propose improved bounding via refined intermediate bounds and convex relaxations to tighten relaxations.
  • Introduce a novel ReLU-centric branching strategy that leverages network structure to handle high-dimensional and convolutional architectures.

Experimental results

Research questions

  • RQ1How can verification of PL-NNs be cast as a BaB optimization problem and what commonalities exist across prior methods?
  • RQ2What are effective branching and bounding strategies within BaB to scale verification to high-dimensional networks, including convolutional architectures?
  • RQ3Do tighter relaxations and bound refinements lead to substantial empirical speedups in verification tasks?
  • RQ4How do new data sets with convolutional and synthetic networks influence benchmarking and understanding of verification hardness?
  • RQ5Can a unified BaB framework reveal improvements by combining strengths of existing approaches?

Key findings

  • A BaB framework subsumes previous verification methods as special cases and enables combining their strengths.
  • A new branching strategy over ReLU non-linearities improves performance on high-dimensional and convolutional networks.
  • Tighter convex relaxations and periodic intermediate-bound refinements significantly accelerate bound computations, enabling faster pruning.
  • Comprehensive datasets, including convolutional networks and synthetic models, support robust benchmarking and analysis of verification hardness.
  • The approach achieves substantial speedups over prior state-of-the-art methods on benchmark problems (noted as nearly two orders of magnitude in some cases).

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.