Skip to content

Optimal rates for O(1)-smooth DP-SCO in a single epoch with large batchOptimal Rates for $O(1)$-Smooth DP-SCO with a Single Epoch and Large Batches

arXiv· arXiv:2406.02716· Christopher A. Choquette-Choo, Arun Ganesh, Abhradeep ThakurtaGoogle DeepMind; Google ResearchIndexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Other

Based on the paper PDF (AI-generated); refer to the original

The authors propose Accelerated-DP-SRGD, which under a single epoch achieves the optimal DP-SCO rate with n^1/4 batched gradient steps (assuming the global optimum lies in the constraint set), and whose privacy does not depend on convexity.

Questions
The optimal rate of DP stochastic convex optimization (DP-SCO) is known, but the complexity metric of batch gradient steps (adaptive interaction rounds) is understudied: prior work either requires Ω(n) batch gradient steps and multiple rounds, or relies on convexity to prove privacy. This is a bottleneck in settings such as federated learning.
Methods
Proposes Accelerated-DP-SRGD, combining three components: Nesterov accelerated gradient descent, stochastic recursive gradient (SRG) estimation, and DP persistent counting correlated noise based on the binary tree mechanism. By coupling the privacy analysis with the utility analysis, it tightens the sensitivity bound of the gradient difference under the assumption that the global optimum lies in the constraint set.
Experiments and results
Purely theoretical result: under O(1)-smooth convex losses, achieves the optimal DP-SCO error (up to polylog factors), with a single round and gradient complexity 2n; under the assumption x†∈C, batch gradient steps Θ̃(n^1/4) and batch size n^3/4, otherwise √n steps and batch size √n (Table 1, Theorem 4.2).
Limitations and future work
The authors point out: whether the n^1/4 steps can be maintained after removing the x†∈C assumption is unknown; the method relies on smoothness, and the non-smooth single-epoch case is an open problem; a lower bound for n^1/4 is not proven. The paper is purely theoretical work with no experimental validation.
Experimental setupexcess population risk、gradient complexity et al.
Metrics
excess population riskgradient complexitybatch gradient steps
AI summaryAccelerated-DP-SRGD achieves the optimal rate (up to polylog factors) for O(1)-smooth DP-SCO within a single epoch using √n batch gradient steps with batch size √n. Through clipping, it can add privacy protection to arbitrary non-convex losses; if the global optimum lies within the constraint set, this can be reduced to n^{1/4} batch gradient steps with batch size n^{3/4}. The algorithm combines a variant of SRG, accelerated gradient descent, and correlated noise from DP continual counting.

