Personalized DP-SGD using Sampling Mechanisms

Geon Heo, Junseok Seo, Steven Euijong WhangarXiv 2023 · DOI

Abstract

Differential Privacy (DP) is the gold standard for protecting data in machine learning, but standard implementations like DP-SGD apply a uniform privacy budget ($\epsilon$) to all users. This "one-size-fits-all" approach leads to overprotection and significant utility loss. We present PDP-SGD, a novel training algorithm that supports $(\Phi, \Delta)$-Personalized Differential Privacy (PDP). By integrating a personalized sampling mechanism directly into the training loop, PDP-SGD allows models to learn more from users with relaxed privacy requirements, resulting in substantially higher accuracy and improved efficiency.

Introduction: The Problem with Uniform Privacy

Standard DP-SGD forces a single, strict privacy level on every user in a dataset. In reality, users have diverse privacy needs—ranging from "privacy hawks" (low $\epsilon$) to "privacy pragmatists" (high $\epsilon$). If a dataset includes even one hawk, standard DP-SGD must treat every participant as a hawk to maintain safety guarantees. This leads to a massive hit to model utility because the algorithm ignores valuable information from less-sensitive users.

Comparison of standard DP training (a) vs. Personalized DP (b), illustrating how individual privacy budgets can lead to higher model utility.

Methodology: PDP-SGD

The core of PDP-SGD is a Personalized Sampling Mechanism embedded within the training iterations. Unlike previous methods that might partition data or use multiple models, PDP-SGD operates within a single training process.

  1. Personalized Sampling: The algorithm calculates a specific sampling rate ($\pi_i$) for each user based on their individual privacy budget. Users with higher $\epsilon$ (relaxed requirements) are sampled more frequently.
  2. Optimal Thresholding: A configurable threshold ($\tau$) balances the trade-off between overprotecting some users and under-utilizing others. The authors utilize an adaptive loss function to find the mathematically optimal $\tau$.
  3. Tight Integration: PDP-SGD clips gradients and adds noise while tracking individual privacy "expenditure" across training rounds, leveraging the principle of privacy amplification by sampling.

Experimental Results

The approach was evaluated on MNIST, Fashion-MNIST, and SVHN datasets. To simulate real-world diversity, synthetic privacy requirements were generated using exponential distributions to create various "skewed" preferences (represented by $k$).

Experimental results across three datasets and various privacy requirement distributions (k), showing PDP-SGD's superior accuracy and the underlying privacy requirement distributions.

Key Findings

  • Superior Accuracy: On the SVHN dataset, PDP-SGD reached a test accuracy of 77.73%, a significant improvement over the 63.95% achieved by standard DP-SGD.
  • Efficiency: PDP-SGD was approximately 30-35% faster than competing personalized methods like AdaPDP and required fewer parameters.
  • Theoretical Foundation: The authors established new proofs for composition and post-processing theorems specifically for the $(\Phi, \Delta)$-PDP framework.

Conclusion and Future Work

PDP-SGD demonstrates that respecting individual privacy preferences can recover significant model performance lost to uniform DP constraints. However, the authors note that varying sampling rates can introduce bias; if privacy preferences correlate with demographic groups, the model may become less accurate for "hawks," raising fairness concerns. Future research will focus on mitigating this bias to ensure that personalized privacy does not come at the cost of algorithmic fairness.

Summary updated

BibTeX
@misc{heo2023personalized,
  author = {Geon Heo and Junseok Seo and Steven Euijong Whang},
  title = {{Personalized DP-SGD using Sampling Mechanisms}},
  year = {2023},
  eprint = {2305.15165},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.15165},
}
Figure