Efficient Hyperparameter Optimization for Differentially Private Deep Learning

Aman Priyanshu, Rakshit Naidu, Fatemehsadat Mireshghallah, Mohammad Malekzadeh
8/9/2021
cs.LGcs.CR

Official code: AmanPriyanshu/DP-HyperparamTuning (23 stars, Jupyter Notebook, MIT, PyTorch, last commit 2021-09-27).

Abstract

Tuning the hyperparameters in the differentially private stochastic gradient descent (DPSGD) is a fundamental challenge. Unlike the typical SGD, private datasets cannot be used many times for hyperparameter search in DPSGD; e.g., via a grid search.

Show full abstract

Therefore, there is an essential need for algorithms that, within a given search space, can find near-optimal hyperparameters for the best achievable privacy-utility tradeoffs efficiently. We formulate this problem into a general optimization framework for establishing a desirable privacy-utility tradeoff, and systematically study three cost-effective algorithms for being used in the proposed framework: evolutionary, Bayesian, and reinforcement learning. Our experiments, for hyperparameter tuning in DPSGD conducted on MNIST and CIFAR-10 datasets, show that these three algorithms significantly outperform the widely used grid search baseline. As this paper offers a first-of-a-kind framework for hyperparameter tuning in DPSGD, we discuss existing challenges and open directions for future studies. As we believe our work has implications to be utilized in the pipeline of private deep learning, we open-source our code at https://github.com/AmanPriyanshu/DP-HyperparamTuning.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

DP-HyperparamTuning offers an array of tools for fast and easy hypertuning of various hyperparameters for the DP-SGD algorithm.

235Jupyter Notebook, PythonJul 30, 20215 years agoMIT
automlhyperparameter-optimizationmachine-learningpytorchreinforcement-learning

Similar Papers

Cite this paper

@article{priyanshu2021efficient,
  title  = {Efficient Hyperparameter Optimization for Differentially Private Deep Learning},
  author = {Aman Priyanshu and Rakshit Naidu and Fatemehsadat Mireshghallah and Mohammad Malekzadeh},
  year   = {2021},
  eprint = {2108.03888},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.03888}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.03888.svg)](https://codeofpaper.com/paper/2108.03888)

Discussion