TRANSMISSION // 2611.37975v1

Verifying the Verifier: Safer Neural Network Checks

Source published

A formally checked interval method offers a rigorous way to verify neural-network safety properties, demonstrated on the ACAS Xu aircraft collision-avoidance benchmark. Its guarantees have important limits.

AI-generated conceptual illustration for Verifying the Verifier: Safer Neural Network Checks
AI-generated conceptual illustration; not documentary evidence.

Neural-network safety checks are only as trustworthy as the software doing the checking. Achim D. Brucker and Amy Stell formalise an interval-based verification method in Isabelle/HOL, then demonstrate it on ACAS Xu. The work strengthens the mathematical chain behind a safety claim, but it does not establish that the approach is fast or complete for every network and property.

A safety certificate for a neural network depends on more than the network itself. It also depends on the verifier: the software that claims the network obeys a specified rule. If that software contains a mistake, it could report safety where the evidence does not support it. Achim D. Brucker and Amy Stell’s paper tackles this less visible part of the problem: how to formally verify the method used to check a neural network.

The authors focus on interval-based verification. Instead of testing a network at just one input, this approach considers a range of possible inputs. It uses interval arithmetic to calculate an over-approximation of the network’s outputs across that range. If every output in the calculated enclosure satisfies a safety condition, the method can establish that the actual network outputs do too—provided the over-approximation is sound.

That proviso matters. The authors note that earlier interval-based approaches had mathematical arguments for their correctness, but their implementations were not themselves formally verified. Their aim is to replace that reliance on informal reasoning with machine-checked proofs.

Turning mathematical claims into machine-checked results

The team formalised its methodology in Isabelle/HOL, a proof assistant in which mathematical statements and proofs can be checked by a trusted kernel. They establish three properties needed for their approach: interval extension, which ensures the interval calculation encloses the network’s actual behaviour; inclusion isotonicity, which ensures that narrowing an input range produces appropriately contained output bounds; and Lipschitz continuity, which limits how quickly outputs can change as inputs change.

Together, these results support refinement: dividing a broad input region into smaller pieces can tighten the output bounds. The paper proves convergence guarantees under the stated assumptions, so refinement can bring the over-approximation error arbitrarily close to zero in the mathematical setting described.

The authors also generate Haskell code from their Isabelle specification to calculate interval partitions. A key design choice is that the external calculation is not trusted to establish correctness. Isabelle checks that the proposed pieces cover the original input region, then checks the safety property over those pieces. The proof therefore does not depend on the generated program being flawless; an invalid partition would not pass the formal checks.

A demonstration, not a speed contest

The case study is ACAS Xu, an aircraft collision-avoidance benchmark consisting of 45 feedforward neural networks with ReLU activations. The authors formalised four safety properties and generated interval partitions for 86 network–property combinations. They report successful verification of 63 combinations, yielding 126 machine-checked lemmas: one for partition validity and one for the safety property for each verified combination.

The reported processing time varied substantially. The paper says 52 combinations completed within 75 minutes of total processing time, while 11 took up to about nine hours. The authors identify memory use in the generated Haskell code, influenced by the number of interval splits, as an apparent performance bottleneck. They explicitly describe ACAS Xu as a proof of concept—not evidence that their method outperforms established verification tools.

What the proof does not settle

The distinction between soundness and completeness is central. A sound method does not certify a property incorrectly under its formal assumptions. But this method is not complete: it may fail to prove a property even when that property is true. In practice, conservative interval bounds can remain too broad, and the number of subdivisions can constrain performance.

The formalisation targets feedforward networks built from dense and activation layers. Although the authors prove relevant properties for several activation functions, their end-to-end ACAS Xu evaluation uses ReLU networks. Applying the approach to convolutional, recurrent or attention-based networks would require formalising those architectures and proving the corresponding properties.

There is also a gap between mathematical real numbers in the formal model and finite-precision arithmetic used by computers. The paper says this gap remains future work; its discussion flags floating-point execution and hardware-level behaviour as issues requiring further treatment. So the work is a step toward trustworthy certification, not a complete assurance that deployed hardware will behave exactly like the real-number model.

The source is an author version associated with a 2026 conference citation, and the paper says a maintained version was under review at the Archive of Formal Proofs. This article is based on the supplied paper text; a preprint or author version should not be treated as independent confirmation of every implementation detail. The authors report that the formalisation and case study are available on Zenodo. The central contribution is narrower but important: the verification method itself is brought inside a machine-checked proof framework, while its practical reach and connection to real-world execution remain open challenges.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.