[Paper Review] MixTrain: Scalable Training of Verifiably Robust Neural Networks
MixTrain introduces two novel techniques—stochastic robust approximation and dynamic mixed training—to accelerate verifiably robust neural network training by up to 15× while achieving 95.2% verified robust accuracy against $L_∞$-bounded attacks. It enables scalable, verifiable robustness on large models like those trained on ImageNet-200, outperforming both adversarially and verifiably robust training methods in speed, accuracy, and robustness.
Making neural networks robust against adversarial inputs has resulted in an arms race between new defenses and attacks. The most promising defenses, adversarially robust training and verifiably robust training, have limitations that restrict their practical applications. The adversarially robust training only makes the networks robust against a subclass of attackers and we reveal such weaknesses by developing a new attack based on interval gradients. By contrast, verifiably robust training provides protection against any L-p norm-bounded attacker but incurs orders of magnitude more computational and memory overhead than adversarially robust training. We propose two novel techniques, stochastic robust approximation and dynamic mixed training, to drastically improve the efficiency of verifiably robust training without sacrificing verified robustness. We leverage two critical insights: (1) instead of over the entire training set, sound over-approximations over randomly subsampled training data points are sufficient for efficiently guiding the robust training process; and (2) We observe that the test accuracy and verifiable robustness often conflict after certain training epochs. Therefore, we use a dynamic loss function to adaptively balance them for each epoch. We designed and implemented our techniques as part of MixTrain and evaluated it on six networks trained on three popular datasets including MNIST, CIFAR, and ImageNet-200. Our evaluations show that MixTrain can achieve up to $95.2\%$ verified robust accuracy against $L_\infty$ norm-bounded attackers while taking $15$ and $3$ times less training time than state-of-the-art verifiably robust training and adversarially robust training schemes, respectively. Furthermore, MixTrain easily scales to larger networks like the one trained on ImageNet-200, significantly outperforming the existing verifiably robust training methods.
Motivation & Objective
- Address the high computational and memory overhead of verifiably robust training that limits its use to small networks.
- Overcome the conflict between test accuracy and verifiable robustness during training by dynamically balancing the two objectives.
- Enable scalable, verifiably robust training for large-scale models such as those on ImageNet-200, which previous methods could not handle.
- Demonstrate the fundamental vulnerability of adversarially robust networks to new attacks, such as interval gradient attacks, to justify the need for verifiable defenses.
- Achieve state-of-the-art performance in verified robust accuracy while significantly reducing training time and memory usage compared to existing robust training methods.
Proposed method
- Stochastic robust approximation reduces training cost by computing sound over-approximations of robustness violations only on randomly subsampled mini-batches, rather than the full dataset, during each training epoch.
- Dynamic mixed training uses an adaptive loss function that balances standard cross-entropy loss and robust loss via a learnable hyperparameter $\alpha$, which is updated per epoch to optimize the trade-off between test accuracy and verified robust accuracy.
- The method leverages the insight that full-dataset over-approximation is only required for final robustness verification, not for gradient-based optimization during training.
- The adaptive $\alpha$ mechanism dynamically adjusts the loss weighting to prioritize robustness as training progresses, avoiding the accuracy-robustness trade-off that plagues fixed-weight approaches.
- The framework is implemented as MixTrain and evaluated across six networks on MNIST, CIFAR, and ImageNet-200, using $L_\infty$-norm bounded attacks for verification.
- A new first-order interval gradient attack is proposed to expose the limitations of adversarially robust training, validating the need for verifiable defenses.
Experimental results
Research questions
- RQ1Can verifiably robust training be scaled to large neural networks such as those trained on ImageNet-200 without prohibitive computational cost?
- RQ2Does stochastic robust approximation—applying over-approximation only on mini-batches—maintain sufficient accuracy in guiding the robust training process?
- RQ3Can dynamic loss weighting with adaptive $\alpha$ improve the balance between test accuracy and verified robust accuracy compared to fixed-weight training?
- RQ4How does MixTrain compare in performance and efficiency to state-of-the-art adversarially robust and verifiably robust training methods?
- RQ5To what extent are currently deployed adversarially robust networks vulnerable to new attacks, such as interval gradient attacks, that bypass their defenses?
Key findings
- MixTrain achieves up to 95.2% verified robust accuracy against $L_\infty$-norm bounded attacks on CIFAR-10, significantly outperforming prior verifiably robust training methods.
- MixTrain reduces training time by up to 15× compared to state-of-the-art verifiably robust training and by up to 3× compared to adversarially robust training, while maintaining or improving test accuracy.
- The method reduces memory usage by up to 50× compared to existing verifiably robust training, enabling training on large models like those on ImageNet-200.
- Dynamic adaptation of the loss weighting hyperparameter $\alpha$ improves verified robust accuracy by 6.7% (from 30.9% to 37.6%) and test accuracy by 1.3% (from 71.4% to 71.7%) compared to fixed $\alpha=0.5$.
- The proposed interval gradient attack increases the success rate of adversarial attacks on state-of-the-art adversarially robust networks by up to 40%, exposing their fundamental vulnerability.
- MixTrain achieves 13.2% higher test accuracy than the prior state-of-the-art verifiably robust training method, demonstrating that improved training dynamics can enhance both accuracy and robustness.
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.