Skip to main content
QUICK REVIEW

[Paper Review] Enhancing Certified Robustness via Smoothed Weighted Ensembling

Chizhou Liu, Yunzhen Feng|arXiv (Cornell University)|May 19, 2020
Adversarial Robustness in Machine LearningComputer Science63 references5 citations
TL;DR

This paper proposes Smoothed Weighted Ensembling (SWEEN), a method that enhances certified robustness of randomized smoothing classifiers by optimally combining multiple pre-trained base models through learned weights. SWEEN achieves superior certified robustness and accuracy with reduced training cost, outperforming both individual models and standard ensembles, while theoretical analysis guarantees near-optimal robustness under mild assumptions.

ABSTRACT

Randomized smoothing has achieved state-of-the-art certified robustness against $l_2$-norm adversarial attacks. However, it is not wholly resolved on how to find the optimal base classifier for randomized smoothing. In this work, we employ a Smoothed WEighted ENsembling (SWEEN) scheme to improve the performance of randomized smoothed classifiers. We show the ensembling generality that SWEEN can help achieve optimal certified robustness. Furthermore, theoretical analysis proves that the optimal SWEEN model can be obtained from training under mild assumptions. We also develop an adaptive prediction algorithm to reduce the prediction and certification cost of SWEEN models. Extensive experiments show that SWEEN models outperform the upper envelope of their corresponding candidate models by a large margin. Moreover, SWEEN models constructed using a few small models can achieve comparable performance to a single large model with a notable reduction in training time.

Motivation & Objective

  • To address the open problem of selecting optimal base classifiers for randomized smoothing to maximize certified robustness.
  • To improve the performance of smoothed classifiers by leveraging model ensembling without compromising scalability or robustness guarantees.
  • To develop an efficient, adaptive prediction algorithm that reduces the computational cost of inference and certification in ensemble models.
  • To demonstrate that SWEEN can achieve near-optimal certified robustness through theoretical analysis and empirical validation.

Proposed method

  • SWEEN constructs a smoothed classifier by ensembling multiple pre-trained base models using learned, optimal weights to maximize robustness.
  • The method exploits the commutative property of ensembling and smoothing, allowing the final model to be treated as a smoothed version of a weighted ensemble.
  • A surrogate loss function is used to train the ensemble weights on a validation set, enabling optimization toward minimal risk under the γ-robustness criterion.
  • An adaptive prediction algorithm is introduced to reduce inference and certification time by dynamically selecting relevant base models during prediction.
  • Theoretical analysis proves that SWEEN can achieve near-optimal robustness under mild assumptions, with generalization bounds on the risk of the final model.
  • The approach is compatible with any base model training method, including standard, adversarial, or MACER training.

Experimental results

Research questions

  • RQ1Can model ensembling improve certified robustness in randomized smoothing beyond the performance of individual base models?
  • RQ2What is the theoretical guarantee of the optimal weighted ensemble in terms of certified robustness under the γ-robustness index?
  • RQ3How can the prediction and certification cost of ensemble smoothed classifiers be reduced without sacrificing robustness?
  • RQ4Can SWEEN achieve comparable or better performance than a single large model with significantly reduced training time?
  • RQ5Does SWEEN maintain or improve empirical robustness against strong adversarial attacks like AutoAttack?

Key findings

  • SWEEN models outperform the upper envelope of their candidate models by a large margin across all evaluated tasks, demonstrating superior certified robustness.
  • On CIFAR-10, SWEEN-3 (trained with standard training) achieved 67.0% certified accuracy at σ=0.25, surpassing ResNet-20 (64.7%) and ResNet-26 (65.4%) at the same noise level.
  • SWEEN models built from a few small models achieved performance comparable to a single large model, with a notable reduction in training time.
  • The adaptive prediction algorithm effectively reduced the computational cost of inference and certification while maintaining high robustness.
  • SWEEN maintained strong empirical robustness against AutoAttack, achieving 67.0% accuracy at σ=0.25 compared to 64.7% for a standard ResNet-20.
  • Theoretical analysis confirms that SWEEN can converge to a near-optimal risk with high probability under mild assumptions, validating its optimization stability.

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.