The effectiveness of interval bound propagation (IBP) in training verifiably robust modelsOn the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Models
The authors use interval bound propagation (IBP) together with curriculum-style training to train verifiably robust networks, claim to achieve the best verified error rate at the time on MNIST, CIFAR-10, and SVHN, and extend to 64×64 ImageNet.
The defender trains a classifier that is provably robust to l∞-norm-bounded adversarial perturbations: for all inputs within the perturbation radius ε, the network's prediction is required to remain the true label. For evaluation, PGD (200 steps, 10 random restarts) is used as the empirical attack, and an exact MIP/LP cascade solver is used to compute the verified error rate.
- Neural networks are not robust to l∞-bounded adversarial perturbations, and empirical attacks such as PGD may miss the worst perturbation, so provable robustness guarantees are needed; existing verifiable training methods are hard to optimize and difficult to scale to large networks.
- Use interval bound propagation (IBP) to compute a differentiable upper bound on the worst-case loss for training, together with three designs: a cross-entropy loss, merging the last linear layer with the specification (elision), and curriculum-style scheduling of κ and ε.
- The authors claim that on most dataset and perturbation-radius combinations on MNIST, CIFAR-10, and SVHN, the verified error rate is better than baselines such as Wong et al. (e.g., MNIST ε=0.3 drops from 19.32% to 8.05%), and that on 64×64 ImageNet they obtain a non-trivial verified error rate of 93.87%; the exception is CIFAR-10 ε=2/255, where it is worse than Wong et al.
- The authors point out that IBP limits network capacity and that large models easily cause intermediate bounds to blow up, requiring careful scheduling of ε; samples for which MIP verification times out are counted as attackable, so the verified error rate may be overestimated; the experiments cover only l∞ perturbations and four image classification datasets.
- Evaluated models
- smallmediumlargeWideResNet-10-102-100-100-100-2 network
- Benchmarks
- MNISTCIFAR-10SVHNdownscaled ImageNet(64×64)
- Metrics
- verified error ratePGD error ratetest error
The paper shows how to train large neural networks that are provably robust to norm-bounded adversarial perturbations using a simple interval bound propagation (IBP) technique, and the authors claim its verified accuracy exceeds the best level at the time. Previous provably robust training was mostly based on minimizing an upper bound on the worst-case loss, which is difficult to optimize and hard to scale to larger networks. The study finds that although the upper bound computed by IBP for general networks is loose, with a suitable loss function and hyperparameter schedule, the network can adapt so that the IBP bound becomes tight, yielding a fast and stable learning algorithm. The authors claim the method achieves the best results at the time on MNIST, CIFAR-10 and SVHN, and enabled them to train, on a reduced version of ImageNet, the largest model verified to exceed the vacuous bound.
Paper analysis
What problem does this paper attempt to solve?
How to train neural networks that are provably robust to l∞ adversarial perturbations and can scale to large networks.
Core problem: how to train classifiers that are provably robust to l∞-norm-bounded adversarial perturbations and can scale to larger networks.
- Why it matters: the authors point out that many defenses target only a specific attacker and are easily bypassed by a stronger attacker; Figure 1 gives an example: for a seemingly robust MNIST model, the worst perturbation found by 200-step PGD with 10 random restarts is still correctly classified, but an exhaustive search with an MIP solver can find a perturbation that makes the model misclassify, showing that PGD is not a true measure of robustness.
- Shortcomings of existing methods: according to the paper, complete verification methods (SMT, MIP) are exact but expensive and hard to scale; incomplete methods (convex relaxations) are scalable but the bounds may be loose; existing verifiable training methods (e.g., Wong et al., Mirman et al.) are hard to optimize and slow to train, making it difficult to use large batches and large models.
- Core observation: the upper bounds IBP gives for arbitrary networks may be very loose, but the authors believe that with a suitable loss function and hyperparameter schedule, the network can adapt during training so that the IBP bounds become tight; the computational cost of IBP is only about two forward passes, so large-scale hyperparameter search is feasible.
- What the paper proposes: an IBP-based verifiable training procedure (a new loss, last-layer elision, curriculum schedules for κ and ε), evaluated on MNIST, CIFAR-10, SVHN and 64×64 ImageNet using verified error rate.
- Threat model:
- Attacker's goal: apply a perturbation to the input with l∞ norm no greater than ε, causing the classifier's prediction to deviate from the true label.
- Defender's goal: give a formal guarantee (verified error rate) for all inputs within the ε ball, rather than merely resisting a specific attack algorithm.
- Evaluation attacks: empirically, 200-step untargeted PGD with 10 random restarts; for verification, an exact MIP/LP cascade solver.
- Victim system: feedforward classification networks (convolutional networks and WideResNet).
What related research exists?
Related work falls into two categories, empirical defenses and verifiable training; the authors claim that tighter relaxations are not a necessary condition for obtaining tight verified bounds.
Empirical adversarial training
- Madry et al. [9] — at each training step, use PGD to find the worst adversarial examples and add them to training; the authors believe their model has empirical robustness to many attacks, but cannot guarantee that a stronger attacker (e.g., exhaustive search) will not find a counterexample (Figure 1 is one example).
- Xiao et al. [29] — the bottleneck of verification using MIP is the number of branches on integer variables; they design a regularization term to reduce ambiguous ReLU units, making MIP verification faster after training; the paper notes that during training it does not provide a meaningful verified accuracy metric, but after training, MIP verification can reach the best at the time.
Verifiable training with differentiable upper bounds
- Raghunathan et al. [27] — use semidefinite relaxation to provide an adaptive regularization term that encourages robustness.
- Wong and Kolter [24] and Wong et al. [25] — consider the dual form of the LP verification problem, fix the dual solution and compute tight activation bounds, thereby obtaining a tight upper bound on specification violation.
- Dvijotham et al. [23] — fix activation bounds and use an additional verifier network to optimize the dual solution.
- Mirman et al. [20] — introduce geometric abstractions (e.g., zonotope domains) to bound activations during propagation; this paper differs from it in using a different loss function and eliding the last linear layer.
Verification algorithms (for evaluation)
- Complete methods: SMT (Katz et al. [14], Ehlers [15]) and MIP (Tjeng et al. [13], Bunel et al. [17]), exact but in the worst case equivalent to exhaustive search; this paper uses Tjeng et al.'s MIP formulation to compute the exact verified error rate.
Baselines and benchmarks: the compared methods are Nominal (standard cross-entropy training), Madry et al. (7-step PGD adversarial training), Wong et al. (verifiable training); the benchmarks are MNIST, CIFAR-10, SVHN and 64×64 downscaled ImageNet.
Positioning: the authors claim that, contrary to the conclusions of prior work, tighter relaxations (e.g., Dvijotham et al.'s dual form, Mirman et al.'s zonotope) are not a necessary condition for obtaining tight verified bounds; IBP is cheap to compute, so it can be used for larger models and more thorough hyperparameter search.
How does the paper address this problem?
Use the worst-case loss upper bound from IBP as the training objective, together with a cross-entropy loss, last-layer elision, and curriculum schedules for κ and ε.
Overall idea: use interval bound propagation (IBP) to give a fast-to-compute upper bound on the optimal value of the verification problem, embed it as a differentiable loss in SGD training, and then use a curriculum schedule to let the network adaptively tighten that upper bound.
Problem formalization
- Verification goal: for all inputs within perturbation radius ε, the network prediction keeps the true label, i.e., for each class y require (ey − eytrue)T zK ≤ 0 to hold for all inputs with l∞ distance less than ε; the specification is satisfied if the optimal value of the corresponding optimization problem is less than 0.
- IBP bounds each layer's activations with an axis-aligned bounding box: affine layers use center-radius parameterization and propagate with two matrix multiplications; monotonic elementwise activation functions act directly on the lower and upper bounds separately.
Last-layer elision
- The last linear layer is not bound-propagated; instead, the specification vector is merged with that layer's weights (c' = Wᵀc, d' = cᵀb + d), and the maximum is taken directly on the bounds of the penultimate layer, bypassing the extra relaxation introduced by the last layer and obtaining a tighter upper bound.
Loss function
- For each target class y ≠ y_true, construct worst-case logits: the true class takes the lower bound and the other classes take the upper bounds, denoted ẑ_K(ε).
- The training loss is L = κ ℓ(zK, ytrue) + (1−κ) ℓ(ẑK(ϵ), ytrue), where ℓ is cross-entropy and κ trades off fitting the data (L_fit) and satisfying the specification (L_spec); at ε = 0 it reduces to the standard classification loss.
Curriculum schedule
- κ starts at 1 and decreases slowly during training; the authors report that the final value κ = 1/2 works on MNIST, CIFAR-10, SVHN, and ImageNet (Appendix A writes that κ_final takes the better of 0 or 0.5).
- ε starts at 0 and slowly rises to the target value ε_train; the authors state that this step is necessary, and that ε_train need not equal the test radius, with larger ε_train generalizing better (CIFAR-10 and SVHN use ε_train 10% higher than the target radius).
Training and verification setup
- The optimizer is Adam with initial learning rate 10⁻³; MNIST trains for 100 epochs (60K steps), CIFAR-10 for 3200 epochs, SVHN for 2200 epochs, ImageNet for 160 epochs (100K/100K/200K steps respectively), with warm-up and ramp-up durations varying by dataset (Appendix A).
- Success criterion: empirical robustness uses the error rate of 200-step PGD with 10 random restarts; verified error rate uses the MIP formalization of Tjeng et al. (Gurobi, 10-minute timeout per sample, falling back to LP on timeout, and counted as attackable if both fail, so the verified error rate may be overestimated).
What experiments did the paper conduct?
Compares verified/PGD error rate with three baselines on MNIST, CIFAR-10, SVHN, and extends to 64×64 ImageNet; the authors state that most combinations achieve the best results at the time.
Experimental setup
- Subjects: three convolutional architectures trained with IBP, small/medium/large (parameter counts on CIFAR-10: 471K/1.2M/17M, Table 1), and WideResNet-10-10 on downscaled ImageNet (8M parameters, 1.8M hidden units).
- Baselines: Nominal (standard training), Madry et al. (7-step PGD adversarial training), Wong et al. (verifiable training, which could not scale to the large model); results from Xiao et al., Dvijotham et al., Mirman et al., Wang et al. in the literature are also cited.
- Datasets and scale: MNIST and CIFAR-10 use the full 10K test set, SVHN uses a 26K test set, downscaled ImageNet uses a 10K validation set, all 1000 classes.
- Perturbation settings: MNIST is trained with ε_train ∈ {0.1, 0.2, 0.3, 0.4} and tested with ε ∈ [0, 0.45]; CIFAR-10 uses ε_train ∈ {2/255, 8/255}; SVHN uses ε_train = 0.01; ImageNet uses ε = 1/255.
- Metrics and criteria: test error (no perturbation), PGD error rate (200 steps, 10 restarts), verified error rate (MIP/LP cascade, Gurobi with a 10-minute timeout per sample, timed-out samples counted as attackable, so it may be overestimated; for example, for the Wong et al. small model on MNIST, out of 10K samples, 3/18/58 timed out at ε=0.1/0.2/0.3 respectively).
- Number of repetitions: the stability experiment (Figure 5) and the ablation (Table 5) consist of 10 independent trainings, reporting the median and 25/75 percentiles.
Main results
According to Table 4 (for each method, the ε_train and model combination with the best verified error rate):
Swipe horizontally to read the table
Dataset ε Method Test error PGD Verified MNIST 0.1 Wong et al. 1.08% 2.89% 3.01% MNIST 0.1 IBP 1.06% 2.11% 2.23% MNIST 0.3 Wong et al. 13.52% 26.16% 26.92% MNIST 0.3 IBP 1.66% 6.12% 8.05% CIFAR-10 2/255 Wong et al. 36.01% 45.11% 49.96% CIFAR-10 2/255 IBP 29.84% 45.09% 49.98% CIFAR-10 8/255 Wong et al. 71.03% 78.14% 79.21% CIFAR-10 8/255 IBP 50.51% 65.23% 67.96% - The authors claim that IBP achieves the best verified error rate at the time on most dataset and perturbation-radius combinations; relative to the best values in the literature, MNIST ε=0.1 drops from 3.67% (Wong et al.) to 2.23%, MNIST ε=0.3 drops from 19.32% (Xiao et al.) to 8.05%, and CIFAR-10 ε=8/255 drops from 78.22% (Wong et al.) to 67.96%.
- Exception: CIFAR-10 ε=2/255 is the only combination where IBP is worse than Wong et al. (49.98% vs. 49.96%); the authors state that Wong et al. is more effective at small perturbation radii (Figure 3a).
- On SVHN ε=0.01, the IBP verified error rate is 37.60%, Wong et al. is 37.96%, and Dvijotham et al. in the literature is 37.56% (Table 4).
Downscaled ImageNet
- Setup and results: 64×64 ImageNet, ε = 1/255, WideResNet-10-10; IBP's test error is 84.04%, PGD 90.88%, verified 93.87% (Table 2; verified is computed using only IBP bounds because the complete solver is too slow).
- Comparison: Nominal's PGD error rate is 100.00%, Madry et al. is 70.03% (Table 2); the verified error rate of a random or constant classifier is 99.9%.
- Authors' interpretation: the authors claim this is the first model verified to a non-trivial bound on ImageNet and the largest model verified beyond a trivial bound to date; they also acknowledge a clear gap compared with large non-robust models (Real et al.'s 16.1% top-1 error).
Tightness of IBP bounds
- Quantitative comparison: for the IBP models in Table 4, the IBP bounds are close to the MIP bounds: MNIST ε=0.1 is 2.92% vs. 2.23%, ε=0.3 is 8.21% vs. 8.05%; CIFAR-10 ε=8/255 is 68.44% vs. 67.96%; SVHN is 39.35% vs. 37.60% (Table 3).
- Qualitative observation: Figure 4 shows the evolution of the adversarial polytope (gray) and the IBP outer bound (green) on two-dimensional toy data at 0/200/800 training steps; the authors state that the bounds become tighter with training.
- Authors' interpretation: the authors believe training makes the model easy to verify, so that IBP can verify most MIP-verifiable samples; this phenomenon was also observed by Dvijotham et al. and Xiao et al.
Other ablations and analyses
- Loss and elision (Table 5, MNIST ε=0.4, median of 10 trainings, IBP bounds): the small model goes from 30.09% with only the ε-schedule to 25.67% with cross-entropy added, 26.21% with elision added, and 24.94% with both; the large model correspondingly goes from 18.32% → 16.33%.
- Necessity of the ε-schedule: models without an ε schedule cannot be trained, with a best of only 11.35% accuracy (note to Table 5).
- Training stability: Figure 5 shows the median curves of nominal and PGD accuracy over 10 independent trainings of the MNIST large model; the authors state that IBP training is stable; the effect of ramping up ε between 2K and 12K steps is visible.
- Runtime: MNIST small model (Titan Xp) per epoch: standard training 1.5 seconds, IBP 3.5 seconds, Madry et al. 8.5 seconds, Wong et al. 2 minutes (50-dimensional random projection) (Appendix E).
- Convolutional kernel sparsity: Figures 6 and 7 show that the first-layer convolutional kernels of robust models are sparser than those of non-robust models; the authors believe IBP limits network capacity, so larger models are often better.
What are some points that can be further explored?
The authors point out that IBP limits capacity and that bounds for large models tend to blow up, requiring an ε schedule; they propose a direction of combining with tighter relaxations; verification timeouts may overestimate the verified error rate.
Limitations and future directions noted by the authors
- Capacity limitation: Appendix B points out that IBP strongly limits the capacity of the underlying network, so larger models are often preferred.
- Bound blow-up for large models: Appendix B points out that larger models cause intermediate interval bounds to blow up, which is the main reason ε values must be scheduled carefully.
- Future direction: Appendix B proposes that when training deeper and wider models, tighter (but slower) relaxations can be combined with IBP in the initial training phase.
- Verification overestimation: Section 4 states that samples for which both MIP and LP time out are counted as attackable, so the reported verified error rate may overestimate the true value (footnote 4 gives examples of maximum overestimation on MNIST of 0.03%/0.18%/0.58%).
- ImageNet result gap: Section 4.2 acknowledges that the ImageNet results show a clear gap compared with the nominal accuracy of large non-robust models.
- Future positioning: in Section 5 the authors hope these results can serve as a useful baseline and view them as a step toward specification-driven ML.
Scope of experiments
- The models tested are three convolutional architectures (small/medium/large) and WideResNet-10-10, four scales in total; Wong et al. could not scale to the large model (Section 4.1, footnote 5).
- The datasets are MNIST, CIFAR-10, SVHN and 64×64 downscaled ImageNet; the perturbations are only l∞-bounded perturbations.
- The empirical attack is uniformly 200-step PGD with 10 random restarts; the Madry et al. baseline is trained with 7-step PGD.
- The stability and ablation experiments each consist of 10 independent trainings; the main results table (Table 4) does not state the number of repetitions.
- The ImageNet verified error rate is computed using only IBP bounds; no complete solver was run (note to Table 2).
Summarize the main content of the paper
Verifiable training with IBP plus curriculum scheduling achieves the best verified error rate at the time on three benchmarks and extends to 64×64 ImageNet.
A defense paper on verifiable robust training: it replaces more complex convex relaxations with interval bound propagation (IBP), which costs only about two forward passes, to train classifiers provably robust to l∞ adversarial perturbations.
- Problem: empirical attacks such as PGD may miss the worst perturbation (the MNIST example in Figure 1), so formal guarantees are needed; existing verifiable training methods are hard to optimize and hard to scale.
- Method: construct a cross-entropy loss from IBP's worst-case logits, merge the last linear layer with the specification (elision), and apply curriculum-style scheduling to the loss weight κ and the perturbation radius ε (ε rises from 0 to ε_train).
- Main results: the authors state that they achieve the best verified error rate at the time on most combinations—MNIST ε=0.1 is 2.23% (best in the literature 3.67%), MNIST ε=0.3 is 8.05% (best in the literature 19.32%), CIFAR-10 ε=8/255 is 67.96% (best in the literature 78.22%) (Table 4); the exception is CIFAR-10 ε=2/255, where 49.98% is slightly worse than Wong et al.'s 49.96%.
- Scalability: on 64×64 ImageNet with WideResNet-10-10, it obtains a 93.87% verified error rate (ε=1/255, using only IBP bounds); the authors state this is the first model verified to a non-trivial bound on ImageNet.
- Efficiency and tightness: the MNIST small model takes 3.5 seconds per epoch, versus 8.5 seconds for Madry et al. and 2 minutes for Wong et al.; IBP bounds are close to exact MIP bounds (e.g., MNIST ε=0.3 is 8.21% versus 8.05%, Table 3), and the authors believe training makes the model easy to verify.
- Authors' conclusion: tighter relaxations are not a necessary condition for obtaining tight verified bounds; the authors hope this result becomes a baseline, and note that IBP limits capacity and that bounds for large models tend to explode, so future work could combine tighter relaxations to train deeper and wider models.
Related papers
Show 3 more papers
- Training verified learners with learned verifiersDefensesarXiv