Efficient Private ERM for Smooth Objectives

Jiaqi Zhang, Kai Zheng, Wenlong Mou, Liwei Wang

Abstract

In this paper, we consider efficient differentially private empirical risk minimization from the viewpoint of optimization algorithms. For strongly convex and smooth objectives, we prove that gradient descent with output perturbation not only achieves nearly optimal utility, but also significantly improves the running time of previous state-of-the-art private optimization algorithms, for both $\epsilon$-DP and $(\epsilon, \delta)$-DP. For non-convex but smooth objectives, we propose an RRPSGD (Random Round Private Stochastic Gradient Descent) algorithm, which provably converges to a stationary point with privacy guarantee. Besides the expected utility bounds, we also provide guarantees in high probability form. Experiments demonstrate that our algorithm consistently outperforms existing method in both utility and running time.

Introduction

Differential Privacy (DP) is the gold standard for protecting individual data in machine learning, but it often comes with a "privacy tax": algorithms become significantly slower or less accurate. Previous state-of-the-art methods for private Empirical Risk Minimization (ERM) relied on Stochastic Gradient Descent (SGD) with noise added at every single step. While theoretically sound, these methods are computationally expensive—often requiring $\Omega(n^2)$ iterations—making them impractical for large-scale real-world datasets. Furthermore, most existing private optimization research focused strictly on convex problems, leaving a theoretical gap for non-convex objectives like those found in deep learning.

Methodology

This work shifts the focus to smooth objective functions, where the gradient does not change abruptly. By leveraging smoothness, the authors propose two primary approaches:

  1. Strongly Convex Objectives: The authors utilize Output Perturbation Full Gradient Descent. Instead of adding noise at every step, they run standard Gradient Descent (GD) to completion and add a single "chunk" of noise to the final result. This is possible because smooth GD is inherently stable; small changes in input lead to small changes in output, allowing for lower sensitivity and thus less injected noise.
  2. Non-Convex Objectives: The authors introduce RRPSGD (Random Round Private Stochastic Gradient Descent). This algorithm adds noise to each iteration but uses a randomized stopping time drawn from a specific probability distribution. This technique allows for the first theoretical utility bounds for differentially private non-convex optimization, ensuring convergence to a stationary point.

Theoretical Comparison

Theoretical comparison of utility and runtime complexity between the proposed method and the previous state-of-the-art.

As shown in the theoretical analysis, the proposed methods significantly reduce runtime complexity. For strongly convex cases, the runtime moves from $O(n^2)$ or higher down to nearly linear $O(nd \log n)$. Crucially, the utility bounds match known lower bounds (ignoring log factors), meaning the algorithms are nearly as accurate as mathematically possible for any private algorithm.

Experimental Evaluation

The algorithms were evaluated on five UCI datasets (BANK, ADULT, CreditCard, WINE, and BIKE) using regularized logistic regression for classification and Huber regression for regression tasks.

Empirical comparison of error and runtime (CPU time) across various datasets and privacy parameters.

The experimental results demonstrate dramatic improvements in both speed and utility. For instance, on the BANK dataset with $\epsilon=0.1$, the proposed method achieved an error of 0.3983 in roughly 12.6 seconds, whereas the baseline method resulted in an error of 2.2552 and took 518.6 seconds—representing a ~40x speedup and significantly higher accuracy.

Conclusion and Limitations

By assuming $\beta$-smoothness, this research provides a shortcut to efficient private learning. Output perturbation avoids the "noise accumulation" typical of iterative private SGD, leading to superior performance. However, some limitations remain. For non-convex problems, the algorithm guarantees finding a stationary point rather than a global minimum. Additionally, the reliance on smoothness means that non-smooth loss functions (like ReLU or Hinge loss) require smooth approximations to benefit from these techniques. Future work may explore higher-dimensional settings and non-smooth objectives.

Summary updated

BibTeX
@inproceedings{zhang2017efficient,
  author = {Jiaqi Zhang and Kai Zheng and Wenlong Mou and Liwei Wang},
  title = {{Efficient Private ERM for Smooth Objectives}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=H1ZBVNfd-r},
}
Figure