A Robust Optimisation Perspective on Counterexample-Guided Repair of Neural Networks

David Boetius, Stefan Leue, Tobias Sutter
1/26/2023
cs.LGmath.OC

No official code found. Best implementation: sen-uni-kn/specrepair (3 stars, Apache-2.0, last commit 2024-01-19).

Abstract

Counterexample-guided repair aims at creating neural networks with mathematical safety guarantees, facilitating the application of neural networks in safety-critical domains. However, whether counterexample-guided repair is guaranteed to terminate remains an open question. We approach this question by showing that counterexample-guided repair can be viewed as a robust optimisation algorithm. While termination guarantees for neural network repair itself remain beyond our reach, we prove termination for more restrained machine learning models and disprove termination in a general setting. We empirically study the practical implications of our theoretical results, demonstrating the suitability of common verifiers and falsifiers for repair despite a disadvantageous theoretical result. Additionally, we use our theoretical insights to devise a novel algorithm for repairing linear regression models based on quadratic programming, surpassing existing approaches.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

SpecRepair is a neural network repair algorithm.

32Shell, PythonJan 25, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{boetius2023robust,
  title  = {A Robust Optimisation Perspective on Counterexample-Guided Repair of Neural Networks},
  author = {David Boetius and Stefan Leue and Tobias Sutter},
  year   = {2023},
  eprint = {2301.11342},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.11342v2},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.11342.svg)](https://codeofpaper.com/paper/2301.11342)

Discussion