NNrepair: Constraint-based Repair of Neural Network Classifiers

03/23/2021
by   Muhammad Usman, et al.
0

We present NNrepair, a constraint-based technique for repairing neural network classifiers. The technique aims to fix the logic of the network at an intermediate layer or at the last layer. NNrepair first uses fault localization to find potentially faulty network parameters (such as the weights) and then performs repair using constraint solving to apply small modifications to the parameters to remedy the defects. We present novel strategies to enable precise yet efficient repair such as inferring correctness specifications to act as oracles for intermediate layer repair, and generation of experts for each class. We demonstrate the technique in the context of three different scenarios: (1) Improving the overall accuracy of a model, (2) Fixing security vulnerabilities caused by poisoning of training data and (3) Improving the robustness of the network against adversarial attacks. Our evaluation on MNIST and CIFAR-10 models shows that NNrepair can improve the accuracy by 45.56 percentage points on poisoned data and 10.40 percentage points on adversarial data. NNrepair also provides small improvement in the overall accuracy of models, without requiring new data or re-training.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/23/2023

QNNRepair: Quantized Neural Network Repair

We present QNNRepair, the first method in the literature for repairing q...
research
04/20/2022

Causality-based Neural Network Repair

Neural networks have had discernible achievements in a wide range of app...
research
06/18/2020

Dissecting Deep Networks into an Ensemble of Generative Classifiers for Robust Predictions

Deep Neural Networks (DNNs) are often criticized for being susceptible t...
research
11/05/2021

Parameterized Repair of Concurrent Systems

We present an algorithm for the repair of parameterized systems. The rep...
research
12/28/2019

Search Based Repair of Deep Neural Networks

Deep Neural Networks (DNNs) are being adopted in various domains, includ...
research
03/02/2023

Iterative Circuit Repair Against Formal Specifications

We present a deep learning approach for repairing sequential circuits ag...
research
07/12/2020

Probabilistic Jacobian-based Saliency Maps Attacks

Machine learning models have achieved spectacular performances in variou...

Please sign up or login with your details

Forgot password? Click here to reset