Verifying Feedforward Neural Networks for Classification in Isabelle/HOL

被引:6
作者
Brucker, Achim D. [1 ]
Stell, Amy [1 ]
机构
[1] Univ Exeter, Dept Comp Sci, Exeter, Devon, England
来源
FORMAL METHODS, FM 2023 | 2023年 / 14000卷
基金
英国工程与自然科学研究理事会;
关键词
Neural network; Deep learning; Classification network; Feedforward network; Verification; Isabelle/HOL; VERIFICATION;
D O I
10.1007/978-3-031-27481-7_24
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Neural networks are being used successfully to solve classification problems, e.g., for detecting objects in images. It is well known that neural networks are susceptible if small changes applied to their input result in misclassification. Situations in which such a slight input change, often hardly noticeable by a human expert, results in a misclassification are called adversarial examples. If such inputs are used for adversarial attacks, they can be life-threatening if, for example, they occur in image classification systems used in autonomous cars or medical diagnosis. Systems employing neural networks, e.g., for safety or security-critical functionality, are a particular challenge for formal verification, which usually expects a formal specification (e.g., given as source code in a programming language for which a formal semantics exists). Such a formal specification does, per se, not exist for neural networks. In this paper, we address this challenge by presenting a formal embedding of feedforward neural networks into Isabelle/HOL and discussing desirable properties for neural networks in critical applications. Our Isabelle-based prototype can import neural networks trained in TensorFlow, and we demonstrate our approach using a neural network trained for the classification of digits on a dot-matrix display.
引用
收藏
页码:427 / 444
页数:18
相关论文
共 40 条
[1]  
Abdulaziz M., 2020, ARCH FORMAL PROOFS
[2]  
Aggarwal C.C., 2018, Neural Networks and Deep Learning, DOI DOI 10.1007/978-3-319-94463-0_2
[3]  
[Anonymous], 2014, BS EN 50128:2011
[4]  
[Anonymous], 2002, Isabelle / HOL: A Proof Assistant for Higher-Order Logic
[5]  
[Anonymous], 2017, COMM CRIT INF TECHN
[6]  
[Anonymous], 1996, ML for the working programmer
[7]  
[Anonymous], 2016, ARCH FORMAL PROOFS
[8]  
[Anonymous], TECHNICAL REPORT
[9]  
[Anonymous], 2019, ABS190105350 CORR
[10]  
Banerjee K., 2020, Exploring Alternatives to Softmax Function