ZoPE: A Fast Optimizer for ReLU Networks with Low-Dimensional Inputs
Preprint
Abstract
Deep neural networks often lack the safety and robustness guarantees needed to be deployed in safety critical systems. Formal verification techniques can be used to prove input-output safety properties of networks, but when properties are difficult to specify, we rely on the solution to various optimization problems. In this work, we present an algorithm called ZoPE that solves optimization problems over the output of feedforward ReLU networks with low-dimensional inputs. The algorithm eagerly splits the input space, bounding the objective using zonotope propagation at each step, and improves computational efficiency compared to existing mixed-integer programming approaches. We demonstrate how to formulate and solve three types of optimization problems: (i) minimization of any convex function over the output space, (ii) minimization of a convex function over the output of two networks in series with an adversarial perturbation in the layer between them, and (iii) maximization of the difference in output between two networks. Using ZoPE, we observe a $25\times$ speedup on property $1$ of the ACAS Xu neural network verification benchmark compared to several state-of-the-art verifiers, and an $85\times$ speedup on a set of linear optimization problems compared to a mixed-integer programming baseline. We demonstrate the versatility of the optimizer in analyzing networks by projecting onto the range of a generative adversarial network and visualizing the differences between a compressed and uncompressed network.
Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Global optimization of objective functions represented by ReLU networksMachine Learning, 2021
- Generating probabilistic safety guarantees for neural network controllersMachine Learning, 2021
- Algorithms for Verifying Deep Neural NetworksFoundations and Trends® in Optimization, 2021
- Validation of Image-Based Neural Network Controllers through Adaptive Stress Testing2020
- Deep Neural Network Compression for Aircraft Collision Avoidance SystemsJournal of Guidance, Control, and Dynamics, 2019
- Adversarial Examples: Attacks and Defenses for Deep LearningIEEE Transactions on Neural Networks and Learning Systems, 2019
- An abstract domain for certifying neural networksProceedings of the ACM on Programming Languages, 2019
- A Simple Projection Algorithm for Linear Programming ProblemsAlgorithmica, 2018