Fast Certified Robust Training with Short Warmup

Zhouxing Shi, Yihan Wang, Huan Zhang, Jinfeng Yi, Cho-Jui Hsieh
3/31/2021
78 citations
cs.LGcs.AIstat.ML

Official code: shizhouxing/Fast-Certified-Robust-Training (25 stars, Python, BSD-3-Clause, last commit 2025-06-07). Most starred: Verified-Intelligence/auto_LiRPA, a community implementation (359 stars, Python, last commit 2026-02-03, 14× the official stars). 1 more implementation below.

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.

Show full abstract

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 ($ε=\frac{8}{255}$) and 82.36% verified error on TinyImageNet ($ε=\frac{1}{255}$) 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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
shizhouxing/Fast-Certified-Robust-TrainingOfficial25PythonBSD-3-Clause2025-06-07
Verified-Intelligence/auto_LiRPACommunity359Python–2026-02-03
BSD-3-Clause

[NeurIPS 2021] Fast Certified Robust Training with Short Warmup

253Python, ShellMar 30, 20211 years agoBSD-3-Clause
adversarial-machine-learningcertified-robustnessinterval-bound-propagation

auto_LiRPA: An Automatic Linear Relaxation based Perturbation Analysis Library for Neural Networks and General Computational Graphs

359109Python, CudaMar 2, 202010 months agoNOASSERTION
adversarial-defenseadversarial-examplesadversarial-machine-learningcertified-defense-modelscrown-bound+3 more

Similar Papers

Cite this paper

@article{shi2021fast,
  title  = {Fast Certified Robust Training with Short Warmup},
  author = {Zhouxing Shi and Yihan Wang and Huan Zhang and Jinfeng Yi and Cho-Jui Hsieh},
  year   = {2021},
  eprint = {2103.17268},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.17268}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.17268.svg)](https://codeofpaper.com/paper/2103.17268)

Discussion