Papers › Fast Certified Robust Training with Short Warmup

Fast Certified Robust Training with Short Warmup

31 Mar 2021NeurIPS 2021 12arXiv:2103.17268archive 2025-07-28

Zhouxing Shi, Yihan Wang, huan zhang, JinFeng Yi, Cho-Jui Hsieh

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 (ϵ=8/255) and 82.36% verified error on TinyImageNet (ϵ=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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.17268")

Code

Syntology Ran 1 of 18 code samples harvested from 1 repository linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 18 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

KaidiXu/auto_LiRPA officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
shizhouxing/Fast-Certified-Robust-Training officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 1 ran; 0 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
17unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from shizhouxing/Fast-Certified-Robust-Training. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv3x3 shizhouxing/Fast-Certified-Robust-Training/models/wide_resnet.py official repository ran · our draft was wrong BSD-3-Clause (permissive) · 00e569acd6b45ef0 · report
PreActResNet18 shizhouxing/Fast-Certified-Robust-Training/models/resnet.py official repository unverified BSD-3-Clause (permissive) · abc02d2c96c29b28 · report
ResNeXt_2_32 shizhouxing/Fast-Certified-Robust-Training/models/resnext_bn.py official repository unverified BSD-3-Clause (permissive) · fb928ba8123f9d4b · report
ResNeXt_4_20 shizhouxing/Fast-Certified-Robust-Training/models/resnext_bn.py official repository unverified BSD-3-Clause (permissive) · 6c49fd440f42c595 · report
ResNeXt_bn_imagenet64 shizhouxing/Fast-Certified-Robust-Training/models/resnext_bn_imagenet64.py official repository unverified BSD-3-Clause (permissive) · 9436f818c378093b · report
ResNeXt_imagenet64 shizhouxing/Fast-Certified-Robust-Training/models/resnext_imagenet64.py official repository unverified BSD-3-Clause (permissive) · 1a8ed1fd88054090 · report
cnn_7layer shizhouxing/Fast-Certified-Robust-Training/models/feedforward.py official repository unverified BSD-3-Clause (permissive) · d2cf808aa64b27e8 · report
cnn_7layer_bn shizhouxing/Fast-Certified-Robust-Training/models/feedforward.py official repository unverified BSD-3-Clause (permissive) · b2280f08abb758fd · report
cnn_7layer_bn2 shizhouxing/Fast-Certified-Robust-Training/models/feedforward.py official repository unverified BSD-3-Clause (permissive) · e37ed79862d93970 · report
get_C shizhouxing/Fast-Certified-Robust-Training/certified.py official repository unverified BSD-3-Clause (permissive) · 5164505350577eaa · report
get_crown_loss shizhouxing/Fast-Certified-Robust-Training/certified.py official repository unverified BSD-3-Clause (permissive) · 7a95e6aff8614eaf · report
get_params shizhouxing/Fast-Certified-Robust-Training/manual_init.py official repository unverified BSD-3-Clause (permissive) · caeec8b2bd7730d3 · report
load_data shizhouxing/Fast-Certified-Robust-Training/datasets.py official repository unverified BSD-3-Clause (permissive) · af20db67ef9b7df2 · report
resnext shizhouxing/Fast-Certified-Robust-Training/models/resnext.py official repository unverified BSD-3-Clause (permissive) · 3db74ea51c141a2d · report
resnext shizhouxing/Fast-Certified-Robust-Training/models/resnext_bn.py official repository unverified BSD-3-Clause (permissive) · 14eb1c8929b00788 · report
update_dict shizhouxing/Fast-Certified-Robust-Training/config.py official repository unverified BSD-3-Clause (permissive) · 364eb5f6eebd2d6d · report
wide_resnet_cifar_10 shizhouxing/Fast-Certified-Robust-Training/models/wide_resnet.py official repository unverified BSD-3-Clause (permissive) · 5778bd34b859bc9e · report
wide_resnet_cifar_bn shizhouxing/Fast-Certified-Robust-Training/models/wide_resnet.py official repository unverified BSD-3-Clause (permissive) · 0a1ce4a266e25e0d · report

Tasks

Adversarial Defense

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Batch NormalizationReLU

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections