Gradient Perturbation is Underrated for Differentially Private Convex Optimization

Da Yu, Huishuai Zhang, Wei Chen, Jian Yin, Tie-Yan Liu

Abstract

This paper bridges the gap between the strong empirical performance of gradient perturbation (e.g., DP-SGD) and its previously pessimistic theoretical guarantees. By introducing the concept of expected curvature, the authors prove that adding noise at every iteration allows optimization to leverage the average geometry of the loss surface. This leads to significantly tighter utility bounds that finally explain why gradient perturbation often outperforms other private optimization methods in practice.

Introduction

Training machine learning models on sensitive data requires Differentially Private Empirical Risk Minimization (DP-ERM) to protect individual privacy. Traditionally, three methods are used to inject privacy noise:

  1. Output Perturbation: Adding noise to final model parameters.
  2. Objective Perturbation: Adding a random noise term to the loss function.
  3. Gradient Perturbation: Adding noise to gradients at every training step (e.g., DP-SGD).

While gradient perturbation is the empirical gold standard, existing theory suggested it was no better than other methods. This discrepancy arose because previous analyses relied on minimum curvature ($\mu$), the "flattest" part of the loss surface. If a function is nearly flat in any direction, theoretical utility bounds become poor, even if the function is steep and easy to optimize elsewhere.

The Expected Curvature Framework

The authors introduce expected curvature ($\nu$) to replace the worst-case minimum curvature. Instead of analyzing the flattest point across the entire domain, they analyze the average curvature encountered along the optimization path as it is influenced by Gaussian noise.

Expected curvature $\nu$ vs. noise level $\sigma$ for Sonar and Swedish Motor datasets.

As shown in the figure above, the expected curvature $\nu$ is typically much larger than the minimum curvature $\mu$. For instance, on the Swedish Motor dataset, $\mu \approx 9.07 \times 10^{-6}$ while $\nu \approx 0.24$. Because noise is injected during the iterative process, gradient perturbation is uniquely positioned to "feel" this higher average steepness, leading to tighter error bounds.

Empirical Evaluation

The approach was evaluated on several real-world benchmarks, including Adult (census data), MNIST (handwritten digits), and high-dimensional text datasets like Real-sim and RCV1.

Accuracy vs. privacy budget $\epsilon$ for Adult and RCV1 datasets across different DP methods.

As illustrated in the empirical results, DP-Gradient Descent (DP-GD) and DP-SGD consistently outperform state-of-the-art Objective Perturbation and Output Perturbation methods across different privacy budgets ($\epsilon$). On RCV1, DP-GD reached 74.9% accuracy compared to 64.5% for the best objective perturbation method.

Key Insights

  • Noise as a Feature: In this framework, noise is not just a hindrance; it allows the optimization trajectory to sample local geometry, making the average steepness of the landscape more relevant than its flattest point.
  • Robustness: Gradient perturbation is more flexible because it only requires bounding the sensitivity of individual updates (via gradient clipping) rather than making strong global assumptions about the objective function.
  • Theoretical Superiority: The authors established new utility guarantees for DP-SGD at $O(\frac{\sqrt{p}L^2 \log n}{n \nu \epsilon})$, removing the dependency on $\mu$.

Conclusion

This work provides a theoretical foundation for the practical success of gradient perturbation in private convex optimization. While the current proofs are limited to convex landscapes, the "expected curvature" framework offers a promising path for understanding how noise influences convergence in more complex, non-convex deep learning environments. Future work may extend these insights to analyze non-private stochastic optimization.

Summary updated

BibTeX
@inproceedings{yu2020gradient,
  author = {Da Yu and Huishuai Zhang and Wei Chen and Jian Yin and Tie-Yan Liu},
  title = {{Gradient Perturbation is Underrated for Differentially Private Convex Optimization}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/431},
}
Figure