A dual approach for scalable verification of deep networksA Dual Approach to Scalable Verification of Deep Networks
Translation in progress — untranslated text is omitted.
The paper proposes a scalable formal verification framework for deep networks, used to obtain provable guarantees that neural networks satisfy input-output specifications, such as robustness to bounded-norm adversarial perturbations. The authors formulate verification as an optimization problem of finding the maximum specification violation, and obtain an upper bound on the worst-case violation by solving a Lagrangian relaxation. Unlike prior work limited by network scale, architecture, and the complexity of properties, the framework applies to general classes of activation functions and specifications, and has an anytime property, allowing it to be stopped at any time and still obtain a valid violation upper bound. The authors also develop specialized verification algorithms with tightness guarantees under special assumptions, and demonstrate the practical significance of the method on various verification tasks.
- Neural networks are easily deceived by adversarial perturbations, and evaluation based on concrete attacks may overestimate robustness; existing formal verification methods (SMT, mixed-integer programming) are limited by network scale and piecewise-linear activation functions.
- Verification is written as an optimization problem of finding the maximum specification violation, Lagrangian relaxation is applied to it, yielding an unconstrained convex optimization problem over the dual variables, which can be solved with subgradient methods and stopped anytime; for single-hidden-layer networks a specialized algorithm with tightness guarantees is given.
- Validated on three types of tasks: MNIST/CIFAR-10 image classification, GitHub repository classifier stability, and digit sum; the authors state that on smooth-activation networks the bounds are close to the attack lower bounds within a perturbation radius of 2 pixel units, and that they obtain the first nontrivial verification bounds on CIFAR-10.
- The theoretical guarantees require strong assumptions such as a single hidden layer, smooth activations and 2-norm perturbations, which the authors acknowledge do not immediately apply to most practical settings; the method is sound but incomplete, and when the bound is not tight enough it cannot prove properties that hold; incorporating dual optimization into training is listed as future work.