potentialpaper

Towards Sound Verification of Deployed Neural Networks

Attila Szász, Balázs Bánhelyi, Márk Jelasity

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose formal verifiers that are sound even in deployment, where any valid expression tree could be executed, in floating-point.

Abstract. Verification methods aim at mathematically proving desirable properties of neural networks, such as robustness to adversarial perturbations. A verifier is sound if and only if it never claims that a neural network has the desired property when it does not. It was shown recently that none of the currently known verifiers that are claimed to be sound are guaranteed to be sound when considering the deployed version of the verified network. Due to this, all the known verifiers are vulnerable to certain backdoor attacks, where an adversarial network passes verification, but in reality, it exhibits adversarial behavior in specific deployment environments. So far, it has been suspected that sound verification is prohibitively expensive if we wish to verify all possible executions—including parallel and stochastic ones—in deployment. We show that efficient and practically sound verifiers can be designed using a bound on the so-called backward error. Using this bounding technique, we propose two verifiers: one based on interval bound propagation, and one using symbolic propagation. Both verifiers are proven to remain sound even if the deployment environment randomly selects a valid expression tree (an ordering and parenthesizing of the arithmetic operations) to compute the network, and even if numeric underflow or overflow occurs in any valid expression tree. This is especially interesting in the case of symbolic propagation, where the expression tree used by the verifier is completely different from the one used in deployment. We demonstrate empirically that our techniques introduce only a limited performance overhead while detecting all the known verifier backdoor attacks.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

There is a gap between the theoretical model of a deployed deep neural network (DNN) assumed by existing DNN verifiers and the actual computations in deployment. This renders existing verifiers unsound for deployed networks. The paper addresses this gap and proposes two sound verification techniques for ReLU-based DNNs. The experimental evaluation is performed on DNNs trained for the standard MNIST and CIFAR10 datasets.

Initial evaluation: The paper received positive reviews in general (though the review from pTpA is too short and uninformative and therefore not considered in my judgment), with the reviewers appreciating the importance of the problem, the technical writing, the novelty of the solution, and the correctness of the proposed method. Overall, this work represents a solid contribution and should be highlighted at the conference. I encourage the authors to address the following points during the rebuttal:

  • Clarify the novelty of Symbolic as mentioned by th reviewer FNxv.

  • Clarify why, in the last rows of Tables 2 and 3, the symbolic verifier is worse than IBP.

  • Clarify whether the experiments were run on a CPU or GPU. If running currently on a CPU, can the method work on GPUs?

  • Clarify the threat model as mentioned by the reviewer fBhd.

Final justification

The paper received strong support from the reviewers. The work overcomes an important limitation of existing approaches for neural network verification by soundly handling realistic execution environments. The technical contributions are solid and meet the bar for NeurIPS acceptance. For the camera-ready, the authors should address all the points raised by the reviewers and discussed during the rebuttal period. In particular, as mentioned by the reviewer FNxv, the proposed symbolic verifier is not as powerful as DeepPoly, CROWN, and DeepZ. The text in Section 3 (line 162) raises this expectation and must be revised.

Area Chair efeW · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

There is a gap between the theoretical model of a deployed deep neural network (DNN) assumed by existing DNN verifiers and the actual computations in deployment. This renders existing verifiers unsound for deployed networks. The paper addresses this gap and proposes two sound verification techniques for ReLU-based DNNs. The experimental evaluation is performed on DNNs trained for the standard MNIST and CIFAR10 datasets.

Initial evaluation: The paper received positive reviews in general (though the review from pTpA is too short and uninformative and therefore not considered in my judgment), with the reviewers appreciating the importance of the problem, the technical writing, the novelty of the solution, and the correctness of the proposed method. Overall, this work represents a solid contribution and should be highlighted at the conference. I encourage the authors to address the following points during the rebuttal:

  • Clarify the novelty of Symbolic as mentioned by th reviewer FNxv.

  • Clarify why, in the last rows of Tables 2 and 3, the symbolic verifier is worse than IBP.

  • Clarify whether the experiments were run on a CPU or GPU. If running currently on a CPU, can the method work on GPUs?

  • Clarify the threat model as mentioned by the reviewer fBhd.

Final justification

The paper received strong support from the reviewers. The work overcomes an important limitation of existing approaches for neural network verification by soundly handling realistic execution environments. The technical contributions are solid and meet the bar for NeurIPS acceptance. For the camera-ready, the authors should address all the points raised by the reviewers and discussed during the rebuttal period. In particular, as mentioned by the reviewer FNxv, the proposed symbolic verifier is not as powerful as DeepPoly, CROWN, and DeepZ. The text in Section 3 (line 162) raises this expectation and must be revised.

1 comment
Authors · CommentOpenReview ↗

response to AC

Thank you for the initial positive assessment. Some of the issues you requested us to address are somewhat scattered in the lively discussion that we were very happy to have, because this way our contributions are much clearer. We summarize the main points below.

The novelty of Symbolic was discussed mainly with Reviewer FNxv. Novelty lies in FPSoundSymbolic. Symbolic is a baseline verifier that uses symbolic linear propagation and an overapproximation of the ReLU function. Its role is to serve as a baseline so that we can evaluate the overhead of our proposed bounding techniques integrated into FPSoundSymbolic. Symbolic still shows decent performance, it is not impractical, but of course it does not match verifiers such as DeepPoly. But this has never been our goal in this work. Instead, our goal was to demonstrate that the two vanilla approaches: interval propagation and symbolic propagation, can be made practically sound using our proposed bounding approach. We support this claim with theoretical and empirical results that already make the paper denser than we would have liked (probably part of the reason why the discussion is so lively). We do believe that more advanced techniques such as backsubstitution can also be supported, but this needs further work, which we consider out of scope here.

