Sound Verification of Deployed Neural Networks
Attila Szász, Balázs Bánhelyi, Márk Jelasity
NeurIPS page · OpenReview · Open on the map
Category: Causality, Privacy & Learning Theory › Neural Network Robustness Verification · Type: new method · Keywords: neural network verification, soundness, backward error bound, interval bound propagation, symbolic propagation
Areas: Safety & Security › Adversarial Security › Backdoor Attacks
Summary
We propose efficient and practically sound verifiers for deployed neural networks using a bound on the backward error, delivering interval bound propagation and symbolic propagation variants that remain sound under deployment variations.
Explained to a 5-year-old
Computers can learn to do things, like recognize speech or drive cars. When we use these computers, we want them to never make a mistake that could hurt us. Some checking tools say a computer is safe, but they can be tricked if the computer does its calculations in a different way. This paper finds a new way to make checking tools always work, even if the computer does things differently. Now we can trust computers more when they are used in important places.
Explained to a 5-year-old, longer
Computers can learn to do many things, like telling if a picture has a cat. When we use these computers, we want them to never make a mistake that could hurt us. To check if they are safe, we use special tools that do math to prove they are correct. Some of these tools say a computer is safe, but they can be tricked if the computer does its calculations in a different way. This can happen when the computer runs on many parts at the same time or when tiny numbers get too small or too big. The paper shows that we can make checking tools that are always right, even when the computer does things differently. They do this by using a special math trick that limits how much the computer can change. They built two new checking tools: one that uses simple math intervals, and another that uses a more detailed way of thinking about the numbers. Even if the computer picks a completely different order to do its math, these tools still say if the computer is safe. They also work even when the computer has tiny errors because of very small or very large numbers. In experiments, the new tools still catch all the tricks that old tools missed, and they are not too slow. This helps us trust computers more when we use them in important jobs like driving cars or helping doctors.
For a technical reader
Current verification tools for neural networks claim to guarantee safety, but they can be fooled when the model runs on real hardware because the computation order or numeric errors differ from what the tool assumes. This paper shows that by bounding the backward error of the network, we can design verifiers that stay sound even under those deployment variations. They implement two such verifiers: one using interval bound propagation and another using symbolic propagation, both proven to handle arbitrary expression trees and numeric underflow/overflow. Empirical results show the new verifiers detect all known verification bypass attacks while adding only modest overhead. The work provides a practical path to trustworthy deployment of neural networks in safety-critical systems.
Problem
Verifying neural networks soundly in deployment is challenging because current sound verifiers may not be sound for the deployed version, making them vulnerable to backdoor attacks. Additionally, verifying all possible executions-including parallel, stochastic, and numeric error cases-is suspected to be prohibitively expensive.
Method
The approach uses a bound on the backward error to guarantee soundness even when the deployment environment selects arbitrary expression trees or experiences numeric underflow/overflow. It implements this bound in two verifier variants: one based on interval bound propagation and another using symbolic propagation. Both verifiers remain sound under parallel, stochastic, and numeric error conditions.
Results
The approach shows limited performance overhead while successfully detecting all known verifier backdoor attacks.
Contributions
We provide a bound on the backward error that enables efficient and practically sound verifiers for deployed neural networks, and we present two concrete verifier implementations that remain sound under deployment variations. Our work closes a critical gap between theoretical soundness and practical verification.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction