Skip to main content
QUICK REVIEW

[Paper Review] On the Certified Robustness for Ensemble Models and Beyond

Zhuolin Yang, Linyi Li|arXiv (Cornell University)|Jul 22, 2021
Adversarial Robustness in Machine LearningComputer Science60 references7 citations
TL;DR

This paper proposes Diversity Regularized Training (DRT), a lightweight regularization method to enhance certified robustness in ensemble models by promoting diversified gradients and large confidence margins. DRT achieves state-of-the-art $L_2$-robustness on MNIST, CIFAR-10, and ImageNet, improving certified accuracy by up to 6.1% over prior ensembles under the same training cost.

ABSTRACT

Recent studies show that deep neural networks (DNN) are vulnerable to adversarial examples, which aim to mislead DNNs by adding perturbations with small magnitude. To defend against such attacks, both empirical and theoretical defense approaches have been extensively studied for a single ML model. In this work, we aim to analyze and provide the certified robustness for ensemble ML models, together with the sufficient and necessary conditions of robustness for different ensemble protocols. Although ensemble models are shown more robust than a single model empirically; surprisingly, we find that in terms of the certified robustness the standard ensemble models only achieve marginal improvement compared to a single model. Thus, to explore the conditions that guarantee to provide certifiably robust ensemble ML models, we first prove that diversified gradient and large confidence margin are sufficient and necessary conditions for certifiably robust ensemble models under the model-smoothness assumption. We then provide the bounded model-smoothness analysis based on the proposed Ensemble-before-Smoothing strategy. We also prove that an ensemble model can always achieve higher certified robustness than a single base model under mild conditions. Inspired by the theoretical findings, we propose the lightweight Diversity Regularized Training (DRT) to train certifiably robust ensemble ML models. Extensive experiments show that our DRT enhanced ensembles can consistently achieve higher certified robustness than existing single and ensemble ML models, demonstrating the state-of-the-art certified L2-robustness on MNIST, CIFAR-10, and ImageNet datasets.

Motivation & Objective

  • To investigate whether ensemble models can achieve greater certified robustness than single models under adversarial $L_2$ perturbations.
  • To identify the sufficient and necessary conditions for certifiably robust ensemble models under model-smoothness assumptions.
  • To develop a practical training method that systematically improves certified robustness in ensemble models without significant computational cost.
  • To validate that ensemble models can outperform single models in certified robustness under mild conditions, especially when diversity and margin are optimized.

Proposed method

  • Proposes the Ensemble-before-Smoothing strategy to ensure bounded model-smoothness, enabling theoretical analysis of certified robustness in ensembles.
  • Introduces DRT, a two-part regularization loss that promotes gradient diversity among base models and increases confidence margins between predicted classes.
  • DRT integrates seamlessly with existing smoothing techniques like Gaussian augmentation and adversarial training, adding negligible training overhead.
  • Employs weighted and average ensemble protocols, with ablation studies showing that optimal weights offer only marginal gains over uniform averaging.
  • Theoretical analysis proves that diversified gradients and large confidence margins are both necessary and sufficient for certifiably robust ensembles under model-smoothness.
  • Uses randomized smoothing as the base defense mechanism, with certified robustness derived from the median of smoothed predictions across ensemble members.

Experimental results

Research questions

  • RQ1Can ensemble models provide significantly higher certified robustness than single models under $L_2$ perturbations?
  • RQ2What are the sufficient and necessary conditions for achieving certifiably robust ensemble models under the model-smoothness assumption?
  • RQ3How does the choice of ensemble aggregation protocol (e.g., average vs. weighted) affect certified robustness?
  • RQ4Can a lightweight regularization method like DRT consistently improve certified robustness across diverse datasets and base models?
  • RQ5To what extent do gradient diversity and confidence margin contribute to the certified robustness of ensemble models?

Key findings

  • Standard ensemble models using average or weighted aggregation only marginally improve certified robustness over single models—e.g., from 21.9% to 24.2% certified accuracy at $L_2$ radius 1.5 on CIFAR-10.
  • DRT-trained ensembles achieve 30.3% certified accuracy at $L_2$ radius 1.5 on CIFAR-10, a significant improvement over the prior SOTA of 24.2%.
  • At $L_2$ radius 2.0, DRT improves certified accuracy to 20.3%, surpassing the prior SOTA of 16.0% on CIFAR-10.
  • On MNIST, DRT achieves 76.7% certified accuracy at radius 1.5, outperforming ADP (73.4%) and GAL (73.2%) under the same setup.
  • Theoretical analysis confirms that diversified gradients and large confidence margins are both necessary and sufficient for certifiably robust ensembles under model-smoothness.
  • DRT is flexible and can be combined with pretrained robust single models, achieving the highest certified robustness reported to date on ImageNet.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.