An SMT-Based Approach for Verifying Binarized Neural Networks

被引:31
作者
Amir, Guy [1 ]
Wu, Haoze [2 ]
Barrett, Clark [2 ]
Katz, Guy [1 ]
机构
[1] Hebrew Univ Jerusalem, Jerusalem, Israel
[2] Stanford Univ, Stanford, CA 94305 USA
来源
TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT II, TACAS 2021 | 2021年 / 12652卷
基金
美国国家科学基金会; 以色列科学基金会;
关键词
D O I
10.1007/978-3-030-72013-1_11
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:203 / 222
页数:20
相关论文
共 57 条
[1]  
[Anonymous], 2018, Satisfiability modulo theories
[2]   DeepAbstract: Neural Network Abstraction for Accelerating Verification [J].
Ashok, Pranav ;
Hashemi, Vahid ;
Kretinsky, Jan ;
Mohr, Stefanie .
AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2020), 2020, 12302 :92-107
[3]   Accuracy, Training Time and Hardware Efficiency Trade-Offs for Quantized Neural Networks on FPGAs [J].
Bacchus, Pascal ;
Stewart, Robert ;
Komendantskaya, Ekaterina .
APPLIED RECONFIGURABLE COMPUTING. ARCHITECTURES, TOOLS, AND APPLICATIONS, ARC 2020, 2020, 12083 :121-135
[4]  
Bastani O, 2016, ADV NEUR IN, V29
[5]  
Bojarski Mariusz, 2016, arXiv
[6]  
Bunel R, 2018, ADV NEUR IN, V31
[7]  
Carlini N, 2018, Arxiv, DOI arXiv:1709.10207
[8]  
Chen H., 2020, Technical Report
[9]  
Cheng CH, 2018, Arxiv, DOI arXiv:1710.03107
[10]  
Ciresan D, 2012, PROC CVPR IEEE, P3642, DOI 10.1109/CVPR.2012.6248110