Skip to main content
QUICK REVIEW

[Paper Review] Strength in Numbers: Trading-off Robustness and Computation via Adversarially-Trained Ensembles

Edward Grefenstette, Robert Stanforth|arXiv (Cornell University)|Nov 22, 2018
Adversarial Robustness in Machine LearningComputer Science28 references6 citations
TL;DR

This paper proposes adversarially training an ensemble of smaller models as a single unified model to improve adversarial robustness more efficiently than scaling up a single large model. The key finding is that robustness stems from adversarial training of the ensemble as a whole, not from ensembling per se, making it a more computation-efficient trade-off between robustness and model size.

ABSTRACT

While deep learning has led to remarkable results on a number of challenging problems, researchers have discovered a vulnerability of neural networks in adversarial settings, where small but carefully chosen perturbations to the input can make the models produce extremely inaccurate outputs. This makes these models particularly unsuitable for safety-critical application domains (e.g. self-driving cars) where robustness is extremely important. Recent work has shown that augmenting training with adversarially generated data provides some degree of robustness against test-time attacks. In this paper we investigate how this approach scales as we increase the computational budget given to the defender. We show that increasing the number of parameters in adversarially-trained models increases their robustness, and in particular that ensembling smaller models while adversarially training the entire ensemble as a single model is a more efficient way of spending said budget than simply using a larger single model. Crucially, we show that it is the adversarial training of the ensemble, rather than the ensembling of adversarially trained models, which provides robustness.

Motivation & Objective

  • Investigate the trade-off between computational cost and adversarial robustness in deep learning models.
  • Address the vulnerability of neural networks to small, targeted input perturbations that cause misclassification.
  • Explore whether ensembling models can enhance robustness when combined with adversarial training.
  • Determine whether the robustness gain comes from ensemble architecture or from adversarial training of the ensemble as a whole.
  • Evaluate the efficiency of different strategies—single large models vs. ensembles—under fixed parameter budgets.

Proposed method

  • Train an ensemble of smaller neural networks as a single joint model, applying adversarial training to the entire ensemble simultaneously.
  • Use iterative adversarial attack methods (e.g., PGD, IFGSM) to generate perturbations during training, optimizing the ensemble’s robustness.
  • Compare models with identical parameter counts: single large models, ensembles of non-adversarially trained models, and ensembles adversarially trained as a unit.
  • Evaluate robustness using multiple attack types (FGSM, PGD) and metrics (clean accuracy, robust accuracy under varying attack steps).
  • Perform ablative analysis to isolate the contribution of ensemble training versus ensembling alone.
  • Use a controlled setup on CIFAR-10 to compare models across training dynamics, final performance, and robustness under increasing attack strength.

Experimental results

Research questions

  • RQ1Does adversarial training of an ensemble as a single model improve robustness more effectively than training a single large model with the same parameter count?
  • RQ2Is the robustness gain from ensembling due to the ensemble architecture itself, or specifically due to adversarial training of the ensemble?
  • RQ3How does the robustness of an ensemble trained adversarially compare to that of individually adversarially trained models with the same total parameters?
  • RQ4Does the robustness of an ensemble degrade under stronger attacks (e.g., more PGD steps), and how does it compare to single-model baselines?
  • RQ5Can we achieve better robustness-to-computation efficiency by using smaller models in an ensemble rather than scaling up a single model?

Key findings

  • Adversarially training an ensemble as a single model yields significantly higher robustness than training a single large model with the same number of parameters.
  • The Ensemble2Adv model achieved 52% PGD20 accuracy, outperforming the SingleAdv baseline (45%) by 7 percentage points and the DoubleAdv model (47%) by 5 points, despite equal parameter counts.
  • Ensembles trained adversarially as a whole were 29 percentage points more robust than non-adversarially trained ensembles (Ensemble2 vs. Ensemble2Adv) on PGD20.
  • The robustness of adversarially trained ensembles remained stable over training, while non-adversarially trained models showed transient robustness that decayed with longer training.
  • Separately adversarially training each model in an ensemble (Separate2Adv) produced robustness similar to a single adversarially trained model, indicating that ensemble structure alone does not confer robustness.
  • Even under 500-step PGD attacks, the Ensemble2Adv model maintained a 7-point accuracy advantage over the SingleAdv baseline, confirming sustained robustness under strong attacks.

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.