Efficient Neural Network Robustness Certification with General Activation Functions
About
Finding minimum distortion of adversarial examples and thus certifying robustness in neural network classifiers for given data points is known to be a challenging problem. Nevertheless, recently it has been shown to be possible to give a non-trivial certified lower bound of minimum adversarial distortion, and some recent progress has been made towards this direction by exploiting the piece-wise linear nature of ReLU activations. However, a generic robustness certification for general activation functions still remains largely unexplored. To address this issue, in this paper we introduce CROWN, a general framework to certify robustness of neural networks with general activation functions for given input data points. The novelty in our algorithm consists of bounding a given activation function with linear and quadratic functions, hence allowing it to tackle general activation functions including but not limited to four popular choices: ReLU, tanh, sigmoid and arctan. In addition, we facilitate the search for a tighter certified lower bound by adaptively selecting appropriate surrogates for each neuron activation. Experimental results show that CROWN on ReLU networks can notably improve the certified lower bounds compared to the current state-of-the-art algorithm Fast-Lin, while having comparable computational efficiency. Furthermore, CROWN also demonstrates its effectiveness and flexibility on networks with general activation functions, including tanh, sigmoid and arctan.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Neural Network Verification | oval VNN-COMP 2022 | Verification Time (s)23.26 | 10 | |
| Robustness Verification | CIFAR | Verified Accuracy0.455 | 8 | |
| Neural Network Verification | cifar100-tinyimagenet VNN-COMP 2022 | Verification Time (s)11.95 | 6 | |
| Robustness Verification | MNIST | Verified Accuracy71 | 6 | |
| Robustness Verification | CIFAR-10 | Verified Accuracy83.33 | 6 | |
| Robustness Verification | OVAL 22 | Verified Accuracy66.66 | 6 | |
| Neural Network Verification | cifar100 VNN-COMP 2024 | Verified Properties Count119 | 5 | |
| Neural Network Verification | tinyimagenet VNN-COMP 2024 | Verified Properties Count135 | 5 | |
| Robustness Verification | cifar100 2024 | Verified Accuracy59.5 | 4 | |
| Robustness Verification | tinyimagenet 2024 | Verified Accuracy (%)67.5 | 4 |