A Formally Verified Robustness Certifier for Neural Networks (Extended Version)

James Tobler, Hira Taqdees Syeda, Toby Murray
5/11/2025
cs.PLcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tobler2025formally,
  title  = {A Formally Verified Robustness Certifier for Neural Networks (Extended Version)},
  author = {James Tobler and Hira Taqdees Syeda and Toby Murray},
  year   = {2025},
  eprint = {2505.06958},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06958v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.06958.svg)](https://codeofpaper.com/paper/2505.06958)

Discussion