Skip to main content
QUICK REVIEW

[Paper Review] The Efficacy of SHIELD under Different Threat Models

Cory Cornelius, Das, Nilaksh|arXiv (Cornell University)|Feb 1, 2019
Adversarial Robustness in Machine LearningComputer Science19 references5 citations
TL;DR

This paper evaluates Shield, a compression-based defense for adversarial robustness, under adaptive threat models where attackers know the ensemble architecture, defense pre-processing, and model weights. It shows that training models from scratch instead of retraining from pre-trained weights reduces targeted PGD attack success from 64.3% to 48.9% in the white-box setting, indicating that weight correlation significantly impacts robustness.

ABSTRACT

In this appraisal paper, we evaluate the efficacy of SHIELD, a compression-based defense framework for countering adversarial attacks on image classification models, which was published at KDD 2018. Here, we consider alternative threat models not studied in the original work, where we assume that an adaptive adversary is aware of the ensemble defense approach, the defensive pre-processing, and the architecture and weights of the models used in the ensemble. We define scenarios with varying levels of threat and empirically analyze the proposed defense by varying the degree of information available to the attacker, spanning from a full white-box attack to the gray-box threat model described in the original work. To evaluate the robustness of the defense against an adaptive attacker, we consider the targeted-attack success rate of the Projected Gradient Descent (PGD) attack, which is a strong gradient-based adversarial attack proposed in adversarial machine learning research. We also experiment with training the SHIELD ensemble from scratch, which is different from re-training using a pre-trained model as done in the original work. We find that the targeted PGD attack has a success rate of 64.3% against the original SHIELD ensemble in the full white box scenario, but this drops to 48.9% if the models used in the ensemble are trained from scratch instead of being retrained. Our experiments further reveal that an ensemble whose models are re-trained indeed have higher correlation in the cosine similarity space, and models that are trained from scratch are less vulnerable to targeted attacks in the white-box and gray-box scenarios.

Motivation & Objective

  • To assess Shield’s robustness against adaptive adversaries with increasing knowledge of the defense system.
  • To evaluate the effectiveness of the strong Projected Gradient Descent (PGD) attack under various threat models not considered in the original Shield paper.
  • To investigate how the training procedure—specifically retraining from pre-trained models versus training from scratch—affects model weight correlation and defense robustness.
  • To determine whether ensemble models with lower weight correlation are more resilient to targeted adversarial attacks in white-box and gray-box scenarios.

Proposed method

  • Empirically evaluate Shield under varying threat models, ranging from full white-box (attacker knows all defense components) to gray-box (attacker knows only model architecture).
  • Use targeted PGD attacks to measure success rates across threat models, focusing on attacks targeting the least-likely class prediction.
  • Train two versions of the Shield ensemble: one by retraining pre-trained ResNet-50 v2 models on JPEG-compressed images, and another by training from scratch on the same data.
  • Measure weight correlation using cosine similarity between model feature maps to analyze how training procedure affects ensemble diversity.
  • Test transferability of adversarial examples by generating attacks on newly trained models and testing them on the original Shield ensemble.
  • Compare model accuracy degradation and attack success rates across different threat models and training procedures.

Experimental results

Research questions

  • RQ1How does the targeted PGD attack perform against Shield in a full white-box threat model where the attacker knows the ensemble architecture, pre-processing, and model weights?
  • RQ2Does training the Shield ensemble models from scratch instead of retraining from pre-trained weights improve robustness against targeted attacks in white-box and gray-box settings?
  • RQ3To what extent does weight correlation among ensemble models influence the success rate of targeted adversarial attacks?
  • RQ4Can adversarial examples generated against newly trained models successfully fool the original Shield ensemble in a gray-box scenario?
  • RQ5How does the robustness of Shield compare under non-adaptive and adaptive threat models, particularly when using strong gradient-based attacks like PGD?

Key findings

  • In the full white-box threat model, the targeted PGD attack achieves a 64.3% success rate against the original Shield ensemble, which uses retrained models.
  • When the ensemble models are trained from scratch instead of retrained, the targeted PGD attack success rate drops to 48.9%, a 15.4 percentage point reduction.
  • The retrained models in the original Shield ensemble exhibit higher weight correlation in cosine similarity space, making the ensemble more vulnerable to targeted attacks.
  • Models trained from scratch show lower weight correlation and are significantly more robust to targeted attacks in both white-box and gray-box threat models.
  • In the gray-box threat model where the attacker only knows the model architecture, the targeted PGD attack fails entirely with a 0% success rate, even though model accuracy degrades.
  • The Fast Gradient Method (FGM) also fails to control predictions in the gray-box setting, achieving a 0% attack success rate despite reducing model accuracy.

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.