[Paper Review] Hyperparameter Tuning with Renyi Differential Privacy
This paper proposes a differentially private hyperparameter tuning framework using Rényi Differential Privacy (RDP) to bound privacy leakage during iterative model optimization. By sampling a random number of training runs and selecting the best model, the method achieves privacy guarantees that grow logarithmically with the number of runs—significantly improving over linear composition bounds—enabling private model selection without compromising utility.
For many differentially private algorithms, such as the prominent noisy stochastic gradient descent (DP-SGD), the analysis needed to bound the privacy leakage of a single training run is well understood. However, few studies have reasoned about the privacy leakage resulting from the multiple training runs needed to fine tune the value of the training algorithm's hyperparameters. In this work, we first illustrate how simply setting hyperparameters based on non-private training runs can leak private information. Motivated by this observation, we then provide privacy guarantees for hyperparameter search procedures within the framework of Renyi Differential Privacy. Our results improve and extend the work of Liu and Talwar (STOC 2019). Our analysis supports our previous observation that tuning hyperparameters does indeed leak private information, but we prove that, under certain assumptions, this leakage is modest, as long as each candidate training run needed to select hyperparameters is itself differentially private.
Motivation & Objective
- To address the overlooked privacy risk in hyperparameter tuning when using differentially private training algorithms like DP-SGD.
- To formally quantify how hyperparameter selection can leak private information through non-private tuning procedures.
- To develop a privacy-preserving hyperparameter search mechanism that maintains strong privacy guarantees under Rényi Differential Privacy.
- To improve upon prior work by achieving privacy loss bounds that grow logarithmically rather than linearly with the number of training runs.
- To provide a practical and analytically sound method for differentially private model selection using truncated random repetition of training runs.
Proposed method
- The method uses a randomized number of training runs, where the number is drawn from a distribution with a truncation threshold to control privacy leakage.
- It applies Rényi Differential Privacy (RDP) to analyze the privacy loss of the overall hyperparameter tuning process, leveraging the RDP framework for tighter bounds than traditional DP.
- The approach conditions the number of training runs on a truncation point m, ensuring that the expected number of runs with high values is small, thus controlling the privacy cost.
- It derives a generic privacy bound using probability generating functions (PGFs) and their derivatives to compare the privacy loss between neighboring datasets.
- The method uses post-processing invariance and the Rényi divergence to bound the privacy loss of selecting the best model from multiple private runs.
- It introduces a truncated distribution for the number of runs, which allows for tighter privacy bounds that depend on the tail behavior of the distribution.
Experimental results
Research questions
- RQ1Can hyperparameter tuning based on non-private model evaluations leak private information about individuals in the training data?
- RQ2What is the privacy cost of selecting the best model from multiple differentially private training runs?
- RQ3Can we achieve privacy guarantees for hyperparameter tuning that grow sublinearly with the number of training runs?
- RQ4How can we design a hyperparameter tuning procedure that maintains strong privacy while minimizing utility loss?
- RQ5What is the trade-off between privacy parameters and the tail heaviness of the number of training runs in a randomized hyperparameter search?
Key findings
- Hyperparameter tuning based on non-private training runs can leak private information, particularly when outliers in the training data significantly influence the optimal hyperparameters.
- The privacy cost of selecting the best model from multiple differentially private training runs grows logarithmically with the number of runs, rather than linearly, when using a randomized number of runs.
- The method achieves privacy guarantees that are independent of the number of runs when using a geometric distribution with a sufficiently small truncation point.
- The privacy loss bound is quantitatively tighter than standard composition theorems, especially when the probability of large numbers of runs is small.
- The framework allows for private hyperparameter tuning without relaxing to approximate DP, maintaining stronger privacy guarantees.
- The derived bounds are effective when the expected number of runs exceeding the truncation threshold is small, which holds for large enough truncation values.
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.