paperbot · PL 论文追踪

全部论文 待读 收藏

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

QVIP:一种基于ILP的量化神经网络形式化验证方法
ASE Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering2022匹配度 5/10 · 论文将形式验证(ILP编码)应用于量化神经网络,属于PL与AI交叉中的机器学习系统验证,但未涉及用户核心关注的LLM/Agent、浮点程序分析或贝叶斯程序分析,匹配度中等。引用 21 inbox
Yedi Zhang, Zhe Zhao, Guangke Chen, Fu Song, Min Zhang, Taolue Chen, Jun Sun
crossref: 2026-09-12

AI 速览

一句话:首次将量化神经网络验证编码为整数线性约束,提出可靠且完备的QVIP方法,性能显著优于现有方法。

深度神经网络在资源受限设备上常需量化,形成量化神经网络(QNN),但其质量保证(如测试与形式化验证)仍较少研究。本文提出QVIP,一种面向QNN的高效形式化验证方法。核心创新是首次将QNN验证问题编码为整数线性约束(ILP)的求解,并证明该编码既可靠又完备,可借助现成求解器完成。作者将该方法应用于局部鲁棒性验证与最大鲁棒半径计算,并实现原型工具QVIP。实验在不同量化位宽的QNN上进行,结果表明其有效且高效:相比当前最优方法,速度提升约两个数量级,并在相同时间限制内解决更多验证任务。

问题
量化神经网络在资源受限设备上部署广泛,但其测试与形式化验证研究不足,尤其缺乏高效可靠的验证方法。
方法
提出首个将QNN验证归约为整数线性约束求解的编码,该编码既可靠又完备,并在QVIP原型中用于局部鲁棒性验证和最大鲁棒半径计算。
评估
实现QVIP原型,在不同量化位宽的QNN上评估;相比当前最优方法,速度快约两个数量级,同样时限内能解决更多验证任务。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot7331,
  title = {QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks},
  author = {Yedi Zhang and Zhe Zhao and Guangke Chen and Fu Song and Min Zhang and Taolue Chen and Jun Sun},
  booktitle = {ASE},
  year = {2022},
  doi = {10.1145/3551349.3556916}
}