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
Question AnsweringTruthfulQA
Accuracy46.3
7
Question AnsweringPIQA 64 query samples
Accuracy75.9
5
Model StealingCT Slices
Queries145
2
Model StealingMusk V2
Number of Queries9.39e+3
2
Model StealingDiabetes
Number of Queries193
2
Model StealingIris
Number of Queries24
2
Model StealingSPECTF Heart
# Queries438
2
Model StealingEEG Eye
# Queries3.61e+3
2
Model StealingAppliances
Queries Count2.81e+4
2
Model StealingSpam
# Queries3.31e+3
2
Showing 10 of 12 rows

Other info

Follow for update