Calibrating Noise for Group Privacy in Subsampled Mechanisms

Yangfan Jiang, Xinjian Luo, Yin Yang, Xiaokui Xiao

TL;DR

Standard Group Privacy (GP) analyses treat Differential Privacy (DP) mechanisms as black boxes, leading to excessive noise injection when random subsampling is involved (such as in DP-SGD). This paper introduces a "white-box" privacy accounting framework that directly leverages the inherent randomness of subsampling, reducing injected noise by over an order of magnitude while maintaining tight, rigorous privacy bounds.

What Problem Does This Paper Address?

Differential Privacy (DP) is the gold standard for protecting individual privacy in data analysis, ensuring that the presence or absence of a single record doesn't significantly alter the algorithm's output distribution. However, in many real-world scenarios, safeguarding individual data isn't enough—aggregates over a group of individuals (e.g., members of a family or a specific demographic) can also be highly sensitive. This is where Group Privacy (GP) comes in, extending DP guarantees to groups of size $m$.

Enforcing GP is typically treated as an afterthought. Practitioners usually take an existing DP mechanism ($m=1$) and apply a generic, black-box conversion to scale up the noise for a larger group size $m$.

The authors point out that this approach is severely suboptimal when the underlying mechanism uses random subsampling—a core component of popular algorithms like DP-SGD used for training deep neural networks. Generic conversions assume a pessimistic worst-case scenario where all $m$ group members are always sampled together. In reality, random subsampling naturally dilutes a group's presence, meaning the black-box approach injects far more noise than necessary, destroying model utility.

Figure 1: High-level idea: the existing solution converts a black-box DP mechanism, while our approach conducts a direct, white-box-style privacy analysis.

Methods

The authors propose a novel, subsampling-aware privacy accounting framework under the umbrella of Rényi Group Privacy (RGP). Instead of treating the DP mechanism as a black box, they perform a direct, "white-box" analysis of the Rényi divergence between output distributions on neighboring datasets.

Key methodological contributions include:

  • General RGP Bound: A generic mathematical upper bound for any subsampled mechanism with a constant sampling rate $q$.
  • Closed-Form Instantiations: Exact, closed-form RGP bounds for four widely used mechanisms: Gaussian, Laplace, Skellam (often used in secure federated learning), and Randomized Response.
  • Dimension-Independent Laplace Analysis: For the $d$-dimensional Laplace mechanism, standard approaches accumulate privacy costs across dimensions, incurring a massive $\Omega(d)$ penalty. The authors bypass this by formulating the privacy guarantee as a constrained optimization problem, proving it can be simplified to a manageable one-dimensional scenario.

Datasets

The framework was empirically evaluated by training machine learning models via DP-SGD on three standard benchmark image classification datasets:

  • MNIST
  • Fashion-MNIST
  • CIFAR-10

The models included Logistic Regression (LR) and Convolutional Neural Networks (CNN), both paired with a handcrafted Scattering Network (SN) feature extractor to align with state-of-the-art private learning setups.

Key Insights and Ideas

  • The Power of the Binomial Distribution: If you have a group of $m$ individuals and sample records with probability $q$, the number of group members actually selected isn't $m$—it follows a binomial distribution $B(m, q)$. When $q$ is small, the number of sampled group members is tightly concentrated around its mean, $qm$. Therefore, noise only needs to scale relative to $qm$ rather than the full group size $m$.
  • Bypassing Composition for Laplace: By proving that the worst-case privacy loss for a multi-dimensional Laplace mechanism occurs at the extreme points of an $L_1$-ball (using Bauer’s Maximum Principle), the authors reduced a complex multi-dimensional problem to a single dimension, avoiding loose privacy composition bounds.

Key Results

  • Massive Noise Reduction: For the subsampled Gaussian mechanism, the proposed white-box analysis reduces noise by a multiplicative factor of approximately $O(m^{0.58})$ compared to traditional black-box conversions.
  • Empirical Tightness: Numerical simulations show that the authors' upper bounds tightly track the theoretical lower bounds across varying group sizes ($m$), sampling rates ($q$), and privacy parameters ($\tau$).
  • Substantial Utility Gains: When training deep learning models under a fixed group privacy budget ($\epsilon = 4$), the baseline black-box method caused model accuracy to plummet to near-random guessing at larger group sizes ($m \ge 32$). In contrast, the proposed method maintained high test accuracy (e.g., preserving ~80% accuracy on Fashion-MNIST where the baseline dropped to ~32%).

Limitations and Future Work

  • Randomized Response Gap: While the proposed bound consistently outperforms the baseline for the Randomized Response mechanism, a small gap remains between their upper bound and the theoretical lower bound at small group sizes.
  • Alternative Subsampling Procedures: This work focuses on independent Poisson subsampling with a constant rate $q$. The authors note that extending this tight white-box analysis to other subsampling techniques—such as Importance Sampling (e.g., DPIS), where different records have different selection probabilities—is an open direction for future research.

Summary updated

Abstract

Given a group size m and a sensitive dataset D, group privacy (GP) releases information about D with the guarantee that the adversary cannot infer with high confidence whether the underlying data is D or a neighboring dataset D' that differs from D by m records. GP generalizes the well-established notion of differential privacy (DP) for protecting individuals' privacy; in particular, when m=1, GP reduces to DP. Compared to DP, GP is capable of protecting the sensitive aggregate information of a group of up to m individuals, e.g., the average annual income among members of a yacht club. Despite its longstanding presence in the research literature and its promising applications, GP is often treated as an afterthought, with most approaches first developing a DP mechanism and then using a generic conversion to adapt it for GP, treating the DP solution as a black box. As we point out in the paper, this methodology is suboptimal when the underlying DP solution involves subsampling, e.g., in the classic DP-SGD method for training deep learning models. In this case, the DP-to-GP conversion is overly pessimistic in its analysis, leading to low utility in the published results under GP. Motivated by this, we propose a novel analysis framework that provides tight privacy accounting for subsampled GP mechanisms. Instead of converting a black-box DP mechanism to GP, our solution carefully analyzes and utilizes the inherent randomness in subsampled mechanisms, leading to a substantially improved bound on the privacy loss with respect to GP. The proposed solution applies to a wide variety of foundational mechanisms with subsampling. Extensive experiments with real datasets demonstrate that compared to the baseline convert-from-blackbox-DP approach, our GP mechanisms achieve noise reductions of over an order of magnitude in several practical settings, including deep neural network training.
BibTeX
@article{jiang2024calibrating,
  author = {Yangfan Jiang and Xinjian Luo and Yin Yang and Xiaokui Xiao},
  title = {{Calibrating Noise for Group Privacy in Subsampled Mechanisms}},
  journal = {Proc. VLDB Endow.},
  year = {2024},
  doi = {10.14778/3705829.3705848},
}
Figure