Manuscript Offprint

arXiv:2610.42117

Fast Privacy Loss Accounting for Random Allocation via Multiscale FFT

Vitaly Feldman, Moshe Shenfeld

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In the random allocation sampling scheme each user's data is used in kk steps chosen randomly and uniformly from a sequence of tt steps. This scheme is known to improve on Poisson sampling [Chu+24; CGHSG25] in private optimization and in communication-efficient aggregation [AFKRT26]. The existing privacy loss distribution (PLD) accountant for this scheme runs in time quadratic in the inverse of the accuracy parameter α\alpha [FS26]. We give an algorithm, multiscale FFT, that represents likelihood ratios on a grid that is uniform within each dyadic interval and computes the exact rounding of every pairwise sum using FFTs within each interval. It keeps the guarantees of the accountant and improves the dependence of its running time on α\alpha from O(α−2)O(\alpha^{-2}) to O(α−1log⁡(1/α))O(\alpha^{-1}\log(1/\alpha)). In addition, we demonstrate that rounding can be performed via the mean-preserving connect-the-dots projection of Doroshenko et al. [DGKKM22]. This reduces the errors that rounding introduces in the mean of the privacy loss and in the χ2\chi^2 divergence of the computed pair from the order of α\alpha to O(α2/log⁡(t))O(\alpha^2/\log(t)). In our experiments, our algorithm achieves speedups of several orders of magnitude at high accuracy and gives improved privacy bounds for DP-SGD with PREAMBLE.

1 Introduction

We consider privacy accounting for random allocation, a sampling scheme in which the data of each user is used in kk steps chosen randomly and uniformly from a sequence of tt steps (independently of the other users). This ensures that each user contributes a fixed number of times while still benefiting from the privacy amplification due to sampling. For k=1k=1, this is the balls-and-bins sampling scheme used to define the batches in DP-SGD [Chu+24; CGHSG25]. More generally, the scheme can be used to enforce a communication constraint in distributed aggregation by limiting the number of coordinate blocks that each user sends [AFKRT26]. In both of these applications random allocation has been shown to have utility advantages over Poisson sampling [Chu+24; CGHSG25; AFKRT26]. These applications have also motivated increasingly accurate analyses of its privacy guarantees [FS25; DCO25; FS26]. For the Gaussian mechanism, the most accurate of these analyses shows that the privacy guarantees of random allocation are slightly better than those of Poisson sampling with the same noise scale and expected batch size in nearly all parameter regimes [FS26]. Thus in these applications random allocation achieves a better privacy-utility trade-off than Poisson sampling.

As shown in [FS26] (FS26 below), the privacy of random allocation can be analyzed using privacy loss distributions (PLDs). Given a PLD of a dominating pair of distributions of the per-step algorithm, their accountant computes a PLD that dominates random allocation applied to that algorithm (an allocation PLD). They reduce the allocation PLD to the distribution of a sum of tt

*Work partially done while author was an intern at Apple.

independent likelihood ratios (that is, exponentiated privacy losses), and compute this distribution by repeated squaring. Each pairwise sum is computed by a direct convolution on a geometric grid and is rounded to the grid in the direction that preserves stochastic domination. We refer to this algorithm as direct convolution. Its running time is quadratic in the inverse of α\alpha – the accuracy parameter in ε\varepsilon that bounds the error in the privacy loss. While direct convolution is efficient for a moderate level of accuracy, this dependence leads to a high running time in the high-accuracy regime. A highly accurate PLD is needed for the approximation error to remain small after a large number of compositions. For example, the analysis of DP-SGD with PREAMBLE in FS26 includes thousands of inner compositions and more than ten thousand training updates. In this regime, computing a PLD for which the final ε\varepsilon is accurate to within 0.05 typically takes more than an hour on a single Apple M4 core. Finding the noise scale that achieves a target ε\varepsilon requires multiple such computations, and a careful choice of the accuracy parameters of direct convolution.

The standard FFT-based approach to the composition of PLDs [KJH20; GLW21] does not resolve this problem. Composition adds privacy losses, whereas random allocation adds their exponentials, that is, likelihood ratios. A uniform grid over likelihood ratios needs to resolve small ratios over a range that can be very large. As a result, ensuring accuracy α\alpha using FFT requires an impractically large grid, and smaller grids have been demonstrated to have a poor trade-off between accuracy and running time [FS26, Appendix D]. Thus, given the practical benefits of random allocation, we address the question of whether there is a more efficient approach to privacy accounting for random allocation.

References (26)