Towards Stable and Efficient Training of Verifiably Robust Neural Networks
About
Training neural networks with verifiable robustness guarantees is challenging. Several existing approaches utilize linear relaxation based neural network output bounds under perturbation, but they can slow down training by a factor of hundreds depending on the underlying network architectures. Meanwhile, interval bound propagation (IBP) based training is efficient and significantly outperforms linear relaxation based methods on many tasks, yet it may suffer from stability issues since the bounds are much looser especially at the beginning of training. In this paper, we propose a new certified adversarial training method, CROWN-IBP, by combining the fast IBP bounds in a forward bounding pass and a tight linear relaxation based bound, CROWN, in a backward bounding pass. CROWN-IBP is computationally efficient and consistently outperforms IBP baselines on training verifiably robust neural networks. We conduct large scale experiments on MNIST and CIFAR datasets, and outperform all previous linear relaxation and bound propagation based certified defenses in $\ell_\infty$ robustness. Notably, we achieve 7.02% verified test error on MNIST at $\epsilon=0.3$, and 66.94% on CIFAR-10 with $\epsilon=8/255$. Code is available at https://github.com/deepmind/interval-bound-propagation (TensorFlow) and https://github.com/huanzhang12/CROWN-IBP (PyTorch).
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-10 ε = 36/255 (test) | Clean Accuracy54.2 | 22 | |
| Image Classification | TinyImageNet et = 1/255 (val) | Standard Error75.85 | 18 | |
| Image Classification | CIFAR10 (test) | Clean Error Rate54.6 | 15 | |
| Image Classification | MNIST (test) | Clean Error69 | 12 | |
| Image Classification | MNIST ε = 1.58 (test) | Clean Accuracy82.3 | 8 | |
| Image Classification | MNIST (test) | Standard Error1.07 | 6 | |
| Image Classification | CIFAR-10 (test) | Standard Error34.09 | 6 | |
| Robust Image Classification | FashionMNIST (test) | Error15.11 | 5 | |
| Image Classification | Alphabet-62 OCR simulation (test) | Error Rate385 | 4 | |
| Image Classification | TinyImageNet | Clean Error75.33 | 3 |