arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.13110cs.AIcs.LGcs.LO
收藏

QNNVerifier:基于SMT的模型检验的神经网络验证工具

QNNVerifier: A Tool for Verifying Neural Networks using SMT-Based Model Checking

University of Manchester(曼彻斯特大学);University of Amazonas(亚马逊大学)

Xidan Song, Edoardo Manino, Luiz Sena, Erickson Alves, Eddie de Lima Filho, Iury Bessa, Mikel Lujan, Lucas Cordeiro

摘要:

QNNVerifier是第一个用于验证神经网络实现的开源工具,它考虑了操作数的有限字长(即量化)。新的支持量化是通过采用最先进的软件模型检验(SMC)技术。它将神经网络的实现转化为基于可满足性模理论(SMT)的一阶逻辑的可判定片段。固定和浮点运算的影响表示通过直接实现给定的硬件确定的精度。此外,QNNVerifier允许指定定制的安全属性,并使用不同的验证策略(增量和k-归纳)和SMT求解器验证生成的模型。最后,QNNVerifier是第一个通过区间分析和非线性激活函数的离散化结合不变推理的工具,以数量级加速神经网络的验证。有关QNNVerifier的视频演示,请访问https://youtu.be/7jMgOL41zTY

英文摘要:

QNNVerifier is the first open-source tool for verifying implementations of neural networks that takes into account the finite word-length (i.e. quantization) of their operands. The novel support for quantization is achieved by employing state-of-the-art software model checking (SMC) techniques. It translates the implementation of neural networks to a decidable fragment of first-order logic based on satisfiability modulo theories (SMT). The effects of fixed- and floating-point operations are represented through direct implementations given a hardware-determined precision. Furthermore, QNNVerifier allows to specify bespoke safety properties and verify the resulting model with different verification strategies (incremental and k-induction) and SMT solvers. Finally, QNNVerifier is the first tool that combines invariant inference via interval analysis and discretization of non-linear activation functions to speed up the verification of neural networks by orders of magnitude. A video presentation of QNNVerifier is available at https://youtu.be/7jMgOL41zTY

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