Abstract
Running a randomized algorithm on a subsampled dataset instead of the entire dataset amplifies differential privacy guarantees. In this work, in a federated setting, we consider random participation of the clients in addition to subsampling their local datasets. Since such random participation of the clients creates correlation among the samples of the same client in their subsampling, we analyze the corresponding privacy amplification via non-uniform subsampling. We show that when the size of the local datasets is small, the privacy guarantees via random participation is close to those of the centralized setting, in which the entire dataset is located in a single host and subsampled. On the other hand, when the local datasets are large, observing the output of the algorithm may disclose the identities of the sampled clients with high confidence. Our analysis reveals that, even in this case, privacy guarantees via random participation outperform those via only local subsampling.
Introduction
In Federated Learning (FL), data remains on local devices to enhance privacy, but the model updates (gradients) sent to a central server can still leak sensitive information. To mitigate this, researchers employ Differential Privacy (DP), typically by adding random noise to gradients. A well-known technique in DP is "privacy amplification via subsampling": training on a small random subset of data naturally amplifies the privacy protection for any single data point.
However, FL presents a unique challenge. Unlike centralized settings where samples are picked uniformly from a single pool, FL data is partitioned across many clients. When we randomly pick a subset of clients and then those clients randomly pick a subset of their local data, the sampling is no longer uniform across the global dataset. This creates correlations—if one data point from a client is sampled, other points from that same client are more likely to be available. This paper provides a rigorous theoretical analysis of how this "random participation" process amplifies DP guarantees.
Methodology
The authors analyze a framework called DP-DSGD (Distributed Stochastic Gradient Descent) involving a trusted Parameter Server (PS). The process utilizes two stages of Poisson sampling:
- Client Participation: Each client independently decides to participate in a round with probability $p$.
- Local Subsampling: Each participating client then samples its local data points with probability $q$.
Using hockey stick divergence and advanced joint convexity, the authors bound the privacy loss ($\epsilon, \delta$). Crucially, this analysis does not rely on "shuffling" (an additional step to hide update origins) and remains compatible with Gaussian noise, the standard for deep learning.
They compare their proposed analysis against three primary baselines:
- Only Local Sampling (OLS): Assumes all clients participate ($p=1$), ignoring gains from random participation.
- Weak Client Sampling (WCS): Assumes an adversary knows which clients participated, but not which specific samples were used.
- Centralized Shuffling (CS): An ideal lower bound where all data is treated as a single pool.
Empirical Evaluation
The approach was evaluated using the EMNIST (Extended MNIST) dataset (ByClass split), featuring 814,255 samples across 62 classes. The researchers tested two scenarios: "Many Clients/Small Datasets" (~23,000 clients with 30 samples each) and "Few Clients/Large Datasets" (697 clients with 1,000 samples each).
Key Results
The quantitative improvements are significant. To achieve a target privacy level of $\epsilon = 0.015$ and $\delta = 10^{-6}$ on EMNIST:
- Noise Reduction: In the "Many Clients" scenario, the proposed analysis required a noise standard deviation ($\sigma$) of only 1.065. The standard OLS analysis required a massive $\sigma$ of 22.4 for the same guarantee.
- Accuracy Boost: Because the proposed method allows for significantly less noise, the model reached test accuracies of approximately 70-75%. In contrast, the OLS baseline struggled to learn effectively under the high noise levels required by its looser bounds.
Key Insights
- The Small Dataset Advantage: When clients have small local datasets, the privacy guarantee of the federated system is nearly identical to a centralized system. The correlation between samples on the same device is too weak for an adversary to exploit effectively.
- Identity Disclosure: As local datasets grow, it becomes easier for an adversary to "fingerprint" a client based on their update. While the privacy bound converges toward the WCS baseline in this case, it still consistently outperforms the OLS baseline.
- Implementation Benefits: The analysis proves that significant amplification is possible through random participation alone, without requiring complex "shufflers." Furthermore, because clients decide to participate independently, they can track their own privacy expenditure locally.
Limitations
The current analysis assumes a trusted parameter server. While a modification for an untrusted server is possible (where clients add their own noise), it increases total noise variance and degrades accuracy. Additionally, in an untrusted setting, non-participating clients might need to send "dummy" noise to mask their status, which increases communication overhead. Finally, calculating the privacy bounds requires numerical methods, though these remain computationally efficient.
Summary updated