Gaussian Processes with Differential Privacy

Antti HonkelaarXiv 2021

Introduction

Gaussian Processes (GPs) are a cornerstone of non-parametric Bayesian modeling, valued for their ability to provide well-calibrated uncertainty estimates. However, their standard formulation is inherently non-private: every prediction depends directly on the entire training dataset. While previous research has explored "label privacy" (protecting output targets $Y$), many real-world applications in healthcare and finance involve sensitive input features $X$ as well. This paper introduces a framework for training GPs under Differential Privacy (DP) that protects the entire data tuple $(X, Y)$, ensuring privacy for both inputs and outputs.

Methodology

The proposed framework bridges the gap between GPs and DP through three primary strategies:

1. Sparse Variational GPs

To avoid the computational and privacy costs of using the full dataset, the authors employ a sparse approach. They define a small set of "inducing points" ($Z$) that act as a summary of the training data. The privacy challenge is then reduced to privatizing the relationship between the sensitive training data and these fixed inducing points.

2. Privatizing Sufficient Statistics

The GP posterior depends on the data through specific sufficient statistics. The authors apply the Gaussian Mechanism to these terms, deriving rigorous sensitivity bounds for various kernels. This allows them to determine the precise amount of noise required to satisfy $(\epsilon, \delta)$-DP without over-perturbing the model.

3. Noise-Aware Posterior Update

A critical contribution of this work is the "noise-aware" posterior. Simply adding noise to a covariance matrix can lead to mathematical instability (loss of positive definiteness). The authors introduce a regularized update that accounts for the uncertainty introduced by the DP noise itself, ensuring the model remains stable and its uncertainty estimates remain honest.

Algorithm 1: The DP-GP inference procedure using known hyperparameters.

Experiments and Key Results

The method was evaluated on both synthetic and real-world datasets.

Synthetic 1D Analysis

Using a noisy sinc function, the authors visualized how the model behaves under varying privacy budgets ($\epsilon$). As shown in the figures below, the DP-GP maintains a reliable fit. Crucially, as the privacy constraint becomes stricter (smaller $\epsilon$), the uncertainty bands widen appropriately, demonstrating that the model correctly interprets DP noise as a source of epistemic uncertainty.

Comparison of DP-GP fits across different privacy budgets (ε). Lower ε values result in wider uncertainty bands, reflecting the added privacy noise.

Real-World Performance

On the Pakistani Girls' Anthropometric dataset (predicting height from age and weight), the DP-GP outperformed neural network-based alternatives like DP-BBB, particularly under strong privacy guarantees (low $\epsilon$). Furthermore, the DP-GP proved highly efficient, with inference times significantly faster than the baseline (0.11s vs 3.6s).

Discussion and Insights

  • Scalability: By focusing on inducing points, the privacy cost scales with the number of summary points rather than the input dimensionality, making the method suitable for high-dimensional data.
  • Calibration: Unlike "naive" DP implementations that often become overconfident, the noise-aware DP-GP remains well-calibrated. The inclusion of DP noise variance in the posterior ensures that the model's confidence intervals are trustworthy.
  • Kernel Sensitivity: The research demonstrates that stationary kernels (like RBF) allow for tighter sensitivity bounds, directly translating to better predictive performance for a given privacy budget.

Limitations and Future Work

While effective, the method currently assumes inducing points are fixed or chosen using non-sensitive data. Developing a fully private method for optimal inducing point placement remains an open area for research. Additionally, the "privacy noise floor" means that very small datasets may still be overwhelmed by the noise required for rigorous privacy guarantees.

Summary updated

BibTeX
@misc{honkela2021gaussian,
  author = {Antti Honkela},
  title = {{Gaussian Processes with Differential Privacy}},
  year = {2021},
  eprint = {2106.00474},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.00474},
}
Figure