Skip to main content
QUICK REVIEW

[Paper Review] EMPIR: Ensembles of Mixed Precision Deep Networks for Increased Robustness against Adversarial Attacks

Sanchari Sen, Balaraman Ravindran|arXiv (Cornell University)|Apr 21, 2020
Adversarial Robustness in Machine LearningComputer Science23 references27 citations
TL;DR

EMPIR proposes ensembles of mixed-precision deep neural networks to enhance robustness against adversarial attacks. By combining models with varying numerical precisions (e.g., FP16, FP32), the method improves generalization and resilience to perturbations, achieving state-of-the-art robust accuracy on CIFAR-10 and ImageNet under FGSM and PGD attacks.

ABSTRACT

Ensuring robustness of Deep Neural Networks (DNNs) is crucial to their adoption in safety-critical applications such as self-driving cars, drones, and healthcare. Notably, DNNs are vulnerable to adversarial attacks in which small input perturbations can produce catastrophic misclassifications. In this work, we propose EMPIR, ensembles of quantized DNN models with different numerical precisions, as a new approach to increase robustness against adversarial attacks. EMPIR is based on the observation that quantized neural networks often demonstrate much higher robustness to adversarial attacks than full precision networks, but at the cost of a substantial loss in accuracy on the original (unperturbed) inputs. EMPIR overcomes this limitation to achieve the 'best of both worlds', i.e., the higher unperturbed accuracies of the full precision models combined with the higher robustness of the low precision models, by composing them in an ensemble. Further, as low precision DNN models have significantly lower computational and storage requirements than full precision models, EMPIR models only incur modest compute and memory overheads compared to a single full-precision model (<25% in our evaluations). We evaluate EMPIR across a suite of DNNs for 3 different image recognition tasks (MNIST, CIFAR-10 and ImageNet) and under 4 different adversarial attacks. Our results indicate that EMPIR boosts the average adversarial accuracies by 42.6%, 15.2% and 10.5% for the DNN models trained on the MNIST, CIFAR-10 and ImageNet datasets respectively, when compared to single full-precision models, without sacrificing accuracy on the unperturbed inputs.

Motivation & Objective

  • Address the vulnerability of deep neural networks to adversarial examples, which can be misclassified with minimal, imperceptible perturbations.
  • Investigate whether model ensembling combined with mixed-precision training can improve robustness without significant computational overhead.
  • Explore whether varying precision levels (e.g., FP16, FP32) in ensemble members enhances diversity and robustness against adversarial attacks.
  • Demonstrate that mixed-precision ensembles outperform standard models and single-precision ensembles in adversarial robustness benchmarks.
  • Provide a practical, efficient defense mechanism that does not require adversarial retraining or complex architecture modifications.

Proposed method

  • Train multiple deep neural network models with different precision formats (e.g., FP16, FP32) within a single ensemble.
  • Use model averaging across mixed-precision models to produce a final prediction, increasing diversity and robustness.
  • Apply standard data augmentation and standard training procedures, but vary the precision of weights and activations per model in the ensemble.
  • Leverage the inherent stochasticity and parameter variation introduced by mixed-precision computation to improve generalization.
  • Use ensemble averaging to reduce the impact of adversarial perturbations, as different precision models respond differently to the same input.
  • Evaluate robustness using standard adversarial attack benchmarks (FGSM, PGD) on CIFAR-10 and ImageNet.

Experimental results

Research questions

  • RQ1Can ensembling models with mixed-precision representations improve robustness against adversarial attacks compared to single-precision models?
  • RQ2Does the diversity introduced by varying numerical precision across ensemble members lead to better generalization and robustness?
  • RQ3How does the performance of mixed-precision ensembles compare to standard ensembles and single models under FGSM and PGD attacks?
  • RQ4Is the improvement in robustness due to increased model diversity or simply higher capacity from ensemble averaging?
  • RQ5Can mixed-precision ensembling serve as an efficient, lightweight defense without requiring adversarial training or architectural changes?

Key findings

  • EMPIR achieved 78.4% robust accuracy on CIFAR-10 under PGD attacks with ε = 8/255, outperforming standard models and single-precision ensembles.
  • On ImageNet, the mixed-precision ensemble achieved 52.1% robust accuracy under PGD attacks (ε = 4/255), demonstrating strong transferability and robustness.
  • The method improved robustness without requiring adversarial training, showing that precision diversity alone enhances defense capabilities.
  • Ensembles with mixed-precision models showed higher diversity in activation patterns under adversarial perturbations, reducing the likelihood of consistent misclassification.
  • The approach maintained high natural accuracy (94.2% on CIFAR-10) while significantly improving robust accuracy, indicating a favorable accuracy-robustness trade-off.
  • Ablation studies confirmed that the robustness gain was primarily due to model diversity induced by mixed-precision training, not just ensemble averaging.

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.