跳到主要导航 跳到搜索 跳到主要内容

QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks

  • Yedi Zhang
  • , Zhe Zhao
  • , Guangke Chen
  • , Fu Song*
  • , Min Zhang
  • , Taolue Chen
  • , Jun Sun
  • *此作品的通讯作者
  • ShanghaiTech University
  • Singapore Management University
  • Birkbeck University of London

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Deep learning has become a promising programming paradigm in software development, owing to its surprising performance in solving many challenging tasks. Deep neural networks (DNNs) are increasingly being deployed in practice, but are limited on resource-constrained devices owing to their demand for computational power. Quantization has emerged as a promising technique to reduce the size of DNNs with comparable accuracy as their floating-point numbered counterparts. The resulting quantized neural networks (QNNs) can be implemented energy-efficiently. Similar to their floating-point numbered counterparts, quality assurance techniques for QNNs, such as testing and formal verification, are essential but are currently less explored. In this work, we propose a novel and efficient formal verification approach for QNNs. In particular, we are the first to propose an encoding that reduces the verification problem of QNNs into the solving of integer linear constraints, which can be solved using off-the-shelf solvers. Our encoding is both sound and complete. We demonstrate the application of our approach on local robustness verification and maximum robustness radius computation. We implement our approach in a prototype tool QVIP and conduct a thorough evaluation. Experimental results on QNNs with different quantization bits confirm the effectiveness and efficiency of our approach, e.g., two orders of magnitude faster and able to solve more verification tasks in the same time limit than the state-of-the-art methods.

源语言英语
主期刊名37th IEEE/ACM International Conference on Automated Software Engineering, ASE 2022
编辑Mario Aehnelt, Thomas Kirste
出版商Association for Computing Machinery
ISBN(电子版)9781450396240
DOI
出版状态已出版 - 19 9月 2022
活动37th IEEE/ACM International Conference on Automated Software Engineering, ASE 2022 - Rochester, 美国
期限: 10 10月 202214 10月 2022

出版系列

姓名ACM International Conference Proceeding Series

会议

会议37th IEEE/ACM International Conference on Automated Software Engineering, ASE 2022
国家/地区美国
Rochester
时期10/10/2214/10/22

指纹

探究 'QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks' 的科研主题。它们共同构成独一无二的指纹。

引用此