Differentially private inference via noisy optimization

Marco Avella-Medina, Casey Bradshaw, Po-Ling LoharXiv 2021

Abstract

While differential privacy (DP) has become the standard for protecting individual data in statistical estimation, the transition from point estimation to valid statistical inference—such as constructing confidence intervals and performing hypothesis testing—remains a significant challenge. This paper introduces a robust framework for differentially private M-estimation. By integrating robust statistics with noisy second-order optimization methods, the authors provide a mathematically rigorous approach to generating private estimates that are both accurate and accompanied by reliable measures of uncertainty. The framework addresses the dual challenges of gradient clipping bias and the underestimation of variance inherent in standard private optimization.

Introduction

In the field of Differential Privacy (DP), the primary focus has historically been on estimation: identifying a single optimal value, such as a mean or a regression coefficient, while ensuring that the presence or absence of any single individual in the dataset remains hidden. However, in scientific and engineering contexts, an estimate is often insufficient without inference. To make informed decisions, researchers need to know the margin of error or the statistical significance of their findings.

Existing private optimization methods frequently encounter two critical hurdles:

  1. Bias from Clipping: To bound the influence of any single data point, algorithms typically "clip" large gradients. If the underlying data distribution is skewed, this clipping introduces a persistent bias into the final result.
  2. Unreliable Uncertainty Quantification: Standard formulas for calculating confidence intervals do not account for the "privacy noise" injected during the optimization process. This leads to intervals that are overly narrow and overconfident, failing to provide the promised coverage.

This research bridges the gap by providing a framework for private M-estimation—a broad class of estimators including maximum likelihood and least squares—that allows for valid hypothesis testing and the construction of reliable confidence regions.

Methodology

The authors propose three primary technical innovations to enable robust private inference:

1. Robust M-Estimation

Rather than relying on standard least-squares objectives, which are highly sensitive to outliers and require aggressive clipping, the authors employ robust loss functions, such as the Huber loss. These functions possess a "bounded influence" property. Because the influence of any single observation is naturally limited, these estimators are inherently compatible with DP requirements, reducing the need for the heavy-handed clipping that typically introduces bias.

2. Noisy Newton’s Method

While Noisy Gradient Descent (DP-SGD) is a common standard, the authors develop a Noisy Newton algorithm. This second-order method adds noise to both the gradient and the Hessian (the matrix of second derivatives). The authors demonstrate that this method achieves quadratic convergence. This is particularly vital for privacy because every iteration of an algorithm consumes a portion of the "privacy budget." By reaching the solution in significantly fewer steps than first-order methods, Noisy Newton can often achieve higher accuracy for a fixed privacy guarantee.

3. The Noisy Sandwich Formula

To calculate confidence intervals, statisticians traditionally use a "sandwich" variance estimator. The authors adapt this for the DP setting by adding matrix-valued noise to the components and applying a finite-sample bias correction. This correction explicitly accounts for the additional variance introduced by the privacy mechanism itself, ensuring the resulting intervals are statistically valid.

Experimental Evaluation

The framework was validated using a combination of synthetic benchmarks and real-world datasets:

  • San Francisco Housing Data: A dataset of approximately 286,000 home sales used to predict prices based on features like square footage and location.
  • Bank Telemarketing Data: A dataset of 45,000 records used for logistic regression to predict customer subscriptions to term deposits.
  • Simulated Benchmarks: Synthetic datasets designed to test convergence under various conditions of strong convexity and self-concordance.

Key Results

  • Optimal Convergence: The authors prove that their private estimators converge to the true value at the minimax optimal rate.
  • Efficiency Gains: In simulations, the Noisy Newton method reached high accuracy in roughly 8 iterations, whereas Noisy Gradient Descent required approximately 80 iterations to achieve comparable accuracy and privacy.
  • Inference Validity: The bias-corrected confidence intervals maintained near-perfect coverage (e.g., a 95% interval contained the true parameter 95% of the time). In contrast, uncorrected private intervals were frequently inaccurate, failing 20-30% of the time in smaller samples.

Discussion and Insights

The Synergy of Privacy and Robustness

A central insight of this work is that the mathematical tools developed for robust statistics in the 1970s to handle outliers are functionally equivalent to the tools needed to bound sensitivity in differential privacy. By leveraging robust loss functions, the authors minimize the "information loss" typically associated with making an algorithm private.

Accounting for the "Privacy Tax"

Standard statistical software is unaware of the random noise added to maintain privacy. The authors' corrected variance formula explicitly incorporates this "privacy tax" into the uncertainty calculation. This ensures that the reported confidence intervals reflect the total uncertainty—both from the sampling of the data and from the privacy mechanism itself.

Limitations and Future Work

While the framework is robust, it requires a reasonable initialization to ensure the Newton method converges. The authors suggest using a small number of Noisy Gradient Descent steps to find a suitable starting point. Additionally, the current work focuses on the "classical" regime where the number of observations ($n$) exceeds the number of variables ($p$). Future research will explore high-dimensional settings ($p > n$) using sparsity-inducing penalties like the Lasso, as well as methods to reduce the computational overhead of privatizing the Hessian matrix in extremely large-scale models.

Summary updated

BibTeX
@misc{avellamedina2021differentially,
  author = {Marco Avella-Medina and Casey Bradshaw and Po-Ling Loh},
  title = {{Differentially private inference via noisy optimization}},
  year = {2021},
  eprint = {2103.11003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.11003},
}
Figure