Differentially Private Regression with Gaussian Processes

Michael T. Smith, Mauricio A. Álvarez, Max Zwiessele, Neil D. LawrenceAISTATS 2018

Introduction

As machine learning models increasingly leverage sensitive personal data, the need for robust privacy guarantees has become paramount. Differential Privacy (DP) provides a rigorous mathematical framework to ensure that the inclusion or exclusion of a single individual's data does not significantly alter the output of a model. However, applying DP to non-parametric models like Gaussian Processes (GPs) is notoriously difficult. Standard approaches often introduce so much noise that the resulting predictive models lose all practical utility. This paper introduces a novel "cloaking" technique that drastically reduces the noise required for DP guarantees in GP regression by leveraging the knowledge of test input locations.

The Privacy Challenge in Gaussian Processes

The authors focus on protecting the training outputs ($y$) of a GP while assuming the training inputs ($X$) are public. Consider a scenario where household locations are public, but their income levels are private. A GP trained to predict income must not leak the specific income of any individual household.

Existing methods for functional DP typically add noise sampled from the GP's prior covariance. Because the prior allows for a wide range of highly correlated function variations, the amount of noise needed to mask the sensitivity of a single data point is massive. This often results in predictions that are completely overwhelmed by noise, rendering the model useless for real-world applications.

Methodology: The Cloaking Method

The core contribution of this work is the Cloaking Method. The authors observe that if test points (queries) are known a priori, it is unnecessary to protect the entire continuous function. Instead, privacy only needs to be maintained for the specific predictions at those known locations.

The Mechanism

  1. Sensitivity Analysis: The method calculates exactly how sensitive the predictions at the known test points are to changes in any single training output.
  2. Custom Noise Covariance: Rather than using the prior, the authors optimize a custom noise covariance matrix. This matrix is "sculpted" to be just large enough to mask specific perturbations at the test points without adding unnecessary, correlated noise across the entire domain.
  3. Private Hyperparameter Tuning: To ensure end-to-end privacy, the authors also implement the exponential mechanism to select GP hyperparameters (such as lengthscale and noise variance) privately.
Conceptual comparison of standard DP vs. Cloaking.

Experimental Evaluation

The authors evaluated the Cloaking Method across three distinct datasets to test its performance in 1D and spatial regression tasks:

  • !Kung San Women: A demographic dataset predicting height (private) from age (public).
  • Citi Bike (NYC): Predicting journey duration (private) based on start and finish coordinates (public) using 1.46 million records.
  • London Land Registry: A spatial dataset predicting property prices (private) based on geographic locations (public).

Key Results

On the !Kung San dataset, the baseline functional DP method required scaling noise by a factor of ~28.5, which destroyed the predictive signal. In contrast, the Cloaking Method achieved an RMSE of 12.2 cm, significantly closer to the non-DP baseline of 6.8 cm.

Standard vs. Cloaking performance on the !Kung San dataset.

In the Citi Bike experiment, the Cloaking Method ($\epsilon = 1$) achieved an RMSE of 493 seconds, outperforming traditional "binning" baselines (586 seconds). While private hyperparameter tuning does incur a small utility penalty (e.g., RMSE increasing from 14.3 cm to 17.4 cm on the !Kung dataset), the results remain within a practical range.

Key Insights and Discussion

Spatial Distribution of Noise

A fascinating property of the Cloaking Method is its adaptation to data density. In dense regions, the influence of a single point is naturally mitigated by its neighbors, requiring less DP noise. In sparse regions, a single point has high leverage (acting as a "pivot"), forcing the algorithm to add more noise to maintain privacy.

Efficiency of Targeted Noise

The "aha moment" of the research is the realization that perturbations from a single training point do not affect test predictions in all the ways the GP prior allows. By restricting the DP guarantee to specific test points, the Cloaking Method avoids adding massive amounts of noise in directions that do not actually require protection.

Limitations and Future Work

The primary limitation of this approach is the requirement that test inputs be known in advance. Furthermore, the current implementation only protects training outputs ($y$), leaving the protection of training inputs ($X$) as a subject for future research. The authors suggest that using sparse GPs (inducing points) or non-stationary lengthscales could further refine the sensitivity of the model and reduce the required noise in sparse data regions.

Summary updated

BibTeX
@inproceedings{smith2018differentially,
  author = {Michael T. Smith and Mauricio A. Álvarez and Max Zwiessele and Neil D. Lawrence},
  title = {{Differentially Private Regression with Gaussian Processes}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
}
Figure