Transferability of Adversarial Examples to Attack Cloud-based Image Classifier Service

Dou GoodmanarXiv 2020

TL;DR

This paper introduces a novel black-box adversarial attack method, FFL-PGD, that effectively bypasses cloud-based image classification services with a remarkably low number of queries. The authors demonstrate its high success rate across major cloud platforms, highlighting a significant security vulnerability in these widely used services.

What Problem Does This Paper Address?

Deep learning models have revolutionized computer vision, but they are known to be susceptible to adversarial examples – subtly modified inputs that cause misclassification. Traditionally, crafting these examples required "white-box" access to the model's architecture and parameters. However, real-world cloud-based image classification services operate as black boxes, only exposing APIs. This creates a false sense of security, as attackers cannot directly inspect the underlying models. This paper addresses the critical gap in understanding and demonstrating the effectiveness of black-box adversarial attacks against these prevalent cloud services, which are increasingly relied upon by businesses and individuals.

Methods

The core contribution is a new attack method called Fast Featuremap Loss PGD (FFL-PGD). This attack builds upon the Projected Gradient Descent (PGD) framework but introduces a novel loss function designed for black-box scenarios. The FFL-PGD attack operates in two main stages:

  1. Substitute Model Training: The attacker trains a local "substitute" model that approximates the behavior of the target cloud model. This is achieved by querying the cloud API with manually annotated images and using the returned labels to train the substitute. The authors suggest using pre-trained models like ResNet-152 as a strong starting point for the substitute.
  2. Adversarial Sample Crafting: The trained substitute model is then used to generate adversarial examples. The novelty lies in the Featuremap Loss, which penalizes differences in the high-level semantic features extracted by the convolution layers of the substitute model between the original and perturbed images. This loss is combined with a standard class loss, and the PGD algorithm is applied to craft adversarial examples that are likely to transfer to the target cloud model.

The authors emphasize that their method requires only two queries per image to generate effective adversarial examples, a significant improvement over prior methods that often needed millions of queries.

Datasets

The paper uses images from the ImageNet dataset for evaluation. Specifically, they selected 100 cat images and 100 other animal images from the ImageNet validation set. These images were used to generate adversarial examples and test their attack against cloud services.

Key Insights and Ideas

  • Cloud Services are Vulnerable: Despite being black boxes, cloud-based image classification services are highly susceptible to adversarial attacks. The perceived security of not revealing model architecture is largely illusory.
  • Transferability is Key: Adversarial examples crafted on a substitute model can effectively transfer to the target cloud model, even without direct knowledge of the target's specifics.
  • Featuremap Loss Matters: Incorporating a loss function that focuses on the semantic features extracted by deep convolutional layers significantly improves the attack's success rate and transferability. This suggests that high-level feature representations are a common vulnerability across different models.
  • Efficiency is Achievable: The FFL-PGD attack demonstrates that effective adversarial examples can be generated with a minimal number of queries (just two per image), making real-world attacks much more feasible and cost-effective.

Key Results

  • The FFL-PGD attack achieved a success rate of over 90% across four popular cloud platforms: Amazon, Google, Microsoft, and Clarifai.
  • The attack requires only two queries per image, a drastic reduction compared to previous query-based black-box attacks.
  • The paper provides empirical evidence that FFL-PGD generally achieves a higher escape rate than standard PGD attacks when tested against the same cloud services.
  • Quantitative metrics like PSNR and SSIM were used to evaluate image quality, showing that the generated adversarial examples were generally acceptable for human perception.

Limitations and Future Work

  • Limited Scope of Substitute Models: While the authors suggest using pre-trained models like ResNet-152, the effectiveness of the substitute model training depends on how well it approximates the target cloud model.
  • Defense Discussion: The paper briefly discusses defense strategies, categorizing them into model training (e.g., adversarial training) and image preprocessing (e.g., JPG compression, randomization). However, a detailed empirical evaluation of these defenses against their proposed attack is not presented.
  • Future Work: The authors plan to explore adversarial examples with less perturbation in black-box settings and investigate targeted attacks using FFL-PGD. They also aim to focus on developing defenses specifically for cloud environments to protect AI services from cybercrime.

Summary updated

BibTeX
@misc{goodman2020transferability,
  author = {Dou Goodman},
  title = {{Transferability of Adversarial Examples to Attack Cloud-based Image Classifier Service}},
  year = {2020},
  eprint = {2001.03460},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.03460},
}
Figure