An SMT-Based Approach for Verifying Binarized Neural Networks

Guy Amir, Haoze Wu, Clark Barrett, Guy Katz
11/5/2020
cs.LGmath.OC

Official code: guyam2/BNN_Verification_Artifact (2 stars, last commit 2021-09-04).

Abstract

Deep learning has emerged as an effective approach for creating modern software systems, with neural networks often surpassing hand-crafted systems. Unfortunately, neural networks are known to suffer from various safety and security issues.

Show full abstract

Formal verification is a promising avenue for tackling this difficulty, by formally certifying that networks are correct. We propose an SMT-based technique for verifying Binarized Neural Networks - a popular kind of neural network, where some weights have been binarized in order to render the neural network more memory and energy efficient, and quicker to evaluate. One novelty of our technique is that it allows the verification of neural networks that include both binarized and non-binarized components. Neural network verification is computationally very difficult, and so we propose here various optimizations, integrated into our SMT procedure as deduction steps, as well as an approach for parallelizing verification queries. We implement our technique as an extension to the Marabou framework, and use it to evaluate the approach on popular binarized neural network architectures.

View on arXivView PDF

Code Implementations(1)

Reproducable Results for the Paper "An SMT-Based Approach for Verifying Binarized Neural Networks"

20Dec 26, 20205 years ago

Similar Papers

Cite this paper

@article{amir2020smtbased,
  title  = {An SMT-Based Approach for Verifying Binarized Neural Networks},
  author = {Guy Amir and Haoze Wu and Clark Barrett and Guy Katz},
  year   = {2020},
  eprint = {2011.02948},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.02948}
}

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

Discussion