[Paper Review] Practical Black-Box Attacks against Deep Learning Systems using Adversarial Examples.
This paper presents a practical black-box attack against deep learning systems using adversarial examples, where attackers train a substitute model by querying only the target model's outputs, enabling successful evasion attacks even without access to the target model's architecture or parameters. The method achieves an 84.24% misclassification rate on a real-world DNN API from MetaMind, demonstrating effective transferability of adversarial examples across models.
Advances in deep learning have led to the broad adoption of Deep Neural Networks (DNNs) to a range of important machine learning problems, e.g., guiding autonomous vehicles, speech recognition, malware detection. Yet, machine learning models, including DNNs, were shown to be vulnerable to adversarial samples-subtly (and often humanly indistinguishably) modified malicious inputs crafted to compromise the integrity of their outputs. Adversarial examples thus enable adversaries to manipulate system behaviors. Potential attacks include attempts to control the behavior of vehicles, have spam content identified as legitimate content, or have malware identified as legitimate software. Adversarial examples are known to transfer from one model to another, even if the second model has a different architecture or was trained on a different set. We introduce the first practical demonstration that this cross-model transfer phenomenon enables attackers to control a remotely hosted DNN with no access to the model, its parameters, or its training data. In our demonstration, we only assume that the adversary can observe outputs from the target DNN given inputs chosen by the adversary. We introduce the attack strategy of fitting a substitute model to the input-output pairs in this manner, then crafting adversarial examples based on this auxiliary model. We evaluate the approach on existing DNN datasets and real-world settings. In one experiment, we force a DNN supported by MetaMind (one of the online APIs for DNN classifiers) to mis-classify inputs at a rate of 84.24%. We conclude with experiments exploring why adversarial samples transfer between DNNs, and a discussion on the applicability of our attack when targeting machine learning algorithms distinct from DNNs.
Motivation & Objective
- To demonstrate that adversarial examples can be crafted against remotely hosted deep neural networks without access to their architecture, parameters, or training data.
- To investigate the feasibility of transferring adversarial examples from a substitute model to a target black-box model.
- To evaluate the effectiveness of the attack in real-world settings, including production APIs.
- To explore the underlying reasons for the transferability of adversarial examples across different deep learning models.
- To assess the broader applicability of the attack to machine learning models beyond deep neural networks.
Proposed method
- The attacker queries the target DNN with chosen inputs and collects corresponding outputs to train a substitute model that mimics the target's behavior.
- The substitute model is trained using input-output pairs collected through black-box queries, enabling the attacker to generate adversarial examples without knowledge of the target model's internal structure.
- Adversarial examples are crafted on the substitute model using standard adversarial attack techniques, such as FGSM or PGD, based on the substitute's gradients.
- The crafted adversarial examples are then transferred to the target model to test their success in causing misclassification.
- The attack leverages the observed transferability of adversarial examples across models with different architectures or training data.
- The method is evaluated on standard DNN datasets and real-world APIs, including MetaMind’s online DNN classifier service.
Experimental results
Research questions
- RQ1Can adversarial examples be effectively generated against a black-box DNN when only output queries are available?
- RQ2To what extent does the substitute model accurately replicate the behavior of the target DNN to enable successful adversarial attacks?
- RQ3How effective is the transfer of adversarial examples from the substitute model to the actual target model in real-world settings?
- RQ4What factors contribute to the transferability of adversarial examples across different DNN architectures and training data?
- RQ5Can this attack strategy be generalized to other machine learning models beyond deep neural networks?
Key findings
- The attack achieved a misclassification rate of 84.24% on MetaMind’s online DNN classifier, demonstrating high practical effectiveness in a real-world black-box setting.
- The substitute model successfully mimicked the target model’s behavior, enabling the generation of adversarial examples that transferred with high success rate.
- Adversarial examples crafted on the substitute model transferred effectively to the target model, confirming the transferability phenomenon in practice.
- The method works even when the target model has a different architecture or was trained on different data, highlighting the robustness of the transferability property.
- The attack remains effective despite the absence of model parameters or training data, proving feasibility in fully black-box scenarios.
- The results suggest that the transferability of adversarial examples is a systemic vulnerability in deep learning systems, even when models are deployed remotely and securely.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.