English

Stealing Hyperparameters in Machine Learning

Cryptography and Security 2019-09-10 v3 Machine Learning Machine Learning

Abstract

Hyperparameters are critical in machine learning, as different hyperparameters often result in models with significantly different performance. Hyperparameters may be deemed confidential because of their commercial value and the confidentiality of the proprietary algorithms that the learner uses to learn them. In this work, we propose attacks on stealing the hyperparameters that are learned by a learner. We call our attacks hyperparameter stealing attacks. Our attacks are applicable to a variety of popular machine learning algorithms such as ridge regression, logistic regression, support vector machine, and neural network. We evaluate the effectiveness of our attacks both theoretically and empirically. For instance, we evaluate our attacks on Amazon Machine Learning. Our results demonstrate that our attacks can accurately steal hyperparameters. We also study countermeasures. Our results highlight the need for new defenses against our hyperparameter stealing attacks for certain machine learning algorithms.

Keywords

Cite

@article{arxiv.1802.05351,
  title  = {Stealing Hyperparameters in Machine Learning},
  author = {Binghui Wang and Neil Zhenqiang Gong},
  journal= {arXiv preprint arXiv:1802.05351},
  year   = {2019}
}

Comments

In the 39th IEEE Symposium on Security and Privacy (IEEE S & P), May 2018