Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Stealing Machine Learning Models via Prediction APIs

About

Machine learning (ML) models may be deemed confidential due to their sensitive training data, commercial value, or use in security applications. Increasingly often, confidential ML models are being deployed with publicly accessible query interfaces. ML-as-a-service ("predictive analytics") systems are an example: Some allow users to train models on potentially sensitive data and charge others for access on a pay-per-query basis. The tension between model confidentiality and public access motivates our investigation of model extraction attacks. In such attacks, an adversary with black-box access, but no prior knowledge of an ML model's parameters or training data, aims to duplicate the functionality of (i.e., "steal") the model. Unlike in classical learning theory settings, ML-as-a-service offerings may accept partial feature vectors as inputs and include confidence values with predictions. Given these practices, we show simple, efficient attacks that extract target ML models with near-perfect fidelity for popular model classes including logistic regression, neural networks, and decision trees. We demonstrate these attacks against the online services of BigML and Amazon Machine Learning. We further show that the natural countermeasure of omitting confidence values from model outputs still admits potentially harmful model extraction attacks. Our results highlight the need for careful ML model deployment and new model extraction countermeasures.

Florian Tram\`er, Fan Zhang, Ari Juels, Michael K. Reiter, Thomas Ristenpart• 2016

Related benchmarks

TaskDatasetResultRank
Model StealingAIDS
AUC89.77
27
Model StealingNCI1
AUC74.13
27
Model StealingNCI109
AUC72.93
27
Model Stealing AttackSVHN Open-world-CF (test)
Accuracy68.77
20
Model Stealing AttackSVHN Open-world-TI (test)
Accuracy69.34
20
Model Stealing AttackEMNIST Close-world (test)
Accuracy80.1
20
Model StealingMutagenicity
AUC80.81
18
Graph Model StealingTox21
AUC75.57
9
Node ClassificationPubmed
AUC85.55
9
Node ClassificationOGB-arxiv
AUC87.04
9
Showing 10 of 25 rows

Other info

Follow for update