Differential Private Stochastic Optimization with Heavy-tailed Data: Towards Optimal Rates

Puning Zhao, Jiafei Wu, Zhe Liu, Chong Wang, Rongfei Fan, Qingming Li

Abstract

This paper addresses the challenge of achieving minimax optimal rates for convex optimization under Differential Privacy (DP) when dealing with heavy-tailed data. While standard DP-SGD assumes bounded gradients, real-world data often exhibits heavy tails, leading to suboptimal dimension-dependent error bounds in previous literature. We present two algorithms—Simple Clipping with a refined analysis and an Iterative Updating method—that bridge this gap, matching the theoretical minimax lower bounds for the first time.

Introduction

Differential Privacy (DP) is the gold standard for protecting individual data during model training. Most existing theoretical analyses of DP stochastic gradient descent (DP-SGD) assume that loss functions are "Lipschitz," meaning their gradients are always bounded. However, real-world data—especially in deep learning—often follows heavy-tailed distributions, where extreme outliers are more common than a normal distribution would suggest.

When gradients are heavy-tailed, standard DP methods struggle with two primary issues:

  1. Sensitivity Issues: DP requires adding noise proportional to the "sensitivity" (the maximum change one data point can cause). If gradients are unbounded, sensitivity is infinite.
  2. The "Dimension Gap": Previous attempts to handle heavy tails resulted in error bounds with a superfluous factor of $d$ (the number of dimensions). This occurs because existing gradient estimators have poor "tail behavior," making it difficult to maintain accuracy when taking a union bound over the search space.

This research demonstrates that the theoretical minimax lower bound for this problem is achievable, overcoming the suboptimal hurdles that plagued previous approaches.

Methodology

The paper proposes two distinct algorithms to tackle the problem of heavy-tailed gradients in a private setting:

Simple Clipping

This is a refined version of the standard DP-SGD approach. It clips every gradient to a specific radius $R$ before averaging and adding noise. While the method itself is standard, the authors provide a novel, tighter analysis. They prove that the mean estimation has a "subexponential tail" in all directions, which allows for a more efficient union bound. This method achieves optimal rates when the privacy budget $\epsilon$ is small ($\epsilon \le 1/\sqrt{d}$).

Iterative Updating Method

To achieve optimality for all privacy settings, the authors introduce a more complex estimator involving:

  • Binning & Shuffling: Dividing data into $k$ groups, calculating group-wise means, and adding noise.
  • Iterative Refinement: Instead of a simple average, it iteratively updates a central estimate by calculating the distance and direction to the true mean based on the group-wise data.
  • Privacy Amplification: By treating the group means as "shuffled," the algorithm benefits from privacy amplification, allowing each group to use a smaller noise overhead while maintaining a strong overall privacy guarantee.

Key Results

The primary contribution of this work is the achievement of the optimal population risk bound. The authors confirm that the theoretical limit of DP optimization—$\Omega\left(\sqrt{d/n} + \sqrt{d}(\sqrt{d}/\epsilon n)^{1-1/p}\right)$—is a reachable target.

Comparison of risk bounds for DP stochastic optimization with heavy-tailed data.

As shown in the table above, the Iterative Updating method successfully removes the additional $d^{3/2-1/p}$ term found in previous clipping analyses, matching the minimax lower bound for all $\epsilon \le 1$. The "aha moment" of this research is realizing that the bottleneck was not the mean squared error of the gradient estimator, but its high-probability tail behavior. By ensuring the estimator behaves more like a Gaussian (subgaussian) even with heavy-tailed input, the error does not explode as the dimensionality of the problem increases.

Discussion and Limitations

While this work provides a significant theoretical breakthrough, there are practical considerations for future research:

  • Computational Complexity: The iterative updating method is significantly more complex to implement and computationally heavier than standard clipping.
  • Convexity Constraint: The current analysis is limited to convex optimization problems. Extending these optimal rates to non-convex landscapes, such as standard neural networks, remains a major open challenge.
  • Parameter Tuning: The optimal clipping radius $R$ and the number of iterations depend on knowing the $p$-th moment of the data, which might not be known in advance. Future work could explore adaptive versions of these algorithms.

Summary updated

BibTeX
@inproceedings{zhao2025differential,
  author = {Puning Zhao and Jiafei Wu and Zhe Liu and Chong Wang and Rongfei Fan and Qingming Li},
  title = {{Differential Private Stochastic Optimization with Heavy-tailed Data: Towards Optimal Rates}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34440},
}
Figure