Enhancing Certifiable Robustness via a Deep Model Ensemble

Huan Zhang, Minhao Cheng, Cho-Jui HsieharXiv 2019

Abstract

Deep neural networks are vulnerable to adversarial attacks, leading to the development of certified defenses that provide mathematical guarantees of robustness within a perturbation radius $\epsilon$. However, these defenses often suffer from a significant trade-off between robustness and accuracy. This paper introduces RobBoost, a framework that enhances certifiable robustness by constructing an ensemble of models with optimized weights. By maximizing a lower bound on the classification margin through a specialized coordinate descent algorithm and a gradient boosting variant, RobBoost achieves superior verified error rates and clean accuracy compared to single large models and standard ensembles.

Introduction

Adversarial examples—small, imperceptible perturbations designed to mislead neural networks—pose a significant security risk. While empirical defenses are frequently bypassed by adaptive attacks, certified defenses offer a "safety bubble" guarantee. Despite their theoretical appeal, certified models typically exhibit lower clean accuracy and high verified error.

Ensemble methods are a traditional approach to improving model performance, but their application to provable robustness has been limited. This research addresses the gap by asking whether an ensemble can be constructed to be provably robust, moving beyond simple averaging to a rigorous optimization of ensemble weights.

Methodology: The RobBoost Framework

RobBoost treats ensemble weighting as a formal optimization problem. The core objective is to minimize a loss function based on the guaranteed classification margin.

Linear Outer Bounds and Optimal Weighting

The framework utilizes verification techniques like CROWN to establish linear upper and lower bounds for each base model. These bounds define the worst-case margin for any input within the radius $\epsilon$. Instead of uniform weighting, RobBoost assigns an optimal weight $\alpha$ to each model, minimizing a hinge-style loss that penalizes small guaranteed margins.

Margin distributions for Naive vs. RobBoost ensembles on MNIST and CIFAR-10.

Optimization and Boosting

The optimization objective is non-smooth but piece-wise linear. To solve this efficiently, the authors developed a specialized coordinate descent algorithm. Furthermore, a gradient boosting variant allows for sequential training, where each new model is specifically optimized to address the robustness gaps of the existing ensemble.

Key Insights: Noise Cancellation and Efficiency

A critical discovery in this work is the "noise cancellation" effect in model sensitivity. Naturally trained models often exhibit sensitivity to irrelevant background pixels (noisy sensitivity matrices). In contrast, robust models have sparser, more interpretable sensitivity. RobBoost's optimal weighting allows different models to "cancel out" each other's sensitivity noise, resulting in a more stable and robust ensemble.

Additionally, the optimization process is highly efficient due to data elimination. The authors found that 70% to 97% of training data can be excluded during the weighting phase because those samples are either already robust across all models or fundamentally impossible to fix. This reduces the optimization time to just 1-2 hours.

Experimental Results

The researchers evaluated RobBoost on MNIST and CIFAR-10 benchmarks using a variety of architectures.

Performance Gains

RobBoost consistently outperformed both "naive" (equal-weight) ensembles and state-of-the-art single models. On MNIST ($\epsilon=0.3$), RobBoost achieved a verified error of 36.61%, a significant improvement over the naive ensemble's 38.60% and the previous best single model's 43.10%.

Verified and clean test error rates across boosting rounds.

Accuracy and Efficiency

Notably, RobBoost improves clean accuracy alongside robustness. For MNIST $\epsilon=0.3$, the clean error dropped from 11.33% in a naive ensemble to 9.77% with RobBoost. Furthermore, an ensemble of small models (6MB) outperformed a much larger single ResNet (40MB), demonstrating that model diversity is a more efficient path to robustness than increasing parameter count.

Conclusion and Future Directions

RobBoost demonstrates that carefully weighted ensembles can significantly push the boundaries of certifiable robustness. While the approach requires pre-computing bounds for multiple models, the optimization itself is fast and effective. Future research will focus on scaling these techniques to high-resolution datasets like ImageNet and exploring methods to train base models that are explicitly diverse in their robustness failures.

Summary updated

BibTeX
@misc{zhang2019enhancing,
  author = {Huan Zhang and Minhao Cheng and Cho-Jui Hsieh},
  title = {{Enhancing Certifiable Robustness via a Deep Model Ensemble}},
  year = {2019},
  eprint = {1910.14655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.14655},
}
Figure