Exploiting Verified Neural Networks via Floating Point Numerical Error

Kai Jia, Martin Rinard
3/6/2020
cs.LGcs.CRstat.ML

Official code: jia-kai/realadv (5 stars, Python, last commit 2021-10-16).

Abstract

Researchers have developed neural network verification algorithms motivated by the need to characterize the robustness of deep neural networks. The verifiers aspire to answer whether a neural network guarantees certain properties with respect to all inputs in a space.

Show full abstract

However, many verifiers inaccurately model floating point arithmetic but do not thoroughly discuss the consequences. We show that the negligence of floating point error leads to unsound verification that can be systematically exploited in practice. For a pretrained neural network, we present a method that efficiently searches inputs as witnesses for the incorrectness of robustness claims made by a complete verifier. We also present a method to construct neural network architectures and weights that induce wrong results of an incomplete verifier. Our results highlight that, to achieve practically reliable verification of neural networks, any verification system must accurately (or conservatively) model the effects of any floating point computations in the network inference or verification system.

View on arXivView PDF

Code Implementations(1)

jia-kai/realadvOfficial100%

Code for the SAS 2021 paper Exploiting Verified Neural Networks via Floating Point Numerical Error.

50Python, C++Mar 6, 20205 years ago

Similar Papers

Cite this paper

@article{jia2020exploiting,
  title  = {Exploiting Verified Neural Networks via Floating Point Numerical Error},
  author = {Kai Jia and Martin Rinard},
  year   = {2020},
  eprint = {2003.03021},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.03021}
}

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/2003.03021.svg)](https://codeofpaper.com/paper/2003.03021)

Discussion