The counter-intuitive performance of FPSoundSymbolic on MO3 was explained in the discussion with Reviewer FNxv, where we referred to the fact that the unsound baselines IBP and Symbolic both miss the adversarial execution path of MO3 and therefore they predict a zero-length interval for the adversarial detector neuron within MO3. However, FPSoundIBP and FPSoundSymbolic correctly detect the wide interval for the detector neuron, and because the symbolic approach overapproximates the ReLU of the detector neuron, this injects a larger error right at the start. This is a behavior that can be expected for such hand-crafted adversarial networks that operate with extremely large weights and constant inputs. However, under normal circumstances, the symbolic methods offer a much better approximation, as evident from Tables 2 and 3.

The CPU vs. GPU question was discussed in our rebuttal to Reviewer FNxv in our answer to Q5.

The threat model was discussed in detail with Reviewer fBhd and also in our answer to Reviewer pTpA. We focus on the known stochasticity of expression trees in deployment to compute a theoretically given function, such as a neural network, using the non-associative floating-point algebra. We want to provide sound verification in the face of this stochasticity for the first time. This uncertainty of the expression trees in deployment results in many sources of potential threats. These include, most importantly, adversarial networks such as MO3 (and more discussed in [1] and in the Appendix) but also adversarial inputs described in our answer to pTpA. A potential, stochastically occurring underflow or overflow (depending on the expression tree) is also part of the threat model, a classical problem that we also solve.

Reviewer M67sOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

In this paper, the authors argue that current neural network verifiers typically do not consider floating-point arithmetic, making them unsound in deployment. They then suggest two new verifiers based on Higham's bound that are provably sound.

Strengths and weaknesses

S1. The problem is interesting and important for the neural network verification community. S2. From my understanding, the paper's proofs and claims are correct and demonstrate the potential of this method.

W1. The work seems to focus on ReLU. While this is a good first step, it might not be sufficient for this conference. W2. The experimental scope is limited to MNIST and CIFAR10. However, as the key point of this paper is presenting a methodology for achieving soundness, this can be considered minor. W3. The author explicitly states that there are no approximate matrix multiplications, which might occur in practice, thereby reducing the impact of the paper.

Questions

Q1. I feel like the current vnnlib standard could benefit from your insights. Did you engage with it? Q2. Could you please detail on the supported architectures and activation functions? Q3. How difficult would it, according to your judgment, be to integrate the method into a well-performing verifier? I assume that some of the limitations stem from the basic algorithms used in the paper.

Limitations

Limitations concerning architectures could be made more explicit in the last section.

Final justification

My concerns were appropriately addressed. Most importantly, the method is applicable to other architectures, as well.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Answers to questions

Q1: I feel like the current vnnlib standard could benefit from your insights. Did you engage with it?

Thank you for the suggestion; we have not yet attempted to integrate our ideas into the VNN-LIB standard, but this is something we could indeed pursue. One important improvement could be the explicit representation of deployment details. Our insights highlight a fundamental ambiguity in the current specification: the exact definition of the verification task. If the goal is to verify the theoretical (infinite-precision) model, existing methods (e.g., DeepZ, DeepPoly) are sound. However, if the goal is to verify the deployed network, which we argue is a practical necessity, the task specification must explicitly include the details of the deployment environment (e.g., hardware architecture, compiler flags, numerical representation). Our work provides a framework for this latter, more rigorous definition of soundness.

Q2: Could you please detail the supported architectures and activation functions?*

Apart from ReLU, our FPSoundSymbolic approach can deal with any activation function that standard symbolic algorithms (e.g., DeepPoly or CROWN) can handle. For instance, a sigmoid layer can be verified using the bounding techniques used by DeepPoly [16], where the sigmoid function is linearly approximated. We can simply apply the approximation of the activation function and plug it into FPSoundSymbolic. This can be done because activation functions have only a single input parameter, so using an envelope of the function is sufficient for practical soundness, parameter ordering need not be considered.

The interval propagation approach is even more flexible because any deterministic activation function can be used, provided it is computed by the implementation in deployment on its input interval and then rounded outward. This is because activation functions have a single input and thus do not have an exponential number of variations due to parameter ordering.

Other usual computations such as normalizations and residual connections can also be easily accommodated by our verifiers. The only challenge is posed by non-linear operations in the symbolic approach, in which case a linear overapproximation is necessary.

Q3: How difficult would it, according to your judgment, be to integrate the method into a well-performing verifier?

This question implies two subquestions. The first one is algorithmic (can SotA verifiers be extended with our bounding technique?) and the second one is implementational (can our techniques be implemented efficiently, maybe even on GPUs?).

The first question is easier: extending most well-known verifiers with our Δ\Delta bound is mathematically straightforward.

To answer the second question, we need to consider that adding our techniques would require an almost complete rewrite of the available codebases. This is because standard frameworks (like the Python/PyTorch implementations of CROWN) treat parameters as standard floating-point tensors and utilize high-level backend functions (like torch.matmul). These abstractions hide the low-level floating-point operations. Our method requires propagating linear interval expressions and calculating the Δ\Delta widening for every neuron. However, if we rewrite these methods to use, e.g., interval arithmetic libraries, we might lose some of the efficiency. Fortunately, our methods can be implemented on GPUs, but the simplicity of this implementation depends primarily on how we want to deal with underflow and overflow (Section 4.4):

  • If we ignore both underflow and overflow, then a GPU implementation is straightforward, as our bounds can be integrated into the interval coefficients.
  • If we include only the overflow tests, or we also include underflow but the environment uses subnormal numbers, the GPU implementation is still easy: we need to compute two additional sums for each neuron, as described in the paper.
  • If we also include underflow tests, and the environment does not use subnormal numbers, then the GPU implementation becomes much more challenging, because this case involves lots of tests of individual scaled terms, as described in Section B.2 in detail. This element-wise inspection breaks standard hardware optimizations, such as highly optimized matrix multiplications or FMA instructions. Still, adapting this sequential inspection logic to massively parallel GPU architectures is not impossible.

Reaction to Weaknesses

W1: The work seems to focus on ReLU. While this is a good first step, it might not be sufficient for this conference.

The basic ideas are more generally applicable, please see our reply to your question Q2 above. We would like to add, though, that many recent state-of-the-art formal verification papers (e.g., [23, 19, 25, 45]) also focus on ReLU networks exclusively, as the ReLU activation is still competitive and widely used, while it also allows for more powerful verification approaches.

W2: The experimental scope is limited to MNIST and CIFAR10. However, as the key point of this paper is presenting a methodology for achieving soundness, this can be considered minor.

Indeed, our focus is presenting a methodology for achieving practical soundness, as opposed to improving the scalability or efficiency of formal verification, so our goal is achieved as long as the overhead of our technique relative to existing verifiers is small. Still, MNIST and CIFAR-10 remain popular benchmarks in the field of formal verification to this day. This means that most of the benchmark models from related work were trained on these datasets, including the ones that contain the environment-specific backdoors [1], an important application of our method. For this reason, we analyse the overhead of our methods using such benchmark models.

W3: The author explicitly states that there are no approximate matrix multiplications, which might occur in practice, thereby reducing the impact of the paper.

It is obvious that if a completely unknown approximation algorithm is used in deployment then there are no formal verification methods that can guarantee soundness. So, at the very least, we need to assume that any approximation algorithms are known at verification time.

Indeed, we assumed here that there are no approximation algorithms. However, if the approximation algorithms in deployment are known at verification time, we can treat them as part of the expression tree, and we can run our techniques through the approximations as well. Granted, implementing this is not necessarily straightforward (depending on the applied algorithms), nonetheless, dealing with approximations is not a fundamental limitation of the approach.

Reviewer fBhdOpenReview ↗
Rating
6/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper study the limitation of neural network verification: existing "sound" verifiers are not guaranteed to remain sound due to floating point issues, making them vulnerable to verifier backdoor attacks. The authors show that practical deployment-sound verification can be achieved by bounding backward error and propose two verifiers based on interval bound propagation and symbolic propagation. Both methods remain sound under arbitrary valid expression trees and numerical underflow/overflow, while introducing only modest overhead and successfully detecting all known verifier backdoor attacks.

Strengths and weaknesses

Strengths

  1. The idea of this paper is interesting, and significant. How to address the floating point issues in DNN verification. I do believe this paper can contribute other releated research.

  2. This paper provide some theorical analysis, strengthen its contribution.

  3. This paper is well written and easy to follow.

Weaknesses

  1. The evaluation is only conducted on small and RELU models, which limit the generalizeability of this work.

  2. This paper does not consider the error introduced by the parallel compuing, such as (a + b) + (c + d), where (a + b) and (c+ d) are computed at the same time.

  3. Theat Model is unceler, does the verifier need to know the detailed implementation of this model, such as detailed mathematical expression of each layer?

  4. Missing some related work of floating point inconsistency, see detailed comments.

Questions
  1. Can the proposed method be generalize to DNN running on the GPU?

  2. Can the proposed method be generalize to larger DNN models?

  3. Does the verifier need to know the detailed implementation of this model, such as detailed mathematical expression of each layer?

Limitations
  1. The evaluation is conduected only with small and RELU DNN models. It remains unclear how easily the approach can be extended to modern architectures involving attention mechanisms, normalization layers, residual connections, transformers, or other non-piecewise-linear operators.

  2. The empirical evaluation is conducted on relatively small MNIST and CIFAR-10 models, with the largest network containing roughly 11 million parameters. There is no evidence that the method remains practical for state-of-the-art models, such as LLM and VLM.

  3. Other related work about the security of floating point inconsistency are not included.

[1] Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers

[2] FloatDoor: Platform-Triggered Backdoors in LLMs

[3] Hardware-Triggered Backdoors

Formatting concerns

NA

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Answers to questions

Q1: Can the proposed method be generalized to DNN running on the GPU?

The question is slightly ambiguous. If the reviewer is concerned whether our verification method works also in deployment environments where the DNNs run on GPUs, then yes, our method does cover such environments. The fact that we cover every possible expression tree means that the environment can be massively parallel and stochastic.

If the question is about running the verification itself on GPUs, then please refer to our detailed responses to Reviewer FNxv (question 5) and Reviewer M67s (question 3). In a nutshell, yes, it is possible to implement our algorithms on GPUs.

Q2: Can the proposed method be generalized to larger DNN models?

To conduct our experiments, we selected neural networks from MN-BaB [19], which is a state-of-the-art formal verifier running on GPUs. Currently, the maximum network size that can be verified using formal verification methods is around 10M parameters, which we can also accomplish.

We would like to add that our method has another useful application, namely running verification for a single specific input (rather than an input domain), because this way, we can heuristically characterise the sensitivity of the network to implementation details. This could already reveal adversarial networks, where this sensitivity is extremely large. Since verifying a zero-width interval is normally much cheaper, combined with an efficient GPU implementation it would be highly feasible to scale this single-input approach to much larger models, potentially including smaller LLMs, which we consider an exciting direction for future work.

Q3: Does the verifier need to know the detailed implementation of this model, such as detailed mathematical expressions of each layer?

This question is also slightly ambiguous. Our interpretation of the question is whether the practically sound verifier needs to know the exact implementation details, including the expression tree, of the model in deployment (because it is obvious that the theoretical model has to be known in full detail). No, at verification time we only need minimal information about the deployment, which boils down to the minimum guaranteed floating-point precision (higher precision is allowed in any sub-expression) and whether the deployment uses subnormal numbers (this is needed only for dealing with potential underflow). Needless to add, we also need to know whether our theoretical assumptions hold, as detailed at the beginning of Section 4.

Reaction to Weaknesses

W1 (only small ReLU models). Our method can easily be extended to activation functions beyond ReLU. For interval propagation, any activation function can be used, provided it is computed by the implementation in deployment on its input interval and then rounded outward. This is because activation functions have a single input and thus do not have an exponential number of variations due to parameter ordering. Symbolic propagation can also adopt existing methods: for instance, a sigmoid layer can be verified using the bounding techniques used by DeepPoly [16], where the sigmoid function is linearly approximated. Other usual computations such as normalizations and residual connections can also be easily accommodated by our verifiers. Regarding scalability, please refer to our answer to your question Q2.

W2 (parallel computing). We do consider every possible expression tree, including those implemented by parallel computations like the one given in the review. That is, our method guarantees sound bounds for any execution order, including (a+b)+(c+d)(a+b)+(c+d). Please consider that no matter how we parallelize the computation, it can be represented by an expression tree. That is, from a computational point of view, it does not matter whether (a+b)(a+b) and (c+d)(c+d) are computed at the same time, as long as we first compute both (a+b)(a+b) and (c+d)(c+d) (in parallel or sequentially) and then we add them. The formal proofs for this are provided in Appendix A for both the IBP and Symbolic approaches.

W3. Please see our answer to question 3.

W4 (missing related work). Thank you for the excellent suggestions for further references to cite. These papers further motivate our threat model. These articles demonstrate how adversarial behaviors can be triggered by exploiting floating-point non-associativity [3], numerical deviations introduced by compiler optimizations [1] (e.g., graph reformulations), and hardware-specific constraints [2]. Consequently, they strongly reinforce the necessity of our sound verification approach to rigorously bound and defend against these numerical deviations across different deployment environments.

Reviewer fBhd · CommentOpenReview ↗

Thanks to the authors for their detailed response, which addressed almost all of my concerns. My remaining questions (Q1, Q3, and W2) all relate to the same underlying issue: how can the approach construct all possible expression trees when the implementation of certain CUDA kernels is not open-sourced? Clarifying this point would strengthen both the technical soundness and the presentation of the paper.

Overall, I like this paper and believe it makes a valuable contribution. However, addressing the above confusion would make the work even stronger.

In addition, the authors should discuss whether their approach can be extended to or integrated with SMT-based (solver-based) verification and Lipschitz-based verification methods, and clarify any limitations in applying the proposed framework to these verification paradigms.

Authors · CommentOpenReview ↗

Reply to clarified questions

Thank you for clarifying the questions. This allows us to expand on these interesting issues.

How can the approach construct all possible expression trees when the implementation of certain CUDA kernels is not open-source?

We do not need to know the exact CUDA implementation. However, we need to know whether it implements the mathematical formula of the theoretical network exactly, apart from the grouping of the associative operations and the ordering of the commutative operations, which can be arbitrary. In other words, we allow for any valid expression tree that represents the theoretical network.

For example, ML libraries offer a variety of convolution implementations on CUDA, and these implementations are often dynamically selected during inference. Now, assuming direct convolution (computing the convolution using an inner product of a sliding mask and the input), at verification time all we need to know is that the deployment will use some variant of this computation, but we do not need to know exactly which one. For example, the most popular implementations use GEMM (generalized matrix-matrix product), which are variants of the same expression tree (apart from zero padding, but that does not affect the bounds). In the paper, we assumed this class of algorithms.

There are other implementations as well, such as FFT-based convolution. FFT is also linear and exact, but the expression tree is not equivalent to direct convolution. Our bounding technique can be implemented for such convolution implementations as well. However, we need to know at verification time whether such implementations are allowed or not (and, again, we do not need to know the exact expression tree).

Finally, there are convolution implementations that are approximations (non-exact), but as we mentioned in our rebuttal, such approximations can also be correctly bounded as long as we know at verification time what algorithms will be used in deployment (but, again, we cover every possible valid ordering and grouping of operations, in other words, every valid expression tree).

SMT-based (solver-based) verification and Lipschitz-based verification methods.

Solver-based approaches need a model of the computations expressed in some appropriate format (e.g., linear constraints), and then the bounds are computed through optimization. These are often proposed to implement sound and complete verification, while we focus on sound (but not necessarily complete) verification.

However, for sound verification, our bounding technique can be used to build the required model of the computations by incorporating our upper bound of the possible floating-point error. This approach can in principle implement sound verification, but there is one important caveat: the solver is the weakest link in the process because we need to make sure there are no floating-point issues during the optimization either. This is not guaranteed by practically applicable solvers. Reliable optimization is so expensive that its overhead prevents its application at a practical scale.

Lipschitz-based verification is also a very interesting application area. While we have not thought about this problem before, we present our initial ideas on the applicability of our approach.

In real (infinite precision) algebra, the Lipschitz constant is a global property that is independent of the input. However, in floating-point arithmetic, this is no longer true: the Lipschitz constant of a deployed network depends on the norm of the input.

Let us first consider the ℓ∞\ell_\infty distance. Here, the Lipschitz constant of the inner product x⋅wx\cdot w is ∣w∣1\\|w\\|_1 in real algebra. For example, 0.1x1​+0.2x2​+0.7x3​0.1x_1​+0.2x_2​+0.7x_3​ has a​ theoretical ℓ∞\ell_\infty Lipschitz constant of 1. Yet, due to rounding, the actual variation in a deployed network can exceed this theoretical limit depending on the input xx. Focusing on the inner product (the basic building block used in the paper as well), our initial observation is that:

  • Multiplication introduces a factor of error of Nϵ∣x∣∞∣w∣∞N\epsilon\\|x\\|_\infty\\|w\\|_\infty, where ϵ\epsilon is the machine epsilon, and NN is the length of the vectors.
  • The error introduced by addition can be bounded by the same approach we presented in the paper.

An interesting corollary of this is that we can get a strict upper bound on the deployed Lipschitz constant of a neuron only in a bounded input space. While setting such a bound is relatively straightforward for the first layer, computing tight bounds for hidden layers can be challenging.

Regarding the ℓ2\ell_2 norm, the problem appears significantly more complex. Unlike the ℓ∞\ell_\infty norm, which allows for a local, per-neuron analysis, tracking floating-point errors here requires a more complex approach. Fully understanding and formalizing how floating-point arithmetic modifies the Lipschitz constant in different norms is a very promising direction for future work.

Reviewer pTpAOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Verification algorithms for neural networks are given that are sound in being able to cover every activation pattern of neurons, including in practical deployed settings which may open additional adversarial attacks compared to the theoretical definitions of the neural networks (e.g. as disjunctions of linear programs). The efficiency of these solvers is shown via experiments.

Strengths and weaknesses

The setting is interesting and addressing the practically deployed versions of these networks seems novel.

Questions

Can the authors give a concrete example of an adversarial attack that affects other solvers, but not the one proposed here?

Limitations

Yes

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Answer to the Question

This is an interesting question. Let us first make the definition of such an adversarial attack more precise. A verifier is sound if it labels an input safe only when it is indeed safe (but maybe it does not label some safe inputs safe). So, given a model and a supposedly sound verifier, the goal of such an adversarial attack could be to find an input that the verifier labels safe on the given model, while it is in fact not safe. If the verifier is sound, then this should not be possible. So, we should keep in mind that this adversarial input is adversarial to the verifier and not to the model. We also need to elaborate on what "not safe" means: in the context of our paper, this is interpreted as "not safe in some deployment". So, an even more precise definition of the required adversarial input xx is this: for a given model and a supposedly sound verifier, input xx is verifier-adversarial if the verifier labels xx safe, but there is a deployment environment in which xx is not safe.

Having defined the goal, we can now answer the question: yes, we can provide a concrete example. Jia and Rinard (2021) proposed an attack that specifically targeted MIPVerify, a supposedly sound and complete verifier. The attacker generates an input pair (x0,xadv)(x_0, x_\text{adv}), where xadvx_\text{adv} is within the ϵ−\epsilon-neighborhood of x0x_0, such that MIPVerify (running in a Julia environment) formally verifies the ϵ−\epsilon-neighborhood around x0x_0 as safe, however, when the network is executed in a PyTorch/Python environment, it misclassifies xadvx_\text{adv}. The attack works by searching for inputs that are "just" safe, that is, xadvx_\text{adv} is extremely close to the (theoretical) decision boundary. This attack successfully exploited the numerical differences between the verifier's backend (Julia) and the inference backend (PyTorch).

Note that this is not the same setup that we presented. MIPVerify is not even theoretically sound, because it does not handle floating-point operations safely. It uses a MIP solver that is essentially a black box from a numerical point of view and does not guarantee floating-point soundness. Nonetheless, the same attack works on theoretically sound but not practically sound verifiers as well.

Our proposed solver is immune to this attack because it guarantees that if an input is labeled safe, then it is safe in every deployment that matches the (rather weak) assumptions of our algorithm. Thus, instead of incorrectly verifying the neighborhood around x0x_0 as safe, our solver would correctly expand the bounds to encompass all the possible deployment-specific numerical deviations and return "unsafe" for such an adversarial input x0x_0.

Finally, let us mention that there is a slightly different adversarial attack definition, which seeks adversarial models (thus, not inputs for a given model) for a given supposedly sound verifier. In the paper, we focus on this vulnerability and present several examples of such networks. These adversarial networks can be programmed to behave arbitrarily when deployed in some specific deployment environments, and this adversarial behavior remains hidden to the verifier. Our framework prevents this attack as well by covering every deployment.

Reference

  • Kai Jia and Martin Rinard. Exploiting verified neural networks via floating point numerical error. SAS 2021.
Reviewer FNxvOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper exposes the unsoundness observed in the working neural network verifiers when deployed in practical scenarios, which are otherwise claimed to be sound in theoretical settings. The unsoundness arises from floating-point arithmetic, which is usually ignored in theoretical modelling. The authors further extend two neural network verifiers to incorporate these theoretical shortcomings. The new verifiers are proved to be sound for any execution trace (arbitrary ordering of the AST of an arithmetic expression). The same is also shown practically on 6 benign networks (including 5 from standard literature) and one adversarial network.

