Skip to content

BU-DEPEND-Lab/REASSURE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REASSURE

contact pytorch>=1.11 torchvision>=0.12

This is the code implementation (in PyTorch) for our ICLR 2022 paper: Sound and Complete Neural Network Repair with Minimality and Locality Guarantees

REASSURE

REASSURE is a novel methodology for repairing neural networks that are continuous piecewise linear, e.g. those that use the ReLU activation function. Our approach applies only a localized change in the function space while still guaranteeing the removal of the buggy behaviors. Given a buggy input, REASSURE can efficiently construct a patch network tailored to the linear region where the buggy input resides, which when combined with the original network, provably corrects the behavior of the buggy input and all other unseen buggy inputs in the same linear region (thus automatically performing an area repair).

Installation

Clone this repository and install the required packages.

pip install -r requirements.txt

Example

Use REASSURE to repair a pre-trained HCAS model (details in the paper):

python ./example/repair.py

Screenshot

result

Cite our paper

@inproceedings{
fu2022sound,
title={Sound and Complete Neural Network Repair with Minimality and Locality Guarantees},
author={Feisi Fu and Wenchao Li},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=xS8AMYiEav3}
}

About

Neural Network Repair

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages