计算机科学 > 程序设计语言
[提交于 2025年5月11日]
标题:A Formally Verified Robustness Certifier for Neural Networks (Extended Version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Neural networks are often susceptible to minor perturbations in input that cause them to misclassify. A recent solution to this problem is the use of globally-robust neural networks, which employ a function to certify that the classification of an input cannot be altered by such a perturbation. Outputs that pass this test are called certified robust. However, to the authors' knowledge, these certification functions have not yet been verified at the implementation level. We demonstrate how previous unverified implementations are exploitably unsound in certain circumstances. Moreover, they often rely on approximation-based algorithms, such as power iteration, that (perhaps surprisingly) do not guarantee soundness. To provide assurance that a given output is robust, we implemented and formally verified a certification function for globally-robust neural networks in Dafny. We describe the program, its specifications, and the important design decisions taken for its implementation and verification, as well as our experience applying it in practice.
提交历史
来自:Toby Murray[v1] 2025年5月11日 星期日 12:05:14 UTC