User-level Private Stochastic Convex Optimization with Optimal Rates

Raef Bassily, Ziteng SunICML 2023

Executive Summary

This paper establishes the optimal error rates for Stochastic Convex Optimization (SCO) under the rigorous constraint of user-level differential privacy (DP). By leveraging the generalization properties of differential privacy alongside novel mean estimation techniques, the authors improve existing bounds in the central privacy model by a factor of $\sqrt{d}$ (where $d$ is the dimensionality of the problem) and provide the first optimal rates for the more restrictive local privacy model.

Introduction: The Challenge of User-Level Privacy

Stochastic Convex Optimization (SCO) serves as the mathematical backbone for most machine learning, defining the process of finding model parameters that minimize a loss function based on data samples. When the underlying data is sensitive—such as medical records or personal typing patterns—Differential Privacy (DP) is employed to ensure the optimization output does not leak individual information.

Historically, most DP-SCO research has focused on item-level privacy, assuming each person contributes exactly one data point. However, in real-world applications like federated learning on mobile devices, a single user typically contributes a local dataset of $m$ samples. In these scenarios, item-level privacy is insufficient. We instead require user-level privacy, which guarantees that the algorithm's output remains statistically indistinguishable even if an entire user's local dataset is completely replaced.

User-level privacy is notoriously difficult to satisfy. Previous attempts either yielded sub-optimal rates that scaled poorly with the problem's dimensionality ($d$) or failed to fully exploit the statistical advantage of users having multiple samples ($m > 1$).

Algorithmic Frameworks

The authors propose two primary algorithmic frameworks to address the central and local DP settings:

1. Central DP (Trusted Server)

In the central model, the authors utilize a "Truncated Mean Estimation" meta-algorithm combined with a multi-pass Noisy Stochastic Gradient Descent (SGD). The key innovation lies in how they handle adaptivity. In multi-pass algorithms, the gradient at step $t$ depends on all previous steps, which typically breaks the statistical independence needed for tight bounds. The authors ingeniously use the generalization properties of DP to prove that gradients remain concentrated around their true values across all iterations, successfully bypassing the "dimensionality curse" that hindered prior work.

2. Local DP (Untrusted Server)

In the local setting, data must be privatized before it ever leaves the user's device. To achieve this, the authors introduce a new variance-reduced local DP gradient estimator tailored for high-dimensional data. Because standard SGD requires impractically high smoothness to function in the local setting, the authors deploy accelerated mini-batch SGD to achieve optimal rates under much milder conditions.

Key Theoretical Insights

As a theoretical paper focused on minimax optimal rates, the results are validated through rigorous mathematical proofs and lower-bound constructions rather than empirical datasets. Two major insights drive the proofs:

  • The Power of $m$: The authors demonstrate that having $m$ samples per user effectively reduces the "effective" Lipschitz constant of the loss function. By averaging $m$ samples locally, gradient estimates become significantly more concentrated. This allows the algorithm to inject less noise while maintaining the same rigorous privacy guarantees.
  • DP as an Analytical Regularizer: One of the paper's most elegant contributions is using the definition of differential privacy itself to prove statistical concentration. Because the algorithm is private, its iterates cannot depend too strongly on any single user's data. This inherent stability is exactly what is needed to prove that gradients do not deviate wildly, even when the algorithm processes the data multiple times.

Main Results: Achieving Optimal Rates

The paper evaluates performance based on "excess population risk"—a measure of how much worse the private model performs compared to the best possible non-private model.

  • Central DP Rate: $\tilde{O}\left( \frac{1}{\sqrt{nm}} + \frac{\sqrt{d}}{n\sqrt{m}\varepsilon} \right)$. This represents a crucial $\sqrt{d}$ improvement over the previous state-of-the-art result by Levy et al. (2021), effectively closing the gap to match known lower bounds and proving the rate is truly optimal.
  • Local DP Rate: $\tilde{O}\left( \frac{\sqrt{d}}{\sqrt{nm}\varepsilon} \right)$. This is the first result demonstrating that in the local setting, increasing the number of samples per user ($m$) improves the error rate at the exact same scale as increasing the total number of users ($n$).
  • Lower Bounds: The authors also prove a new lower bound for the local setting, demonstrating that if the number of users $n$ is too small relative to the dimension $d$, no private algorithm can achieve non-trivial utility.

Limitations and Future Directions

While the paper resolves major open questions in DP-SCO, the authors note a few limitations and areas for future exploration:

  • Smoothness Requirements: The optimal rates for the central model require the loss function to be $\beta$-smooth. While the authors use Moreau envelope smoothing to handle non-smooth functions, this technique introduces a dependency on the number of users $n$ that might be improvable in future work.
  • Behavior at Extreme $m$: The central DP rate is optimal for a specific range of $m$. Due to the fundamental limits of privacy, the rate does not approach zero as $m \to \infty$. Exploring the precise behavior of these algorithms for extremely large $m$ remains an open question.
  • Computational Complexity: Although the proposed algorithms run in polynomial time, the local DP setting requires high-dimensional rotations (such as Hadamard transforms) and grouping. These operations could benefit from hardware-specific optimizations in practical, real-world deployments.

Summary updated

BibTeX
@inproceedings{bassily2023user,
  author = {Raef Bassily and Ziteng Sun},
  title = {{User-level Private Stochastic Convex Optimization with Optimal Rates}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=4UStsbnfVT},
}
Figure