Score Attack: A Lower Bound Technique for Optimal Differentially Private Learning

T. Tony Cai, Yichen Wang, Linjun Zhang · DOI

Introduction

Differential Privacy (DP) has emerged as the gold standard for protecting individual privacy in large-scale datasets. However, the implementation of DP mechanisms inherently introduces a trade-off: as privacy guarantees strengthen, statistical accuracy typically declines. A fundamental question in private machine learning is determining the "minimax risk"—the minimum possible error any algorithm must incur in the worst-case scenario under a specific privacy constraint.

While classical statistical tools like Le Cam’s or Fano’s lemmas provide a framework for establishing lower bounds in non-private settings, they often prove inadequate when privacy constraints are introduced. Previous research into private lower bounds has largely been ad hoc, focusing on specific models like Gaussian mean estimation without providing a generalized methodology. This paper introduces the Score Attack, a universal framework for establishing minimax lower bounds across a wide array of statistical models with well-defined likelihood functions.

The Score Attack Framework

The authors propose the Score Attack as a generalization of "tracing attacks," which are designed to determine if a specific individual's data was included in a model's training set. The framework operates on the principle that if a private algorithm is "too accurate," it inevitably leaks information about its training samples, thereby violating the privacy budget.

Methodology

  1. The Attack Statistic: The framework utilizes a test statistic based on the score function—the gradient of the log-likelihood of the model. By analyzing how the model's output correlates with the score function of a specific data point, the authors can detect the presence of that data point in the training set.
  2. Establishing the Lower Bound: By proving that any $(\epsilon, \delta)$-differentially private algorithm must be resistant to this score-based tracing attack, the authors mathematically derive a lower bound on the estimation error.
  3. Stein’s Lemma: To generalize these bounds across the entire parameter space, the authors employ Stein’s Lemma. This classic tool from probability theory allows them to connect the expected estimation error to the underlying geometry of the parameter space.
  4. Algorithmic Optimality: To demonstrate that these lower bounds are "tight," the authors adapt DP algorithms—such as Noisy Gradient Descent and Noisy Iterative Hard Thresholding—showing that their performance matches the derived lower bounds within small logarithmic factors.

Quantifying the Cost of Privacy

A key insight of this work is the explicit decomposition of error into two distinct components: the standard statistical error and the privacy error. In Generalized Linear Models (GLMs), for instance, the privacy error is shown to scale as $d^2 / (n^2 \epsilon^2)$, where $d$ represents the dimension and $\epsilon$ the privacy budget. This quantification allows researchers to understand exactly how much accuracy is sacrificed for a given level of privacy.

Furthermore, the paper demonstrates that sparsity can significantly mitigate the cost of privacy. In high-dimensional settings where only $s$ variables are significant ($s \ll d$), the privacy cost scales with the sparsity $s$ rather than the total dimension $d$. This provides a theoretical justification for the efficacy of private sparse recovery algorithms.

Applications Across Statistical Models

The Score Attack framework was successfully applied to four major classes of statistical problems, establishing minimax optimal rates for each:

  • Generalized Linear Models (GLMs): The authors established the lower bound and confirmed its optimality using a noisy gradient descent approach.
  • Bradley-Terry-Luce (BTL) Ranking: The work provides the first optimal private parameter estimation rates for pairwise ranking models, which are essential for recommendation systems and sports analytics.
  • High-dimensional Sparse GLMs: The results show that privacy costs grow only logarithmically with the total number of features, provided the underlying model is sparse.
  • Non-parametric Sobolev Regression: The authors extended the Score Attack from finite-dimensional parameters to infinite-dimensional function spaces. They matched the lower bound using a sophisticated "K-norm" mechanism, demonstrating the framework's versatility.

Limitations and Future Directions

While the Score Attack provides a powerful new tool for private learning, several avenues for future research remain. There are still minor "logarithmic gaps" between some lower and upper bounds, which may be artifacts of current data truncation processes or specific algorithmic implementations. Additionally, the current framework focuses primarily on $\ell_2$ (squared error) loss; extending these bounds to non-Euclidean metrics or classification-specific losses is an open challenge.

Finally, the paper notes a distinction between "approximate" $(\epsilon, \delta)$-DP and "pure" $\epsilon$-DP. While the lower bounds apply to the former, some optimal algorithms only satisfy the latter, raising questions about whether pure DP is inherently more computationally or statistically expensive in complex models.

Summary updated

BibTeX
@misc{cai2023score,
  author = {T. Tony Cai and Yichen Wang and Linjun Zhang},
  title = {{Score Attack: A Lower Bound Technique for Optimal Differentially Private Learning}},
  year = {2023},
  eprint = {2303.07152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.07152},
}
Figure