                    Approximate Differential Privacy of the `2 Mechanism


                                 Matthew Joseph * 1 Alex Kulesza * 1 Alexander Yu * 1


                        Abstract                                     1.1. Contributions
                                                                     For arbitrary dimension d and privacy parameters ε and
                                                                     δ, we provide an algorithm for choosing σ to obtain an `2
     We study the `2 mechanism for computing a d-                    mechanism that satisfies (ε, δ)-DP. The resulting `2 mecha-
     dimensional statistic with bounded `2 sensitivity               nism can be efficiently sampled in parallel and empirically
     under approximate differential privacy. Across a                dominates both the Laplace mechanism and the analytic
     range of privacy parameters, we find that the `2                Gaussian mechanism in terms of mean squared `2 error (left
     mechanism obtains lower error than the Laplace                  plot in Figure 1). Moreover, unlike the Gaussian mecha-
     and Gaussian mechanisms, matching the former                    nism, the `2 mechanism always satisfies a pure DP guarantee
     at d = 1 and approaching the latter as d → ∞.                   (right plot in Figure 1).
                                                                     Our algorithms bound relevant quantities of the privacy loss
                                                                     random variable for the `2 mechanism. Balle & Wang (2018)
                                                                     showed that mechanism M is (ε, δ)-DP if and only if
1. Introduction                                                             P [`M,X,X 0 ≥ ε] − eε P [`M,X 0 ,X ≤ −ε] ≤ δ        (1)
Computing a d-dimensional statistic with bounded `2                  where `M,X,X 0 is the privacy loss associated with M on arbi-
sensitivity is a fundamental task in differential privacy            trary neighboring databases X and X 0 (Section 2). Proving
(DP) (Dwork et al., 2006). It underlies standard algorithms          (ε, δ)-DP therefore reduces to upper bounding the first term
like private stochastic gradient descent (Song et al., 2013;         and lower bounding the second. We show that the first term
Abadi et al., 2016), the binary tree mechanism (Chan et al.,         is defined by the mass that M (X) places on a region of
2011; Dwork et al., 2010), and the projection (Nikolov et al.,       Rd determined by certain spherical caps, while the second
2013; Nikolov, 2023), matrix (Li et al., 2015; McKenna               term is defined by the mass that M (X 0 ) places on the same
et al., 2018), and factorization mechanisms (Edmonds et al.,         region. We then provide algorithms to approximate the first
2020; Nikolov & Tang, 2023). The canonical approxi-                  term from above and the second term from below. Because
mate DP algorithm for this problem is the Gaussian mech-             these approximations are provably upper and lower bounds,
anism (Dwork et al., 2006). To compute statistic T (X),              they yield a formal differential privacy guarantee. Exper-
the Gaussian mechanism samples an output according to                iments suggest that, for reasonable algorithm parameter
gX (y) ∝ exp(−[ky − T (X)k2 /σ]2 ) for an appropriate                values, these approximations are tight (Section 4.1).
value of σ; in particular, the analytic Gaussian mecha-
nism (Balle & Wang, 2018) chooses the smallest possible σ            1.2. Related Work
sufficient for the desired approximate DP guarantee.
                                                                     Ganesh & Zhao (2021) also use spherical caps to analyze
In this paper, we analyze the `2 mechanism. Given a pa-              what they call “generalized Gaussians”, which have densi-
rameter σ, this mechanism samples an output according                ties proportional to exp(−[ky − T (X)kp /σ]p ) for integers
to density fX (y) ∝ exp(−ky − T (X)k2 /σ). As an in-                 p ≥ 1. A few features separate their work from ours: they
stance of the K-norm mechanism (Hardt & Talwar, 2010)                study a statistic with bounded `∞ sensitivity; their results
using the `2 norm, the `2 mechanism immediately satisfies            do not cover the `2 mechanism, which uses norm p = 2 but
 1
σ -(pure) DP and can be sampled efficiently. However, its            exponent p0 = 1; they work with a sufficient condition for
approximate DP guarantees are not well understood.                   (ε, δ)-DP, which only bounds the first term in Equation (1)
  *
    Equal contribution 1 Google Research New York. Correspon-        by δ, leading to looser results; and since their goal is an
dence to: Matthew Joseph <mtjoseph@google.com>.                      asymptotic utility guarantee, their results rely on asymp-
                                                                     totic concentration inequalities that are less precise than the
Proceedings of the 42 nd International Conference on Machine         approach used here.
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025
by the author(s).                                                    A few authors have studied the `2 mechanism, primarily in

                                                                 1
                                                             Approximate Differential Privacy of the `2 Mechanism

                                                       normalized error                                                  2 mechanism pure DP guarantees
      normalized mean squared 2 error                                                                         2.75
                                        1.0                                                                   2.50




                                                                                          pure DP parameter
                                                                                                              2.25
                                        0.8
                                                                                                              2.00
                                        0.6                                                                   1.75
                                        0.4                                                                   1.50
                                                                               laplace
                                                                               gaussian                       1.25
                                        0.2                                    2                              1.00
                                              0   20     40       60      80        100                              0    20      40       60     80      100
                                                         dimension d                                                              dimension d

Figure 1. Left: normalized mean squared `2 error. At each d, we compute mean squared `2 error for the (1, 10−5 )-DP Laplace, analytic
Gaussian (Balle & Wang, 2018), and `2 mechanisms. Quantities are normalized so that the analytic Gaussian mechanism error is always 1.
Note that we truncate the Laplace mechanism at d = 8, after which its error relative to the analytic Gaussian mechanism continues to
grow. See Section 4.2 for details. Right: the pure DP guarantee of the (1, 10−5 )-DP `2 mechanism as d grows.


the context of objective perturbation (Chaudhuri et al., 2011;                                           r ∼ Gamma (d + 1, σ), the Gamma distribution with shape
Kifer et al., 2012; Yu et al., 2014). However, they all use                                              d + 1 and scale σ; 2) uniformly sample z ∼ B d ; and 3)
pure DP rather than approximate DP.                                                                      output T (X) + rz.

2. Preliminaries                                                                                         3. `2 Mechanism
We use the formulation of (ε, δ)-DP given by Balle & Wang                                               This section provides an algorithm for computing σ to
(2018). It is defined in terms of the privacy loss random                                               achieve an (ε, δ)-DP `2 mechanism (Section 3.1) and then
variable. Our results apply for either the add-remove or                                                describes a simple method for sampling the `2 mechanism
swap notions of neighboring databases.                                                                  in parallel (Section 3.2). Without loss of generality, we
Definition 2.1. Let M be a mechanism whose output den-                                                  assume that our statistic T has `2 sensitivity ∆2 = 1. If
sity given input database X is fX . Then for neighbor-                                                  ∆2 6= 1, we can run the algorithm on T /∆2 and rescale.
ing databases X, X 0 , the privacy loss of M at point y is
`M,X,X 0 (y) = ln ffX0(y)                                                                                3.1. Privacy Analysis
                         (y) . Its privacy loss random vari-
                                                  X
able is `M,X,X 0 (Y ) where Y ∼ fX .                                                                     The overall goal is to translate an (ε, δ)-DP privacy budget
                                                                                                         to the minimum σ such that the `2 mechanism M with
The following results relate the privacy loss random variable                                            parameter σ satisfies (ε, δ)-DP. To do this, we focus on a
to differential privacy.                                                                                 subroutine that determines whether or not M satisfies (ε, δ)-
Lemma 2.2. Mechanism M is ε-DP if and only if, for any                                                   DP and then binary search over σ.
neighboring X ∼ X 0 , |`M,X,X 0 (Y )| ≤ ε.
                                                                                                         Recall from Lemma 2.3 that M is (ε, δ)-DP if and only
Lemma 2.3 (Balle & Wang (2018)). Mechanism M is                                                          if P [`M,X,X 0 ≥ ε] − eε P [`M,X 0 ,X ≤ −ε] ≤ δ. The next
(ε, δ)-DP if and only if, for any neighboring X ∼ X 0 ,                                                  subsections will provide algorithms that upper bound the
                                                                                                         first term and lower bound the second term, and thus err on
                 P [`M,X,X 0 ≥ ε] − eε P [`M,X 0 ,X ≤ −ε] ≤ δ.
                                                                                                         the side of a conservative privacy guarantee.
Since the `2 mechanism can be viewed as an instance of                                                   Before starting our privacy analysis, we consider a simpler
the K-norm mechanism (Hardt & Talwar, 2010), we recall                                                   (but, as we will see, significantly worse) approach. The `2
some relevant results about the K-norm mechanism.                                                        mechanism, and the K-norm mechanism more broadly, can
Lemma 2.4 (Hardt & Talwar (2010)). Given norm k · k,                                                     be viewed as instances of the exponential mechanism (Mc-
scale parameter σ, statistic T with k · k-sensitivity ∆,                                                 Sherry & Talwar, 2007). The exponential mechanism ad-
and database X, the K-norm mechanism has output den-                                                     mits a few possible approximate DP analyses. For example,
                                                                                                                                                      2
sity fX (y) ∝ exp (−ky − T (X)k/σ) and satisfies ∆                                                       the ε-DP exponential mechanism satisfies ε8 -concentrated
                                                           σ -DP.
Moreover, letting B d denote the unit ball for k · k, the follow-                                        DP (Cesar & Rogers, 2021), and a concentrated DP guaran-
ing procedure samples this mechanism: 1) sample radius                                                   tee can be converted to an approximate DP guarantee (Bun

                                                                                          2
                                     Approximate Differential Privacy of the `2 Mechanism

& Steinke, 2016; Canonne et al., 2020; Asoodeh et al., 2020;
Zhu et al., 2022). However, any such analysis also applies to
the Laplace mechanism, and the ε-DP Laplace mechanism
is only (ε0 , δ)-DP for ε0 ≈ ε − O(δ) (Lemma A.2 in the
Appendix). This is a negligible improvement for realistic δ,
so a different privacy analysis is necessary.                                                                e1

3.1.1. F IRST T ERM U PPER B OUND
For the privacy guarantee to hold, Equation (1) must hold
for arbitrary neighboring databases X and X 0 . Since the `2
ball is spherically symmetric, without loss of generality we          Figure 2. An illustration of V for σ = 1/(2ε). We draw the
consider statistic T where T (X) = 0 and T (X 0 ) = e1 =              projection of V onto span(e1 , e2 ) as the shaded region.
(1, 0, . . . , 0). Shorthand the respective mechanisms as M (0)
and M (1). Then                                                       Lemma 3.3. If σ ≤ 1ε and d = 1, then Py∼M (0) [y ∈ V ] =
                               
                                  fX (y)
                                                                     1 − 12 exp 12 [ε − σ1 ] .
            `M,X,X 0 (y) = ln
                                  fX 0 (y)
                                                                    Proof. M has the same noise density as the Laplace mech-
                                    exp[−kyk2 /σ]                     anism Lap (σ), and |y − e1 | − |y| ≥ σε if and only if
                          = ln
                                  exp[−ky − e1 k2 /σ]                 y ≤ 21 (1 − σε). For z ≥ 0, the Lap (σ) CDF is F (z) =
                            1                                         1 − 21 exp − σz , so by 1 − σε ≥ 0, Py∼M (0) [y ∈ V ] =
                          = (ky − e1 k2 − kyk2 )
                            σ                                         1 − 12 exp 12 [ε − σ1 ] .
so we want to upper bound
                                                                      This leaves the case σ ≤ 1ε and d ≥ 2. We proceed under
                                            
                   1                                                  that assumption.
        Py∼M (0)     (ky − e1 k2 − kyk2 ) ≥ ε .            (2)
                   σ                                                  Assumption 3.4. Statistic T has dimension d ≥ 2, and
                                                                      σ < 1ε .
We shorthand the relevant region in Equation (2) as V .
Definition 3.1. Define V = {y | σ1 (ky−e1 k2 −kyk2 ) ≥ ε},            When d ≥ 2, the level sets of M are spheres, and we will
M ’s high privacy loss region.                                        show that the the high privacy loss portions of level sets are
                                                                      spherical caps.
A simple case is σ ≥ 1ε .                                             Definition 3.5. For r > 0 and z ∈ Rd , define Sr,z =
Lemma 3.2.    σ ≥ 1ε if and only if Py∼M (0) [y ∈ V ] = 0.            {x ∈ Rd | kx − zk2 = r}, the sphere of radius r centered
                                                                      at z. For any sphere Sr,z where z = (c, 0, . . . , 0), the
Proof. The equation |ky − e1 k2 − kyk2 | = σε defines a               spherical cap of Sr,z of height h is the set of points Ŝr,z,h =
hyperboloid with foci 0 and e1 and constant difference σε.            {(x1 , . . . , xd ) ∈ Rd | kx − zk2 = r and x1 ≤ c − r + h}.
If we instead consider ky −e1 k2 −kyk2 ≥ σε, removing the             See Figure 3 for an illustration.
absolute value restricts the hyperboloid to the −e1 facing
component, and moving to inequality yields the convex hull
of that component. An illustration appears in Figure 2.
If σ > 1ε , then ky − e1 k2 − kyk2 ≥ σε has no solution
because the triangle inequality means ky − e1 k2 − kyk2 ≤
ke1 k. Thus V = ∅, so Py∼M (0) [y ∈ V ] = 0. If σ = 1ε ,
then ky−e1 k2 −kyk2 ≥ σε only holds for y contained in the
−e1 axis. This set has measure 0, so Py∼M (0) [y ∈ V ] = 0.
Finally, if σ < 1ε , then ky − e1 k2 − kyk2 ≥ σε determines
a −e1 facing component of the hyperboloid that is non-                Figure 3. The unit circle in R2 with a spherical cap (thick purple
degenerate, so its convex hull has positive measure, i.e.             arc) of height 0.5. In Rd , the sphere and spherical cap are both
Py∼M (0) [y ∈ V ] > 0.                                                (d − 1)-dimensional objects.

                                                                      Lemma 3.6. Define height
The rest of this subsection considers σ < 1ε . When d = 1,
                                                                                                 1 − (εσ)2
                                                                                                              
all `p norm mechanisms are identical. In particular, the `2
mechanism is equivalent to the Laplace mechanism.                         h(r) = min r(1 − εσ) +           , 2r .
                                                                                                     2

                                                                  3
                                          Approximate Differential Privacy of the `2 Mechanism

Then Ŝr,0,h(r) = V ∩ Sr,0 .                                            then h(r) ∈ [0, 2r] and Ŝr,0,h(r) = V ∩ Sr,0 . Since r(1 −
                                                                                  2 2
                                                                        εσ) + 1−ε2 σ > 2r for r < 1−εσ                       is
                                                                                                       2 , this piecewise function
                                                                                                                         2
Proof. Orient the 2-dim plane span(e1 , e2 ) so that the posi-          equivalent to h(r) = min r(1 − εσ) + 1−(εσ)
                                                                                                                2   , 2r .
tive e1 direction is right and the positive e2 direction is up.
Consider the points 0, e1 , and some y ∈ Sr,0 ∩ H where H
is the upper half of the span(e1 , e2 ) plane (i.e., y2 ≥ 0). Let       We showed in the above proof that, for small r, the entirety
θ be the clockwise angle from y to e1 . Proofs of the follow-           of Sr,0 lies in V .
ing claim (and others omitted in this subsection) appear in             Corollary 3.7. If r ≤ 1−εσ
                                                                                                2 , then Sr,0 ⊂ V .
Appendix A.1.
                                                                        It remains to analyze the high privacy loss region for larger
Claim 3.6.1. ky − e1 k2 − kyk2 decreases as θ decreases.                r. Our analysis will repeatedly reason about the fraction of
                                                                        a sphere occupied by a cap.
We want to identify a function h(r) for all r > 0 such that             Definition 3.8. Let Fr,h denote the fraction of the surface
Ŝr,0,h(r) = V ∩ Sr,0 . Assumption 3.4 means σ < 1ε , so by             of Sr,0 occupied by cap Ŝr,0,h .
Lemma 3.2, V ∩ Sr,0 is nonempty. The analysis splits into                                                          R x a−1
                                                                                                                      t    (1−t)b−1 dt
cases.                                                                  Lemma 3.9 ((Li, 2010)). Let Ix (a, b) = R01 ta−1 (1−t)b−1 dt
                                                                                                                    0
                                                                        denote the regularized incomplete beta function. Let h be
Case 1: Sr,0 6⊂ V .   Since σ1 (kp − e1 k2 − kpk2 ) changes
monotonically by Claim 3.6.1 then there exists p =
                                                                        the height function defined in Lemma 3.6. If h(r) ≤ r, then
                                                                        Fr,h(r) = 12 I(2rh(r)−h(r)2 )/r2 d−1 , 1
                                                                                                               2 . If h(r) > r, then
(p1 , p2 , 0, ..., 0) ∈ Sr,0 at the base of Ŝr,0,h(r) such that                                          2
 1                                                                      Fr,h(r) = 1 − Fr,2r−h(r) .
 σ (kp − e1 k2 − kpk2 ) = ε. p Then h(r) satisfies (r − h(r))2 +
  2       2
p2 = r , and we get p2 = 2h(r)r − h(r)2 .                               There is no closed-form expression for Ix (a, b), but
We can now derive the desired expression for h(r).                      it is a standard function in mathematical libraries like
                                                                        SciPy (SciPy, 2024).1 We can therefore use Lemma 3.9
Claim 3.6.2. σ1 (kp − e1 k2 − kpk2 ) = ε is equivalent to               to compute the fraction of any Sr,0 that lies in V =
                        2 2
h(r) = r(1 − εσ) + 1−ε2 σ .                                             ∪r∈R+ Ŝr,0,h(r) (Lemma 3.6). It remains to extend these
                                                                        results about individual spheres to results about V as a
                                                                        whole.
Moreover, we show that with the above definition of h(r),
the constraint h(r) ∈ [0, 2r] is equivalent to a constraint on          The next lemma shows that the high-loss cap fraction de-
the radius given by r ≥ 1−εσ                                            creases with r. It combines Lemma 3.6 and Lemma 3.9 to
                           2 .
                                                                        show directly that the appropriate Ix (a, b) is monotone in
                                  2   2
Claim 3.6.3. r(1 − εσ) + 1−ε2 σ ∈ [0, 2r] if and only if                r in the desired direction. Since the proof is again mostly
r ≥ 1−εσ                                                                calculation, it also appears in Appendix A.1.
      2 .
                                                                        Lemma 3.10. Fr,h(r) is monotone decreasing in r.
                                                   1−εσ
In summary, Sr,0 6⊂ V if and only if r ≥             2 , and for        This suggests the following approach: if M (0) samples y
such r, we have Ŝr,0,h(r) = V ∩ Sr,0 when h(r) is defined              with kyk2 > r with probability p, then pFr,h(r) is an upper
as in Claim 3.6.2.                                                      bound on Py∼M (0) [y ∈ V, kyk2 > r]. The following result
Case 2: Sr,0 ⊂ V . By the above, Sr,0 ⊂ V if and only                   gives a closed form for p. The expression uses the lower
if r < 1−εσ  2 . The statement    S      ⊂ V is equivalent to           incomplete gamma function and the gamma function, which
 1                            1
                                 p r,0                                  are also standard functions in mathematical libraries. The
   (kp −  e   k  − kpk    ) =   ( (r  + 1) 2 − 2h(r) − r) ≥ ε
σ           1  2        2     σ
for all p ∈ Sr,0 , and this inequality is equivalent to h(r) ≤          proof is mostly calculation and appears in Appendix A.1.
                    2 2
r(1 − εσ) + 1−ε2 σ by replacing equality with inequalities              R ∞ z−1 −t3.11. For z ≥ 0, the Gamma function is Γ(z) =
                                                                        Definition
in the proof of Claim 3.6.2. By Claim 3.6.3, r < 1−εσ      2             0
                                                                            t e dt, the lower incomplete Gamma function is
                                                                                   Rx
                                     2 2
is equivalent to r(1 − εσ) + 1−ε2 σ > 2r. Then defining                 γ(z, x) = 0 tz−1 e−t dt, and the upper incomplete Gamma
                                                           2 2          function is Γ(z, x) = Γ(z) − γ(z, x).
h(r) = 2r suffices to satisfy h(r) ≤ r(1 − εσ) + 1−ε2 σ
for all r < 1−εσ 2 .                                                    Lemma 3.12. For r > 0, Py∼M (0) [kyk2 ≤ r] = γ(d,r/σ)
                                                                                                                       Γ(d) .
In summary, if we define h(r) as
              (                                                         The preceding results yield the following upper bound.
                               2 2
               r(1 − εσ) + 1−ε2 σ             if r ≥ 1−εσ
                                                       2                   1
                                                                             Note that the analytic Gaussian mechanism (Balle & Wang,
       h(r) =
               2r                             if r < 1−εσ
                                                       2
                                                                        2018) depends similarly on the standard Gaussian CDF.

                                                                    4
                                       Approximate Differential Privacy of the `2 Mechanism

Lemma 3.13. Suppose Assumption 3.4 holds. Let r1 <                      The second case uses the same argument as Lemma 3.3.
. . . < rnr where r1 = 1−εσ
                         2 . Then, for y ∼ M (0),                       Lemma 3.15. If σ ≤  1ε and d                 =     1, then
                                                                        Py∼M (1) [y ∈ V ] = 12 exp 12 −ε − σ1 .
                 γ(d, r1 /σ)
  P [y ∈ V ] ≤
                   Γ(d)                                                 Proof. M (1) has the same noise density as the Laplace
                  r −1
                 nX
                   γ(d, rj+1 /σ) − γ(d, rj /σ)                          mechanism Lap (1, σ), and |y − e1 | − |y| ≥ σε if and only
             +                                 Frj ,h(rj )              if y ≤ 21 (1 − σε). For z < 1, the Lap (1, σ) CDF is F (z) =
               j=1
                              Γ(d)                                      1        z−1
                                                                        2 exp      σ , so by 1 − σε ≥ 0, Py∼M (1) [y ∈ V ] =
                 Γ(d, rnr /σ)                                           1
                                                                           exp   1
                                                                                     −ε  − 1
             +                Frnr ,h(rnr ) .                           2        2         σ .
                    Γ(d)
                                                                        We therefore work under Assumption 3.4 for the rest of
Proof. The first term is the mass placed on the ball lying              this section. The remaining analysis reasons about specific
entirely in the high privacy loss region (Corollary 3.7 and             spheres SR,1 .
Lemma 3.12); the second term is a (left) Riemann sum                    Definition 3.16. For R > 0, define UR to be the fraction of
that upper bounds the mass placed on the high privacy loss              SR,1 contained in V .
region between balls of radius r1 and rnr (Lemma 3.9,
Lemma 3.12, and Lemma 3.10); and the last is an up-                     We start by identifying when UR = 0.
per bound on the mass placed on the high privacy loss
                                                                        Lemma 3.17. If 0 < R < 1+εσ
                                                                                                 2 , then UR = 0.
region outside the ball of radius rnr . More specifically,
it is a Riemann sum in which the jth approximating
                                                                        Proof. Shorthand τ = εσ for neatness. By Corollary 3.7,
rectangle                        i jth interval on the grid
            has base length as the
                                                                        Fr,h(r) = 1 for r ≤ 1−τ                      1−τ
                                                                                                    2 . Let r1 =           denote the
h
    γ(d,r1 /σ)    γ(d,Rnr /σ)                                                                                         2
  0, Γ(d) , ...,      Γ(d)    , ∞ and height Frj ,h(rj ) .              largest radius such that Fr,h(r) = 1. This shows that
                                                                        the point with the largest e1 -coordinate in V ∩ Sr,0 has
Algorithm 1 provides overall upper bound pseudocode.                    e1 -coordinate r for 0 < r ≤ r1 . For r > r1 , the point
                                                                        with the largest e1 -coordinate in V ∩ Sr,0 has e1 -coordinate
                                                                                                        2
Algorithm 1 Term1UpperBound                                             −r + h(r) = −rτ + 1−τ         2   which is monotonically de-
 1: Input: Dimension d; scale parameter σ; privacy param-               creasing as r increases. Overall, the point with the largest
    eter ε; largest radius r∗ ; number of radii nr                      e1 -coordinate in V ∩ Sr,0 is increasing for 0 < r ≤ r1 and
 2: if σ > 1/ε then                                                     decreasing for r > r1 , so r1 is the maximum e1 -coordinate
 3:    Return 0 (Lemma 3.2)                                             of this point over all radii.
 4: end if                                                              It follows that 0 < R < 1 − r1 implies SR,1 ∩ Sr,0 = ∅ for
 5: if d = 1 then                                                       all r > 0, and since V ⊂ ∪r∈R+ Sr,0 , we get UR = 0.
       Return 1 − 12 exp 21 ε − σ1 (Lemma 3.3)
                                    
 6:
 7: end if
                                   ∗
                                                                        It remains to handle the large R case. We will show that, as
 8: Define r1 ← 1−εσ  2 , rnr ← r , and r2 , . . . , rnr −1 regu-       was the case in the upper bound analysis, each SR,1 ∩ V is a
    larly spaced between r1 and rnr                                     spherical cap on SR,1 . The first result proves that SR,1 ∩ V
 9: Return upper bound from Lemma 3.13
                                                                        has this form. This result is not technically necessary for
                                                                        the rest of the argument, but it explains why we attempt to
                                                                        solve for SR,1 ∩ V as a cap later.
3.1.2. S ECOND T ERM L OWER B OUND
                                                                        Lemma 3.18. For R ≥ 1+εσ
                                                                                              2 , SR,1 ∩ V is a spherical cap
It remains to lower bound Py∼M (1) [`M,X 0 ,X (y) ≤ −ε]. By             ŜR,1,H(R) .
the same logic used to derive Equation (2), we rewrite it as
                      0
                          fX (y)
                                                                      Proof. Shorthand τ = εσ. Recall from Lemma 3.2 that
          Py∼M (1) ln               ≤ −ε                                V is the convex hull of the −e1 facing component of a
                          fX (y)
                                                                      hyperboloid with foci 0 and e1 and with constant difference
                       1                                                τ . To see why SR,1 ∩ V is a spherical cap, observe that both
        = Py∼M (1)       (ky − e1 k2 − kyk2 ) ≥ ε .
                       σ                                                the hyperboloid-bounded region V and SR,1 are symmetric
                                                                        around e1 , so their intersection must be symmetric around
The level sets of M (1) are spheres centered at e1 . As in the          e1 as well. Let Pv1 ,v2 denote projection onto span(v1 , v2 ).
upper bound analysis, there are a few simple cases. The first           Then Pe1 ,e2 (V ) ∩ Pe1 ,e2 (SR,1 ) is a 1-dimensional spherical
follows from the same reasoning used for Lemma 3.2.                     cap of some height H in Pe1 ,e2 (SR,1 ). Since V ∩ SR,1 is
Corollary 3.14. If σ ≥ 1ε , then Py∼M (1) [y ∈ V ] = 0.                 symmetric around e1 , the previous sentence also holds if we

                                                                    5
                                    Approximate Differential Privacy of the `2 Mechanism
                                                                                          h                                 i
                                                                                                             γ(d,RnR /σ)
replace Pe1 ,e2 with Pe1 ,v for any v orthogonal to e1 . Thus        interval on the grid γ(d,R 1 /σ)
                                                                                             Γ(d)     , ...,     Γ(d)    , ∞  and has
V ∩ SR,1 = ∪v⊥e1 Pe1 ,v (V ) ∩ Pe1 ,v (SR,1 ) = ŜR,1,H .            height FRj ,H(Rj ) . The proof of the following result uses
                                                                     similar logic as the proof of Lemma 3.13.
It remains to identify the H referenced in Lemma 3.18.               Lemma 3.21. Suppose Assumption 3.4 holds. Let R1 <
To do so, we start with an arbitrary y ∈ SR,1 and solve              . . . < RnR where R1 = 1+τ 2 . Then for y ∼ M (1),
for an e1 coordinate X such that y1 ≤ X if and only if
                                                                                     R −1
                                                                                    nX
y1 ≤ −kyk2 + h(kyk2 ) (Lemma 3.6). The bulk of the proof                                γ(d, Rj+1 /σ) − γ(d, Rj /σ)
beyond this idea is algebraic manipulation, so it appears in         P [y ∈ V ] ≥                                   FRj ,H(Rj )
                                                                                    j=1
                                                                                                   Γ(d)
Appendix A.2.
                                      2                                                 Γ(d, RnR /σ)
Lemma 3.19. Define X = 1+(εσ)2−2εσR and H(R) =                                      +
                                                                                            Γ(d)
                                                                                                     FRnR ,H(RnR )
R − 1 + X. Then cap ŜR,1,H(R) = SR,1 ∩ V .
                                                                     where we reused the definition of F from Definition 3.8.
Lemma 3.20. If R ≥ 1+εσ
                     2 , then UR is monotone increas-
ing in R.                                                            Algorithm 2 provides overall lower bound pseudocode.

Proof. Shorthand τ = εσ. Lemma 3.17 established that                 Algorithm 2 Term2LowerBound
UR = 0 for R < 1+τ                                                    1: Input: Dimension d; scale parameter σ; privacy param-
                      2 , so it remains to show that UR is
increasing in R for R ≥ 1+τ                                              eter ε; largest radius R∗ ; number of radii nR
                             2 . The proof of Lemma 3.19
established that H(R) ∈ [0, R], so we apply Lemma 3.9                 2: if σ ≥ 1/ε then
to get that ŜR,1,H(R) occupies a fraction of SR,1 given by           3:    Return 0 (Corollary 3.14)
1                         d−1 1
                                                                     4: end if
2 I(2RH(R)−H(R) )/R        2 , 2 . By the same logic used in
                   2   2
                                                                      5: if d = 1 then
the proof of Lemma 3.10, we can show that UR is monotone
                                                                            Return 12 exp 21 −ε − σ1 (Lemma 3.15)
                                                                                                      
                                                                      6:
increasing by verifying that the expression in the I subscript
                                                                      7: end if
is nonnegative and increasing in R.                                                                       ∗
                                                                      8: Define R1 ← 1+τ    2 , RnR ← R , and R2 , . . . , RnR −1
The first condition follows from the aforementioned result               regularly spaced between R1 and RnR
H(R) ≤ R. For the second condition,                                   9: Return lower bound from Lemma 3.21

              2R[R − 1 + X] − [R − 1 + X]2
                          R2                                         3.1.3. OVERALL A LGORITHM
              R2 − 1 + 2X − X 2                                      Algorithm 1 upper bounds the first term in the inequality in
            =
                     R2                                              Lemma 2.3 and Algorithm 2 lower bounds the second term.
                        2
                   X −1                                              This upper bounds the LHS of the inequality, so if it is at
            =1−                                                      most δ, then the mechanism is (ε, δ)-DP.
                     R
                                2
                                                                     The last step is choosing nr , r∗ , nR , and R∗ . Our experi-
                  2
                   τ − 2τ R − 1
            =1−                    .                                 ments suggests that setting nr = nR = 1000 yields a rea-
                        2R
                                                                     sonably tight approximation for d ≤ 100 (see Section 4.1);
We wanted to prove that this expression is increasing in R,          larger values should only be tighter, at the cost of speed. We
so we show that the second term is decreasing in R. Taking           choose r∗ using Lemma 3.12 so Py∼M (0) [kyk2 > r∗ ] =
its derivative with respect to R yields                                δ
                                                                     100 ; in the context of Lemma 3.13, we use Frnr ,h(rnr ) to
        2                                                           upper bound the cap fraction for all Sr,0 with r ≥ rnr ,
                            2R(−2τ ) − 2(τ 2 − 2τ R − 1)
                        
         τ − 2τ R − 1                                                so we choose r∗ to make the effect of this approximation
     2                    ·
               2R                       4R2                          negligible. By the same logic, we use R∗ = r∗ .
       2                       2
        τ − 2τ R − 1        1−τ
  =                      ·         .                                 Algorithm 3 collects the entire process into pseudocode.
               R             2R2

Because R > 0 and 0 < τ < 1, the numerator of the first              3.2. Parallel Sampler
term is negative, and the remaining terms are positive, so           The sampler described here is a simple consequence of
the entire quantity is negative.                                     Lemma 2.4 and well-known statistical facts, and similar
                                                                     samplers have appeared for related mechanisms (Yu et al.,
Since we want to lower bound the mass on these UR , we               2014; Steinke & Ullman, 2016). We collect the relevant
use Lemma 3.12 and employ a left Riemann sum in which                information here, with proofs in Appendix A.3 for com-
the jth approximating rectangle has base length as the jth           pleteness.

                                                                 6
                                   Approximate Differential Privacy of the `2 Mechanism

Algorithm 3 CheckApproximateDP                                      analysis of Section 3, Equation (3) is equivalent to
 1: Input: Dimension d; scale parameter σ; privacy param-                                                       
    eters ε, δ; numbers of radii nr , nR                                              1
                                                                          Py∼M (0)      (ke1 − yk2 − kyk2 ) ≥ ε
 2: Compute r ∗ such that Py∼M (0) [kyk2 > r ∗ ] = 100 δ                              σ
                                                                                                                    
    (Lemma 3.12)                                                                          1
 3: T1 ← Term1UpperBound(d, σ, ε, r ∗ , nr )
                                                                        − e · Py∼M (1)      (ke1 − yk2 − kyk2 ) ≥ ε ≤ δ.
                                                                                          σ
 4: T2 ← Term2LowerBound(d, σ, ε, r ∗ , nR )
 5: Return (T1 − eε T2 ≤ δ)                                         We can estimate the value of this expression by drawing n
                                                                    samples from M (0) and n samples from M (1), counting
                                                                    the fraction c1 satisfying the first inequality and the fraction
By Lemma 2.4, we sample rz where r ∼ Gamma (d + 1, σ)               c2 satisfying the second inequality, and then computing
and z ∼U B2d . In a parallel setting, suppose we have a             c1 − e · c2 . Binary searching over σ to find the smallest
worker for each of d coordinates and a central manager. We          value where this computation is upper bounded by δ leads to
first sample r.                                                     an empirical estimate of the minimum σ yielding a (1, 0.01)-
Lemma 3.22. Let U1 , . . . , Ud+1 ∼iid U (0, 1) be uni-             DP `2 mechanism.
                                     Pd+1
form random samples.         Then −σ i=1 log(Ui ) ∼                 The second method computes its σ using the analysis of Sec-
Gamma (d + 1, σ).                                                   tion 3. As shown in Figure 4, our algorithm closely tracks
                                                                    the empirical values. This provides empirical evidence that
By Lemma 3.22, each worker i can sample log(Ui ), and the           the resulting privacy analysis is both sound and (with the
manager can add the combined sum to their own sample and            chosen nr = nR = 1000 and range for d) tight.
scale the result by −σ to obtain r. It remains to sample z.
Lemma 3.23. Let X1 , . . . , Xd ∼iid N (0, 1), and let                                      empirical privacy analysis tightness
Y ∼ U (0, 1) be a uniform sample from [0, 1]. Then                                1.0                                     empirical
        (X1 ,...,Xd )
Y 1/d · √ Pd        2
                      is a uniform sample from B2d .                              0.9                                     algorithmic
           i=1 Xi
                                                                                  0.8
To apply Lemma 3.23, each worker samples a standard                               0.7
                                                                      parameter




Gaussian and reports its square in the same combine used                          0.6
to compute r in Lemma 3.22. The manager samples Y and                             0.5
publishes it along with r and the sum of squares. At this
                                                                                  0.4
point, each worker can compute their coordinate of rz.
                                                                                  0.3
                                                                                  0.2
4. Experiments                                                                          0      20       40       60      80        100
                                                                                                         dimension d
This section discusses experiments evaluating the tightness
of our privacy analysis (Section 4.1) as well as the `2 mech-
anism’s error (Section 4.2) and speed (Section 4.3). All            Figure 4. A comparison of empirical (dotted) and algorithmic
experiments use the `2 mechanism with nr = nR = 1000.               (solid) estimates of privacy loss. At each d, the empirical method
                                                                    uses n = 1000/δ = 105 samples.
Experiment code may be found on Github (Google, 2025).

4.1. Privacy                                                        4.2. Error
Our first experiments attempt to measure the tightness of           We first derive some basic results about the mean squared
our privacy analysis. To do so, we compare two methods              `2 error of the Laplace, `2 , and Gaussian mechanisms used
for estimating P [`M,X,X 0 ≥ ε] − eε P [`M,X 0 ,X ≤ −ε], the        in our experiments. The Laplace and `2 results are corol-
quantity that must be upper bounded by δ for M to satisfy           laries of the following lemma. The lemma is an extension
(ε, δ)-DP (Lemma 2.3).                                              of a previous result about the mean squared `2 norm of a
We fix ε = 1, δ = 0.01, and vary d = 1, 2, . . . , 100. At          sample from an `p ball (Joseph et al., 2025) and is proved
each d, the first method empirically estimates the smallest         in Appendix A.4.
σ such that                                                         Lemma 4.1. The mean squared `2 error of the d-
                                                                    dimensional `p mechanism with parameter σ is
      P [`M,X,X 0 ≥ 1] − e · P [`M,X 0 ,X ≤ −1] ≤ δ,     (3)
                                                                                                Γ( dp )Γ( p3 )
                                                                                                               !
where M is the `2 mechanism with parameter σ, and M (X)                             2
                                                                                (dσ) (d + 1)                     .
is centered at 0 while M (X 0 ) is centered at 1. By the                                      Γ( p1 )Γ( d+2
                                                                                                          p )


                                                                7
                                       Approximate Differential Privacy of the `2 Mechanism

Since a d-dimensional
               √       statistic with `2 sensitivity 1 has
                                                       √                  `2 computation is a binary search where each evaluation
`1 sensitivity d, substituting p = 1 and parameter σ d                    iterates over nr + nR = 2000 radii. Nonetheless, we note
into Lemma 4.1 yields the following result for the Laplace                that the `2 computation still runs in ≈ 0.1 seconds, this time
mechanism.                                                                does not increase with d, and the calculation only needs to
Corollary   4.2. The Laplace mechanism with parameter                     be performed once for each setting of (ε, δ, d).
  √
σ d has mean squared `2 error 2d2 σ 2 .
                                                                                                               computation time
The `2 mechanism uses p = 2 and parameter σ.
Corollary 4.3. The `2 mechanism with parameter σ has                                     10 1
mean squared `2 error d(d + 1)σ 2 .
                                                                                         10 2




                                                                              time (s)
A similar result for the Gaussian mechanism is easy to prove
                                                                                         10 3                                     laplace
directly (see Appendix A.4 for proof).
                                                                                                                                  gaussian
Lemma 4.4. The Gaussian mechanism with parameter σ                                       10 4                                      2
has mean squared `2 error dσ 2 .
                                                                                         10 5
For a range of d, we solve for the smallest possible σ for                                      0       20       40       60      80     100
each mechanism to achieve (ε, δ)-DP and plot the mean                                                            dimension d
squared `2 error according to √the preceding results. The
Laplace mechanism uses σ = d/(ε + δ)2 , the Gaussian                      Figure 5. A plot of time in seconds to compute the minimum σ to
mechanism binary searches over σ as described by Balle &                  achieve (1, 10−5 )-DP. The `2 mechanism line jumps after d = 1
Wang (2018), and the `2 mechanism binary searches over                    because that case uses Lemma 3.3 instead of approximating the
                                                                          spherical cap region.
σ using the algorithms from Section 3. Throughout, binary
searches use tolerance 0.001 and we use (1, 10−5 )-DP.
                                                                          The time to draw 1000 mechanism samples is less varied
This produces the left plot in Figure 1 in the introduction.              (Figure 6). The `2 mechanism is again slowest, but it is
The Laplace mechanism obtains lower error than the ana-                   within a factor of two of the other mechanisms, and no
lytic Gaussian mechanism for small d, the analytic Gaussian               mechanism takes more than ≈ 0.01 seconds.
mechanism obtains lower error than the Laplace mechanism
for larger d, and the `2 mechanism dominates both. The                                                          sampling time
gap between the `2 mechanism and the better of the Laplace                              0.010       laplace
mechanism and analytic Gaussian mechanism is 0 at d = 1                                             gaussian
                                                                                        0.008       2
(when the Laplace and `2 mechanism are identical) and
peaks at 50% at d = 7 before gradually shrinking, to 5% at                              0.006
                                                                             time (s)




d = 100 and < 1% at d = 500 (not pictured).
                                                                                        0.004
Analogous plots for a high-privacy regime of (0.1, 10−7 )-
DP and a low-privacy regime of (10, 10−3 )-DP are essen-                                0.002
tially the same.
                                                                                        0.000
                                                                                                0       20       40       60      80         100
4.3. Speed                                                                                                       dimension d

The last set of experiments evaluates the speed of the `2
                                                                          Figure 6. This plot uses the same setup as Figure 5 but records
mechanism, as executed on a typical personal computer.                    sampling time.
This runtime is split into two operations: the time to com-
pute σ and the time to sample the mechanism.
The largest gap appears in the time to compute σ (Figure 5).
The Laplace computation is ≈ 100x faster than the Gaussian
computation, which is ≈ 100x faster than the `2 computa-
tion. This may be expected, as the Laplace computation is
a single arithmetic expression, the Gaussian computation
is a binary search over the standard normal CDF, and the
   2
    Note that the smallest possible σ for which the Laplace mech-
anism is (ε, δ)-DP is provably negligibly smaller than the one used
here. See Appendix A.4 for details.

                                                                      8
                                   Approximate Differential Privacy of the `2 Mechanism

Impact Statement                                                    Ganesh, A. and Zhao, J. Privately answering counting
                                                                      queries with generalized gaussian mechanisms. Founda-
This paper presents work whose goal is to advance the field           tions of Responsible Computing (FORC), 2021.
of Machine Learning. There are many potential societal
consequences of our work, none which we feel must be                Google.    dp l2.     https://github.com/
specifically highlighted here.                                        google-research/google-research/tree/
                                                                      master/dp_l2, 2025.
References
                                                                    Hardt, M. and Talwar, K. On the geometry of differential pri-
Abadi, M., Chu, A., Goodfellow, I., McMahan, H. B.,                   vacy. In Symposium on the Theory of Computing (STOC),
  Mironov, I., Talwar, K., and Zhang, L. Deep learning                2010.
 with differential privacy. In Conference on Computer and
 Communications Security (CCS), 2016.                               Joseph, M., Ribero, M., and Yu, A. Privately Counting
                                                                      Partially Ordered Data. In International Conference on
Asoodeh, S., Liao, J., Calmon, F. P., Kosut, O., and Sankar,          Learning Representations (ICLR), 2025.
  L. A better bound gives a hundred rounds: Enhanced
  privacy guarantees via f-divergences. In International            Kifer, D., Smith, A., and Thakurta, A. Private Convex
  Symposium on Information Theory (ISIT), 2020.                       Empirical Risk Minimization and High-dimensional Re-
                                                                      gression. In Conference on Learning Theory (COLT),
Balle, B. and Wang, Y.-X. Improving the gaussian mecha-               2012.
  nism for differential privacy: Analytical calibration and
  optimal denoising. In International Conference on Ma-             Li, C., Miklau, G., Hay, M., McGregor, A., and Rastogi,
  chine Learning (ICML), 2018.                                        V. The matrix mechanism: optimizing linear counting
                                                                      queries under differential privacy. The VLDB Journal,
Bun, M. and Steinke, T. Concentrated differential privacy:            2015.
  Simplifications, extensions, and lower bounds. In Theory
  of Cryptography Conference (TCC), 2016.                           Li, S. Concise formulas for the area and volume of a hyper-
                                                                      spherical cap. Asian Journal of Mathematics & Statistics,
Canonne, C. L., Kamath, G., and Steinke, T. The discrete              2010.
  gaussian for differential privacy. Neural Information
                                                                    McKenna, R., Miklau, G., Hay, M., and Machanavajjhala,
  Processing Systems (NeurIPS), 2020.
                                                                     A. Optimizing Error of High-Dimensional Statistical
Cesar, M. and Rogers, R. Bounding, concentrating, and                Queries under Differential Privacy. The VLDB Journal,
  truncating: Unifying privacy loss composition for data             2018.
  analytics. In Algorithmic Learning Theory (ALT), 2021.
                                                                    McSherry, F. and Talwar, K. Mechanism design via dif-
                                                                     ferential privacy. In Foundations of Computer Science
Chan, T.-H. H., Shi, E., and Song, D. Private and continual
                                                                     (FOCS), 2007.
  release of statistics. Transactions on Information and
  System Security (TISSEC), 2011.                                   Nikolov, A. Private query release via the johnson-
                                                                      lindenstrauss transform. In Symposium on Discrete Algo-
Chaudhuri, K., Monteleoni, C., and Sarwate, A. D. Differ-
                                                                      rithms (SODA), 2023.
  entially private empirical risk minimization. Journal of
  Machine Learning Research (JMLR), 2011.                           Nikolov, A. and Tang, H. Gaussian Noise is Nearly Instance
                                                                      Optimal for Private Unbiased Mean Estimation. arXiv
Dwork, C., McSherry, F., Nissim, K., and Smith, A. Cal-               preprint arXiv:2301.13850, 2023.
 ibrating noise to sensitivity in private data analysis. In
 Theory of Cryptography Conference (TCC), 2006.                     Nikolov, A., Talwar, K., and Zhang, L. The geometry of
                                                                      differential privacy: the sparse and approximate cases. In
Dwork, C., Naor, M., Pitassi, T., and Rothblum, G. N. Differ-         Symposium on the Theory of Computing (STOC), 2013.
 ential privacy under continual observation. In Symposium
 on the Theory of Computing (STOC), 2010.                           SciPy. scipy.special.betainc, 2024.

Edmonds, A., Nikolov, A., and Ullman, J. The power of               Song, S., Chaudhuri, K., and Sarwate, A. D. Stochastic
  factorization mechanisms in local and central differen-             gradient descent with differentially private updates. In
  tial privacy. In Symposium on the Theory of Computing               Global Conference on Information and Signal Processing
  (STOC), 2020.                                                       (GlobalSIP), 2013.

                                                                9
                                    Approximate Differential Privacy of the `2 Mechanism

Steinke, T. and Ullman, J. Between pure and approximate
  differential privacy. Journal of Privacy and Confidential-
  ity, 2016.
Yu, F., Rybar, M., Uhler, C., and Fienberg, S. E.
  Differentially-private logistic regression for detecting
  multiple-SNP association in GWAS databases. In Privacy
  in Statistical Databases, 2014.

Zhu, Y., Dong, J., and Wang, Y.-X. Optimal accounting of
  differential privacy via characteristic function. In Artifi-
  cial Intelligence and Statistics (AISTATS), 2022.




                                                                 10
                                        Approximate Differential Privacy of the `2 Mechanism

A. Appendix
A.1. Omitted Proofs From Upper Bound
Claim 3.6.1. ky − e1 k2 − kyk2 decreases as θ decreases.

Proof. By the law of cosines,
                                                         q
                                        ky − e1 k2 =     kyk22 + ke1 k22 − 2kyk2 ke1 k2 cos(θ)
                                                        p
                                                       = r2 + 1 − 2r cos(θ),

so as y moves clockwise through Sr,0 ∩ H from −e1 to e1 , θ decreases from π to 0, cos(θ) grows from −1 to 1, and
ky − e1 k2 shrinks from r + 1 to |r − 1|. Since kyk2 = r remains constant, ky − e1 k2 − kyk2 decreases as θ decreases. The
same conclusion holds if we choose y in the lower half plane and consider the analogous counterclockwise angle.
                                                                                          2   2
Claim 3.6.2. σ1 (kp − e1 k2 − kpk2 ) = ε is equivalent to h(r) = r(1 − εσ) + 1−ε2 σ .

Proof.
                                                     p
                                         kp − e1 k2 = (r + 1 − h(r))2 + 2h(r)r − h(r)2
                                                     p
                                                    = (r + 1)2 − 2h(r)

and
                                                        1
                                                     ε = (kp − e1 k2 − kpk2 )
                                                        σ
                                                        1 p
                                                     ε = ( (r + 1)2 − 2h(r) − r)
                                                        σ
                                             (σε + r)2 =(r + 1)2 − 2h(r)
                                                      2h(r) =2r + 1 − (σε)2 − 2rσε
                                                                           1 − ε2 σ 2
                                                       h(r) =r(1 − εσ) +              .
                                                                              2


                                2   2
Claim 3.6.3. r(1 − εσ) + 1−ε2 σ ∈ [0, 2r] if and only if r ≥ 1−εσ
                                                               2 .

                                                         2   2
Proof. The upper constraint of r(1 − εσ) + 1−ε2 σ ≤ 2r is equivalent to r ≥ 1−εσ
                                                                              2  as follows

                                                                 1 − ε2 σ 2
                                                  r(1 − εσ) +               ≤ 2r
                                                                     2
                                                                 1 − ε2 σ 2
                                                                            ≤ r(1 + εσ)
                                                                     2
                                                                   1 − εσ
                                                                            ≤ r.
                                                                      2
                                              2   2
The lower constraint of r(1 − εσ) + 1−ε2 σ ≥ 0 is satisfied for any r since 1 − εσ ≥ 0 implies

                                                       1 − ε2 σ 2
                                                                                       
                                                                                 1 + εσ
                                    r(1 − εσ) +                   = (1 − εσ) r +          ≥ 0.
                                                          2                         2



Lemma 3.12. For r > 0, Py∼M (0) [kyk2 ≤ r] = γ(d,r/σ)
                                               Γ(d) .


                                                                    11
                                      Approximate Differential Privacy of the `2 Mechanism

Proof. The density for Y is f (y) ∝ exp (−kyk2 /σ), so we compute the distribution’s normalization factor Z. We use two
                                                                                      2π d/2
facts. First, a (d − 1)-sphere, i.e., a sphere in Rd , with radius s has surface area Γ(d/2) · sd−1 . Second, by u-substitution
with u = s/σ,
                                     Z ∞                    Z ∞
                                          e−s/σ sd−1 ds =        e−u · ud−1 σ d du = Γ(d)σ d
                                         0                                   0
               R∞
since Γ(z) = 0 e−t tz−1 dt. We compute the integral Z using hyperspherical coordinates s, θ1 , ..., θd−1 where s ≥ 0,
θ1 ∈ [0, 2π], and θj ∈ [0, π] for 2 ≤ j ≤ d − 1. Let

                                     V (θ1 , ..., θd−1 ) = sind−2 (θ1 ) sind−3 (θ2 )... sin(θd−1 )

be the angle dependent terms of the hyperspherical volume element. Then
                                    Z ∞ Z 2π Z π                    Z π
                            Z=                                ...         e−s/σ sd−1 V (θ1 , ..., θd−1 )∂d−1 . . . ∂1 ∂s
                                     0        0       0              0
                                                  Z ∞
                                  2π d/2                      −s/σ d−1
                                =                         e          s       ∂s
                                  Γ(d/2)          0
                                    2π d/2 σ d
                                =              · Γ(d).
                                     Γ(d/2)

This gives
                                                                                        Z r
                                                                          1 2π d/2
                                             PY [kyk ≤ r] =                ·                  e−s/σ sd−1 ds
                                                                          Z Γ(d/2)        0
                                                                       1 2π d/2 σ d
                                                                     =   ·          · γ(d, r/σ)
                                                                       Z Γ(d/2)
                                                                       γ(d, r/σ)
                                                                     =           .
                                                                         Γ(d)



Lemma 3.10. Fr,h(r) is monotone decreasing in r.

Proof. Shorthand τ = εσ. By Corollary 3.7, Fr,h(r) = 1 for r ≤ 1−τ
                                                                2 . Suppose r >
                                                                                1−τ
                                                                                 2 . Then by Lemma 3.6,
                      2
                  1−τ
h(r) = r(1 − τ ) + 2 .
                 2
Case 1: r < 1−τ2τ . Then h(r) > r, and Fr,h(r) = 1 − Fr,2r−h(r) . Since we want to prove that Fr,h(r) decreases with r, it
suffices to show that Fr,2r−h(r) increases with r. By Lemma 3.9,
                                                                                                              
                                                1                                                     d−1 1
                                    Fr,2r−h(r) = I(2r[2r−h(r)]−[2r−h(r)]2 )/r2                           ,         .
                                                2                                                      2   2

We expand the subscript for I

                        2r(2r − h(r)) − (2r − h(r))2   4r2 − 2rh(r) − (4r2 − 4rh(r) + h(r)2 )
                                                     =
                                     r2                                 r2
                                                       2rh(r) − h(r)2
                                                     =                .                                                                    (4)
                                                             r2
Since h(r) ∈ [0, 2r] (Lemma 3.6), 2rh(r) − h(r)2 ≥ 0. Because Ix (a, b) increases with x for x ≥ 0, it is enough to show
that [2rh(r) − h(r)2 ]/r2 increases with r. Expanding yields

                                                                                                                           (1−τ 2 )2
                 2rh(r) − h(r)2   2r(1 − τ ) + (1 − τ 2 ) r2 (1 − τ )2 + r(1 − τ )(1 − τ 2 ) +                                4
                                =                        −                                                                             .
                       r2                   r                                 r2
                                                                                 12
                                    Approximate Differential Privacy of the `2 Mechanism

We drop terms that don’t depend on r to get
                          1 − τ2   (1 − τ )(1 − τ 2 ) (1 − τ 2 )2                  (1 − τ 2 )
                                                                                             
                                                                          2    τ
                                 −                   −            = (1 − τ )     −              .
                             r             r             4r2                   r      4r2
                                                                   2                                            2
Differentiating the second term with respect to r gives 1−2τ r−τ
                                                           2r 3  , and this is positive exactly when r < 1−τ
                                                                                                          2τ .
                  2
Case 2: r ≥ 1−τ
             2τ . Then h(r) ≤ r, and
                                                                                    
                                                 1                          d−1 1
                                        Fr,h(r) = I(2rh(r)−h(r)2 )/r2          ,         .
                                                 2                           2   2
                                                                                                     2
By similar logic, it suffices to show that (2rh(r) − h(r)2 )/r2 is nonincreasing in r for r ≥ 1−τ
                                                                                               2τ . This follows from the
analysis of the previous case.

A.2. Omitted Proofs From Lower Bound
                                   2
Lemma 3.19. Define X = 1+(εσ)2−2εσR and H(R) = R − 1 + X. Then cap ŜR,1,H(R) = SR,1 ∩ V .

Proof. Shorthand τ = εσ for neatness. To verify the claim, we start with an arbitrary y ∈ SR,1 and attempt to determine
a cutoff X ∈ R such that y ∈ V iff y1 ≤ X. For any two points y, y 0 ∈ SR,1 such that y1 = y10 , it is true that y ∈ V iff
y 0 ∈ V since V is spherically symmetric around e1 . If y 0 = y1 e1 + v for some v orthogonal to e1 , then by SR,1 ’s spherical
symmetry around e1 , the point y = y1 e1 + |v|e2 is also in SR,1 . Therefore, our goal is to find the minimum cutoff X for the
point y = (y1 , y2 , 0, ..., 0) such that y ∈ V iff y1 ≤ X.
                                 0              2     2      02                            2     2        2
We know y ∈ Sr0 ,0 for some pr > 0. Since y1 + y2 = r , and y ∈ SR,1 implies (y1 − 1) + y2 = R , then
                        0                                                              0     0
combining these yields r = R2 + 2y1 − 1. Thus we have y ∈ V if and only if y1 ≤ −r + h(r ). By Lemma 3.6,
                               2                           2     p                   2
−r0 + h(r0 ) = min(−τ r0 + 1−τ     0
                             2 , 2r ). We have −τ r0 + 1−τ
                                                         2   = −τ R2 + 2y1 − 1 + 1−τ
                                                                                   2 , so we solve for the largest
                      √                     2  √
X where X ≤ min(−τ R2 + 2X − 1 + 1−τ               2
                                          2 , 2 R + 2X − 1).

Solving for X under the first constraint yields
                                                                         2
                                                                  1 − τ2
                                                            
                                                                X−           ≥ τ 2 (R2 + 2X − 1)
                                                                    2
                                            τ 4 − 2τ 2 + 1 − 4τ 2 R2 + 4τ 2
                        X 2 − X(1 + τ 2 ) +                                  ≥0
                                                           4
                                                   τ 4 + 2τ 2 + 1 − 4τ 2 R2
                               X 2 − X(1 + τ 2 ) +                           ≥ 0.                                          (5)
                                                               4
The roots of the LHS are given by
                                        p
                              1 + τ 2 ± (1 + τ 2 )2 − ([1 + τ 2 ]2 − 4τ 2 R2 )    1 + τ 2 ± 2τ R
                         X=                                                    =                 .
                                                     2                                   2
              2                     2
Let x1 = 1+τ 2−2τ R and x2 = 1+τ 2+2τ R . As the LHS of Equation (5) is a convex parabola, the inequality is satisfied on the
                                                                                                          2
intervals (−∞, x1 ] ∪ [x2 , ∞). But the first constraint on X also implies the weaker inequality X < 1−τ2   so X ∈/ [x2 , ∞).
Then x1 is the largest value that satisfies the first constraint.
                                             √                      2           √                     2     √
For any X ∈ (x1 , x2 ), we have X > −τ R2 + 2X − 1 + 1−τ              ≥ min(−τ R2 + 2X − 1 + 1−τ               2
                                                                                                    2 , 2 R + 2X − 1).
                                 √                                2
                                      2
So if we can show that x1 ≤ 2 R + 2x1 − 1, then x1 will indeed be the desired cutoff. We actually prove a stronger
inequality
                                                                  p
                                                             x1 ≤ R2 + 2x1 − 1
                                             1 + τ 2 − 2τ R
                                                             ≤R−τ
                                                    2
                                                           2
                                                   (1 + τ ) ≤ 2R(1 + τ )
                                                      1+τ
                                                             ≤R
                                                        2

                                                              13
                                    Approximate Differential Privacy of the `2 Mechanism
                                                                   2
which follows from our starting assumption on R. So X = 1+τ 2−2τ R is the desired cutoff. This leads to a cap on SR,1 of
height
                                                1 + τ 2 − 2τ R                          1 − τ2
                      H(R) = X − (1 − R) =                     − 1 + R = R(1 − τ ) −            .
                                                       2                                   2
                                                                                                                              2
The last step is verifying that this is a valid height lying in [0, 2R]. The lower bound follows from R(1 − τ ) ≥ 1−τ
                                                                                                                    2
rearranging into the starting assumption R ≥ 1+τ 2 . We prove a stronger upper bound of R by rearranging

                                                               1 − τ2
                                                  R(1 − τ ) −         ≤R
                                                                 2
                                                               1 − τ2
                                                             −        ≤τ R
                                                                 2
which uses 0 < τ < 1 and R > 0.

A.3. Omitted Proofs From Sampler
                                                                                         Pd+1
Lemma 3.22. Let U1 , . . . , Ud+1 ∼iid U (0, 1) be uniform random samples. Then −σ            i=1 log(Ui ) ∼ Gamma (d + 1, σ).


Proof. We first show that − log(U (0, 1)) ∼ Expo (1), an exponential random variable. Let f be the CDF of Expo (1).
Then P[f −1 (U ) ≤ t] = P[U ≤ f (t)] = f (t) so f −1 (U ) ∼ Expo (1). Since f −1 (t) = − log(1 − t) for 0 ≤ t ≤ 1, and
U ∼ (1 − U ), we get − log(U ) ∼ Expo (1).
Note that Expo (1) corresponds to a random variable that measures the time required for the first arrival from a Poisson
process with rate 1. Moreover, Gamma (d + 1, σ) ∼ σGamma (d + 1, 1) and Gamma (d + 1, 1) corresponds to a random
variable that measures the time of the (d + 1)th arrival of a Poisson process with rate 1. The random variable of the
(d + 1)th arrival is equal to the sum of the random variables of interarrival times for the first (d + 1) arrivals. Since
a Poisson process has stationary increments, each of these interarrival times are i.i.d. as Expo (1). It follows that
                      Pd+1           Pd+1
Gamma (d + 1, 1) ∼ i=1 Ei ∼ − i=1 log(Ui ) where Ei ∼ Expo (1).
                                                                                                                  (X1 ,...,Xd )
Lemma 3.23. Let X1 , . . . , Xd ∼iid N (0, 1), and let Y ∼ U (0, 1) be a uniform sample from [0, 1]. Then Y 1/d · √ Pd        2
                                                                                                                        i=1 Xi
is a uniform sample from B2d .

                (X1 ,...,Xd )
Proof. The term √ Pd        2
                              is a normalized draw from a d-dimensional multivariate Gaussian with an identity covariance
                      i=1 Xi
matrix. As this distribution is spherically symmetric, normalizing the draw to have unit length produces a uniform draw from
the unit sphere. Define the function f to be the CDF of the random variable of the `2 norm of a uniform sample from B2d . Then
f (r) = rd . We show that f is also the CDF of Y 1/d . We have P[Y 1/d ≤ r] = P[U (0, 1)1/d ≤ r] = P[U (0, 1) ≤ rd ] = rd ,
and the lemma follows.

A.4. Omitted Proofs From Experiments
The following result about the expected squared `2 norm of `p balls will be useful.
Lemma A.1 ((Joseph et al., 2025)). Let E22 (X) denote the expected squared `2 norm    of a uniform sample from X, and let
                                                                                   Γ( d )Γ( 3 ) 
                                                                           d   3d
rBpd denote the d-dimensional `p ball of radius r. Then E22 (rBpd ) = r2 · 3 d+2          p    p
                                                                                     Γ( 1 )Γ( d+2 )
                                                                                                     .
                                                                                          p      p

Lemma 4.1. The mean squared `2 error of the d-dimensional `p mechanism with parameter σ is

                                                         Γ( dp )Γ( p3 )
                                                                        !
                                              2
                                         (dσ) (d + 1)                     .
                                                        Γ( p1 )Γ( d+2
                                                                   p )


Proof. Consider the mechanism releasing a noisy version of T (X) = 0. Call this mechanism Mσp . Recall from Lemma 2.4
that we can sample it by sampling r ∼ Gamma (d + 1, σ), sampling z ∼ Bpd , and outputting rz. The distribution
Gamma (d + 1, σ) has density
                                                           xd e−x/σ
                                               f (x) =                .                                           (6)
                                                        Γ(d + 1)σ d+1

                                                              14
                                    Approximate Differential Privacy of the `2 Mechanism

so
                                          Z ∞
                                kyk22 =         f (r)E22 (rBpd )dr
                                    
                    E y∼Mσp
                                          0
                                                                                     Γ( dp )Γ( p3 )
                                          Z ∞                                                       !
                                                rd e−r/σ
                                                                             
                                                               2 d     3d
                                     =                       r ·                                      dr
                                         0  Γ(d + 1)σ d+1         3 d+2            Γ( p1 )Γ( d+2p )

                                                                       Γ( dp )Γ( p3 )
                                                                                        !Z
                                                                                             ∞
                                              d              3d
                                     =                                                           rd+2 e−r/σ dr
                                       3Γ(d + 1)σ d+1 d + 2           Γ( p1 )Γ( d+2
                                                                                  p   )      0
                                                                            d     3
                                                                                        !
                                                                       Γ(     )Γ( p)
                                                                 
                                              d              3d             p
                                     =                                                     · Γ(d + 3)σ d+3
                                       3Γ(d + 1)σ d+1 d + 2           Γ( p1 )Γ( d+2
                                                                                  p   )
                                                             d    3
                                                                      !
                                                         Γ( p )Γ( p )
                                     = (dσ)2 (d + 1)                    .
                                                       Γ( p1 )Γ( d+2
                                                                  p )




Lemma 4.4. The Gaussian mechanism with parameter σ has mean squared `2 error dσ 2 .

Proof. Denote the mechanism by Nσ . Then by linearity of expectation and the fact that the Gaussian mechanism has
independent Gaussian marginals,
                                                                  
                                                           Xd
                                      Ey∼Nσ kyk22 = E         yj2 
                                                   
                                                                          j=1

                                                                = dEz∼N (0,σ2 ) z 2
                                                                                

                                                                =dσ 2

where the last equality used
                                                                            2
                                           Ez∼N (0,σ2 ) z 2 = Var(z) + E [z] = σ 2 .
                                                        




The following result provides evidence that, with reasonable parameters, approximate DP does not yield meaningful utility
improvements over pure DP for the Laplace mechanism. A result like this is likely folklore, but we include it here for
completeness.
Lemma A.2. The Laplace mechanism with parameter σ ≤ 1/ε does not satisfy (ε, δ)-DP for ε < 2 ln(1 − δ) + σ1 .

Proof. Let T (X) = 0 and let T (X 0 ) = e1 . Then kT (X) − T (X 0 )k1 = 1, and
                                   
                      fX (y)
        Py∼M (0) ln              ≥ ε = Py∼M (0) [ky − e1 k1 − kyk1 ≥ σε] = Py∼M (0) [|y1 − 1| − |y1 | ≥ σε] .
                      fX 0 (y)

Mechanism M is equivalent to the spherical Laplace distribution where each dimension is drawn from Lap (σ). This
distribution has CDF F (x) = 1 − 12 exp(−x/σ) for x ≥ 0. Condition |y1 − 1| − |y1 | ≥ σε holds if and only if
y1 ≤ 12 (1 − σε), so the probability of drawing such a y is

                                                                          ε − σ1
                                                                            
                                     1        1 1                  1
                               1 − exp −           (1 − σε)   = 1 − exp
                                     2        σ 2                  2        2
                                         1
                                         ε− σ
Therefore P [`M,X,X 0 ≥ ε] = 1 − 12 exp   2    .

We now analyze P [`M,X 0 ,X ≤ −ε]. Because `M,X 0 ,X = log(fX 0 (y)/fX (y)) = σ1 · (|y1 | − |y1 − 1|), we get

                                    P [`M,X 0 ,X ≤ −ε] = Py∼M (1) [|y1 − 1| − |y1 | ≥ σε]

                                                                     15
                                  Approximate Differential Privacy of the `2 Mechanism

where M (1) denotes the d-dimensional Laplace mechanism centered at e1 . By the same logic used above, |y1 −1|−|y1 | ≥ σε
if and only if y1 ≤ 12 (1 − σε). For y ∼ M (1), this event has the same probability as y10 ≤ 12 (1 − σε) − 1 = 12 (−1 −
σε) when y 0 ∼ M                                                   1
                  (0). Furthermore, Lap (σ) has CDF F (x) = 2 exp(x/σ) for x < 0. Thus P [`M,X 0 ,X ≤ −ε] =
1       1    1
2 exp 2 − σ − ε .

Combining these results and applying 1 + x ≤ ex yields

                                                                    ε − σ1
                                                                                          
                                                            1                    1     1  1
              P [`M,X,X 0 ≥ ε] − eε P [`M,X 0 ,X ≤ −ε] = 1 −  exp            − eε exp    − −ε
                                                            2         2          2     2  σ
                                                                      1 
                                                                  ε− σ
                                                                
                                                      = 1 − exp
                                                                    2

By Lemma 2.3, this last quantity must be upper bounded by δ for M to be (ε, δ)-DP. Rearranging yields the expression in
the claim.




                                                           16
