Fast Certified Robust Training with Short Warmup
arXiv:2103.17268
Abstract
Recently, bound propagation based certified robust training methods have been proposed for training neural networks with certifiable robustness guarantees. Despite that state-of-the-art (SOTA) methods including interval bound propagation (IBP) and CROWN-IBP have per-batch training complexity similar to standard neural network training, they usually use a long warmup schedule with hundreds or thousands epochs to reach SOTA performance and are thus still costly. In this paper, we identify two important issues in existing methods, namely exploded bounds at initialization, and the imbalance in ReLU activation states and improve IBP training. These two issues make certified training difficult and unstable, and thereby long warmup schedules were needed in prior works. To mitigate these issues and conduct faster certified training with shorter warmup, we propose three improvements based on IBP training: 1) We derive a new weight initialization method for IBP training; 2) We propose to fully add Batch Normalization (BN) to each layer in the model, since we find BN can reduce the imbalance in ReLU activation states; 3) We also design regularization to explicitly tighten certified bounds and balance ReLU activation states during wamrup. We are able to obtain 65.03% verified error on CIFAR-10 () and 82.36% verified error on TinyImageNet () using very short training schedules (160 and 80 total epochs, respectively), outperforming literature SOTA trained with hundreds or thousands epochs under the same network architecture. The code is available at https://github.com/shizhouxing/Fast-Certified-Robust-Training.
arXiv commentNeurIPS 2021
References in corpus (19)
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems
- Exact solutions to the nonlinear dynamics of learning in deep linear neural networks
- Provable defenses against adversarial examples via the convex outer adversarial polytope
- Certified Adversarial Robustness via Randomized Smoothing
- Certified Defenses against Adversarial Examples
- On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Models
- Provably Robust Deep Learning via Adversarially Trained Smoothed Classifiers
- L2 Regularization versus Batch and Weight Normalization
- Semidefinite relaxations for certifying robustness to adversarial examples
- Certified Adversarial Robustness with Additive Noise
- Efficient Formal Safety Analysis of Neural Networks
- Training for Faster Adversarial Robustness Verification via Inducing ReLU Stability
- Training verified learners with learned verifiers
- Curse of Dimensionality on Randomized Smoothing for Certifiable Robustness
- Attacking Visual Language Grounding with Adversarial Examples: A Case Study on Neural Image Captioning
- Deep Residual Networks and Weight Initialization
- GradInit: Learning to Initialize Neural Networks for Stable and Efficient Training