IBP Regularization for Verified Adversarial Robustness via Branch-and-Bound

Alessandro De Palma, Rudy Bunel, Krishnamurthy Dvijotham, M. Pawan Kumar, Robert Stanforth · OpenReview

Abstract

Recent works have tried to increase the verifiability of adversarially trained networks by running the attacks over domains larger than the original perturbations and adding various regularization terms to the objective. However, these algorithms either underperform or require complex and expensive stage-wise training procedures, hindering their practical applicability. We present IBP-R, a novel verified training algorithm that is both simple and effective. IBP-R induces network verifiability by coupling adversarial attacks on enlarged domains with a regularization term, based on inexpensive interval bound propagation, that minimizes the gap between the non-convex verification problem and its approximations. By leveraging recent branch-and-bound frameworks, we show that IBP-R obtains state-of-the-art verified robustness-accuracy trade-offs for small perturbations on CIFAR-10 while training significantly faster than relevant previous work. Additionally, we present UPB, a novel branching strategy that, relying on a simple heuristic based on $\beta$-CROWN, reduces the cost of state-of-the-art branching algorithms while yielding splits of comparable quality.

Introduction

Deep learning models are notoriously fragile; small, imperceptible perturbations (adversarial attacks) can flip their predictions. While standard adversarial training improves empirical robustness, it lacks formal guarantees. Verified robustness addresses this by mathematically proving that no perturbation within a specified radius ($\epsilon$) can alter a model's output.

Historically, researchers have faced a "verifiability-performance" trade-off. Fast methods like Interval Bound Propagation (IBP) often lead to loose mathematical bounds and poor accuracy. Conversely, sophisticated hybrid methods like COLT produce highly verifiable models but require complex, expensive stage-wise training. This paper introduces IBP-R, a streamlined training algorithm that achieves high verifiability without the computational overhead of previous state-of-the-art methods.

Methods: IBP-R and UPB

The authors propose two primary contributions to improve both the training and verification phases of robust neural networks.

IBP Regularization (IBP-R)

IBP-R utilizes a single-stage training objective that combines three key strategies:

  1. Enlarged Domains: The model is trained using adversarial attacks (PGD) on a domain larger than the target verification radius (e.g., $1.6\times$ to $2.1\times$ larger). This "over-perturbation" acts as a stabilizer during training.
  2. Area Regularization: A penalty term is added to minimize the area of the convex hull of ReLU activations, known as the "Planet relaxation." By tightening these bounds during training, the network becomes inherently easier for formal verifiers to process later.
  3. Regularization Masking: To maintain performance, the bound-tightening penalty is only applied to samples where the model is already robust. This allows the model to focus on correcting misclassifications before optimizing for verifiability.
The Planet relaxation (shaded area) of a ReLU activation function.

Upper Planet Bias (UPB) Branching

In the verification phase, Branch-and-Bound (B&B) algorithms must decide which neurons to split to improve proof quality. The authors introduce UPB, a branching heuristic that leverages dual information from the $\beta$-CROWN algorithm. UPB requires only a single gradient backpropagation, making it significantly cheaper than the state-of-the-art Filtered Smart Branching (FSB) strategy while maintaining comparable split quality.

Experimental Results

The primary evaluation was conducted on the CIFAR-10 dataset, comparing IBP-R against established baselines like COLT and CROWN-IBP for $\ell_\infty$ perturbations.

Performance comparison on CIFAR-10 for different perturbation radii.

Key Findings

  • Efficiency: IBP-R trains over three times faster than COLT for $\epsilon = 2/255$ on CIFAR-10.
  • State-of-the-Art Accuracy: For $\epsilon = 2/255$, IBP-R achieves a verified accuracy of 61.97%, outperforming relevant literature results in its class.
  • Verification Speedup: The UPB branching strategy reduces average verification times by approximately 13% compared to FSB on IBP-R trained networks, with fewer timeouts.

Conclusion

IBP-R demonstrates that expensive stage-wise training is not a prerequisite for high verifiability. By treating the "ease of proof" as a primary training objective through area regularization, IBP-R achieves a superior balance of speed and verified accuracy. While currently optimized for ReLU-based architectures, future work may extend these area-based penalties to other activation functions and scale the approach to even larger network architectures.

Summary updated

BibTeX
@misc{palma2022ibp,
  author = {Alessandro De Palma and Rudy Bunel and Krishnamurthy Dvijotham and M. Pawan Kumar and Robert Stanforth},
  title = {{IBP Regularization for Verified Adversarial Robustness via Branch-and-Bound}},
  year = {2022},
  eprint = {2206.14772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.14772},
}
Figure