Practical privacy-preserving Gaussian process regression via secret sharing

Jinglong Luo, Yehong Zhang, Jiaqi Zhang, Shuang Qin, Hui Wang, Yue Yu, Zenglin Xu

Abstract

Gaussian process regression (GPR) is a non-parametric model that has been used in many real-world applications that involve sensitive personal data (e.g., healthcare, finance, etc.) from multiple data owners. To fully and securely exploit the value of different data sources, this paper proposes a privacy-preserving GPR method based on secret sharing (SS), a secure multi-party computation (SMPC) technique. In contrast to existing studies that protect the data privacy of GPR via homomorphic encryption, differential privacy, or federated learning, our proposed method is more practical and can be used to preserve the data privacy of both the model inputs and outputs for various data-sharing scenarios (e.g., horizontally/vertically-partitioned data). However, it is non-trivial to directly apply SS on the conventional GPR algorithm, as it includes some operations whose accuracy and/or efficiency have not been well-enhanced in the current SMPC protocol. To address this issue, we derive a new SS-based exponentiation operation through the idea of “confusion-correction” and construct an SS-based matrix inversion algorithm based on Cholesky decomposition. Empirical results show that our proposed method can achieve reasonable accuracy and efficiency under the premise of preserving data privacy.

Introduction

Gaussian Process Regression is a gold-standard Bayesian method for modeling uncertainty in fields like healthcare and finance. However, GPR often requires sensitive data—such as patient records or bank transactions—that may be split across different organizations. Existing privacy-preserving methods have significant trade-offs: Differential Privacy (DP) adds noise that degrades accuracy, Federated Learning (FL) primarily handles horizontal data splits and can leak information through gradients, and Homomorphic Encryption (FHE) is computationally prohibitive.

The challenge lies in GPR's reliance on complex operations—specifically matrix inversion and exponentiation—that are difficult to implement efficiently within Secure Multi-Party Computation (SMPC) frameworks. This paper introduces PP-GPR, a practical framework that achieves GPR predictions nearly as accurate as non-private methods but significantly faster than existing cryptographic alternatives.

System Architecture and Methodology

The authors propose PP-GPR based on Additive Secret Sharing. In this setup, data is split into "shares" distributed across two computing servers ($S_0, S_1$) and one assistant server ($T$). No single server ever sees the actual data; they only see random-looking noise that, when summed, reconstructs the secret.

The system architecture of the proposed PP-GPR framework showing the flow of secret shares between servers, data owners, and users.

The framework introduces two major algorithmic innovations:

  1. PP-Exp (Privacy-Preserving Exponentiation): Instead of using slow Taylor series approximations, a "confusion-correction" approach is used. Servers mask the private value with a random number, reveal the masked value to compute the exponent exactly, and then mathematically "correct" the result to remove the mask. This is 10–70 times faster than standard approximation methods.
  2. PP-MI (Privacy-Preserving Matrix Inversion): The first SS-based matrix inversion using Cholesky decomposition. By converting the entire Cholesky process into SS-compatible addition, multiplication, and division, the protocol remains both secure and numerically stable.

Versatile Data-Sharing Scenarios

Unlike Federated Learning, which struggles with vertically partitioned data (where different parties hold different attributes of the same entity), the Secret Sharing approach handles horizontal, vertical, and prediction-only sharing scenarios with the same underlying logic.

Common data-sharing scenarios supported by PP-GPR: (a) Horizontal, (b) Vertical, and (c) Prediction data-sharing.
  • Horizontal Data-Sharing: Different users, same features (e.g., multiple hospitals sharing patient records).
  • Vertical Data-Sharing: Same users, different features (e.g., a hospital and a genomic lab sharing different data for the same patient).
  • Prediction Data-Sharing: Private test inputs where a user wants a prediction without revealing their query to the model owner.

Key Results

The framework was evaluated on real-world benchmarks, including taxi demand and diabetes progression datasets. Key findings include:

  • Efficiency: The PP-Exp algorithm is 10–70x faster than Taylor-based approximations and 38x faster than iterative limit-based approaches used in libraries like Crypten.
  • Accuracy: Predictive mean and variance are nearly identical to non-private GPR. Matrix inversion loss was as low as 0.0001 for a 400x400 matrix.
  • Practicality: For datasets with several hundred observations, the entire model construction and prediction process finishes in under 2 minutes, making it viable for real-world applications.

Conclusion and Future Work

While PP-GPR provides a robust and efficient solution for secure Bayesian modeling, some limitations remain. Currently, the model assumes hyperparameters are public; future work aims to make hyperparameter optimization private. Additionally, while efficient for hundreds of points, GPR's $O(n^3)$ scaling for matrix inversion remains a bottleneck for massive datasets, suggesting a need for future integration with sparse GPR approximations.

Summary updated

BibTeX
@inproceedings{luo2023practical,
  author = {Jinglong Luo and Yehong Zhang and Jiaqi Zhang and Shuang Qin and Hui Wang and Yue Yu and Zenglin Xu},
  title = {{Practical privacy-preserving Gaussian process regression via secret sharing}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=0ppdjZb0Vx},
}
Figure