[Paper Review] Input Validation for Neural Networks via Runtime Local Robustness Verification
This paper proposes using local robustness verification to validate inputs for neural networks at runtime, leveraging the observation that correctly classified inputs have significantly larger robustness radii than misclassified or adversarial examples. By setting thresholds or modeling robustness radii as a normal distribution, the method improves model accuracy and defends against adversarial attacks, especially strong ones.
Local robustness verification can verify that a neural network is robust wrt. any perturbation to a specific input within a certain distance. We call this distance Robustness Radius. We observe that the robustness radii of correctly classified inputs are much larger than that of misclassified inputs which include adversarial examples, especially those from strong adversarial attacks. Another observation is that the robustness radii of correctly classified inputs often follow a normal distribution. Based on these two observations, we propose to validate inputs for neural networks via runtime local robustness verification. Experiments show that our approach can protect neural networks from adversarial examples and improve their accuracies.
Motivation & Objective
- To address the vulnerability of neural networks to adversarial examples, which can cause critical failures in safety-critical applications.
- To explore whether robustness radii can serve as a reliable indicator to distinguish valid inputs from adversarial or misclassified ones.
- To develop practical runtime input validation techniques based on local robustness verification that do not require global verification or oracle access.
- To improve neural network robustness and accuracy by filtering inputs with low robustness radii at inference time.
Proposed method
- The method computes the robustness radius of an input using local robustness verification, measuring the maximum perturbation size within which the network's prediction remains unchanged.
- It leverages empirical observations that valid inputs have much larger robustness radii than adversarial or naturally misclassified inputs.
- A threshold-based validation method is proposed, where inputs with robustness radius below a user-defined threshold are rejected as potentially adversarial or corrupted.
- A distribution-based validation method is introduced, modeling the robustness radii of clean inputs as normally distributed and flagging outliers as suspicious.
- The approach uses approximate robustness verification techniques that scale to large networks, enabling real-time inference-time checks.
- The method does not require retraining or architectural changes, making it applicable as a post-hoc defense.
Experimental results
Research questions
- RQ1Can robustness radius serve as a reliable discriminator between valid inputs, natural misclassified inputs, and adversarial examples?
- RQ2Do robustness radii of correctly classified inputs follow a consistent statistical distribution, such as normal?
- RQ3Can local robustness verification be effectively used at inference time to validate inputs and improve model accuracy?
- RQ4How effective is the proposed method in defending against strong adversarial attacks, especially those from white-box and black-box settings?
Key findings
- Valid inputs exhibit significantly larger robustness radii compared to adversarial examples and naturally misclassified inputs, especially those from strong attacks.
- The robustness radii of correctly classified inputs often follow a normal distribution, enabling statistical modeling for detection.
- The threshold-based validation method improves neural network accuracy by filtering inputs with low robustness radii, reducing misclassification.
- The distribution-based method is effective in detecting continuous or evolving attacks by identifying inputs with outlier robustness radii.
- The proposed methods are effective against strong adversarial attacks, including those from white-box and black-box settings, and outperform or match existing detection techniques.
- The approach is practical and scalable, enabling real-time input validation without retraining or architectural modifications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.