Federated learning systems train one model across many devices or institutions, each holding its own data. When these systems promise differential privacy, meaning a mathematical guarantee that the trained model reveals little about any single participant, the reported guarantee usually depends on how participants are picked for each round. The standard proofs assume Poisson sampling: every client independently flips a biased coin each round. Real systems rarely do this. They draw fixed-size cohorts, cycle through shuffled client lists, or otherwise make sure every client takes part about equally often. For centralized training, this mismatch has been shown to matter a great deal. A shuffled pipeline reported at $\epsilon \approx 5$–$7$ under Poisson accounting has a true privacy-loss lower bound above 14 at noise multiplier 0.4 (Bridging the Privacy Accounting Gap in DP-SGD).
This note asks a question that research has not yet posed. When client data are heterogeneous (different clients see different label mixes), the order and balance of participation affect accuracy as well as privacy. Every client taking part exactly once per pass over the population should reduce the error caused by the model being pulled toward whichever clients happened to be over-sampled. Non-private SGD shows the analogous effect, where sampling without replacement beats sampling with replacement, and the advantage grows with how much individual gradients disagree. Our claim is that one sampler gets both benefits. Balls-and-bins participation assigns each client uniformly at random to one round per pass. It keeps the once-per-pass structure that helps under heterogeneity, and it admits a privacy accountant close to Poisson's. The expected result is that its advantage over correctly accounted Poisson sampling is negligible on IID data and grows as heterogeneity increases. If so, the choice of sampler becomes a real lever on the privacy–utility trade-off in heterogeneous federated learning, not an implementation detail.
Core Claim
We work at the client level: the privacy unit is one client's entire dataset, and the server is trusted to run the sampler. The prediction has three parts, stated at a fixed, correctly accounted $(\epsilon, \delta)$.
- The accuracy gap between once-per-pass samplers and Poisson sampling is monotone in heterogeneity. It is near zero at Dirichlet concentration $\alpha = \infty$ (IID) and largest at $\alpha = 0.1$.
- Fixed-size shuffled cohorts capture this utility gain but pay for it in privacy once honestly accounted. At matched true $\epsilon$ they therefore lose to balls-and-bins.
- The common practice of running shuffled cohorts while reporting Poisson $\epsilon$ is exploitable in heterogeneous federations. A client with a rare label mix is naturally distinctive, so the worst-case gap proven for shuffling becomes something an attacker can measure empirically.
Parts 1 and 2 concern utility; part 3 concerns privacy.
The mechanism behind part 1 can be stated in one relation. Let $\zeta^2$ be the average squared distance between client update directions and the global direction, which is a standard measure of heterogeneity. Let $V_T$ be the variance, over the sampler's randomness, of how many times each client has participated after $T$ rounds. The component of optimization error attributable to participation should then scale roughly as
$$\text{participation error} \;\propto\; \zeta^2 \cdot V_T ,$$
This form is the federated analogue of the reshuffling argument. Poisson sampling makes $V_T$ grow linearly in $T$, because per-client counts are binomial. Balls-and-bins and shuffled cohorts pin $V_T$ to zero at every pass boundary.
Privacy noise does not depend on $\zeta$, since the accountant is worst-case over datasets. The privacy side of the comparison is therefore fixed by the sampler alone, while the utility side scales with heterogeneity. That separation is what makes the interaction testable.
Relation to Prior Work
Work that establishes the privacy gap and supplies our accountants. Three papers show that shuffled batching is analytically different from Poisson sampling:
- How Private are DP-SGD Implementations? formalizes batching schemes as adaptive linear queries. It proves shuffling is at least as private as deterministic batching but can be far weaker than Poisson accounting claims.
- Bridging the Privacy Accounting Gap in DP-SGD proposes balls-and-bins with a Monte Carlo accountant. On Criteo it reports AUC nearly identical to shuffling.
- Differentially Private SGD with Fixed-Size Minibatches gives tighter RDP bounds for fixed-size sampling, where RDP (Rényi differential privacy) is a divergence-based way of tracking cumulative privacy loss.
All three study individual records in centralized training on homogeneous data. None asks whether participation structure changes accuracy when participants disagree. We reuse their accountants unchanged, treating a client as the record. Our contribution is the heterogeneity-dependent utility side and the federated audit.
Work closest on the federated side. Leveraging Randomness in Model and Data Partitioning analyzes Balanced Iteration Subsampling, in which each client joins exactly $k$ of $T$ rounds, and shows privacy equal to or better than Poisson. Its data partitions are generic and effectively IID, so it cannot tell whether balance helps utility under skew. We include it as a sampler and test exactly that question.
Work on heterogeneity and privacy that constrains our design. Understanding Clipping for Federated Learning shows that clipping bias under non-IID data depends on how concentrated client updates are. It reports a 0.10% drop for ResNet-18 versus 3.60% for AlexNet on heterogeneous EMNIST. We must therefore hold the architecture and clipping rule fixed across samplers, or a sampler effect could be confounded with a clipping effect.
Two papers improve utility through the model rather than the sampler, and both assume idealized participation without examining its accounting:
Both are orthogonal to our lever and could be stacked with it.
Work on drift correction. FedDyn removes client drift with a stateful regularizer. It reports a 3x–5x reduction in communication rounds over FedAvg on non-IID CIFAR-10. If drift correction already removes $\zeta^2$, our effect should shrink. That makes FedDyn both a threat and a diagnostic.
Research Program
We will build one DP-FedAvg codebase with a pluggable participation layer. Clipping of client update differences, Gaussian noise on the aggregate, and normalization by expected cohort size are the same for every sampler, so samplers differ only in which clients appear in each round.
The layer implements five participation schemes:
- Poisson, with its standard accountant.
- Fixed-size shuffled cohorts with the Poisson accountant. This is the common but unsound practice, and it is used only as a reference and an audit target.
- Fixed-size shuffled cohorts with the shuffling lower bound from Bridging the Privacy Accounting Gap. This gives an optimistic reading of shuffling's honest cost, since no tight multi-pass upper bound exists: Conjecture 3.2 of How Private are DP-SGD Implementations? remains open.
- Balls-and-bins over clients, with its Monte Carlo accountant.
- Balanced Iteration Subsampling, with the RDP analysis of Leveraging Randomness.
For each target $\epsilon$, the noise multiplier is calibrated separately per sampler, so all comparisons are made at equal true privacy.
The analytic component formalizes the $\zeta^2 V_T$ term for noisy, clipped FedAvg. We will check whether the added privacy noise masks it. If the noise variance, which scales with $C^2 d$ divided by the squared cohort size, dominates the participation term at small $\epsilon$, the sampler effect should vanish at strict privacy. The predicted crossover point in $\epsilon$ is itself a falsifiable output.
The empirical component crosses sampler × heterogeneity level × drift correction (none, FedDyn) × $\epsilon$. It adds a privacy audit on the unsound configuration.
Baselines
Naive reference: shuffled cohorts with Poisson-reported $\epsilon$. This is what an unwary practitioner ships. We will show its apparent accuracy and then its true privacy.
Primary competitor: Poisson client sampling with its correct accountant. It is the only scheme whose standard accounting is sound, and at the server level its variable cohort size costs little engineering. Memory spikes, such as the 23.3 GB versus 14.8 GB peak reported in Fixed-Size Minibatches, matter on a single device but hardly at an orchestrating server. It is run with the same model, clip norm, rounds, expected cohort size, and a tuning budget over server learning rate and clip norm identical to every other sampler's.
Beating it means balls-and-bins achieves higher mean accuracy and higher worst-decile client accuracy at the same $(\epsilon, \delta)$, with the margin exceeding seed-to-seed variation over five seeds at $\alpha \le 0.3$.
Strongest reported accuracy numbers. The strongest private heterogeneous-FL numbers in the file are FedDPA's: 49.75% on CIFAR-10 at Dirichlet $\alpha = 1$ and 77.27% on FEMNIST at $\epsilon = 4$ (FedDPA). These are user-level results under FedDPA's own participation and accounting assumptions, so we will rerun FedDPA's parameter shielding on top of both Poisson and balls-and-bins rather than quote the numbers as comparable targets.
No-sampling competitor. DP-FTRL with tree-aggregated noise (Practical and Private Deep Learning without Sampling or Shuffling) runs with cyclic participation and requires no amplification argument. For StackOverflow, no reported result for DP-FTRL was found on Lacuna, so we run it ourselves.
Ablations isolating the key ingredient. The ingredient is "exactly once per pass." Fixed-size shuffled cohorts have once-per-pass participation and fixed cohort size. Balls-and-bins has once-per-pass participation with random cohort size. Poisson has neither. Comparing them under shared noise separates the balance effect from the cohort-size effect. A second ablation gives Poisson a matched fixed cohort size drawn without replacement independently each round. It isolates cross-round balance, which is our hypothesized cause, from within-round balance.
Why not just…?
Why not just use Poisson with correct accounting and stop? This is the main threat. If the $\zeta^2 V_T$ term is swamped by privacy noise at practically relevant $\epsilon$, Poisson is simply the right answer and our claim fails. The sampler × $\alpha$ × $\epsilon$ grid settles it directly. We report the claim as refuted if the balls-and-bins advantage does not grow as $\alpha$ decreases at $\epsilon \in \{2, 4, 8\}$.
Why not just remove heterogeneity with drift correction such as FedDyn? If drift correction neutralizes $\zeta^2$, the sampler should stop mattering, and the FedDyn arm tests this. There is reason to doubt it works cleanly under privacy. FedDyn's linear term uses each client's true gradient history, which is stateful and interacts with clipping in ways nobody has analyzed. Cross-device clients also drop out, breaking stored state (FedDyn). If FedDyn under DP closes the gap, we will report that balanced participation is a cheap stateless substitute rather than an additive gain.
Why not just use DP-FTRL, which needs no sampling? DP-FTRL is known to trail amplified DP-SGD at strict budgets and to match or beat it only around $\epsilon > 10$ (Practical and Private Deep Learning). It remains the right choice when the server cannot enforce randomness. We will locate its crossover against balls-and-bins across $\epsilon$ on StackOverflow and FEMNIST. If the crossover falls below $\epsilon = 4$ under heterogeneity, that is an important negative result for amplification-based approaches in federated learning.
Proposed Experiments
Benchmarks. CIFAR-10 partitioned by Dirichlet $\alpha \in \{\infty, 1, 0.3, 0.1\}$ over 500 clients; FEMNIST and Shakespeare with natural per-writer and per-role partitions; StackOverflow per-user for scale. We use a fixed ResNet-18 with group normalization for vision, chosen for its concentrated updates to keep clipping bias low, and a small LSTM for text. Metrics are mean test accuracy, worst-decile per-client accuracy, and rounds to target accuracy, all at matched true $(\epsilon, \delta)$ with $\delta$ below one over the number of clients.
Decisive check 1: the interaction. The balls-and-bins-minus-Poisson accuracy gap is plotted against $\alpha$ for each $\epsilon$. The claim requires a monotone, statistically clear increase as data become more skewed. A flat line refutes it.
Decisive check 2: shuffling's honest price. At matched true $\epsilon$, fixed-size shuffled cohorts need more noise. The Criteo lower bound suggests the needed increase could be large (Bridging the Privacy Accounting Gap). We expect them to fall below balls-and-bins despite sharing its once-per-pass structure.
Decisive check 3: the audit. We insert canary clients holding a rare label into the heterogeneous federation. We then run a distinguishing attack on the aggregated updates, using the exclusion structure of shuffled cohorts: a client seen once cannot reappear within the pass. From this we compute empirical $\epsilon$ lower bounds for shuffled cohorts reported at Poisson $\epsilon$. Exceeding the reported $\epsilon$ in a natural non-IID federation, rather than an adversarially constructed dataset, would show that the accounting gap is an operational risk in federated learning and not only a theoretical one.
References
- Bridging the Privacy Accounting Gap in DP-SGD
- How Private are DP-SGD Implementations?
- Differentially Private Stochastic Gradient Descent with Fixed-Size Minibatches: Tighter RDP Guarantees with or without Replacement
- Leveraging Randomness in Model and Data Partitioning for Privacy Amplification
- Understanding Clipping for Federated Learning: Convergence and Client-Level Differential Privacy
- Dynamic Personalized Federated Learning with Adaptive Differential Privacy
- Federated Learning with Sparsified Model Perturbation: Improving Accuracy under Client-Level Differential Privacy
- Federated Learning Based on Dynamic Regularization
- Practical and Private (Deep) Learning Without Sampling or Shuffling