Differentially Private Generalized Linear Models Revisited

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

TL;DR

This paper provides new, nearly optimal privacy-utility trade-offs for Generalized Linear Models (GLMs). The authors bridge the gap for non-Lipschitz smooth losses (like squared loss) and tighten existing bounds for Lipschitz losses, all while introducing a private model selection method that removes the need to know the model's scale in advance.

The Challenge of Private GLMs

Differential Privacy (DP) is the gold standard for protecting individual data in machine learning, but it often comes at the cost of model accuracy (utility). For Generalized Linear Models—a broad class including linear and logistic regression—researchers have historically struggled with two main restrictive assumptions:

  1. The Lipschitz Assumption: Most DP algorithms assume the loss function is "Lipschitz," meaning it doesn't change too abruptly. However, many common losses, like the squared loss used in linear regression, are not globally Lipschitz. Previous work often relied on "gradient clipping," which can fundamentally change the problem being solved and degrade performance.
  2. Prior Knowledge of Model Scale: Many "optimal" DP algorithms require knowing the norm (the size) of the best possible model parameter ($\|w^*\|$) beforehand. In practice, this is unknown, and guessing incorrectly can lead to poor privacy guarantees or terrible accuracy.

This paper aims to find the fundamental limits (lower bounds) and the best possible algorithms (upper bounds) for DP-GLMs without relying on these restrictive assumptions.

Algorithmic Innovations

The authors employ three primary algorithmic strategies to achieve their theoretical breakthroughs:

  • Noisy Gradient Descent (GD) with Average Stability: Instead of the standard "uniform stability" analysis, the authors use an "average stability" framework. This allows them to prove that Noisy GD performs significantly better on smooth, non-negative functions than previously thought, avoiding the need for aggressive gradient clipping.
  • Dimensionality Reduction (JL Transform): In high-dimensional settings where the number of features ($d$) is large, the authors use the Johnson-Lindenstrauss (JL) transform to project the data into a lower-dimensional space. The model is trained in this reduced space and then projected back, effectively bypassing the "curse of dimensionality" inherent in DP.
  • Private Model Selection: To solve the problem of not knowing $\|w^*\|$, the authors developed a private grid search. The algorithm generates several candidate models based on different "guesses" for the norm and uses a differentially private mechanism (a penalized version of the Exponential Mechanism) to select the best one using a validation set.

Key Insights and Results

The paper establishes new upper and lower bounds for the "excess population risk"—a measure of how much worse the private model is compared to the best possible non-private model.

Summary of upper and lower bounds for DP and non-private GLMs.
  • The Smoothness Advantage: The paper highlights that for non-negative losses, "smoothness" is a powerful property that can substitute for Lipschitzness. By leveraging the "self-bounding" property of smooth functions (where the gradient's magnitude is bounded by the function's value), they can control the sensitivity of the algorithm. For smooth non-negative losses, they achieve a rate of $\tilde{O}\left(\frac{\|w^*\|}{\sqrt{n}} + \min\left\{\frac{\|w^*\|^2}{(n\epsilon)^{2/3}}, \frac{\sqrt{d}\|w^*\|^2}{n\epsilon}\right\}\right)$, and prove a matching lower bound.
  • Phase Transitions in Dimensionality: The research identifies a clear "phase transition" in the optimal error rate. When the dimension $d$ is small, the error depends on $\sqrt{d}$. As $d$ grows, the optimal strategy shifts to a dimension-independent rate that instead depends more heavily on the privacy parameter $\epsilon$ and the sample size $n$.
  • Closing the Lipschitz Gap: For the well-studied case of Lipschitz losses, the authors found that previous work was slightly sub-optimal in the "high privacy" regime (where $\epsilon$ is very small). They provide a refined analysis showing the optimal rate is $\Theta\left(\frac{\|w^*\|}{\sqrt{n}} + \min\left\{\frac{\|w^*\|}{\sqrt{n\epsilon}}, \frac{\sqrt{\text{rank}}\|w^*\|}{n\epsilon}\right\}\right)$, closing the existing gap.
  • Parameter-Free Learning: Crucially, their model selection approach allows these optimal rates to be achieved without a-priori knowledge of the optimal model's norm, making the algorithms significantly more practical.

Limitations and Future Work

  • Logarithmic Factors: The upper bounds contain "log factors" (small mathematical overheads) that the lower bounds do not, leaving a tiny theoretical gap to be closed in future work.
  • Computational Complexity: While the JL transform and Noisy GD are efficient, the private model selection adds a layer of complexity (training multiple models) that might be computationally expensive for extremely large-scale problems.
  • Empirical Validation: As a purely theoretical work focused on proving mathematical bounds, the authors do not evaluate these algorithms on empirical datasets. The next logical step is to implement these algorithms on real-world private datasets to observe how the theoretical "tightness" translates to practical performance gains over standard clipped SGD.

Summary updated

BibTeX
@inproceedings{arora2022differentially,
  author = {Raman Arora and Raef Bassily and Cristóbal A Guzmán and Michael Menart and Enayat Ullah},
  title = {{Differentially Private Generalized Linear Models Revisited}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=agihaAKJ89X},
}
Figure