Private Stochastic Convex Optimization: Efficient Algorithms for Non-smooth Objectives

Raman Arora, Teodor V. Marinov, Enayat UllaharXiv 2020

TL;DR

This paper introduces a new, computationally efficient algorithm for Private Stochastic Convex Optimization (SCO) that handles non-smooth objective functions. By utilizing a specialized version of noisy mirror descent, the authors achieve optimal statistical rates and linear runtime ($O(n)$) in the regime where the privacy parameter is small relative to the number of samples.

What Problem Does This Paper Address?

In machine learning, we often want to minimize "population risk"—the expected loss over an entire distribution—using only a finite set of private samples. Differential Privacy (DP) has become the gold standard for ensuring these models don't leak sensitive information about individual training points.

However, there is often a tension between three goals:

  1. Statistical Efficiency: Using as few samples as possible to reach a target accuracy.
  2. Computational Efficiency: Running the algorithm quickly (ideally in linear time, $O(n)$).
  3. Generality: Handling "non-smooth" functions (like those used in Support Vector Machines), which don't have continuous derivatives.

Previous work either required super-linear time (up to $O(n^5)$) to handle non-smooth functions privately or could only achieve linear time for smooth functions. This paper fills that gap, providing a linear-time algorithm that works for non-smooth objectives under specific privacy regimes.

Methods

The authors propose a variant of Online Stochastic Mirror Descent (OSMD), which they call Private SGD (Algorithm 1). Mirror descent is a generalization of standard Gradient Descent that uses "Bregman divergences" to better suit the geometry of the problem space.

The key technical innovations include:

  • Noisy Gradient Updates: Standard DP-SGD adds Gaussian noise to gradients. This algorithm follows that pattern but integrates it into the mirror descent framework.
  • Fresh vs. Seen Samples: The algorithm processes a stream of data. In each iteration, it samples an index from the dataset. If the sample is "fresh" (never seen before), it performs a noisy gradient update. If the sample has already been used, it performs a "noise-only" step—perturbing the current model state with noise but without calculating a new gradient.
  • Privacy Amplification: This "noise-only" step is crucial for the privacy proof. It allows the algorithm to benefit from "privacy amplification by iteration," ensuring that the privacy "budget" isn't exhausted too quickly even when the algorithm runs for many iterations.
  • Stopping Criterion: The algorithm terminates once half of the training set has been processed at least once.

Datasets

This paper is a theoretical contribution and does not evaluate the algorithm on empirical datasets. The proofs are based on the mathematical properties of convex, Lipschitz-continuous functions and the standard framework of $(\epsilon, \delta)$-differential privacy.

Key Insights and Ideas

  • The "Noise-Only" Trick: The most clever part of the algorithm is how it handles re-sampling. By adding noise even when no new information is extracted from the data, the authors maintain a consistent privacy profile that simplifies the analysis and enables the use of advanced privacy accounting techniques (like Rényi Differential Privacy).
  • Bridging the Smoothness Gap: Previously, achieving $O(n)$ runtime for private SCO required the objective function to be smooth (having Lipschitz-continuous gradients). This paper shows that for the regime where $\epsilon \approx 1/\sqrt{n}$, smoothness is not a requirement for optimality.
  • Linear Time is Possible: The paper demonstrates that we don't need to sacrifice computational speed for privacy, even with non-smooth objectives. The algorithm's oracle complexity (number of gradient calls) matches the optimal non-private rate.

Key Results

The main result is a bound on the excess population risk (how much worse the private model is compared to the absolute best possible model).

For a dataset of size $n$, dimension $d$, and privacy parameters $\epsilon, \delta$, the algorithm achieves an excess risk of: $$\tilde{O}\left(\frac{1}{\sqrt{n}} + \frac{\sqrt{d}}{\epsilon n}\right)$$ This rate is achieved in linear time ($O(n)$ gradient queries) specifically when the privacy parameter $\epsilon$ is small (roughly $\epsilon \leq 1/\sqrt{n}$). This matches the best-known statistical lower bounds for this problem, meaning the algorithm is "optimal" in this regime.

Limitations and Future Work

  • Privacy Regime Constraint: The optimality of the $O(n)$ runtime is currently proven only for the regime where $\epsilon$ is inversely proportional to $\sqrt{n}$. While this is a common regime in large-scale learning, the behavior for larger $\epsilon$ (weaker privacy) remains a point for further optimization.
  • Strong Convexity: The authors suggest that their analysis could be extended to strongly convex functions to achieve even faster rates, but they leave the formal proof for future work.
  • Geometry Extensions: While the paper focuses on $\ell_2$ geometry (standard Euclidean space), the Mirror Descent framework is designed to handle other geometries (like the simplex for sparse problems). The authors note that extending the privacy guarantees to these other geometries is a promising next step.

Summary updated

BibTeX
@misc{arora2020private,
  author = {Raman Arora and Teodor V. Marinov and Enayat Ullah},
  title = {{Private Stochastic Convex Optimization: Efficient Algorithms for Non-smooth Objectives}},
  year = {2020},
  eprint = {2002.09609},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.09609},
}
Figure