[Paper Review] MixTrain: Scalable Training of Formally Robust Neural Networks.
MixTrain introduces two efficient techniques—stochastic robust approximation and dynamic mixed training—to scale verifiably robust neural network training with minimal computational overhead. By using randomized data subsampling and adaptive loss balancing, it achieves up to 95.2% verified robust accuracy on ImageNet-200 with 15× and 3× faster training than state-of-the-art verifiably and adversarially robust methods, respectively.
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
- To address the high computational and memory cost of verifiably robust training, which limits its practical use despite strong robustness guarantees.
- To overcome the vulnerability of adversarially robust training to new attacks, particularly those based on interval gradients.
- To enable efficient training of verifiably robust networks on large-scale datasets like ImageNet-200, where prior methods fail due to scalability issues.
- To balance the trade-off between test accuracy and verifiable robustness during training by dynamically adjusting the loss function.
Proposed method
- Stochastic robust approximation replaces full-batch over-approximation with over-approximations over randomly subsampled training points, reducing computational cost while preserving robustness guarantees.
- Dynamic mixed training introduces an adaptive loss function that balances test accuracy and verifiable robustness across training epochs, based on observed performance conflicts.
- The method leverages interval gradients to identify weaknesses in adversarially robust models, informing the design of more robust training strategies.
- Verifiable robustness is maintained through interval-based bounds on network outputs, ensuring formal guarantees against all L∞-norm bounded adversarial perturbations.
- The training pipeline integrates these techniques into a unified framework, enabling end-to-end training with minimal modifications to existing verifiably robust training pipelines.
Experimental results
Research questions
- RQ1Can verifiably robust training be made scalable to large models and datasets like ImageNet-200 without sacrificing robustness guarantees?
- RQ2Can the computational overhead of verifiably robust training be reduced by subsampling training data for over-approximation without compromising robustness?
- RQ3Does dynamically adjusting the loss function during training improve the trade-off between test accuracy and verifiable robustness?
- RQ4How does the proposed method compare in efficiency and robustness to state-of-the-art adversarially and verifiably robust training approaches?
Key findings
- MixTrain achieves up to 95.2% verified robust accuracy on ImageNet-200 against L∞-norm bounded adversaries, significantly outperforming prior verifiably robust training methods.
- Training time with MixTrain is 15 times faster than state-of-the-art verifiably robust training, making it practical for large-scale datasets.
- MixTrain reduces training time by 3 times compared to adversarially robust training while maintaining stronger robustness guarantees.
- The method successfully scales to larger networks, including those trained on ImageNet-200, where previous verifiably robust training approaches fail due to computational constraints.
- Dynamic mixed training effectively resolves the conflict between test accuracy and verifiable robustness by adaptively balancing the loss function per epoch.
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.