TL;DR
This paper introduces a multiscale FFT algorithm that drastically speeds up privacy accounting for "random allocation" sampling schemes. By combining a clever dyadic grid structure with mean-preserving projections, the authors achieve speedups of up to five orders of magnitude while providing tighter privacy guarantees than previous state-of-the-art methods.
What Problem Does This Paper Address?
In Differential Privacy (DP), "accounting" is the process of tracking the total privacy loss across multiple steps of an algorithm (like DP-SGD). A popular sampling scheme is random allocation, where each user's data is used in exactly $k$ steps out of a total of $t$. This scheme often provides better utility than standard Poisson sampling, especially in communication-efficient settings.
However, accounting for random allocation is computationally expensive. Unlike standard composition, which adds privacy losses, random allocation involves adding likelihood ratios (exponentiated privacy losses). These ratios can span a massive dynamic range, making standard uniform-grid FFTs impractical. Previous "direct convolution" methods were slow, with a running time that scaled quadratically ($O(\alpha^{-2})$) with the desired accuracy $\alpha$. For high-accuracy regimes needed in complex training runs, this could take hours on modern hardware.
Methods
The authors propose two main innovations to solve the speed and accuracy trade-off:
-
The Dyadic Grid & Multiscale FFT: Instead of a single uniform grid, they represent likelihood ratios on a grid that is uniform within each "dyadic interval" (e.g., $[1, 2), [2, 4), [4, 8)$). The spacing doubles with each interval. To perform convolutions across these different scales, they developed a "multiscale FFT merge." When adding a value from a lower (finer) band to one in a higher (coarser) band, the algorithm projects the finer data onto the coarser grid. Because these grids are nested, this can be done efficiently using FFTs without losing accuracy.
The dyadic grid and the merge step. A value $y$ from a lower band is projected onto the coarser grid of band 2 to enable FFT-based convolution. -
Connect-the-Dots (CtD) Projections: Traditional accounting uses conservative rounding to ensure privacy guarantees, but this introduces a linear bias ($O(\alpha)$). The authors adopt the "connect-the-dots" projection, which splits the mass of a value between its two neighbors to preserve the mean. This simple change makes the error quadratic ($O(\alpha^2)$), leading to much tighter privacy bounds for the same computational effort.
Datasets
The algorithm was evaluated using numerical simulations rather than traditional training datasets. The primary benchmark was the Gaussian mechanism under various noise scales ($\sigma$) and steps ($t$). Specifically, they tested the algorithm in the context of DP-SGD with PREAMBLE, a communication-efficient aggregation scheme, using parameters representative of large-scale training: $n = 6 \cdot 10^5$ users, dimension $d = 2^{20}$, and up to 8,192 inner compositions.
Key Insights and Ideas
- Dynamic Range Management: The dyadic grid is the "secret sauce." It provides high relative resolution for small values while still covering the huge range required by likelihood ratios, all while remaining compatible with FFTs.
- Nesting is Key: The fact that the uniform grids of different bands are nested allows the multiscale merge to be "exact" (identical to rounding the exact sum onto the grid).
- Quadratic Error Reduction: By switching from simple rounding to mean-preserving CtD projections, the "bias" in the privacy loss calculation drops significantly. This means you can get away with a coarser grid (and thus faster computation) to reach the same level of privacy certainty.
Key Results
- Massive Speedups: In high-accuracy regimes, the multiscale FFT algorithm is $10^4$ to $10^5$ times faster than previous direct convolution methods. A calculation that previously took an hour can now be done in a fraction of a second (e.g., 0.012 seconds).
- Tighter Bounds: For the PREAMBLE aggregation setting, the new accountant improved the upper bound on $\epsilon$ from 0.985 to 0.92 (at $\delta = 10^{-6}$) for the same noise scale.
- Complexity Improvement: The running time was improved from $O(\alpha^{-2})$ to nearly linear $O(\alpha^{-1} \log(1/\alpha))$, making high-precision accounting practical for the first time for this sampling scheme.
Limitations and Future Work
- Upper Bounds Only: The CtD projection currently only provides valid upper bounds on privacy loss. While the authors show that rounding can be used within their multiscale FFT framework to get lower bounds, the mean-preserving benefits of CtD don't directly translate to a lower-bound guarantee.
- Highest-Level Projections: The authors note that their theoretical error analysis is slightly conservative for the highest levels of the "summation tree," suggesting there might be room for even tighter theoretical guarantees in the future.
Summary updated