Formal Reasoning About Confidence and Automated Verification of Neural Networks

Mohammad Afzal, S. Akshay, Blaise Genest, Ashutosh Gupta
11/10/2025
cs.LOcs.AIcs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

In the last decade, a large body of work has emerged on robustness of neural networks, i.e., checking if the decision remains unchanged when the input is slightly perturbed. However, most of these approaches ignore the confidence of a neural network on its output. In this work, we aim to develop a generalized framework for formally reasoning about the confidence along with robustness in neural networks. We propose a simple yet expressive grammar that captures various confidence-based specifications. We develop a novel and unified technique to verify all instances of the grammar in a homogeneous way, viz., by adding a few additional layers to the neural network, which enables the use any state-of-the-art neural network verification tool. We perform an extensive experimental evaluation over a large suite of 8870 benchmarks, where the largest network has 138M parameters, and show that this outperforms ad-hoc encoding approaches by a significant margin.

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. 3 weaker matches are hidden by default — 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{afzal2025formal,
  title  = {Formal Reasoning About Confidence and Automated Verification of Neural Networks},
  author = {Mohammad Afzal and S. Akshay and Blaise Genest and Ashutosh Gupta},
  year   = {2025},
  eprint = {2511.07293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.07293v2}
}

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/2511.07293.svg)](https://codeofpaper.com/paper/2511.07293)

Discussion