Private selection from private candidates

Jingcheng Liu, Kunal Talwar

In the world of Differential Privacy (DP), we often face a "selection problem": given a collection of models or hyperparameters, how do we pick the best one without compromising the privacy of the underlying data? Traditionally, this required knowing exactly how much a single person's data could change a model's score (its "sensitivity"). But what if we don't know that? What if all we know is that the candidates themselves are private?

In their paper "Private Selection from Private Candidates," Jingcheng Liu and Kunal Talwar provide a elegant solution to this problem, relaxing the strict requirements of classical DP selection and opening the door for more robust private machine learning.

TL;DR

This paper introduces algorithms to select the best candidate from a pool of options when the only thing we know is that the candidates' score functions are already differentially private. It generalizes the famous "Exponential Mechanism" and "Sparse Vector Technique," showing that we can achieve near-optimal selection with only a small, constant-factor loss in the privacy budget.

What Problem Does This Paper Address?

Most differentially private algorithms are built from simple blocks. One of the most fundamental blocks is Private Selection: picking the "best" option (e.g., the best learning rate for a neural network) while ensuring the choice doesn't leak individual data.

The gold standard for this has been the Exponential Mechanism. However, it relies on a "Lipschitz" or "low-sensitivity" assumption: if you change one person's data, the score of a candidate shouldn't change by much. In complex applications like hyperparameter optimization, this assumption is often too strong or impossible to verify.

The authors ask: Can we perform private selection if we only assume the candidates are already private? This is a much weaker and more practical assumption. For example, if you have 100 different models trained with DP, their performance scores on a validation set are naturally private. How do you pick the best one without "paying" for the privacy cost of all 100?

Methods

The authors propose several algorithms based on two main strategies:

  1. Thresholding & Random Stopping: Instead of looking at all $K$ candidates and picking the max (which would cost $K \times \epsilon$ in privacy), the algorithms sample candidates one by one.
  2. Algorithm 1 (Known Threshold): Samples until a candidate exceeds a pre-set quality threshold $\tau$. To maintain privacy, it also includes a small probability of stopping and outputting "nothing" ($\perp$) at each step.
  3. Algorithm 2 (Random Stopping): A more flexible version that doesn't require a known threshold. It uses a "random stopping time" to decide when to stop and output the best candidate seen so far.
  4. Private Sparse Vector Technique (SVT) Extension: The authors develop an online version of their algorithm. Standard SVT handles queries with fixed sensitivity; this new version handles queries that are themselves differentially private.
  5. Potential Functions: To prove their results, they use a novel potential function $\Phi(x) = \frac{x}{1-x}$ to map probabilities into a space where they can apply standard DP analysis tools like the Laplace mechanism.

Datasets

This is a theoretical paper focused on algorithmic design and mathematical proofs. As such, it does not use empirical datasets (like MNIST or CIFAR-10) for benchmarking. Instead, it provides rigorous proofs of privacy guarantees and utility bounds that apply to any dataset.

Key Insights and Ideas

  • Privacy as Stability: The core "aha moment" is realizing that Differential Privacy is itself a form of stability. If a function is $\epsilon$-DP, it behaves similarly on adjacent datasets by definition. The authors show this is "stable enough" to replace the traditional Lipschitz requirement.
  • The "Factor of 2" Cost: The authors prove that you can achieve this selection at a privacy cost of roughly $2\epsilon$. Crucially, they also provide a lower bound (Appendix D) showing that this factor of 2 loss is actually unavoidable in many settings.
  • Hyperparameter Tuning "For Free": In non-private ML, we often try many hyperparameters and pick the best. Naively doing this in DP is expensive. This paper shows we can compete with the non-private "best of $K$" strategy while only paying a small, fixed privacy overhead, regardless of how large $K$ is.

Key Results

  • Theorem 1.2: For a known threshold $\tau$, they provide a $(2\epsilon_1)$-DP algorithm that finds a "good" candidate in roughly $2K$ oracle calls.
  • Theorem 1.3: For the unknown threshold case, they achieve $(3\epsilon_1)$-DP while still outputting the highest-scored sample seen before stopping.
  • Theorem 1.5 (Online Selection): They provide an $(\epsilon, \delta)$-DP mechanism that can monitor a stream of private queries and halt at the first one that exceeds a threshold, generalizing the Sparse Vector Technique to the "private candidate" setting.
  • Generalization: They show their results encompass and improve upon existing generalizations of the Exponential Mechanism and private amplification techniques.

Limitations and Future Work

  • Constants in Runtime: While the algorithms are computationally efficient (near-linear in the number of candidates), the authors note that the constants in the runtime for the threshold-finding algorithm could be improved.
  • Beyond Random Search: The paper focuses on selecting from a fixed set of candidates (like random search or grid search). The authors suggest that a natural next step is investigating whether more complex, adaptive hyperparameter optimization algorithms (like Bayesian Optimization) can be made private using similar techniques.
  • Oracle Access: The methods assume "oracle access" to the private candidates—meaning you can repeatedly sample from the candidate mechanisms. In some resource-constrained environments, the cost of these samples might still be a bottleneck.

Summary updated

BibTeX
@inproceedings{liu2019private,
  author = {Jingcheng Liu and Kunal Talwar},
  title = {{Private selection from private candidates}},
  booktitle = {STOC},
  year = {2019},
  url = {https://openreview.net/forum?id=fC4Ymiu4vUa},
}

Loading related content...

Figure