Provable Repair of Deep Neural Networks
Preprint
Abstract
Deep Neural Networks (DNNs) have grown in popularity over the past decade and are now being used in safety-critical domains such as aircraft collision avoidance. This has motivated a large number of techniques for finding unsafe behavior in DNNs. In contrast, this paper tackles the problem of correcting a DNN once unsafe behavior is found. We introduce the provable repair problem, which is the problem of repairing a network N to construct a new network N' that satisfies a given specification. If the safety specification is over a finite set of points, our Provable Point Repair algorithm can find a provably minimal repair satisfying the specification, regardless of the activation functions used. For safety specifications addressing convex polytopes containing infinitely many points, our Provable Polytope Repair algorithm can find a provably minimal repair satisfying the specification for DNNs using piecewise-linear activation functions. The key insight behind both of these algorithms is the introduction of a Decoupled DNN architecture, which allows us to reduce provable repair to a linear programming problem. Our experimental results demonstrate the efficiency and effectiveness of our Provable Repair algorithms on a variety of challenging tasks.Keywords
All Related Versions
This publication has 26 references indexed in Scilit:
- Natural Adversarial Examples2021
- SyReNN: A Tool for Analyzing Deep Neural Networks2021
- The Marabou Framework for Verification and Analysis of Deep Neural Networks2019
- Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep LearningCell, 2018
- Formal Verification of Piece-Wise Linear Feed-Forward Neural Networks2017
- Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networks2017
- Safety Verification of Deep Neural Networks2017
- Reliable and Reproducible Competition Results with BenchExec and Witnesses (Report on SV-COMP 2016)2016
- ImageNet: A large-scale hierarchical image database2009
- Z3: An Efficient SMT Solver2008