Strengths and weaknesses

Strengths:

  1. In general, due to the complexity of formal verification, several modelling assumptions are made to make the problem tractable. These assumptions seldom hold in practice. I like the authors’ attempt to remove some of them and still maintain the soundness of the improved algorithms.
  2. The authors provide a formal proof of correctness of the new algorithms and also an implementation to concretise their claims.

Weakness:

  1. From a theoretical standpoint, the work seems to be a simple application of Higham’s bounds (existing work), and so, the theoretical novelty of the paper seems limited.
  2. As the authors also note, the paper only fixes a specific source of practical unsoundness, which is the floating point arithmetic. So, it would be an overclaim to refer to the new algorithms as sound verification of deployed DNNs. Further, I think it also matters how much this particular source actually contributes to unsoundness in practice, i.e., how often does it actually cause a baseline verifier to give an unsound verdict. The current evaluation is done on only 7 networks, which is quite small to draw any conclusion from. The contributions would be stronger if the experiments were run on a larger and more diverse set of networks, so to get a sense of how frequently this problem shows up in practice and how significant the fix really is, instead of just seeing that it works on a handful of networks.
  3. The paper does not discuss the memory usage. Due to the increased gaps between the lower and upper bounds, more ReLU neurons might become unstable (Line 361). This will also increase the number of symbolic variables described in Eq. 8, which might increase the memory usage.
