Differentially Private Non-Convex Optimization under the KL Condition with Optimal Rates

Michael Menart, Enayat Ullah, Raman Arora, Raef Bassily, Cristóbal Guzmán

Introduction

In modern machine learning, the dual challenges of non-convexity and data privacy often stand in opposition. While non-convex optimization is the standard for training deep neural networks, ensuring Differential Privacy (DP) typically requires injecting noise into the training process, which can significantly degrade convergence rates. This paper, presented at the 35th International Conference on Algorithmic Learning Theory (ALT 2024), bridges this gap by providing the first near-optimal algorithms for DP non-convex optimization under the Kurdyka-Łojasiewicz (KL) condition.

The Problem: Privacy in Non-Convex Landscapes

Optimizing general non-convex functions is NP-hard. Consequently, researchers often settle for finding stationary points where the gradient is zero. However, many practical loss functions exhibit a specific geometric property known as the Kurdyka-Łojasiewicz (KL) condition. This condition stipulates that the gradient's magnitude dominates the function's value relative to its minimum, effectively ensuring that as long as the error is high, the gradient remains large.

While optimal rates for DP optimization were previously established for convex functions and the specific Polyak-Łojasiewicz (PL) condition, a significant theoretical gap remained for the more general KL condition. The challenge lies in managing the privacy budget: DP requires adding noise to gradients to mask individual data points, but this noise can easily overwhelm the optimization signal in complex non-convex terrains.

Algorithmic Innovations

The authors propose three distinct algorithmic frameworks to address different regimes of the KL parameter $\kappa$, which measures the "sharpness" of the function around its minimum.

1. KL Spider (for $1 \le \kappa \le 2$)

Building on the SPIDER variance-reduction technique, the authors introduce a private variant that utilizes an adaptive stopping mechanism and variable round lengths. The core insight is that the KL condition allows the algorithm to tolerate more noise early in the process when gradients are large. As the algorithm approaches the optimum and gradients shrink, the rounds are lengthened to maintain the necessary signal-to-noise ratio.

2. Private Proximal Point Method (for $\kappa \ge 2$)

For functions that are "flatter" or weakly convex, the authors employ a private proximal point method. This approach iteratively solves a regularized version of the objective, providing stability in regimes where standard gradient descent might struggle with noise sensitivity.

3. Adaptive Noisy Gradient Descent

Perhaps most relevant for practitioners, the authors developed a version of Noisy Gradient Descent (GD) that is parameter-agnostic. In many real-world scenarios, the specific KL parameters ($\gamma, \kappa$) are unknown. This adaptive algorithm scales noise dynamically based on observed gradient norms, achieving nearly optimal rates without requiring prior knowledge of the function's geometry.

Key Insights: Gradients as a Privacy Shield

A central contribution of this work is the conceptualization of the "Privacy Shield." Because the KL condition ensures that the gradient norm is lower-bounded by the excess risk, high-risk states naturally produce large gradients. These large gradients possess a high signal-to-noise ratio, allowing the DP algorithm to utilize its privacy budget more efficiently during the early, high-error stages of training. This suggests that the difficulty of private optimization is not necessarily tied to convexity, but rather to the relationship between the gradient and the objective value.

Theoretical Results

The paper establishes several landmark results in the field of private optimization:

  • Optimal Rates: For the regime $\kappa \in [1, 2]$, the authors achieve an excess empirical risk rate of $\tilde{O}((\frac{\sqrt{d}}{n\sqrt{\rho}})^\kappa)$, where $n$ is the dataset size, $d$ is the dimension, and $\rho$ is the privacy parameter.
  • Lower Bounds: The authors provide mathematical proofs constructing "hard" instances, demonstrating that their achieved rates are nearly optimal and cannot be significantly improved by any DP algorithm.
  • Stationary Point Guarantees: Even in cases where the KL condition is not met, the adaptive algorithm is shown to find stationary points at a rate of $\tilde{O}(\frac{\sqrt{d}}{n\sqrt{\rho}})$, matching or exceeding the performance of existing non-variance-reduced methods.

Conclusion and Future Directions

This research demonstrates that non-convex problems satisfying the KL condition can be solved with the same efficiency as strongly convex problems in private settings. While the work is primarily theoretical, it lays the groundwork for more robust private training algorithms.

Future work remains to be done in extending these results to population risk (generalization) rather than just empirical risk. Additionally, while the KL Spider algorithm is theoretically powerful, its requirements for smoothness and Lipschitz continuity may require further refinement to be applied to non-smooth architectures like those using ReLU activations. The next step for this line of research is empirical validation within private deep learning frameworks to assess the real-world impact of adaptive noise scaling.

Summary updated

BibTeX
@inproceedings{menart2024differentially,
  author = {Michael Menart and Enayat Ullah and Raman Arora and Raef Bassily and Cristóbal Guzmán},
  title = {{Differentially Private Non-Convex Optimization under the KL Condition with Optimal Rates}},
  booktitle = {ALT},
  year = {2024},
  url = {https://openreview.net/forum?id=dD102yaQrg},
}
Figure