- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
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.
Paper formatting concerns
None
Final justification
My concerns were appropriately addressed. Most importantly, the method is applicable to other architectures, as well.
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 Δ 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 Δ 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):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.