Differentially Private Confidence Intervals for Empirical Risk Minimization

Yue Wang, Daniel Kifer, Jaewoo Lee

Introduction

Differential Privacy (DP) has emerged as the gold standard for protecting individual privacy in machine learning. While significant research has focused on training private models, quantifying the uncertainty of the resulting parameters remains a critical gap. In scientific research and policy-making, a point estimate is often insufficient; practitioners require confidence intervals (CIs) to understand the reliability of their findings. This paper introduces a comprehensive framework for generating differentially private confidence intervals for models trained via Empirical Risk Minimization (ERM).

The Dual Sources of Uncertainty

When training a model under differential privacy, the resulting parameters $\tilde{\theta}$ are subject to two distinct sources of error:

  1. Sampling Error: The inherent variability that arises because the training data is a sample from a larger population.
  2. Privacy Noise: The randomness intentionally injected by DP mechanisms (such as objective or output perturbation) to protect individual records.

Standard statistical methods only account for sampling error. To provide valid inference, a private CI must account for both sources of noise while ensuring that the interval itself does not leak sensitive information.

Methodology: Private Inference for ERM

The authors focus on ERM models, including Logistic Regression and Support Vector Machines (SVM). Their framework utilizes two primary DP techniques: objective perturbation (adding noise to the loss function) and output perturbation (adding noise to the final parameters).

The Three-Step Framework

The proposed approach involves:

  1. Private Parameter Estimation: Training the model using established DP mechanisms to obtain noisy parameters $\tilde{\theta}$.
  2. Distributional Approximation: Leveraging Taylor’s Theorem and the Central Limit Theorem to approximate the distribution of $(\tilde{\theta} - \theta^*)$, where $\theta^*$ is the true population parameter. This distribution is characterized by the data's Hessian (second derivatives of the loss) and Covariance matrices.
  3. Private Matrix Estimation via PrivSPDMat: Because the Hessian and Covariance matrices are derived from raw data, they must be released privately. The authors developed PrivSPDMat, an algorithm that produces private, symmetric, positive-definite versions of these matrices.

Privacy Budget Management

A key contribution is the strategy for splitting the privacy budget ($\epsilon$). To generate a private CI, the total budget must be partitioned into three components:

  • $\epsilon_1$: For training the model parameters.
  • $\epsilon_2$: For estimating the Hessian matrix.
  • $\epsilon_3$: For estimating the Covariance matrix.

Experimental Evaluation

The framework was tested on five diverse real-world datasets: Adult, KDDCUP99, Banking, IPUMS-US, and IPUMS-BR. These datasets range from 30,000 to nearly 5 million records, providing a rigorous test of scalability and robustness.

Key Findings

  • Coverage and Validity: The experiments confirmed that the 95% private CIs maintained the nominal coverage rate, containing the true parameter at least 95% of the time across all test cases.
  • The Impact of zCDP: The study explored Zero-Concentrated Differential Privacy (zCDP). Under this framework, output perturbation—often considered inferior in pure $\epsilon$-DP—becomes highly competitive, frequently yielding tighter intervals when paired with the Gaussian mechanism.
  • Sample Complexity: Private CIs require significantly more data than non-private ones to achieve comparable precision. For instance, on the Adult dataset, a private CI might require 5 to 10 times more data to match the tightness of a standard CI.
  • Computational Efficiency: The algorithms are highly efficient; generating a private CI for a dataset with 450,000 records takes only a few seconds on standard hardware.

Limitations and Future Work

While this work represents a significant step forward, several challenges remain:

  • Convexity and Convergence: The current theoretical guarantees require the loss function to be convex and the optimization to reach a global optimum. This excludes modern deep learning techniques like early stopping or non-convex optimization via SGD.
  • Theoretical Lower Bounds: Establishing theoretical lower bounds on the length of private CIs remains an open problem.

Conclusion

By bridging the gap between differential privacy and statistical inference, this research provides the tools necessary for rigorous, privacy-preserving data science. It moves DP beyond simple model release toward a framework that supports the nuanced uncertainty quantification required for high-stakes decision-making.

Summary updated

BibTeX
@article{wang2019differentially,
  author = {Yue Wang and Daniel Kifer and Jaewoo Lee},
  title = {{Differentially Private Confidence Intervals for Empirical Risk Minimization}},
  journal = {J. Priv. Confidentiality},
  year = {2019},
  doi = {10.29012/jpc.660},
}
Figure