Cargando…
An SMT-Based Approach for Verifying Binarized Neural Networks
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. Formal verification is a promising avenue for tackling this...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984573/ http://dx.doi.org/10.1007/978-3-030-72013-1_11 |
_version_ | 1783668094331256832 |
---|---|
author | Amir, Guy Wu, Haoze Barrett, Clark Katz, Guy |
author_facet | Amir, Guy Wu, Haoze Barrett, Clark Katz, Guy |
author_sort | Amir, Guy |
collection | PubMed |
description | 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. 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. |
format | Online Article Text |
id | pubmed-7984573 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
record_format | MEDLINE/PubMed |
spelling | pubmed-79845732021-03-23 An SMT-Based Approach for Verifying Binarized Neural Networks Amir, Guy Wu, Haoze Barrett, Clark Katz, Guy Tools and Algorithms for the Construction and Analysis of Systems Article 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. 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. 2021-02-26 /pmc/articles/PMC7984573/ http://dx.doi.org/10.1007/978-3-030-72013-1_11 Text en © The Author(s) 2021 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Amir, Guy Wu, Haoze Barrett, Clark Katz, Guy An SMT-Based Approach for Verifying Binarized Neural Networks |
title | An SMT-Based Approach for Verifying Binarized Neural Networks |
title_full | An SMT-Based Approach for Verifying Binarized Neural Networks |
title_fullStr | An SMT-Based Approach for Verifying Binarized Neural Networks |
title_full_unstemmed | An SMT-Based Approach for Verifying Binarized Neural Networks |
title_short | An SMT-Based Approach for Verifying Binarized Neural Networks |
title_sort | smt-based approach for verifying binarized neural networks |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984573/ http://dx.doi.org/10.1007/978-3-030-72013-1_11 |
work_keys_str_mv | AT amirguy ansmtbasedapproachforverifyingbinarizedneuralnetworks AT wuhaoze ansmtbasedapproachforverifyingbinarizedneuralnetworks AT barrettclark ansmtbasedapproachforverifyingbinarizedneuralnetworks AT katzguy ansmtbasedapproachforverifyingbinarizedneuralnetworks AT amirguy smtbasedapproachforverifyingbinarizedneuralnetworks AT wuhaoze smtbasedapproachforverifyingbinarizedneuralnetworks AT barrettclark smtbasedapproachforverifyingbinarizedneuralnetworks AT katzguy smtbasedapproachforverifyingbinarizedneuralnetworks |