Skip to main content
QUICK REVIEW

[Paper Review] Attacking and Defending Machine Learning Applications of Public Cloud

Dou Goodman, Xin Hao|arXiv (Cornell University)|Jul 27, 2020
Adversarial Robustness in Machine LearningComputer Science52 references6 citations
TL;DR

This paper proposes a Security Development Lifecycle for Machine Learning (SDL for ML) to defend ML-as-a-service platforms like Google Cloud Vision API against adversarial and spatial attacks. It introduces the FFL-PGD attack, which achieves high success rates with only one to two queries, and demonstrates that models remain fragile under common corruptions—highlighting the need for robustness testing and adversarial detection in cloud ML pipelines.

ABSTRACT

Adversarial attack breaks the boundaries of traditional security defense. For adversarial attack and the characteristics of cloud services, we propose Security Development Lifecycle for Machine Learning applications, e.g., SDL for ML. The SDL for ML helps developers build more secure software by reducing the number and severity of vulnerabilities in ML-as-a-service, while reducing development cost.

Motivation & Objective

  • To address the growing threat of adversarial and spatial attacks on public cloud ML services like Google Cloud Vision API.
  • To identify critical vulnerabilities in ML-as-a-service platforms despite black-box access and lack of model transparency.
  • To develop a comprehensive, practical security lifecycle (SDL for ML) that integrates threat modeling, robustness testing, and adversarial detection.
  • To demonstrate that even with limited query access, attackers can bypass defenses using transferable adversarial examples.
  • To provide open-source tools for robustness evaluation and adversarial detection to improve model security in production.

Proposed method

  • Proposes FFL-PGD attack: uses a shadow model trained via minimal queries to approximate the target model’s decision boundary and generate adversarial examples with high transferability.
  • Employs a novel loss function that minimizes low-level feature differences between original and adversarial images, enhancing imperceptibility and attack success.
  • Applies black-box robustness testing using 13 corruption types (e.g., noise, blur, rotation, weather effects), evaluating accuracy under PSNR and SSIM constraints.
  • Uses deep neural network-based binary classifiers as detectors to distinguish clean inputs from adversarial examples, trained on statistical differences in input distributions.
  • Integrates adversarial training and detection into a full SDL for ML framework, supporting both local models and cloud APIs.
  • Provides open-source tooling (e.g., perceptron-benchmark) to automate robustness evaluation across multiple perturbation types and thresholds.

Experimental results

Research questions

  • RQ1Can adversarial attacks be effectively mounted against cloud-based ML services with only black-box API access and minimal queries?
  • RQ2How vulnerable are public cloud ML models to common image corruptions such as noise, blur, and weather effects, and what impact do they have on model accuracy?
  • RQ3To what extent can adversarial examples generated via transfer learning bypass real-world cloud ML services despite architectural and parameter obscurity?
  • RQ4Can deep learning-based detectors reliably distinguish adversarial inputs from clean inputs based on statistical features alone?
  • RQ5How can a standardized, scalable security development lifecycle (SDL for ML) be designed to integrate robustness testing, adversarial mitigation, and detection into ML application development?

Key findings

  • The FFL-PGD attack achieves a 95.5% success rate with only 1–2 queries, demonstrating that even minimal access can bypass cloud-based ML defenses.
  • Under common corruptions, InceptionV3’s top-1 accuracy drops to 20% under Gaussian blur and 30% under rotation, indicating severe fragility to spatial and noise-based perturbations.
  • Blur and noise attacks show high success rates (e.g., 80% for Gaussian blur), with PSNR values above 20, indicating that attacks remain imperceptible to humans.
  • The model exhibits high vulnerability at 135° and -135° rotations, with attack success rates near 70%, revealing directional weaknesses.
  • Adversarial detection via deep neural network classifiers shows promise, with the ability to distinguish adversarial inputs based on subtle statistical deviations.
  • Robustness testing reveals that models are significantly less resilient to spatial and noise-based corruptions than to standard image transformations, exposing critical gaps in current ML security.

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.