Secure Distributed Sparse Gaussian Process Models Using Multi-Key Homomorphic Encryption

Adil Nawaz, Guopeng Chen, Muhammad Umair Raza, Zahid Iqbal, Jianqiang Li, Victor C. M. Leung, Jie Chen

Introduction

Gaussian Processes (GPs) are widely regarded as the "gold standard" for regression tasks due to their high accuracy and inherent ability to provide uncertainty estimates. However, their $O(N^3)$ computational complexity limits scalability for large-scale IoT applications. While distributed sparse GPs (dGPs) address scaling by aggregating "local summaries" from edge devices at a central server, this architecture introduces significant privacy risks. Local summaries can be exploited to reconstruct sensitive training data, violating privacy regulations like GDPR. This paper introduces SDS-GP, a framework that secures dGP models using Multi-Key Homomorphic Encryption (MK-HE), enabling collaborative training without exposing private data.

The SDS-GP Framework

To address privacy concerns without sacrificing model utility, SDS-GP integrates MK-HE into the dGP pipeline. The core insight is that the aggregation step in dGPs primarily involves the summation of vectors and matrices—an operation that Homomorphic Encryption handles with high efficiency.

The four-stage pipeline of the SDS-GP framework, illustrating the collaborative encryption and decryption process.

The SDS-GP workflow consists of four distinct stages:

  1. Preparing the Environment: Participants collaboratively generate a joint public key. This approach ensures decentralized trust; no single entity holds the master secret key, and the system remains secure as long as at least one participant is honest.
  2. Secure Local Computation: Each device computes its local summary (mean and covariance data) based on a shared support set of data points. These summaries are then encrypted using the joint public key.
  3. Secure Global Computation: The central server receives the encrypted summaries. Leveraging the additive properties of MK-HE, the server sums them to produce an encrypted global summary without ever accessing the underlying plaintext data.
  4. Decryption & Prediction: The devices perform a "collaborative decryption" of the global summary. Once decrypted, this summary is used to make predictions using standard algorithms such as sPITC (Secure Distributed PITC) or sPIC.

Experimental Evaluation

The framework was validated using three benchmark regression datasets: Sarcos (inverse dynamics for a robot arm), Power Consumption (PowCons) (urban energy usage), and SGEMM (GPU kernel performance). To test real-world feasibility, the authors implemented the system on physical hardware consisting of 15 Nvidia Jetson Nano modules acting as clients and an i5-based PC serving as the central aggregator.

Results and Discussion

The primary advantage of SDS-GP is its ability to maintain high predictive accuracy while ensuring data privacy. Unlike Differential Privacy, which often introduces noise that degrades utility, MK-HE allows for near-exact calculations. The Root Mean Square Error (RMSE) of the secure models is virtually identical to their non-secure counterparts, with the maximum error introduced by encryption being a negligible $5.29 \times 10^{-7}$.

Trade-offs between RMSE and compute time for various GP models across the Sarcos, PowCons, and SGEMM datasets.

As shown in the performance analysis, SDS-GP scales linearly with the size of the data. While MK-HE introduces some computational overhead ($O(N \log N)$), the end-to-end latency remains comparable to non-secure methods in practical scenarios. Furthermore, communication efficiency is maintained; the overhead increases with the number of devices but remains constant regardless of the volume of local data each device processes, making it ideal for data-heavy IoT environments.

Conclusion

SDS-GP provides a robust solution for privacy-preserving distributed regression. By leveraging the additive properties of MK-HE, the framework secures the dGP aggregation step with minimal impact on utility or scalability. Future research will focus on achieving complete immunity from inference attacks on the decrypted global summary and extending the framework to classification tasks and more complex learning scenarios.

Summary updated

BibTeX
@inproceedings{nawaz2024secure,
  author = {Adil Nawaz and Guopeng Chen and Muhammad Umair Raza and Zahid Iqbal and Jianqiang Li and Victor C. M. Leung and Jie Chen},
  title = {{Secure Distributed Sparse Gaussian Process Models Using Multi-Key Homomorphic Encryption}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i13.29357},
}
Figure