BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural Networks

被引:12
作者
Zhang, Yedi [1 ]
Zhao, Zhe [1 ]
Chen, Guangke [1 ]
Song, Fu [1 ,2 ]
Chen, Taolue [3 ]
机构
[1] ShanghaiTech Univ, Shanghai, Peoples R China
[2] Shanghai Engn Res Ctr Intelligent Vis & Imaging, Shanghai, Peoples R China
[3] Birkbeck Univ London, London, England
来源
COMPUTER AIDED VERIFICATION (CAV 2021), PT I | 2021年 / 12759卷
基金
中国国家自然科学基金; 英国工程与自然科学研究理事会;
关键词
VERIFICATION;
D O I
10.1007/978-3-030-81685-8_8
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Verifying and explaining the behavior of neural networks is becoming increasingly important, especially when they are deployed in safety-critical applications. In this paper, we study verification and interpretability problems for Binarized Neural Networks (BNNs), the 1-bit quantization of general real-numbered neural networks. Our approach is to encode BNNs into Binary Decision Diagrams (BDDs), which is done by exploiting the internal structure of the BNNs. In particular, we translate the input-output relation of blocks in BNNs to cardinality constraints which are in turn encoded by BDDs. Based on the encoding, we develop a quantitative framework for BNNs where precise and comprehensive analysis of BNNs can be performed. We demonstrate the application of our framework by providing quantitative robustness analysis and interpretability for BNNs. We implement a prototype tool BDD4BNN and carry out extensive experiments, confirming the effectiveness and efficiency of our approach.
引用
收藏
页码:175 / 200
页数:26
相关论文
共 70 条
  • [1] Amir G., 2020, CORRABS201102948
  • [2] Optimization and Abstraction: A Synergistic Approach for Analyzing Neural Network Robustness
    Anderson, Greg
    Pailoor, Shankara
    Dillig, Isil
    Chaudhuri, Swarat
    [J]. PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 731 - 744
  • [3] DeepAbstract: Neural Network Abstraction for Accelerating Verification
    Ashok, Pranav
    Hashemi, Vahid
    Kretinsky, Jan
    Mohr, Stefanie
    [J]. AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2020), 2020, 12302 : 92 - 107
  • [4] Baluta T., 2020, CORRABS200206864
  • [5] Quantitative Verification of Neural Networks and Its Security Applications
    Baluta, Teodora
    Shen, Shiqi
    Shinde, Shweta
    Meel, Kuldeep S.
    Saxena, Prateek
    [J]. PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'19), 2019, : 1249 - 1264
  • [6] An SMT Theory of Fixed-Point Arithmetic
    Baranowski, Marek
    He, Shaobo
    Lechner, Mathias
    Nguyen, Thanh Son
    Rakamaric, Zvonimir
    [J]. AUTOMATED REASONING, PT I, 2020, 12166 : 13 - 31
  • [7] Bartzis C, 2003, LECT NOTES COMPUT SC, V2619, P394
  • [8] BRYANT RE, 1986, IEEE T COMPUT, V35, P677, DOI 10.1109/TC.1986.1676819
  • [9] Bunel R, 2020, J MACH LEARN RES, V21
  • [10] Chen G., 2019, P IEEE S P