How to Make the Gradients Small Privately: Improved Rates for Differentially Private Non-Convex Optimization

Andrew Lowy, Jonathan R. Ullman, Stephen J. Wright · DOI · OpenReview

TL;DR

This paper introduces a novel "warm-start" framework for differentially private optimization, significantly improving the efficiency of finding approximate stationary points in non-convex machine learning problems. By leveraging a private approximate risk minimizer to "warm-start" a subsequent optimization algorithm, they achieve state-of-the-art and sometimes optimal rates for various classes of non-convex functions, including smooth empirical losses, quasar-convex functions, and Kurdyka-Łojasiewicz (KL) functions.

What Problem Does This Paper Address?

Machine learning models, especially large ones, can inadvertently leak sensitive information about their training data, posing a privacy risk. Differential privacy (DP) offers a rigorous mathematical guarantee against such leaks. However, achieving DP in optimization, particularly for non-convex functions which are ubiquitous in ML, has been challenging. Existing DP optimization methods often suffer from suboptimal convergence rates, meaning they require more data or computation to reach a desired level of accuracy compared to their non-private counterparts. This paper specifically targets the problem of finding approximate stationary points (points where the gradient is small) of non-convex functions under DP, aiming to close the gap between existing DP rates and theoretical lower bounds.

Methods

The core contribution is a general algorithmic framework that combines two DP algorithms:

  1. Warm-Start Algorithm (A): This algorithm is designed to find an approximate global minimizer or a point with low excess risk. The authors propose using the exponential mechanism for this purpose in the context of empirical risk minimization.
  2. Stationary Point Finder (B): This algorithm takes the output of Algorithm A as an initialization and refines it to find a stationary point. The authors leverage existing DP stationary point finders, such as DP-SPIDER and its second-order stationary point (SOSP) variant.

The framework's effectiveness stems from the observation that the stationarity guarantee of Algorithm B improves when initialized with a "good" starting point (low excess risk) from Algorithm A. This "warm-start" approach allows them to achieve better rates than running Algorithm B alone. They also introduce a DP-SGD algorithm specifically for quasar-convex functions.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and uses synthetic data for experimental validation.

Key Insights and Ideas

  • Warm-Starting for DP Optimization: The central idea is that a DP algorithm that excels at minimizing excess risk can be used to "warm-start" another DP algorithm that finds stationary points. This combination yields better overall performance than either algorithm alone.
  • Breaking the 2/3 Barrier: For smooth non-convex empirical losses, the paper achieves a new state-of-the-art rate of $\tilde{O}((\frac{\sqrt{d}\ln(1/\delta)}{\epsilon n})^{1/6})$, which improves upon the previously best known rate of $\tilde{O}((\frac{\sqrt{d}\ln(1/\delta)}{\epsilon n})^{2/3})$. This is a significant theoretical advancement.
  • Optimal Rates for Special Classes: The authors demonstrate that for quasar-convex and KL* functions, their framework can achieve optimal (up to logarithmic factors) rates for finding stationary points, a feat not previously accomplished under DP for these non-convex settings.
  • Generalizability: The framework is flexible and can be applied to various DP stationary point finders, leading to improved rates for both first-order and second-order stationary points.

Key Results

The paper presents several key theoretical results, summarized by improved rates for finding stationary points under DP:

  • Smooth Non-Convex Empirical Losses: Achieves $\tilde{O}((\frac{\sqrt{d}\ln(1/\delta)}{\epsilon n})^{1/6})$-stationary points, improving over the previous $\tilde{O}((\frac{\sqrt{d}\ln(1/\delta)}{\epsilon n})^{2/3})$ rate when $d < n\epsilon$.
  • Quasar-Convex Empirical Losses: Achieves the optimal rate $\tilde{O}(\frac{\sqrt{d}\ln(1/\delta)}{\epsilon n})$ (up to logs).
  • KL* Empirical Losses: Achieves near-optimal rates, specifically $\tilde{O}(\frac{\sqrt{d}\ln(1/\delta)}{\epsilon n})$ for $\mu$-PL* functions.
  • Population Loss Functions: Achieves new state-of-the-art rates for second-order stationary points, improving over $\tilde{O}(1/n^{1/3} + (\frac{\sqrt{d}}{\epsilon n})^{3/7})$. For constant $d$ and $\epsilon$, the rate becomes $\tilde{O}(1/\sqrt{n})$, matching the non-private lower bound.
  • Non-Convex GLMs: Provides improved rates for both first- and second-order stationary points, outperforming previous results when $r < n\epsilon$.

The experimental results (Figures 2 and 3) show that their proposed algorithm (warm-start DP-SGD + DP-SPIDER) outperforms baselines (DP-SGD and DP-SPIDER) in the high privacy regime ($\epsilon \le 1$).

Limitations and Future Work

  • Gap for General Non-Convex Losses: While the paper improves rates for general non-convex empirical losses, a gap still exists between their upper bounds and the theoretical lower bounds (which hold even for convex functions). The authors believe these lower bounds might be attainable for non-convex losses with further algorithmic development.
  • Computational Efficiency: The paper focuses on theoretical rate improvements. Future work could explore whether similar improvements can be achieved with more computationally efficient algorithms.
  • Large-Scale Empirical Validation: The authors suggest that more extensive, large-scale experiments would be beneficial to determine the most effective ways to leverage their algorithmic framework in practice.
  • Lower Bound for KL*: The paper notes that for KL functions, stationarity is a stronger measure than excess risk, and their work provides optimal rates for stationarity. However, the lower bound for KL excess risk is also discussed, suggesting potential for further exploration in that area.

Summary updated

BibTeX
@inproceedings{lowy2024how,
  author = {Andrew Lowy and Jonathan R. Ullman and Stephen J. Wright},
  title = {{How to Make the Gradients Small Privately: Improved Rates for Differentially Private Non-Convex Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=XoSF46Pc2e},
}
Figure