Manuscript Offprint
arXiv:2610.42117Fast Privacy Loss Accounting for Random Allocation via Multiscale FFT
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 steps chosen randomly and uniformly from a sequence of 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 [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 from to . 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 divergence of the computed pair from the order of to . 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 steps chosen randomly and uniformly from a sequence of 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 , 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
*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 – the accuracy parameter in 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 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 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 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.
Multiscale FFT. We replace the geometric grid of FS26 by a grid with uniformly spaced points in each dyadic interval for , and compute every pairwise sum by multiscale FFT (Section 3). Its output is identical to rounding the exact sum onto the grid. For the same accuracy, the dyadic grid has a comparable number of points. Its main advantage is for computation of each merge: direct convolution's runtime is quadratic in grid size since it sums all pairs of grid points, whereas multiscale FFT takes time nearly linear in the number of grid points. As in FS26, the input PLD is only approximated between its and quantiles, where bounds the probability of the tails (translating to an increase in ). Let be the length of the smallest interval that contains these quantiles of the log-likelihood ratio (where is the dominating pair that defines the input PLD) both for and for , that is, of the input PLD and of the negation of its dual. Then for steps the running time of our algorithm (up to reading the input; Corollary 4.5 and Remark 4.6) is
For example, for the Gaussian mechanism with noise scale , . Thus, for a fixed number of steps, the running time is linear in up to a logarithmic factor, whereas the running time of direct convolution is quadratic in the analogous ratio [FS26, Theorem 4.6].
Connect-the-dots projections. Conservative rounding in FS26 moves every value in the same direction, and thus increases the expected privacy loss and the divergence of the computed pair by amounts of the order of . We refer to the increase in the expected privacy loss as the bias. We replace it by the connect-the-dots (CtD) projection of Doroshenko et al. [DGKKM22], which splits the mass of each value between its two neighboring grid points so as to preserve its mean. We demonstrate that the bias of our algorithm and its error measured as the increase in the divergence of the computed pair both drop to , with the same running time and the same guarantee (Section 4). Our focus on measuring the increase in relies on recent work showing that of the dominating pair tightly controls the privacy loss for (subsampled) composition and for random allocation [FS26b]. Our algorithm applies CtD projection at multiple levels and, as we argue briefly in Remark 4.4, the results in [FS26b] apply to all but a small number of the highest-level projections.
CtD projection gives valid upper bounds only when it is applied to likelihood ratios under . Therefore we compute only the add direction and obtain the remove direction as its dual.
Numerical results. Numerical evaluation using an implementation that can be found at [PLD] shows that our algorithm is faster than direct convolution of FS26 by several orders of magnitude in the regimes that require high accuracy. As a quick numerical example, in the setting of DP-SGD with PREAMBLE above, multiscale FFT computes the allocation PLD in 0.012 seconds and, for the same noise scale, improves the upper bound on at from 0.985 to 0.92 (Section 5). Naturally, the speedups are smaller when the input PLD is concentrated, since direct convolution is already fast on the resulting small grid. We report the full range of these comparisons in Section 5, together with improved privacy bounds for DP-SGD with PREAMBLE after Poisson subsampling and composition.
We also examine the effect of the CtD projection on the accuracy of the final bound and compare it with the error resulting from the rounding approach in FS26. Our evaluation suggests that the CtD improves the dependence of the running time on the accuracy from about to about (Section 5). This suggests that the accuracy of the final bound behaves essentially like the bias and error.
1.2 Technical Overview
We represent distributions of likelihood ratios on a grid that is uniform within each dyadic interval (or band) and whose spacing doubles between consecutive bands (Figure 1). Such a grid gives a relative approximation at every scale while allowing the use of FFT-based convolutions within a band. The main step of our algorithm computes the distribution of the sum of two independent random variables supported on this grid and projects it back onto the same grid using the CtD projection (we refer to this step as a merge).
Computing a merge by direct convolution requires going over all pairs of grid points, whereas FFT requires both values to lie on the same uniform grid. The obvious issue with using FFT on the dyadic grid is that two values from different bands lie on grids with different spacings.
However, the sum of such values does not require the finer resolution of the lower band. Specifically, for a value in band and a value in a lower band, the sum lies in bands or , and the spacing of the grid above is at least the spacing of band . We therefore project onto the uniform grid with the spacing of band (extended down to zero), on which also lies. A crucial question is whether this can be done without increasing the approximation error. We show that the answer is yes as long as the uniform grids of different bands are nested, which holds for the

Figure 1: The dyadic grid and the merge step for . Top: the grid and its bands (bands accumulate at zero), where band 2 is with spacing . Bottom: the uniform grid of band 2 extended down to zero. A value below band 2 is projected onto this grid (arrows), after which the mass below band 2 occupies points. The knots of in (dashed, in bands 2 and 3) are a subset of this grid, and contains the support of the three convolutions at band 2 (band 2 of both inputs with each other, and band 2 of each input with the projected prefix of the other). Thus projecting the sums onto gives the same measure as projecting the exact sums (Theorem 3.1).
dyadic grid (every grid point in band or above is a multiple of the spacing of band ). In fact, in this case the result is identical to the projection of itself onto the grid.
Thus for every band we apply this projection to all the mass of each distribution below band . The resulting projected prefix occupies only grid points, regardless of the number of lower bands. All the pairs of values in which the larger value is in band then lie on the same uniform grid. Their contribution to the sum is given by three convolutions on this grid (band of both distributions with each other, and band of each distribution with the projected prefix of the other), which we compute using FFTs of length . Pairs in which both values lie below band are accounted for, at a finer resolution, in a lower band. Overall, every pair of values is accounted for exactly once. Therefore a merge computes the projection of the exact sum in time that is nearly linear in the size of the grid (Theorem 3.1).
As in FS26, we compute the distribution of the sum of identically distributed likelihood ratios by repeated squaring, which requires only logarithmically many merges. Each projection changes a value by a factor of at most , resulting in an error of at most in the log space. Adding nonnegative values preserves a common bound on their multiplicative error. Thus the error of the computed sum grows with the number of merges that a summand passes through (at most ) and not with the number of summands. In particular, points per band suffice for accuracy . Every distribution in the computation has bands (a merge adds at most one band at the top), and each band is merged in time, which gives the running time in (1).
Viewed as a random map, the CtD projection preserves the conditional mean of the likelihood ratio, , where is the projection of a random variable . This makes the increase of the divergence caused by a projection quadratic in the spacing of the grid, due to the cancellation of the first-order errors (Section 4), as for the mean and the variance of the privacy loss [FS26b, Section 6]. With a spacing of the order of and levels of projections, this gives the bound on the error and on the bias stated above. This is in contrast to the rounding of FS26, which moves every value in the same direction and shifts the expected privacy loss by .
At the same time, the CtD projection moves some of the mass down and need not give stochastic domination. Instead, preservation of the conditional mean increases in the convex order, which is preserved under sums of independent random variables. Under , both privacy profiles of random allocation are expectations of convex functions of the average likelihood ratio, which gives the validity of both directions (Lemma 4.3).
As discussed, we obtain the remove direction as the dual of the add direction. For tightness we show that in both directions the exact and the computed losses can be coupled so that their finite values differ by at most . To construct the coupling, we implement each projection as a random map that moves a value to one of its two neighboring grid points with the probabilities that preserve its mean (Section 4). For an input with an unbounded range of likelihood ratios (such as the Gaussian mechanism) we first truncate its tails, at a negligible cost in the tail parameter, and then project it onto the grid by one more CtD projection (Remark 4.6).
1.3 Related Work
The dominating pair of distributions for random allocation with and Gaussian noise was given in the analyses of balls-and-bins sampling for DP-SGD [Chu+24] and for the matrix mechanism [CGHSG25]. It was extended in [FS25] to algorithms whose steps are dominated by an arbitrary pair of distributions, and Dong, Chen, and Ozgur [DCO25] derived it independently for Gaussian noise. Chua et al. [Chu+24] and Choquette-Choo et al. [CGHSG25] estimate the privacy parameters of this pair using Monte Carlo simulations, and Dong and Ganesh [DG26] base Monte Carlo accounting for -min-sep subsampling (a generalization of balls-and-bins sampling) in banded matrix factorization via dynamic programming. These simulations provide strong evidence that the privacy guarantees of 1-out-of- allocation for Gaussian noise are similar to those of compositions of Poisson sampling with rate . The primary issue with Monte Carlo estimation is its computational cost when is small and a high confidence level is required. In addition, it estimates the privacy parameters of the pair rather than its full privacy profile or PLD, and thus does not support subsequent accounting operations such as subsampling and composition.
The analysis in [FS25] gives provable bounds on the privacy parameters of -out-of- allocation via a reduction to a -fold composition of 1-out-of- allocation (Lemma A.1), including bounds on the Rényi divergence of the dominating pair. Dong, Chen, and Ozgur [DCO25] and Schuchardt and Kalinin [SK26] give bounds on the Rényi divergence for Gaussian noise and for matrix mechanisms, respectively, the latter computed by dynamic programming. The primary disadvantage of bounds on Rényi divergence is that their conversion to bounds is known to be somewhat lossy. Additionally their bounds apply only to Rényi orders of at least 2 and therefore provide a loose bound on the expected privacy loss.
Our work builds on the PLD accountant of FS26, which computes the PLD of the dominating pair numerically and thus supports subsequent accounting operations. Specifically, we use its representation of the allocation PLD via sums of likelihood ratios, its repeated squaring schedule (which gives logarithmic dependence on the number of steps), and its accounting operations on PLDs. We improve the cost of each merge at the resolution needed for an accurate PLD, reduce the error and the bias by replacing the rounding with the CtD projection, and obtain the remove direction as the dual of the add direction. In the remove direction, FS26 also merge a likelihood ratio under and thus discretize both the input PLD and its dual. Since stochastic domination is not preserved by the dual, they discretize the dual separately and compute it from the exact input [FS26, Section 4 and Remark C.2].
Numerical composition of PLDs was introduced by Meiser and Mohammadi [MM18] and Sommer, Meiser, and Mohammadi [SMM19], who quantize the PLD into privacy buckets and compose them by direct convolution, using exponentiation by squaring for a logarithmic dependence of the running time on the number of compositions. Koskela, Jälkö, and Honkela [KJH20], Koskela et al. [KJPH21], and Koskela and Honkela [KH21] compose discretized PLDs using FFT, and Gopi, Lee, and Wutschitz [GLW21] give a tight analysis of the dependence of the running time on the accuracy. This approach is now the standard for the analysis of DP-SGD and is supported by several libraries [Goo22; Mic21; Met21]. Ghazi et al. [GKKM22] give a faster self-composition algorithm in which the grid spacing and the truncation interval grow with the number of composed copies, so that each of its stages uses only polylogarithmically many grid points. These algorithms compute the distribution of a sum of privacy losses. In contrast, random allocation requires adding likelihood ratios, and the dyadic grid is designed to address their large dynamic range.
The mean-preserving projection we use is the pessimistic CtD approximation of Doroshenko et al. [DGKKM22], expressed in terms of likelihood ratios (Claim C.2). Viewed as a random map, it is the one-dimensional case of the dual quantization of Pagès and Wilbertz [PW12b], which preserves the conditional mean and therefore gives upper bounds on the expectations of convex functions and preserves the convex order. Pagès and Wilbertz [PW12a] apply dual quantization recursively to the partial sums of a random walk and bound the resulting error for smooth functions.
The closest technique to our multiscale FFT merge is the fast projected convolution of Hackbusch [Hac07], which computes the exact -orthogonal projection of the convolution of two piecewise-polynomial functions onto a locally refined grid (for example, one refined towards zero) in nearly linear time, under certain conditions on the grids. As in our algorithm, the grids are decomposed into levels of uniform grids, and the projection is incorporated before the discrete convolutions on each level, which are computed by FFT. Our merge applies this principle to the CtD projection of atomic measures, for which the nesting of the uniform grids of the bands makes the projection of the lower bands exact (Theorem 3.1).
2 Preliminaries
We follow the notation of FS26. The statements that we use, with the proof of the new identity (4), appear in Appendix A. For a random variable we denote its distribution by and its complementary CDF by . Random variables take values in . We denote by and the natural and binary logarithms, and write inside , where the base is immaterial.
Random allocation and adjacency. We consider -step algorithms, which apply an algorithm to subsets of the dataset in sequence, where each step also receives the outputs of the previous steps (its view). In the -out-of- random allocation scheme, each element of the dataset is added to of the subsets, chosen uniformly at random and independently of the other elements. We denote the resulting algorithm by , and by when . To define adjacency for sampling schemes that operate on a fixed number of elements, the domain of the elements is augmented with a null element , which treats as absent, that is, for every dataset and view . Two datasets are adjacent if one of them is obtained from the other by replacing a single element by . Thus replacing an element by has the same effect on the output as removing it, while the number of elements, and thus the sampling scheme, remain unchanged.
Privacy loss distributions and privacy profiles. For distributions and over a domain , the privacy loss random variable is for , and its distribution is the privacy loss distribution (PLD) [DR16]. For , the -hockey-stick divergence between and is , where [BKOZ12]. For a random variable we refer to as its hockey-stick functional. The privacy profile of an algorithm is the largest -hockey-stick divergence between its output distributions on two adjacent datasets with the same view [BBG18]. Since the hockey-stick divergence is asymmetric, we denote by the privacy profile in the remove direction, in which the second dataset is obtained from the first by replacing an element by , and by the one in the add direction, in which the first dataset is obtained from the second in this way. The algorithm is -differentially private if [DKMMN06].
Dominating pairs. We say that a PLD dominates a PLD if for all . A pair is a dominating pair for in the remove (add) direction if (respectively, ) for all [ZDW22]. Domination is transitive, and it is preserved under composition, whose PLD is the sum of the PLDs of the components [ZDW22, Theorem 10]. If every step of a -step algorithm is dominated by in the remove direction, then is dominated by in the remove direction and by in the add direction, where
and the -out-of- allocation reduces to compositions of such allocations (Lemma A.1). We refer to the PLDs and as the allocation PLDs.
PLD realizations. A random variable is a PLD realization if and [FS26, Definition 3.1]. Every PLD is a PLD realization, and conversely, every PLD realization is the PLD of some pair of distributions. The dual of a PLD realization is the PLD of the reversed pair, so that (A.2). Its distribution is that of with probabilities weighted by , with mass at [FS26, Definition 3.1]. A PLD realization dominates a PLD realization if for all , and in this case dominates (A.3). The privacy profiles of and of are both expectations of functions of :
The first formula is the definition, and the second one holds since the mass of at contributes and its finite part contributes . Both functions are convex in . For the PLD in the add direction, for is the likelihood ratio under .
The allocation PLDs. For a PLD realization let
where the superscripts denote independent copies. FS26 show that and , and that these transformations preserve domination (Theorem A.5 and [FS26, Section 4]). In , the factor is the likelihood ratio under and the other factors are likelihood ratios under . Thus FS26 compute the remove direction from both the input PLD and its dual. However, the two allocation PLDs are the PLDs of the same pair in the two directions. Therefore, for every PLD realization (A.7),
Thus both allocation PLDs are determined by the average of likelihood ratios under , since . By (2), both privacy profiles of random allocation are expectations of convex functions of .
Stochastic domination and tightness. For any two random variables , we write if , and if for all . Following FS26 we say that -tightly stochastically dominates if . Stochastic domination implies domination, and implies (A.4). The output of our accountant dominates the exact PLD but need not stochastically dominate it. Therefore we state its guarantees directly in terms of privacy profiles.
Definition 2.1 (Tight domination). Given and , a PLD realization -tightly dominates a PLD realization if for every ,
That is, dominates , and the privacy profile of is at most that of shifted by , plus . By the implication above, if dominates and then -tightly dominates , and in particular tight stochastic domination implies tight domination with the same parameters (A.4).
Definition 2.2 ( error and bias). For a PLD realization we denote . For PLD realizations and with , the error of relative to is . The bias of relative to is the increase in the expectation of the finite part of the loss.
Note that , since by Jensen's inequality, and that if has mass at . For a pair with , is the divergence of from . The divergence of a single step controls the Gaussian approximation of the privacy losses of random allocation [FS26b, Section 5].
3 Multiscale FFT
In this section we describe our accountant (Algorithm 1) and the multiscale FFT merge that it relies on. The accountant computes the add direction from the distribution of the sum of independent likelihood ratios under , and it obtains the remove direction as the dual of the result (by (4)). After projecting the likelihood ratio of its input onto a grid that is uniform within each dyadic interval, it then computes the distribution of the sum by repeated squaring, in which every convolution is followed by the projection onto the grid (a merge). We define the grid and the projection in Section 3.1 and describe the accountant in Section 3.2. In Section 3.3 we show that the multiscale FFT merge computes every merge exactly in time nearly linear in the size of the grid (Theorem 3.1). We analyze the accountant in Section 4.
3.1 The Grid and the Projection
For an integer , let
We refer to its points as knots, to as band , to as the spacing of band , and to as the lattice of band . The knots in band are consecutive points of its lattice (Figure 1). The analysis uses two properties of the grid (Claim B.2):
(G1) Resolution: Every satisfies for two consecutive knots .
(G2) Dyadic scaling: For every , every knot in band or above is an integer multiple of .
The multiscale FFT merge relies on the scaling, and the analysis of the accuracy in Section 4 on the resolution.
Our algorithm relies on CtD projections [DGKKM22] onto , which split the mass of each value between its two neighboring knots so as to preserve its mean. Formally, for a set of knots that contains 0 and a value between adjacent knots of , let
and let for . We extend linearly to finite measures and abbreviate and for (Definition B.1).
Properties of the projections. Our analysis uses only the following properties of the projections. We state them, and Theorem 3.1, for general projections, since it is possible to use the multiscale FFT merge with rounding to get lower bounds (Remark 3.2). A projection onto a set of knots is a map from finite measures on to finite measures on that fixes every measure supported on . Let and be finite measures on , and .
(P1) Locality: is supported on for every between adjacent knots of .
(P2) Linearity: .
(P3) Commutativity: if is supported on .
(P4) Projection hierarchy: , and if is supported on .
(P5) Mean preservation: has mean for every .
The multiscale FFT merge relies on (P1)–(P4), and the analysis of the accountant in Section 4 on (P1) and (P5). The CtD projections satisfy all five properties (Lemma B.3). The second part of the projection hierarchy is specific to the dyadic grid and relies on its scaling and the fact .
3.2 The Accountant
Algorithm 1 receives a PLD realization in the add direction. (For a PLD realization in the remove direction we use , which only reweights its atoms.) It chooses the number of points per band from the accuracy parameter (line 1; see Corollary 4.5) and projects onto , which gives a PLD realization for which is supported on (lines 2–3). It then computes by repeated squaring the distribution of the computed sum , which approximates the sum of independent copies of (line 4). Finally, it returns and its dual (line 5). That is, has mass at , and has mass at for every and the remaining mass at .
Algorithm 1 CtD accountant rand-alloc-ctd(L, t, α)
Input: a PLD realization (add direction) with bounded finite values; , ;
Output: and that -tightly dominate and
1:
2: ;
3:
4:
5: ;
6: return ,
Discretizing the input. In line 2 of Algorithm 1, and are the infimum and the supremum of the finite values of (an input with unbounded losses is first truncated, as described in Remark 4.6). Since band contains for , the indices and are the bands that contain and , the infimum and the supremum of the positive values of the likelihood ratio , and . The range , from the start of band to the end of band , contains every positive value of , and the discretization dyadic-projection returns the PLD realization for which , that is, the CtD projection of the likelihood ratio onto . It applies to discrete and continuous inputs alike and needs only the probability and the first moment of on each cell between adjacent knots.
Repeated squaring. As in FS26, we compute the -fold self-convolution of a distribution by repeated squaring, and replace every convolution by a merge, which we compute by the multiscale FFT merge ms-fft-merge (Algorithm 2). Let with , let and for , and let and for . We denote the output by . Repeated squaring uses merges. Since a convolution is the distribution of a sum of independent random variables, the computation corresponds to a binary tree with leaves, which we refer to as the unfolded tree. Its leaves are independent random variables with distribution , and every internal node is a merge applied to the values computed at its two children (a merge of with itself is a node whose children are two independent copies of the subtree of ). The depth of this tree is (Claim B.4). Unlike FS26, we do not truncate the tails between merges, since a merge adds at most one band (Theorem 3.1).
3.3 The Multiscale FFT Merge
We now describe the multiscale FFT merge (Algorithm 2) and show that it is exact, that is, that it computes the projection onto of the exact convolution of its inputs. It accounts for every pair of values in the band of the larger value, and it replaces the mass of each input below that band by its projection onto the lattice of the band. This projection does not change the result (Theorem 3.1), and it reduces the contribution of each band to three convolutions on its lattice, which we compute by FFTs.
For a probability distribution on , let be its restriction to , its restriction to , its positive finite part, and and its masses at and at . We refer to as its projected prefix. By locality (P1), is supported on , regardless of the number of bands below , since it moves every value in to the neighboring knots of . Algorithm 2 computes the projection of the convolution of two such distributions band by band, and it maintains the projected prefixes of the current band in and (line 5).
Algorithm 2 Multiscale FFT merge ms-fft-merge( )
Input: probability distributions on , with , supported on
Output:
1: ; ;
2: for do
3: {FFTs of length 4m}
4:
5: ;
6: end for
7: return
Theorem 3.1 (Multiscale FFT merge). Let and for be projections onto and onto that satisfy properties , let and be probability distributions on whose positive finite parts are supported on the bands , and let . Then Algorithm 2 returns , uses arithmetic operations and space, and the positive finite part of its output is supported on the bands .
Proof outline. The full proof appears in Appendix B.2. Every pair of positive finite values is counted in exactly one term of
namely, in the term of the larger of their bands. Since is supported on and on , by the dyadic scaling,
and similarly for . By the linearity of the projection, this gives
(5)
Its second line collects the terms with the atoms at 0 and at .
By linearity and the projection hierarchy, , which line 5 computes. Finally, since the projected prefixes are supported on , in units of the convolutions in line 3 are supported on the indices , and thus FFTs of length 4m compute them exactly. Together with locality for the projections in lines 4 and 5, this gives the bounds on the running time, the space and the support of the output.
Remark 3.2 (Multiscale FFT merge with rounding). The projections that round every value up, or every value down, to a neighboring knot (Definition B.1) also satisfy (P1)–(P4) (Lemma B.3). Thus the multiscale FFT merge also computes the exact rounding of the sum, with the same bounds on its running time, its space and the support of its output (Theorem 3.1). Rounding moves every value in one direction instead of preserving its mean, which preserves stochastic domination in that direction. For upper bounds, the sums are rounded up in the remove direction, whose loss is , and down in the add direction, whose loss is , and the input is discretized in the matching directions. For lower bounds, which the CtD projection does not give, all these directions are reversed. Thus replacing the direct convolutions in the accountant of FS26 by multiscale FFT merges with the same rounding keeps the guarantees of FS26 (Remark 4.2) and makes the running time nearly linear in . We use this accountant for comparisons in our experiments (Section 5).
4 Analysis
We now state the guarantees of Algorithm 1.
Theorem 4.1 (CtD accountant). Let and be the outputs of Algorithm 1 on an input , let , and be the resolution and the lowest and the highest bands that it computes, let , and let . Then and are PLD realizations such that:
-
Validity: dominates , and dominates .
-
Tightness: These dominations are -tight.
-
error and bias: If , then in each direction in which the allocation PLD that the output dominates satisfies , the error of the output relative to is between 0 and . In each direction, the output and the allocation PLD that it dominates have the same mass at infinity, and the bias of the output relative to this PLD is between 0 and .
-
Computational complexity: The running time is , apart from lines 2 and 3, whose cost depends on the representation of the input, and the space is .
We outline the proofs of the first three parts below and give the full proof in Appendix C.2. The bounds on the running time and the space follow from Theorem 3.1, since the positive finite part of every distribution in the computation is supported on at most bands (Claim C.5). The proofs do not use the choice of in line 1. Thus the theorem holds for every .
Remark 4.2 (Accountant with upper and lower rounding). The guarantees of Theorem 4.1, except for the bounds on the error and the bias, also hold for the accountant with rounding of Remark 3.2, which computes each direction separately, as in FS26. Validity and tightness then hold with replaced by in the remove direction. With the directions of the rounding reversed, the same holds for lower bounds, with each output dominated by the allocation PLD instead of dominating it, except that the outputs need not be PLD realizations. The outputs can still be used to provide valid lower bounds on the privacy profile as in FS26. Thus we also obtain a method to compute lower bounds in time that is nearly quadratically better than that of FS26.
The proofs are minor variants of the proof of Theorem 4.1 and we omit them for brevity. Validity uses the monotonicity of rounding instead of the convex order, and tightness results from the grid resolution and the locality of the projection.
The projection as a random map. In the analysis we view the CtD projection onto as a random map that is applied independently of everything else and maps a value to a random knot with the distribution . The image of a random variable then has the distribution . The proofs of validity, tightness, and the bounds on the error and the bias use only the fact that the merges are exact (Theorem 3.1), the grid resolution, and the locality (P1) and the mean preservation (P5) of the projection. For the random map they give for every value between adjacent knots , and for every .
Validity. Validity follows from the convex order, where if for every convex function [SS07]. By Jensen's inequality, whenever , and two random variables that are ordered in the convex order have the same mean, since and are convex.
Lemma 4.3 (Validity). Let be a PLD realization for which is bounded, let , and let be a bounded nonnegative random variable such that . Then is a PLD realization that dominates , and its dual dominates .
Proof. Since , they have the same mean , and since is bounded, is a PLD realization. By (2), both privacy profiles are expectations of convex functions of the likelihood ratio, and thus the convex order between and gives domination in the add direction. Domination in the remove direction follows by (4), since the dual preserves domination (Claim A.3).
We apply Lemma 4.3 to the input . We view the projection of the input in line 3 as projections at the leaves of the unfolded tree, and every projection as an independent random map (by Claim B.5, this gives the distributions that repeated squaring computes). By the mean preservation of every projection, induction over the unfolded tree shows that the computed average satisfies for the exact average (Lemma C.3). Thus , and since and , Lemma 4.3 gives the first part of Theorem 4.1.
This argument does not apply to the likelihood ratio under . In the remove direction of FS26, the likelihood ratio under enters the privacy profile through the function , where is the sum of the other factors. This function is strictly concave where it is positive, since its second derivative there is . Thus a mean-preserving projection of a value between two adjacent knots in this region strictly decreases the privacy profile.
Tightness. Tightness bounds the privacy profiles of the output from above, and we obtain it from the same coupling. By locality of the projection and the grid resolution, every projection, including those at the leaves, changes a value by a factor of at most , and thus , since the depth of the tree is (Claim B.4 and Lemma C.3). In the add direction, the coupled losses and are either both infinite or both finite, and in the latter case they differ by at most (Lemma C.4). The tightness of the add direction does not necessarily imply the tightness of its dual. In the remove direction, we weight this coupling by and add the remaining mass at . Since , this gives a coupling of the remove losses, whose finite values again differ by at most (Lemma C.4). These couplings give and . Together with validity, Claim A.4 gives the second part of Theorem 4.1.
error and bias. Rounding moves every value in the same direction, and thus increases the divergence (Claim C.6) and the expected privacy loss by amounts of the first order in the spacing of the grid. In contrast, by locality of the projection and the grid resolution, a CtD projection changes a positive value by a factor of at most , and together with mean preservation, for every nonnegative random variable we get and (Claim C.1). Thus the first-order effects of a projection cancel, and its error and bias are of the second order in the spacing, as are its effects on the mean and the variance of the privacy loss [FS26b, Section 6]. In Appendices C.4 and C.5 we show that these errors add up over the at most projections on a path from a leaf to the root of the unfolded tree, which gives the bounds in the third part of Theorem 4.1.
Remark 4.4 (Effect of the lower levels on ). The loss parameter of Theorem 4.1 charges to every level of projections. For all but the several highest levels this appears to be overly conservative. At height , the CtD projections are applied to about independent sums of likelihood ratios, and these projected sums are then added up. If the higher levels added them exactly, the result would be random allocation over steps, with the distribution of the projected sums in place of that of the exact ones. The privacy losses of random allocation over many steps are approximately Gaussian, with variance equal to the divergence of the allocation PLD and mean equal to half of it [FS26b, Theorem 5.2]. Thus the projections at such a level affect essentially only through the relative increase in this divergence, which is of the order of for the allocation PLD . Only the several highest levels, at which few sums are added up, are not covered by this argument.
Guarantees for a given accuracy. Substituting the resolution chosen in line 1 of Algorithm 1 into Theorem 4.1 gives the following guarantees in terms of (Appendix C.6).
Corollary 4.5 (CtD accountant for a given accuracy). Let and let be an integer. Let and be PLD realizations with a total of atoms, and let be the width of the smallest interval that contains the finite values of and of . There exists an algorithm that receives and , and returns PLD realizations and that -tightly dominate and , in time
and with space . Moreover, in each direction the bias of the output relative to the allocation PLD that it dominates is at most , and if , then the error of the output relative to is at most .
Remark 4.6 (Truncation of unbounded inputs). An input whose loss is unbounded, such as the PLD of the Gaussian mechanism, is first truncated, separately from the accountant. The truncation chooses a range of likelihood ratios that leaves out at most of them under and under on each side, projects the likelihood ratios below this range onto zero and its lower end by CtD, and moves those above it to its upper end, so that the truncated loss and its dual still dominate those of the input. Each factor of (3) changes only on an event of probability at most , and thus the truncation affects the final bounds only through the tail parameter , which is negligible when is much smaller than the values of of interest. For the Gaussian mechanism with noise scale , the corresponding range of losses has width , since and are distributed as , and the projection in line 3 needs only evaluations of the standard normal CDF , since the probability and the first moment of the likelihood ratio on

Figure 2: Running time against the discrepancy of the computed upper bound at from a reference , for direct convolution with rounding and multiscale FFT with CtD projections, for , a single allocation (left) and its 100-fold composition (right), with (top) and (bottom). Here is the bound of multiscale FFT with at least twice the largest used in the same setting. The vertical lines mark the resolution of for each , its difference from the bound with half its . Each curve ends once its bound comes within twice this resolution of . A bound within this resolution of , or below it, is drawn on the line.
each cell are differences of two values of . Thus the accountant computes PLD realizations that -tightly dominate the allocation PLDs of the Gaussian mechanism using
arithmetic operations and evaluations of .
5 Numerical Results
We evaluate our accountant (Algorithm 1), referred to as multiscale FFT, using an implementation in the PLD accounting library [PLD], which also contains the implementation of FS26. All the running times are of single-threaded runs on one core of a MacBook Pro M4 Max, and include the composition, when applicable.
Running time and accuracy. The two algorithms use their accuracy parameters differently, and CtD projections give only upper bounds. Therefore we compare the algorithms by the discrepancy of their upper bounds from a reference computed by multiscale FFT on a finer grid (Figure 2). The

Figure 3: The comparison of Figure 2 at for the four combinations of the convolution method (direct convolution on the geometric grid or multiscale FFT on the dyadic grid) and the projection (rounding or CtD). The discrepancy is as in Figure 2, and the dotted line marks the resolution of , its difference from the bound with half its .
regimes in the figure cover a wide range of resulting values at , from (when and , for a single allocation) to (when and , for the 100-fold composition). At the finest accuracy of direct convolution, where a run takes about 1,000 seconds, multiscale FFT reaches the same discrepancy in at most 0.03 seconds, that is, it is faster by a factor of to . The running time grows roughly as the square of the inverse discrepancy for direct convolution and as its square root for multiscale FFT. Fitting , where is the running time and the inverse of the discrepancy, by least squares on gives exponents between 1.96 and 2.02 for direct convolution and between 0.44 and 0.55 for multiscale FFT, over the points of the eight settings in Figure 2.
Grid and projection. These speedups correspond to the complete accountant, which changes both the grid and the projection. Figure 3 separates the two changes at by combining each convolution method (direct on a geometric grid or multiscale-FFT on the dyadic) with each projection (stochastic domination rounding or hockey-stick domination via connect-the-dots). For each projection, the dyadic grid with multiscale FFT merges reaches the same or better accuracy faster than the geometric grid with direct convolution: at the finest accuracy of the geometric grid that the dyadic grid reaches, it is faster by two to three orders of magnitude. For each grid, CtD projections reduce the discrepancy by orders of magnitude compared with rounding with the same accuracy parameters, and the difference grows with the number of compositions, which is consistent

Figure 4: The ratio between the noise scales required for -DP by DP-SGD with PREAMBLE and by DP-SGD with Gaussian noise addition, as a function of the block size , in the four settings of FS26. The results for RDP [FS25] and for direct convolution are from FS26.
with the error of rounding accumulating over the compositions. Thus the grid and the merge determine the running time, and the projection determines the error. These routes also differ in other implementation choices, so this comparison indicates, but does not isolate, the contribution of each change.
DP-SGD with PREAMBLE. We follow the setting of FS26 for DP-SGD with Poisson subsampling of the users and PREAMBLE aggregation [AFKRT26], with users, dimension , communication budget and 10 epochs. Each selected user sends out of blocks of size . The analysis reduces to 1-out-of-32 allocation composed times (up to 8192 times for ), followed by Poisson subsampling and composition over the updates. Since the allocation PLD is composed thousands of times, it has to be computed to a high accuracy. For and expected batch size 1024, the complete analysis at a fixed noise scale takes 0.06 seconds with multiscale FFT and about an hour with direct convolution. Accordingly, finding the noise scale that ensures -DP takes at most a few minutes with multiscale FFT, instead of several hours with direct convolution. Figure 4 shows these noise scales, relative to that of DP-SGD in which each user sends the entire gradient, for the expected batch sizes 512, 1024, 4096 and 600000 and each . The resulting bounds are also slightly tighter: multiscale FFT never requires a larger noise scale than direct convolution, and requires a smaller one in 35 of the 40 settings, mostly for small , where the number of inner compositions is large. The example in the introduction uses , expected batch size 1024, the noise scale that direct convolution finds for -DP and multiscale FFT with . Multiscale FFT then computes the allocation PLD in 0.012 seconds and gives the upper bound 0.92094 on at , compared with 0.985 for direct convolution.
The direct-convolution column is the run of FS26, with accuracy parameter 0.005, tail parameter and at most grid points. FS26 used the expected batch size 1028 instead of 1024, so for batch size 1024 we ran their implementation with the same configuration. Multiscale FFT was run with accuracy parameter 0.01, tail parameter and at most points in the output grid. After the division of the accuracy parameter among the compositions, the cap binds for , that is, in 32 of the 40 settings. In our runs, the allocation PLD is composed times by FFT, subsampled by the PLD subsampling of FS26, and composed over the updates by dp_accounting. The noise scale is found by a bisection that accepts any noise scale for which the bound on lies in [0.98, 1]. The running times at a fixed noise scale above were measured in the same way for both algorithms, whereas the search times are indicative only: the searches of multiscale FFT ran four at a time, and those of direct convolution are from its batch-1024 run.
6 Discussion
Multiscale FFT makes the running time of computing the allocation PLD nearly linear in the inverse accuracy, with the same bound on the error of the privacy profiles as FS26. Empirically, the accuracy is even better: the error of the final bound on behaves essentially like the bias and the error, which are of the second order in the spacing of the grid (Section 5). As we argue in Remark 4.4, the projections at all but the several highest levels of the unfolded tree affect essentially only through the relative increase in the divergence. A natural question is whether this also holds for the highest levels, at which few independent sums are projected.
AI Usage
The authors formulated the problem and proposed the two key elements of the algorithm. The development of these ideas and writing were performed through an iterative process in which AI (Claude Opus 5.5 and ChatGPT Astra 6) generated the implementation, details of proofs and wrote parts of the prose based on author-provided guidance and structure. The resulting text was also extensively edited and proofread by the authors. The implementation of the algorithm and evaluation code was written by AI under close supervision and auditing by the authors. The authors take full responsibility for the content of this paper.
Acknowledgments
Shenfeld's work was supported in part by ERC grant 101125913, Simons Foundation Collaboration 733792, Israel Science Foundation (ISF) grant 2861/20, and Apple. Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
A Preliminary Statements
In this section we give the statements from FS26 and ZDW22 that we use, following their notation, together with the proof of (4).
A.1 Domination
The pair dominates the Gaussian mechanism with sensitivity one and noise scale in both directions, and its PLD is [ZDW22]. We say that a pair dominates a -step algorithm if it is a dominating pair in the remove direction for every step of and every view (in the terms of [FS26, Definition 2.6], is dominated by a randomizer with output distributions and ).
Lemma A.1 ([FS26, Lemmas 2.7 and 2.8 and Claim 2.9]). Let dominate a -step algorithm . Then is dominated by in the remove direction and by in the add direction. Moreover, is dominated by in the remove direction and by the reversed pair in the add direction, where , , and powers denote product distributions.
Claim A.2 ([FS26, Section 3 and Claims A.1 and A.2]). Every PLD is a PLD realization, and its dual is . Conversely, a PLD realization is the PLD of the pair consisting of the distribution of and the distribution of , and is a PLD realization and the PLD of the reversed pair.
Claim A.3 ([ZDW22, Lemma 28]). If a PLD realization dominates a PLD realization , then dominates .
Claim A.4 ([FS26, Claim 4.2]). If then for every . In particular, stochastic domination implies domination.
A.2 Random Allocation and Duality
Theorem A.5 ([FS26, Theorem 4.4]). For a PLD realization , let and be as in (3). Then for any two distributions and , and .
Lemma A.6 ([FS26, Lemma 4.5]). Let be independent, let be independent, and let for every . Then .
FS26 state this lemma for two summands, and the general case follows by induction. The same proof applies when or . For it states that stochastic domination is preserved by . The normalization by in (3) is a common shift.
Claim A.7. For every PLD realization and integer , .
Proof. By Claim A.2, is the PLD of a pair of distributions, that is, for some and , and then . By Theorem A.5, and , which is the dual of .
B Missing Details from Section 3
B.1 Projections and Their Lattice Identities
Definition B.1 (Projections). Let be a set of knots that contains 0 and has no accumulation point in , such as or the lattice for . For , let be the largest knot that is at most and the smallest knot that is at least (so that if ). For we define
and for all three are equal to . We extend each projection linearly to finite measures on , and to measures with an atom at by leaving that atom unchanged.
Claim B.2. For every integer , the grid satisfies (G1) and (G2).
Proof. Let and let be such that . Then for two consecutive knots with and , also when . Since , we have , which proves (G1). For (G2), every knot that is at least is of the form with and , and it is equal to .
Lemma B.3. Given , the maps and for are projections in the sense of Section 3.1, and for every , and all finite measures and , each of these projections satisfies: is supported on for every between adjacent knots of (P1), (P2), if is supported on (P3), and and if is supported on (P4). Moreover, for , has mean for every (P5).
The second part of (P4) does not hold for measures that are not supported on , since below the knots of are finer than the lattice .
Proof. Each map sends a finite measure to a measure on and fixes the knots and . Since it is extended linearly, it satisfies (P2) and fixes every measure supported on , that is, it is a projection. By definition, it satisfies (P1). For and between adjacent knots of , the mean of is , which is (P5). For a set of knots , a knot and a projection , let denote the mass that the projection of assigns to . As a function of , is affine between every two adjacent knots of , is constant on every interval between adjacent knots, and is constant on every interval between adjacent knots.
We first show that if are two sets of knots then for every finite measure on which both projections are defined. By (P2) it suffices to consider . If the claim is trivial. Otherwise, let lie between adjacent knots of . Since , the interval is contained in an interval between adjacent knots of . For and ,
since is affine on . For we have with , and since is constant on an interval that contains . The case is symmetric.
The first part of (P4) follows by taking . For its second part, let and , so that by (G2). Since , the projection onto of a value that is at least is supported on and is equal to its projection onto . Similarly, since , the projection onto of a measure supported on is equal to its projection onto . Thus . For (P3), for the adjacent knots of around are the adjacent knots around translated by , and the weights (for CtD) or the choice of the knot (for rounding) are the same. Thus , and integrating over gives the claim. Atoms at are not affected by any of the operations.
B.2 The Multiscale FFT Merge
Proof of Theorem 3.1. The identity. Writing and similarly for , we get , where denotes the second line of (5). Since and are supported on , the measure is supported on , and thus . Every pair of values from the positive bands and is counted in exactly one term of
namely, in the term with . For every , the measure is supported on , and is supported on by (G2). Thus (P4) and (P3) with give
and similarly . Therefore
where (a) follows from (6), (P2) and , and (b) from the two identities above. This proves (5).
The algorithm. We show by induction on that and at the beginning of iteration of Algorithm 2. For we have , and thus , since a projection fixes the zero measure. If at the beginning of iteration , then line 5 sets to
where (P4) applies since , and the last two steps use . The same holds for . Thus in iteration , line 3 computes the argument of the th projection in (5), and line 4 adds this projection to . Therefore Algorithm 2 returns the right-hand side of (5), which is equal to by the identity.
Running time, space and support. By (P1), each projection moves a value between adjacent knots to one or both of these knots. In iteration we represent measures supported on by the arrays of their masses at the indices in units of . By the definition of , the knots in band are the indices , and those in band are the even indices , since . Since is a knot of , the projection of the values of in is supported on the indices , and so is . By the previous part, these are the values of and in iteration . Thus the measure in line 3 is supported on the indices : the term on the indices , and the other two terms on the indices . Since , the cyclic convolutions of length of the zero-padded arrays are equal to the linear ones, and thus is computed by a constant number of FFTs of length , that is, in operations. The masses of at the indices and at the even indices lie on knots of and are fixed by , and every odd index with lies between the adjacent knots and . Thus line 4 obtains by moving (for rounding) or splitting (for CtD) the mass at each such index to these two indices, in operations, and is supported on the bands and . Similarly, is supported on the indices , and line 5 obtains its projection onto , that is, onto the even indices, by moving or splitting the mass at each odd index to its two neighbors, in operations. The result is supported on the indices in units of , as needed for the next iteration. Line 7 takes operations, since and are supported on the knots of bands. Summing over the iterations, Algorithm 2 uses operations. The positive finite part of its output is the sum of the measures over the iterations and of , and thus it is supported on the bands . Finally, the inputs, and the output are supported on at most points, and the prefixes and the buffers of the FFT take space, which gives the space bound .
B.3 The Unfolded Tree of Repeated Squaring
By Lemma A.6, the loss parameter of a sum is the larger of the loss parameters of its summands. Thus the errors of the merges accumulate along the depth of the unfolded tree (Section 3.2) rather than over all of its merges. The same observation applies to the accountant of FS26, whose analysis charges its spacing for the discretization of the input and for every merge. Its remove direction merges the sum of copies with one more factor, so its unfolded tree has depth , and its guarantees also hold with in place of .
Claim B.4. For , repeated squaring for the sum of copies uses at most merges, and its unfolded tree has depth .
Proof. The case is trivial, so let and let with , so that . Repeated squaring performs squarings and further merges. Since are distinct integers in , we have , and thus . Repeated squaring computes the sum of copies for by successive merges of a sum with itself. Thus the unfolded tree of the sum of copies is a complete binary tree of depth . The accumulated sum is initialized to the sum of copies (of depth ) and, for , it is merged with the sum of copies. After this merge its depth is , where is its depth before the merge. Thus the depth of the result is if and otherwise, which is in both cases.
The next claim justifies viewing every projection in the unfolded tree as an independent random map, as the analysis in Section 4 does.
Claim B.5. Let be a probability distribution on whose positive values lie in finitely many bands, and let . Consider the unfolded tree of repeated squaring for the sum of copies, whose leaves are independent random variables with distribution , and in which every internal node applies the CtD projection onto , as an independent random map, to the sum of the values of its children. Then the value at every node has the distribution that repeated squaring computes at the corresponding merge, and in particular the value at the root has the distribution .
Proof. We use induction on the height of the node. A leaf has the distribution . Consider an internal node whose children have, by the induction hypothesis, the distributions and computed by repeated squaring. The subtrees of the two children have disjoint sets of leaves and of projections. Thus the values at the children are independent, and their sum has the distribution . The image of an independent random variable with distribution under the random map has the distribution (Claim C.1). Therefore the value at the node has the distribution , which is equal to by Theorem 3.1 and Lemma B.3, that is, to the distribution computed at the corresponding merge.
C Missing Details from Section 4
C.1 The CtD Projection and the Pessimistic CtD Approximation
We first prove the properties of the CtD projection as a random map that Section 4 states.
Claim C.1. Let denote the image of a value under the CtD projection onto , viewed as a random map. Then has the distribution , and the image of a random variable with distribution under an independent random map has the distribution . Moreover, for every nonnegative random variable and its image under an independent random map,
and in particular and .
Proof. If is a knot then . Otherwise, let be the adjacent knots around . The map moves to with probability and to otherwise, which gives the distribution . The distribution of the image of a random variable with distribution is , which is by the linear extension of . Since by (P1) and by (G1) (Claim B.2), we have for every . Conditioning on and applying this bound and (P5) with gives (7). In particular, if and only if , and taking expectations in the first identity gives .
Next we show that the CtD projection of likelihood ratios gives the pessimistic CtD approximation of Doroshenko et al. [DGKKM22]. Given a PLD and a grid of losses, this approximation is the PLD supported on the grid and on whose privacy profile, as a function of , is equal to that of the given PLD at the points of the grid and is affine between them.
Claim C.2. Let be a set of knots that contains 0, let be a PLD realization such that for a knot of , and let be the PLD realization for which is the CtD projection of onto . Then, as functions of :
-
The privacy profile of is equal to that of at every point , is affine between every two consecutive points of (including 0, where both profiles tend to 1), and is constant for .
-
The privacy profile of is equal to that of at every point with , is affine between every two such consecutive points and for , and is constant for if has a smallest positive knot .
Thus and are the pessimistic CtD approximations of and of on the grids of losses and , respectively.
Proof. Let and , so that . Let , and let be defined in the same way for . By (2), the privacy profiles of and of at are and . For a knot , the function is affine between every two adjacent knots, and the CtD projection preserves the mean of every value. Thus . Between two consecutive knots , every value of is either at most or at least . Thus is affine on . In addition, , and for since . This proves the first part.
For the second part, . Thus by (2) the privacy profile of at is , and the same holds for and . Thus the two privacy profiles are equal at every point with . If for between two consecutive knots, then the privacy profile of is , which is affine in . For it is . If has a smallest positive knot , then is affine on with , that is, there, and the privacy profile is constant for .
Since is supported on and, by the definition of the dual, is supported on , the two parts of the claim identify them with the pessimistic CtD approximations defined above (see also [FS26, Remark C.2]).
In particular, the CtD approximations of and of obtained in this way are duals of each other. FS26 require this property when they use CtD to discretize the input of the remove direction [FS26, Remark C.2].
C.2 Couplings and the Proof of Theorem 4.1
Lemma C.3 (Coupling along the tree). Consider an unfolded tree of depth whose leaves are independent nonnegative random variables, in which every leaf applies the CtD projection onto , as an independent random map, to its value, and every internal node applies it to the sum of the values of its children. Let denote the values of the leaves, let be their sum and let be the value at the root. Then
and if and only if Y=0.
Proof. We prove the claims for every node by induction on its height , where and denote the exact and the computed sums at . For a leaf, is the projection of , and by (7), and is within a factor of of . For an internal node with children and , the input of the projection is . By the induction hypothesis, and is within a factor of of . By (7), and is within a factor of of , and thus within a factor of of . This gives (8) at the root. Finally, the projection maps zero to itself and positive values to positive values (Claim C.1).
Next we show how to convert a coupling of the likelihood ratios under into couplings of the PLDs in both directions. Note that this conversion does not introduce a multiplicative factor in the error in the remove direction.
Lemma C.4 (Two directions). Let and be bounded nonnegative random variables on a common probability space such that and
Then and are PLD realizations, and for and for there is a coupling of and under which if and only if , and otherwise. In particular, and .
Proof. Since , both are PLD realizations. Under a coupling as in the statement, and , which gives the last statement. We now construct the couplings. Let be the joint distribution of . For and , the coupling is the joint distribution of and under . Indeed, if and only if , and the finite values differ by at most . For the duals, we weight by . Since , the marginal of the resulting measure over is the distribution of weighted by , and its marginal over is the distribution of weighted by . This measure has mass , and under it both coordinates are positive. Taking the logarithm of both coordinates and adding mass at , we obtain a coupling of the two duals (by the definition of the dual) in which the finite values differ by at most .
Claim C.5. In the setting of Theorem 4.1, the positive finite part of the distribution computed at a node of height of the unfolded tree of repeated squaring is supported on the bands . In particular, every distribution in the computation is supported on at most bands.
Proof. We use induction on . For a leaf this holds since the positive values of are knots of in (Section 3.2), and is the smallest knot of band . The children of a node of height have heights at most , and thus by the induction hypothesis their positive finite parts are supported on the bands . By Theorem 3.1, the positive finite part of their merge is supported on the bands . The last statement holds since (Claim B.4) and .
Proof of Theorem 4.1. Setup. By line 2, the positive values of lie in , and thus is a bounded nonnegative random variable. Consider the unfolded tree of repeated squaring for the sum of copies, with independent copies of at its leaves, in which every leaf projects its value onto (line 3) and every projection is applied as an independent random map. The projected leaves are independent copies of , whose positive values are knots of in . The depth of the tree is (Claim B.4), and the value at its root has the distribution computed in line 4 of Algorithm 1 (Claim B.5). Let be the average of the leaves and let . By line 5, and , and by (3) and (4), and .
Validity. Let . By Lemma C.3, and . Dividing by , and since is a function of the leaves, the tower property gives and . In particular, by Jensen's inequality. Since and are bounded and nonnegative, Lemma 4.3 shows that is a PLD realization that dominates , and that dominates . Since the dual of a PLD realization is a PLD realization (Claim A.2), is also a PLD realization.
Tightness. The variables and are bounded and nonnegative, and . Thus Lemma C.4 with gives and . By Claim A.4, and for every . Together with validity, these are the two inequalities of Definition 2.1 with the parameters .
error and bias. By the setup, Lemma C.8 applies to this tree, and its exact and computed sums at the root are and . Thus its two pairs are and , and for each of them with the error is at most for . For we have , and thus
where the last inequality holds since . This gives the bound on the error, and Appendix C.5 gives the bound on the bias.
Computational complexity. The positive finite part of every distribution in the computation is supported on at most bands (Claim C.5). Repeated squaring performs at most 2d merges (Claim B.4), and by Theorem 3.1, each of them uses operations and space. Besides the input, repeated squaring keeps at most two intermediate distributions, each supported on points. Line 5 computes both outputs from in time linear in the size of its support, that is, . Since , the running time is and the space is , apart from the computation of in lines 2 and 3, which depends on the representation of the input.
C.3 Error of a CtD Projection
We first bound the error of rounding, which Section 4 uses for the comparison with direct convolution.
Claim C.6. Let and be PLD realizations with .
-
If for some , then the error of relative to is between 0 and .
-
If is obtained by rounding up to the grid , where and is uniform on and independent of , then the error of relative to is .
Proof. For the first part, for all . Since the exponential function is increasing, .
For the second part, is finite since . Let , so that . Conditioned on , the fractional part of is uniform on , and thus is uniform on up to an event of probability zero. Therefore and .
In contrast, the CtD projection changes the divergence only to the second order.
Lemma C.7 ( error of a CtD projection). Let and let be a set of knots that contains 0 and in which every two consecutive positive knots satisfy . Let be a nonnegative random variable whose positive values lie between positive knots of , and let be its CtD projection onto (as a random map). Then
and
In particular, let be a PLD realization, and let be the PLD realization for which . Then for and for with , the error of relative to is between 0 and . The factor cannot be improved. If are adjacent knots of and , then the second upper bound holds with equality.
Proof. The projection fixes 0 and the knots, and by (P1) it maps positive values to positive values. Thus it suffices to consider a value of between adjacent positive knots , where . The projection maps to and to with the probabilities and , and thus with mean and variance . Direct calculation gives
Since , the second fraction after 1 is at most , and so is the first, since . In addition, . Integrating over the values of gives the two chains of inequalities. For and , the second fraction is equal to , which gives the equality.
For the second statement, let . Since , has no mass at infinity. By (P1) and (P5), and , and thus has no mass at infinity either. Therefore the definition of the dual gives for and for , and similarly for . Thus the two chains of inequalities give the claim, since .
For the grid we can take , for which . Thus for a single projection onto , the error of relative to is at most .
C.4 Proof of the Error Bound
Lemma C.8 ( error along the tree). Consider the unfolded tree of Lemma C.3 of depth with leaves, which are independent copies of for a PLD realization such that takes values in for integers . Let and denote the exact and the computed sums at the root, and let . Then
and
In particular, for and for , if , then the error of relative to is between 0 and .
We prove Lemma C.8 by induction on the subtrees of the unfolded tree. All the random variables below are bounded, and on the event that they are positive they are bounded away from zero. Thus all the expectations are finite. Let or , which are convex on and satisfy . For a node , let and denote the exact and the computed sums at , and let denote the values of the leaves, as in Lemma C.3.
Claim C.9 (Moments along the subtrees). For every node n of height h, on the event ,
Proof. The lower bound follows from Jensen's inequality, since by Lemma C.3 applied to the subtree of . By Lemma C.7 applied to a constant , with by (G1), the projection of satisfies . At a leaf, this is the upper bound for . At an internal node of height , conditioned on , the sums at its children are fixed, and the computed value at a child with is zero (Lemma C.3). Thus the input of the projection at satisfies
which is a convex combination. Since is convex and the heights of the children are at most , the induction hypothesis gives . Conditioned also on , the projection at gives . Since and is multiplicative, the tower property gives the upper bound.
Proof of Lemma C.8. The root has height at most . Multiplying Claim C.9 at the root by , or by on the event , and taking expectations gives the two chains of inequalities, where the reciprocal moments are restricted to the event , which is the event . For the second statement, by the definition of the dual, the masses of and of its dual at infinity are and , and the expectations of and of the exponential of its dual over their finite parts are and , and similarly for . By Lemma C.3, and , and thus and have the same mass at infinity. If , this mass is zero, and the two chains of inequalities give the bounds on the errors.
Lemma C.8 gives the bound on the error in the third part of Theorem 4.1, since and by (4).
C.5 Proof of the Bias Bound
Proof of the bound on the bias in Theorem 4.1. We use the unfolded tree of the proof of Theorem 4.1, whose depth is , and the notation and of Appendix C.4, with and the sums at the root. Let . By line 5 and (4), the allocation PLD and the output are and in the add direction, and their duals in the remove direction. As in the proof of Lemma C.8, and have the same mass at infinity.
We first bound the bias of a single projection. For the projection of a fixed value , let . By (P1), (P5) and (G1), is the CtD discretization of the loss on a grid with spacing at most [FS26b, Definition 6.1], which changes this loss by . In the dual, the loss changes by , with the distribution of Z weighted by Z. Thus the bound on the bias of a CtD discretization [FS26b, Lemma 6.2 and its proof], applied in both directions, gives
Let or , which are convex on and satisfy . We show that for every node of height , on the event ,
The lower bound follows from Jensen’s inequality, since by Lemma C.3 applied to the subtree of . We prove the upper bound by induction on , as in the proof of Claim C.9. At a leaf, it is the bound for a single projection. At an internal node , conditioned on , the ratio for the input of the projection at is a convex combination of the ratios at the children of with . Since is convex and the heights of the children are at most , the induction hypothesis gives . Conditioned also on , the ratio is the ratio for , and . Therefore
Since , taking expectations conditioned on gives the upper bound.
The root has height at most . In the add direction, both losses are finite exactly when , and then . Thus the bias is the expectation of for . In the remove direction, the finite parts of and are distributed as and , weighted by and , respectively (Section 2). Since , the bias is then the expectation of for . Therefore (9) and give the bounds on the bias.
C.6 Guarantees for a Given Accuracy
Proof of Corollary 4.5. The algorithm returns the add output of Algorithm 1 on and the remove output of Algorithm 1 on , since . (If and are duals of each other, then a single call gives both outputs.) Consider one of these calls, and denote its input by and its outputs by and . The bands chosen in line 2 satisfy , since the finite values of are those of . Let , so that
. Thus by the first two parts of Theorem 4.1, and -tightly dominate and .
error and bias. Since , the third part of Theorem 4.1 bounds the error of each output relative to the corresponding allocation PLD of with by , and the bias of each output by .
Complexity. Since , the positive values of lie in the bands . Computing and takes operations, since every atom contributes to at most two knots. Substituting into Theorem 4.1 gives the bounds on the running time and the space.
References
[AFKRT26] Hilal Asi, Vitaly Feldman, Hannah Keller, Guy Rothblum, and Kunal Talwar. "PREAMBLE: Private and Efficient Aggregation via Block Sparse Vectors". In: NeurIPS. 2026.
[BBG18] Borja Balle, Gilles Barthe, and Marco Gaboardi. "Privacy amplification by subsampling: Tight analyses via couplings and divergences". In: NeurIPS. 2018.
[BKOZ12] Gilles Barthe, Boris Köpf, Federico Olmedo, and Santiago Zanella Beguelin. "Probabilistic relational reasoning for differential privacy". In: ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL). 2012.
[CGHSG25] Christopher Choquette-Choo, Arun Ganesh, Saminul Haque, Thomas Steinke, and Abhradeep Guha Thakurta. "Near-Exact Privacy Amplification for Matrix Mechanisms". In: International Conference on Learning Representations (ICLR). 2025.
[Chu+24] Lynn Chua, Badih Ghazi, Charlie Harrison, Pritish Kamath, Ravi Kumar, Ethan Jacob Leeman, Pasin Manurangsi, Amer Sinha, and Chiyuan Zhang. "Balls-and-Bins Sampling for DP-SGD". In: International Conference on Artificial Intelligence and Statistics (AISTATS). 2024.
[DCO25] Andy Dong, Wei-Ning Chen, and Ayfer Ozgur. "Leveraging Randomness in Model and Data Partitioning for Privacy Amplification". In: ICML. 2025.
[DG26] Andy Dong and Arun Ganesh. "Privacy Amplification for BandMF via b-Min-Sep Subsampling". 2026. arXiv: 2602.09338.
[DGKKM22] Vadym Doroshenko, Badih Ghazi, Pritish Kamath, Ravi Kumar, and Pasin Manurangsi. "Connect the Dots: Tighter Discrete Approximations of Privacy Loss Distributions". In: Proceedings on Privacy Enhancing Technologies (2022).
[DKMMN06] Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov, and Moni Naor. "Our data, ourselves: Privacy via distributed noise generation". In: Advances in Cryptology (EUROCRYPT). 2006.
[DR16] Cynthia Dwork and Guy N Rothblum. "Concentrated differential privacy". 2016. arXiv: 1603.01887.
[FS25] Vitaly Feldman and Moshe Shenfeld. "Privacy amplification by random allocation". In: NeurIPS. 2025.
[FS26] Vitaly Feldman and Moshe Shenfeld. "Efficient privacy loss accounting for subsampling and random allocation". 2026. arXiv: 2602.17284.
[FS26b] Vitaly Feldman and Moshe Shenfeld. "Gaussian Approximation for Composition and Subsampling of Differentially Private Algorithms". 2026. arXiv: 2610.33333.
[GKKM22] Badih Ghazi, British Kamath, Ravi Kumar, and Pasin Manurangsi. "Faster privacy accounting via evolving discretization". In: ICML. 2022.
[GLW21] Sivakanth Gopi, Yin Tat Lee, and Lukas Wutschitz. "Numerical composition of differential privacy". In: NeurIPS. 2021.
[Goo22] Google. dp-accounting. https://github.com/google/differential-privacy/tree/main/python/dp_accounting. 2022.
[Hac07] Wolfgang Hackbusch. "Fast and exact projected convolution for non-equidistant grids". In: Computing (2007).
[KH21] Antti Koskela and Antti Honkela. "Computing differential privacy guarantees for heterogeneous compositions using FFT". 2021. arXiv: 2102.12412.
[KJH20] Antti Koskela, Joonas Jälkö, and Antti Honkela. "Computing tight differential privacy guarantees using FFT". In: International Conference on Artificial Intelligence and Statistics (AISTATS). 2020.
[KJPH21] Antti Koskela, Joonas Jälkö, Lukas Prediger, and Antti Honkela. "Tight differential privacy for discrete-valued mechanisms and for the subsampled gaussian mechanism using FFT". In: International Conference on Artificial Intelligence and Statistics (AISTATS). 2021.
[Met21] Meta. Opacus: Differential Privacy Library for PyTorch. https://github.com/pytorch/opacus. 2021.
[Mic21] Microsoft. PRV Accountant. https://github.com/microsoft/prv_accountant. 2021.
[MM18] Sebastian Meiser and Esfandiar Mohammadi. "Tight on budget? tight bounds for r-fold approximate differential privacy". In: ACM SIGSAC Conference on Computer and Communications Security (CCS). 2018.
[PLD] PLD accounting for subsampling and random allocation. Code: https://github.com/moshenfeld/PLD_accounting.git, branch MS-FFT-paper (the version used in this paper), package: https://pypi.org/project/PLD-accounting/. 2026.
[PW12a] Gilles Pagès and Benedikt Wilbertz. "Dual Quantization for random walks with application to credit derivatives". In: The Journal of Computational Finance (2012).
[PW12b] Gilles Pagès and Benedikt Wilbertz. "Intrinsic stationarity for vector quantization: Foundation of dual quantization". In: SIAM Journal on Numerical Analysis (2012).
[SK26] Jan Schuchardt and Nikita Kalinin. "Sampling-Free Privacy Accounting for Matrix Mechanisms under Random Allocation". 2026. arXiv: 2601.21636.
[SMM19] David M Sommer, Sebastian Meiser, and Esfandiar Mohammadi. "Privacy Loss Classes: The Central Limit Theorem in Differential Privacy". In: Proceedings on Privacy Enhancing Technologies (2019).
[SS07] Moshe Shaked and J George Shanthikumar. Stochastic orders. Springer, 2007.
[ZDW22] Yuqing Zhu, Jinshuo Dong, and Yu-Xiang Wang. "Optimal accounting of differential privacy via characteristic function". In: International Conference on Artificial Intelligence and Statistics (AISTATS). 2022.