arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.23389cs.SEcs.CRcs.LG
收藏

软件层面的浮点神经网络验证

Floating-Point Neural Network Verification at the Software Level

The University of Manchester(曼彻斯特大学);Newcastle University(新castle大学);Universidade Federal do Amazonas(亚马逊联邦大学)

Edoardo Manino, Bruno Farias, Rafael Sá Menezes, Fedor Shmarov, Lucas C. Cordeiro

AI总结:

本文构建了兼容SV-COMP的NeuroCodeBench 2.0基准,评估8种软件验证器在浮点神经网络代码上的性能,发现现有工具正确率仅11%且存在3%错误判定,其发布已产生积极影响。

摘要:

在神经网络组件部署到安全关键系统前,必须证明其行为正确。遗憾的是,现有神经网络验证技术无法在软件层面证明不存在故障。本文中,我们通过显式推理神经网络的浮点实现,展示了如何指定和验证神经网络的安全性。为此,我们构建了NeuroCodeBench 2.0,该基准包含912个神经网络验证示例,覆盖激活函数、常见层及参数规模达17万的完整神经网络。我们的验证套件采用纯C语言编写,兼容国际软件验证竞赛(SV-COMP)的格式。借助该套件,我们首次对8种最先进的软件验证器在神经网络代码上进行了严格评估。结果显示,现有自动化验证工具平均可正确解决我们基准中11%的问题,同时产生约3%的错误判定。此外,历史分析表明,我们的基准发布已对该领域产生了显著的积极影响。

英文摘要:

The behaviour of neural network components must be proven correct before deployment in safety-critical systems. Unfortunately, existing neural network verification techniques cannot certify the absence of faults at the software level. In this paper, we show how to specify and verify that neural networks are safe, by explicitly reasoning about their floating-point implementation. In doing so, we construct NeuroCodeBench 2.0, a benchmark comprising 912 neural network verification examples that cover activation functions, common layers, and full neural networks of up to 170K parameters. Our verification suite is written in plain C and is compatible with the format of the International Competition on Software Verification (SV-COMP). Thanks to it, we can conduct the first rigorous evaluation of eight state-of-the-art software verifiers on neural network code. The results show that existing automated verification tools can correctly solve an average of 11% of our benchmark, while producing around 3% incorrect verdicts. At the same time, a historical analysis reveals that the release of our benchmark has already had a significantly positive impact on the latter.

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

↑