Accelerated-DP-SRGD achieves the optimal rate (up to polylog factors) for O(1)-smooth DP-SCO within a single epoch using √n batch gradient steps with batch size √n. Through clipping, it can add privacy protection to arbitrary non-convex losses; if the global optimum lies within the constraint set, this can be reduced to n^{1/4} batch gradient steps with batch size n^{3/4}. The algorithm combines a variant of SRG, accelerated gradient descent, and correlated noise from DP continual counting.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Achieves the optimal DP-SCO rate with fewer batched gradient steps under a single epoch and with privacy proven without relying on convexity.

    Core question: how to achieve the optimal rate for DP stochastic convex optimization (DP-SCO) within a single epoch, using a sublinear number of batched gradient steps, with a privacy guarantee that does not depend on convexity of the loss function.

    • Problem setting: DP-SCO requires minimizing the population risk under an (ε, δ)-DP constraint. The authors point out that batched gradient steps (adaptive interaction rounds) are much more expensive than parallel gradient evaluations in distributed/federated optimization; for example, in cross-device federated learning, the number of adaptive communication rounds between server and devices dominates the overall cost.
    • Shortcomings of existing methods: the authors state that all prior DP-SCO work requires Ω(n) batched gradient steps, multiple epochs, or assumes convexity to prove privacy; under the single-epoch constraint, to the authors' knowledge no prior work achieves T = o(n).
    • Core observation: combining Nesterov acceleration with stochastic recursive gradient (SRG) can reduce the ℓ2 sensitivity of the gradient estimate so that it decreases with 1/t; then using the binary tree mechanism for DP persistent counting, the noise standard deviation grows only with polylog(T) rather than √T.
    • Proposed in the paper: the algorithm Accelerated-DP-SRGD. The authors state that under O(1)-smooth convex losses it achieves the optimal DP-SCO error (up to polylog factors), with a single epoch and exactly two gradient calls per sample; when the unconstrained optimum x† lies in the constraint set C, the number of batched gradient steps is Θ̃(n^1/4) with batch size n^3/4, otherwise √n steps with batch size √n (Table 1, Theorem 4.2).
    • Problem setup: the loss f(x, d) is convex, L-Lipschitz, and M-smooth for any d (M ≤ c_M·L/‖C‖, i.e., O(1)-smoothness); single-pass streaming setting, where each sample appears only once; privacy uses (ε, δ)-DP under the zero-out adjacency definition.
  2. What related research exists?

    Directly compared with DP-SCO works such as FKT20, ZTC22, ZTOH22, and GLZW24 on gradient complexity and batched gradient steps.

    Optimal rates and linear-time algorithms for DP-SCO

    • [BST14], [BFTT19]—establish the optimal rate of DP-SCO under smooth convex losses, O(LR/√n + LR√p·log(1/δ)/(εn)); [FKT20] gives a single-round algorithm that achieves the optimal rate in linear time (gradient complexity n), but it requires Θ̃(√n) batch gradient steps and assumes convexity to prove privacy (Table 1).
    • [GLL22]—a rate for the Lipschitz strongly convex case.

    DP-SCO methods that reduce gradient/interaction complexity

    • [ZTC22]—DP online-to-batch plus SRG, with gradient complexity 2n, a single round, and privacy not requiring convexity, but with n batch gradient steps (Table 1); this paper directly follows its SRG idea, but the authors point out that it relies on the Ω(1/√T) regret bound of online convex optimization (OCO) and cannot achieve the number of steps in this paper.
    • [ZTOH22]—batch gradient steps Θ̃(√n), but not single-round and requires convexity to prove privacy (Table 1).
    • [GLZW24] (concurrent work)—also has batch gradient steps Θ̃(n^1/4), but gradient complexity Θ̃(n^9/8) and is not single-round (Table 1); the authors state that this paper consistently outperforms it under the x†∈C assumption, and is not comparable to it without that assumption.

    DP-SCO for non-smooth and other geometries

    • [CJJ+23]—the best known gradient oracle complexity under non-smooth convex losses, Õ(min{n²/√p, n/ε} + min{np/ε^(4/3), n^(4/3)/ε^(1/3)}), but not single-round, and it relies on sampling privacy amplification and convexity; the authors state that this paper relies on neither, and that improving SRG variance with its ReSQue estimator is an open problem.
    • [BGN21], [AFKT21], [GLOT23]—extensions to ℓ1 geometry, second-order stationary points, etc., which the authors state are not comparable to this paper.

    Related mechanisms and tools

    • DP-SGD [SCS13, BST14, ACG+16] and DP-FTRL [ST13, KMS+21, DMR+22]—standard private optimization procedures; the noise mechanism in this paper is taken from the binary tree mechanism [DNPR10, CSS11] and matrix-factorization continual counting [DMR+22, HUU23, HUU24].
    • Non-private components: Nesterov acceleration [Nes83, Lan12, BG19], SRG/SARAH [NLST17], potential function proofs [BG19, TB19].

    Positioning: The authors state that under the x†∈C assumption, this paper consistently outperforms all prior and concurrent work on both gradient complexity and batch gradient steps, while also maintaining a single round and privacy not depending on convexity (Table 1).

  3. How does the paper address this problem?

    Nesterov acceleration + stochastic recursive gradient + binary-tree-mechanism correlated noise, all three are indispensable.

    Overall approach: adapt Nesterov accelerated stochastic gradient descent into a DP version—use stochastic recursive gradient (SRG) to lower the sensitivity of each step's gradient estimate, then use DP persistent counting (binary tree mechanism) to add correlated noise to the prefix sums of SRG, yielding Accelerated-DP-SRGD (Algorithm 1).

    Problem setup

    • Goal: minimize the population risk F(x) = E_{d∼D}[f(x, d)] over the constraint set C (‖C‖₂ ≤ R), with loss convex, L-Lipschitz, and M-smooth (M ≤ c_M·L/‖C‖).
    • Single-pass streaming: n i.i.d. samples each appear once in order; the output satisfies (ε, δ)-DP under zero-out adjacency.
    • Complexity measures: gradient complexity (total number of gradient evaluations) and number of batched gradient steps T (adaptive interaction rounds).

    Algorithm structure (Algorithm 1)

    • Maintains the coupled Nesterov three-sequence: z_{t+1} ← Π_C(z_t − (η_t/β)(∇̃_t + b_t)), y_{t+1} ← Π_C(x_t − (1/β)(∇̃_t + (1/η_t)b_t)), x_{t+1} ← (1−τ_{t+1})y_{t+1} + τ_{t+1}z_{t+1}.
    • SRG gradient estimate: ∆_t = (1/B)Σ_{d∈B_t}[η_t∇f(x_t,d) − η_{t−1}∇f(x_{t−1},d)], ∇̃_t = Σ_{i≤t}∆_i/η_t; each sample is gradient-evaluated exactly twice (at x_t and x_{t−1}).
    • Parameters: η_t = t+1, τ_t = η_t/η_{0:t}; when x†∈C, β ≈ M, otherwise β ≈ M·max{n^(3/2)/B², n/B}.

    Role of each of the three components (reasons given by the authors)

    • SRG: makes the ℓ2 sensitivity of the gradient estimate at time t lower by a factor of 1/t than a direct mini-batch gradient.
    • Binary tree mechanism: adds noise to the prefix sums of ∆_t, with noise standard deviation growing with polylog(T) rather than √T from simple composition.
    • Accelerated SGD: balances the two sources of variance from the SRG estimate and mini-batch sampling; the authors argue in Section 4.3 that with non-accelerated SGD, the variance introduced by SRG makes the gradient variance for most iterations comparable to ordinary SGD with batch size 1, so under a single epoch the optimal batch size can only be O(1).

    Utility analysis

    • Theorem 4.1 (simplified from Theorem 5.1): for any noise satisfying ‖b_t‖ ≤ b_max, the excess population risk decomposes into three terms: stochasticity error SL/(β√T) + S²/T^(3/2), privacy noise error (S+L)b_max/T + βb_maxR/T², and optimization error βR²/T²; the proof uses the potential function Φt = η0:t−1(F(yt) − F(x∗)) + 2β|zt − x∗|22 to track the per-step decrease, and telescoping summation yields the final bound.

    Privacy analysis and sensitivity bound

    • The key quantity is the norm of the single-sample gradient difference ∆_t(d) = η_t∇f(x_t,d) − η_{t−1}∇f(x_{t−1},d); by smoothness and Lipschitzness, ‖∆_t(d)‖ ≤ η_t·M‖x_t − x_{t−1}‖ + L.
    • When x†∈C: using ‖∇F(x)‖² ≤ 2M(F(x) − F(x†)), the gradient norm decreases as training progresses, so ‖x_t − x_{t−1}‖ decreases; Lemma 5.5 uses induction (circularly dependent with Theorem 5.1, proved by simultaneous induction) to show ‖∆_t(d)‖ ≤ c_DP·L, so the sensitivity is independent of t and β stays on the order of O(M).
    • Without that assumption: the gradient norm need not decrease, so a naive bound is used with β ≥ 2MT (Lemma 5.9), ensuring sensitivity by slowing the learning rate, at the cost of T rising to √n.
    • Noise addition: ∇̃_t is a scaling of the prefix sums of ∆_t; the binary tree mechanism (Lemma 5.6) releases the prefix sums with µ-GDP, and Corollary 5.7 gives (ε, δ)-DP with max_t‖b_t‖ ≤ c²_DP·L√p/(εBβ).

    Main theorem

    • Theorem 4.2 (simplified from Theorems 5.8 and 5.12): under suitable parameters, Algorithm 1 satisfies (ε, δ)-DP and F(yT) − F(x∗) = O(LR · polylog(n, 1/δ) · (1/√n + √p/(ε n))), i.e., the optimal DP-SCO error (up to polylog factors); when x†∈C, T = Θ̃(n^1/4), BT = n, otherwise any T ≥ √n, BT = n.
  4. What experiments did the paper conduct?

    A purely theoretical paper with no experiments; the main results are the complexity comparison with prior work (Table 1) and the optimal-rate theorem.

    Experimental setup

    • This paper is purely theoretical work and has no experiments: no tested models, datasets, baseline implementations, review methods, or sample sizes; all results are mathematical theorems and their proofs.
    • Comparison is made via the analytical complexity bounds in Table 1, with comparison dimensions of gradient complexity, number of batched gradient steps, whether single-epoch, and whether privacy requires convexity, all under the O(1)-smoothness assumption.

    Main results

    Swipe horizontally to read the table

    AlgorithmGradient complexityBatched gradient stepsSingle-epochPrivacy requires convexity
    This paper (assuming x†∈C)2nΘ̃(n^1/4)YesNo
    This paper (no assumption)2n√nYesNo
    [FKT20]nΘ̃(√n)YesYes
    [ZTC22]2nnYesNo
    [ZTOH22]Θ̃(n)Θ̃(√n)NoYes
    [GLZW24] (concurrent)Θ̃(n^9/8)Θ̃(n^1/4)NoNo

    According to Table 1 (Θ̃ hides polylog(n) factors; all results require O(1)-smoothness).

    • The authors state that under the x†∈C assumption, this paper's bounds uniformly improve on all prior and concurrent work; without that assumption, they uniformly improve on prior work and are not comparable to [GLZW24].
    • Theorem 4.2: under both settings, the excess population risk is O(LR·polylog(n,1/δ)·(1/√n + √p/(εn))), matching the optimal DP-SCO error (up to polylog factors).
    • The authors emphasize the implementation difference between single-epoch and multi-epoch: even if gradient complexity is asymptotically the same, non-single-epoch algorithms may not be implementable in streaming or cross-device federated settings.

    Necessity argument for the non-accelerated variant

    • What was tested: Section 4.3 analyzes the variance of SRG when accelerated SGD is replaced by ordinary SGD with fixed learning rate 1/β.
    • Result: taking 1/β ≈ B/√n gives Var(∇̃_t) = tB/n; for t = Ω(T) = Ω(n/B) the variance is Ω(1), i.e., the gradient variance for most iterations is comparable to ordinary SGD with batch size 1.
    • Authors' interpretation: SGD with batch size 1 and variance O(1) requires T = n iterations to converge, so under single-epoch the non-accelerated version requires batch size B = O(1); the authors therefore consider acceleration a necessary component for achieving large-batch single-epoch optimal DP-SCO.

    Other ablations and analyses

    • Independent batched gradient variant: Theorem 5.13 gives the utility bound for accelerated SGD when SRG is replaced by independent mini-batch gradients; the authors state that its potential-function proof is simpler than that of [TB19] and may have independent value.
    • Parameter conditions: Theorem 5.8 requires 2^(−o(n^(1/6))) ≤ δ ≤ 1/n and p ≤ ε²n²; the authors note that outside this range the bound holds trivially because any interior point of C suffices.
    • Cost of no x†∈C assumption: Theorem 5.12 takes β = (16c_M+8)Ln^(3/2)/(RB²), B ≤ √n, T = n/B, and the number of batched gradient steps is max{√n, √p·polylog/(Mε√n)}.
  5. What are some points that can be further explored?

    The authors list three open problems: removing the x†∈C assumption, a non-smooth single-epoch algorithm, and a lower bound for the n^1/4 number of steps.

    Limitations and future directions noted by the authors

    • Removing the x†∈C assumption (Section 1, Future directions (a)): the authors believe this assumption may be unnecessary—if the gradient stays large, training should quickly reach the boundary of C, and projection would make x_t − x_{t−1} smaller—but the authors state they do not know how to formalize a proof.
    • Non-smooth setting (Section 1, Future directions (b)): to the authors' knowledge there is no single-epoch algorithm for the non-smooth case; the authors believe their technique is unlikely to apply to the non-smooth setting, because the core component SRG relies on differences of gradients at different points, for which smoothness is a basic prerequisite.
    • Lower bound for batched gradient steps (Section 1, Future directions (c)): the authors believe n^1/4 is tight but do not know how to prove it; the non-private lower bound technique [WWS+18] works in the regime p = Ω(n²), in which the DP-SCO guarantee is trivial, and adding noise breaks the restriction of "querying only points in the span of the gradients."
    • Removing the smoothness assumption (Section 1, Other related work): the authors raise as an open problem whether the smoothness assumption can be removed while maintaining the same or better gradient oracle complexity.
    • Improving SRG with ReSQue (Section 1, Other related work): the authors raise as an open problem whether the variance-bounded estimator ReSQue of [CJJ+23] can improve the variance properties of SRG.

    Scope of experimental coverage

    • The paper is purely theoretical work with no experiments: no models, datasets, or numerical simulations were run.
    • The scope of results is limited to O(1)-smooth convex losses; the authors explicitly state that higher smoothness such as M = O(√n) (corresponding to non-smooth) is out of scope (Section 1).
    • The privacy definition uses (ε, δ)-DP under zero-out adjacency; the noise mechanism is limited to the binary tree mechanism, and the authors state that for asymptotic bounds they do not adopt the constant-factor improvements of [CCMRT22, HUU23, HUU24] (Section 2.2).
    • Parameter conditions of the main theorems: Theorem 5.8 requires 2^(−o(n^(1/6))) ≤ δ ≤ 1/n and p ≤ ε²n²; the result without the x†∈C assumption additionally requires p ≤ B²β²ε²/(32M²log³(T)ln(2T/δ)ln(2.5/δ)) (Corollary 5.10).
    • The paper reports no running times, implementation details, or measured comparison with non-private training cost.
  6. Summarize the main content of the paper

    A new single-epoch DP-SCO algorithm: acceleration + recursive gradient + persistent counting noise, achieving the optimal rate with n^1/4 batched gradient steps.

    A theoretical paper on DP stochastic convex optimization (DP-SCO) that proposes the Accelerated-DP-SRGD algorithm.

    • Problem: The optimal rate of DP-SCO is known, but the metric of batch gradient steps (adaptive interaction rounds) is understudied; the authors state that prior work requires Ω(n) steps, multiple rounds, or assumes convexity to prove privacy, and that batch gradient steps are costly in settings such as federated learning.
    • Method: Combines Nesterov accelerated SGD with stochastic recursive gradient (SRG), using a binary tree mechanism to add correlated noise to the prefix sums of gradient differences; when x†∈C, it tightens sensitivity by exploiting the property that the gradient norm decreases with excess risk (Lemma 5.5), and without this assumption it increases β to slow learning (Lemma 5.9).
    • Result 1: Under O(1)-smooth convex losses, achieves the optimal DP-SCO error O(LR·polylog·(1/√n + √p/(εn))) (Theorem 4.2), with a single round, two gradient calls per sample, and privacy not depending on convexity.
    • Result 2: Under the assumption x†∈C, batch gradient steps Θ̃(n^1/4) and batch size n^3/4; without the assumption, √n steps and batch size √n (Table 1).
    • Result 3: Gradient complexity 2n; the authors state that under the x†∈C assumption it consistently outperforms all prior and concurrent work, and that the concurrent work [GLZW24] has the same number of steps but a gradient complexity of Θ̃(n^9/8) and is not single-round.
    • Result 4: Section 4.3 argues that the non-accelerated variant can only have an optimal batch size of O(1) in a single round, and the authors therefore consider acceleration a necessary component.
    • Authors' conclusions and implications: The authors consider Accelerated-DP-SRGD more natural than previous modifications of accelerated methods; open problems include removing the x†∈C assumption, a non-smooth single-round algorithm, and proving a lower bound on the number of n^1/4 steps.
Read originalarxiv.org