[Paper Review] ES Attack: Model Stealing against Deep Neural Networks without Data Hurdles
ES Attack is a novel model stealing framework that enables adversaries to reconstruct functionally equivalent deep neural networks (DNNs) from Machine Learning as a Service (MLaaS) APIs without requiring any access to the victim model's training data or auxiliary datasets. By iteratively generating synthetic data and using a substitute model to refine it via knowledge distillation, ES Attack achieves 44.57% higher accuracy than baseline attacks and bypasses most existing defenses.
Deep neural networks (DNNs) have become the essential components for various commercialized machine learning services, such as Machine Learning as a Service (MLaaS). Recent studies show that machine learning services face severe privacy threats - well-trained DNNs owned by MLaaS providers can be stolen through public APIs, namely model stealing attacks. However, most existing works undervalued the impact of such attacks, where a successful attack has to acquire confidential training data or auxiliary data regarding the victim DNN. In this paper, we propose ES Attack, a novel model stealing attack without any data hurdles. By using heuristically generated synthetic data, ES Attack iteratively trains a substitute model and eventually achieves a functionally equivalent copy of the victim DNN. The experimental results reveal the severity of ES Attack: i) ES Attack successfully steals the victim model without data hurdles, and ES Attack even outperforms most existing model stealing attacks using auxiliary data in terms of model accuracy; ii) most countermeasures are ineffective in defending ES Attack; iii) ES Attack facilitates further attacks relying on the stolen model.
Motivation & Objective
- To address the critical gap in model stealing attacks that require access to victim model training data or auxiliary datasets.
- To develop a data-free model stealing framework that operates solely through API queries and response labels.
- To evaluate the effectiveness of ES Attack in stealing DNNs without data hurdles and compare it to existing methods.
- To assess the vulnerability of current defense mechanisms against this new attack paradigm.
- To demonstrate the downstream risks, such as enabling black-box adversarial attacks using the stolen model.
Proposed method
- ES Attack uses an iterative E-Step and S-Step process: in the E-Step, a substitute model is trained on synthetic data using knowledge distillation from victim model responses.
- In the S-Step, synthetic data is generated by optimizing input noise to maximize the model's confidence in predicted classes, using the substitute model as a proxy for the victim.
- The synthetic data is refined over multiple iterations to improve diversity and representation of the victim model’s decision boundaries.
- Knowledge distillation is applied using soft labels (logits) from the victim model to transfer functional behavior to the substitute model.
- The method avoids reliance on gradient computation from the victim model by using the substitute model to generate gradients for data optimization.
- The framework is designed to be architecture-agnostic and requires only black-box access to the victim model’s inference API.
Experimental results
Research questions
- RQ1Can a model stealing attack successfully reconstruct a DNN without any access to the victim’s training data or auxiliary datasets?
- RQ2How does the performance of a data-free model stealing attack compare to attacks that rely on auxiliary data in terms of substitute model accuracy?
- RQ3To what extent are existing defense mechanisms effective against data-free model stealing attacks like ES Attack?
- RQ4Can a stolen model be used to launch more effective black-box adversarial attacks than white-box attacks?
- RQ5What is the quality and diversity of synthetic data generated by ES Attack compared to real or auxiliary datasets?
Key findings
- ES Attack successfully steals DNNs from MLaaS providers without any training data or auxiliary data, achieving a 44.57% average accuracy improvement over baseline attacks using auxiliary data.
- The synthetic data generated by ES Attack exhibits higher quality and diversity than auxiliary datasets, contributing to superior substitute model performance.
- Most existing defense mechanisms, including query pattern detection and learning rate monitoring, are ineffective against ES Attack.
- The stolen model enables black-box adversarial attacks that sometimes outperform white-box attacks in success rate, demonstrating the threat of model stealing.
- The substitute model trained via ES Attack achieves high functional equivalence to the victim model, even when the victim model’s architecture and parameters are unknown.
- The attack framework is robust across multiple image classification datasets and remains effective despite the absence of architectural or hyperparameter knowledge.
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.