Questions
  1. The problem of floating-point soundness is not new. There should be some discussion of how it's handled in domains other than neural network verification, what extra complexity NN verification adds on top, and how the proposed solution differs from what's used in those other domains.
  2. I understand the motivation that the execution tree used at deployment might differ from what the verifier assumes (e.g. line 151's example: verifier uses [1,1]+[1,1]+[2^53,2^53], but execution ends up doing (2^53+1)+1). But I'm not convinced the right fix is to require soundness over "all possible" expression trees (Line 136). This seems too conservative if it costs a lot of precision. Is the execution tree at deployment actually unknown or non-deterministic across runs (e.g. due to compiler reordering or parallel/GPU reduction), or is it fixed once the deployment environment is fixed? If it's fixed, why not just determine that one tree and verify against it, instead of requiring soundness across every possible tree? I think this is the core assumption that needs more justification.
  3. I did not fully understand FPSoundSymbolic, and more importantly, Symbolic. Is Symbolic a new verifier used in this paper? Or is it based on one of the existing ones like DeepZ, DeepPoly, or CROWN? From line 282, it seemed that FPSoundSymbolic is an extension of DeepZ. But according to Table 1, it is different. Please clarify. Did you consider building on top of an existing symbolic baseline like DeepPoly/CROWN instead of a new implementation, and if not why?
  4. The last rows of Tables 2 and 3 are very surprising. Symbolic verifiers are usually more precise than IBP. But from Tables 2 and 3, the symbolic verifier is 3 orders of magnitude worse than IBP. Am I reading the results correctly? Why are the bounds of the symbolic so imprecise? The authors have omitted the bounds of baseline verifiers for MO3 because they are unsound. But I still like to see the results for the last row of Table 1. Especially the runtime of baseline verifiers on MO3.
  5. Were the experiments run on CPU or GPU? Since the runtime is a metric used in the paper, I would like to know which implementations of the baselines were considered.
  6. In line 162, the authors mention DeepPoly and CROWN as example symbolic verifiers. An important step in DeepPoly and CROWN is backsubstitution to make the bounds more precise. How do the authors propose to handle that while extending the algorithm for floating-point soundness?
Limitations

Yes

Formatting concerns

None

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Answers to questions

Q1 (Floating-point soundness in other domains).

Floating-point soundness is indeed a known challenge in general program verification, often addressed using interval or affine arithmetic. Accordingly, we cited several papers outside the machine learning domain, including references [4] and [27]. Reference [28] explicitly makes the point that taking the deployment environment into account is an important open research question outside machine learning as well that is often overlooked. In fact, Higham’s bound that we build on also comes from outside machine learning. Thus, our approach has potential applications in a wider scope.

For the sake of focus, we did not pursue other applications here, only the practically sound formal verification of DNNs, which poses unique challenges related to scale and the deep structure of the computed function, which includes nonlinearities that need to be approximated. Addressing these challenges turned out to be highly non-trivial, especially in the case of symbolic propagation.

Q2: Why do we assume that every execution tree is possible?

Verifying all possible expression trees is not just a conservative choice, but a practical necessity. Real-world deployment environments are highly stochastic, and the exact execution tree is rarely deterministic, as several works have pointed out that we cite in the paper. For instance, highly optimized linear algebra backends (such as cuBLAS on GPUs) utilize parallel reduction and block-matrix multiplications. In these scenarios, the order of floating-point accumulation depends on dynamic thread scheduling, meaning the expression tree can change not just across different hardware, but across different inference runs on the same hardware.

If a deployment environment strictly guaranteed a single, fixed, and known execution tree, one could indeed verify against that specific tree. However, enforcing this would prohibit the use of modern, asynchronous parallel hardware optimizations. Our method ensures soundness without forcing the deployment environment to sacrifice these critical optimizations.

Q3: Is Symbolic a new verifier?

No, but FPSoundSymbolic is. Symbolic is our own implementation of well-known ideas for symbolic interval propagation. To reiterate:

  • Symbolic is our baseline verifier. It is very similar to DeepPoly: it treats inputs as symbolic variables, propagates linear expressions with interval coefficients, and uses the ReLU relaxation described in Section 4.3. It does not apply any of the floating-point techniques proposed in our paper or any advanced ReLU approximations (like DeepPoly, DeepZ, or CROWN).
  • FPSoundSymbolic extends this baseline by incorporating Equation 7 (to ensure expression-tree-independent soundness) and the underflow/overflow heuristics detailed in Section 4.4 to demonstrate the benefits of these proposed techniques.

We do note that extending most well-known verifiers with our Δ\Delta bound is mathematically straightforward, but in practice it requires an almost complete rewrite of the available codebases. This is because standard frameworks (like the Python/PyTorch implementations of CROWN) treat parameters as standard floating-point tensors and utilize high-level backend functions (like torch.matmul). These abstractions hide the low-level floating-point operations. Our method requires propagating linear interval expressions and calculating the Δ\Delta widening for every neuron. Integrating this, along with strict outward rounding and under/overflow checks, into frameworks that abstract away these exact operations is not feasible.

Therefore, we developed our own baseline verifier (Symbolic) in Julia, based on well-known ideas, but leveraging IntervalArithmetic.jl, which provided the necessary low-level control over IEEE 754 rounding modes. As said above, it is very similar to DeepPoly and DeepZ, which also use linear interval expressions.

Q4: How can Symbolic have a larger overhead than IBP? What is the last row of Table 1?

The surprising difference between IBP and Symbolic on the MO3 network can be explained by the way symbolic relaxations interact with this specific adversarial backdoor structure (the detailed structure is in Appendix C, Figure 1). The output of the MO3 detector neuron dn+1​d_{n+1}​ is independent of the network's input. Because of this independence, the Symbolic method does not benefit from symbolic simplifications later on. At the same time, although the pre-ReLU bounds computed by both FPSoundIBP and FPSoundSymbolic are identical ([−1548,2573][−1548,2573]), FPSoundIBP computes the exact ReLU bound of [0,2573][0,2573], but FPSoundSymbolic applies the linear ReLU relaxation [−964.39,2573][−964.39,2573], as detailed in Section 4.3. This massive initial overestimation is then amplified by the remaining 3 layers of the network because, as mentioned above, the Symbolic method cannot benefit from the symbolic simplifications due to the adversarial neuron being independent of the input.

Regarding the last row of Table 1, here are the omitted results for MO3:

IBP (%) Sym. (%) Zono (%) Poly (%) Zono (s) Poly (s)
0 90 94 96 0.7 1.5

The images the unsound baselines can verify are the same on the adversarial MO3 and the benign M models. In other words, because these baselines are not practically floating-point sound, they entirely miss the adversarial behaviour of the detector neuron, evaluating MO3 exactly as if it were the benign network M. The slight increase in runtime is simply due to the extra nodes in the backdoor structure.

Q5: Does the evaluation use CPU or GPU?

As explained in Appendix D, all current experiments were executed on a CPU. Our methods can be implemented on GPUs, but the simplicity of this implementation depends primarily on how we want to deal with underflow and overflow (Section 4.4):

  • If we ignore both underflow and overflow, then a GPU implementation is straightforward, as our bounds can be integrated into the interval coefficients.
  • If we include only the overflow tests, or we also include underflow but the environment uses subnormal numbers, the GPU implementation is still easy: we need to compute two additional sums for each neuron, as described in the paper.
  • If we also include underflow tests, and the environment does not use subnormal numbers, then the GPU implementation becomes much more challenging, because this case involves lots of tests of individual scaled terms, as described in Section B.2 in detail. This element-wise inspection breaks standard hardware optimizations, such as highly optimized matrix multiplications or FMA instructions. Still, adapting this sequential inspection logic to massively parallel GPU architectures is not impossible.

Q6: Can more sophisticated approximations be supported?

Yes. Advanced optimizations like the α\alpha parameters used in α\alpha-CROWN to tighten ReLU relaxations (which we classify under "more advanced over-approximation methods" in Section 5.1) can be integrated directly. The optimization variables in CROWN dictate the slope of the lower/upper bounding planes to improve precision. Because these variables do not compromise the underlying soundness, they could be used in FPSoundSymbolic. We only need to compute the propagated linear expressions using our floating-point techniques.

Reaction to Weaknesses

W1 (originality). The applicability of Higham’s bound (which is for bounding the result of an inner product) to Symbolic propagation over deep networks is highly non-trivial. Proving the correctness of this case is one of our main results, as we argue in the Introduction. We also propose a solution to take into account both underflow and overflow, which are also novel contributions.

W2 (practical relevance). Our most practically relevant contribution is the ability to patch vulnerabilities in existing verifiers against malicious models designed to operate very differently across deployment environments. Such models can pass verification (like model M03) while producing completely arbitrary behavior in specific environments. In the case of benign networks, different environments will rarely result in different classifications of normal inputs, but even in this case, adversarial attack methods have been published that seek inputs very near the decision boundary that can behave differently across deployment environments (e.g., Jia and Rinard at SAS 2021).

W3 (memory overhead). We tested this, and on the normal (non-adversarial) models, FPSoundSmbolic does not introduce any extra unstable ReLUs relative to Symbolic. This is because for benign networks our interval widening is minimal, that is, \Delta is very small. This is also clear from Tables 2 and 3, where we can see that the overapproximation overhead is negligible for benign networks. Thus, the memory requirement is not increased. Of course, on adversarial networks, we do get new active ReLUs, but that is the intended correct behavior.

Reviewer FNxv · CommentOpenReview ↗

Thanks for the response. While the response addresses some concerns, several questions still remain unresolved. Most importantly, I am still not clear about what the Symbolic baseline actually is. Is it based on DeepZ (as stated in Section 4.3) or DeepPoly (as stated in the rebuttal)? This is an inconsistency in the claims and is not properly stated. Since runtime is reported as a metric in the paper, using a new implementation instead of an existing one makes this comparison hard to trust. Further, there is no mention of how backsubstitution is handled in FPSoundSymbolic, which is one of the core contributions of DeepPoly.

Q1 As far as I understand, [4] and [27] are not about non-ML domains as claimed by the authors. More importantly, I wanted to know what part of the problem and solutions already exist and what are the additional challenges introduced in the DNN verification domain, which might require new solutions. Without this discussion, it's difficult to judge how much of the contribution is new versus adapting existing techniques into a new implementation.

Q3 I understand that FPSoundSymbolic needs a new implementation, but I don't see why the authors didn't use an existing implementation for the baseline. The results would be more reliable if the authors used an existing implementation of DeepPoly. Did you consider using ConstraintFlow or Neuton (https://arxiv.org/abs/2507.20055)? These tools can generate an implementation directly from a mathematical description. Separately, I'd like to understand what Symbolic actually is: is it similar to DeepZ (as stated in Section 4.3) or to DeepPoly (as stated in the rebuttal)?

Q4 The explanation given for the overhead compares FPSoundIBP and FPSoundSymbolic, but by the same reasoning the naive Symbolic baseline should show a similarly disproportionate gap relative to naive IBP on MO3, since the ReLU relaxation and the lack of symbolic cancellation for the input-independent detector neuron should not depend on whether Δ-widening is applied. But that's not what the numbers show: naive Symbolic (Table 3, MO3, avg 5.76) is smaller than naive IBP (Table 2, MO3, avg 165.74). It's only after Δ-widening that Symbolic grows to 6.33×10⁶ while IBP grows only to about 2003. This suggests the effect is tied to how Δ compounds through the recursive formula (Eq. 7), not to the ReLU relaxation itself. Could you reconcile this with the naive-baseline numbers?

Q6 My question was specifically about the handling of backsubstitution in the DeepPoly algorithm. It is important to understand this because the authors use it as their baseline and claim to extend it to floating point soundness but never mention it in the paper. Notably, backsubstitution was one of the core contributions of DeepPoly.

W2 The paper only handles floating point soundness, which as the authors also claim is not the only problem in real-world deployed networks. So "Sound Verification of Deployed Neural Networks" seems to be an overclaim and misleading.

Authors · CommentOpenReview ↗

reply to remaining questions

Thank you for allowing us to clarify the remaining issues.

Symbolic baseline. Please note that the Symbolic baseline is described in full detail in Section 4. The paper is self-contained in this regard. In particular, we used only symbolic propagation of linear expressions and ReLU approximation, no other techniques were used. We mentioned DeepZ and DeepPoly in the rebuttal as examples of approaches that also apply symbolic propagation and ReLU approximation, but we also said that no additional techniques were adopted for the present work. We now see that this might have caused some confusion, and for that, we are sorry.

Q1. We intended to mention [5] and not [4]. Thank you for spotting this. Ref [27], however, does cover the non-ML context (and ML too). Most importantly, let us not forget that such practically sound bounding techniques have never been applied in ML, in fact, even the problem was formalized only one year ago in [1]. We would consider this a contribution in itself even if our proposal were a widely applied technique outside ML, but it is not, to the best of our knowledge. For example, [27] proposes determinism, which is unrealistic, a major bottleneck in modern DL; we instead cover every expression tree. Also, the application of Higham’s bounds for symbolic propagation is far from trivial (see the proof of Proposition 3). This was one of the challenges. Another considerable challenge was dealing with underflow (please check Section B for the full details). We also performed an empirical evaluation specific to the application area, focusing on overhead and adversarial networks.

Q3. We include evaluations of DeepPoly (see Tables 1 and 4). Table 1 allows for a comparison of runtime, and Table 4 reveals that DeepPoly is not practically sound. Nonetheless, our goal was to investigate the overhead of our technique, and for that we needed the same verifier with and without our techniques. For this, it is essential that these verifiers differ only in our techniques and nothing else, otherwise, the comparison is meaningless.

Q4. Indeed, the difference is whether the verifier is practically sound or not. For both of the unsound verifiers Symbolic and IBP, the output of the detector neuron is (the incorrect) [512,512][512,512]. That is because they both simply miss the potential adversarial behavior (note that they behave the same on networks M and MO3). But this positive interval can be propagated without any approximation error by both verifiers through ReLU, not to mention it is a zero-length interval.

Q6. Thank you for the clarification. We have not attempted to implement backsubstitution, but this is definitely a task that we are happy to attack in the future with some optimism. Our intuition suggests that extending our approach to backsubstitution is feasible because DeepPoly also builds from the input layer like vanilla linear symbolic propagation, but introducing extra variables. Similar to linear symbolic propagation, we expect that adding Δ\Delta-widening to the intermediate expressions ensures that the expressions' true mathematical range covers the floating-point behavior. However, a reliable formal proof remains for future work, given the short rebuttal timeframe.

W2. We are happy to change the title, should that be necessary, by prefixing it with Towards. Still, FPSoundSymbolic theoretically guarantees practical soundness under rather realistic assumptions that we detailed in the rebuttal and in the paper, which cannot be said for other known verifiers.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…