Abstract
Data integration and sharing maximally enhance the potential for novel and meaningful discoveries. However, it is a non-trivial task as integrating data from multiple sources can put sensitive information of study participants at risk. To address the privacy concern, we present a distributed Bayesian learning approach via Preconditioned Stochastic Gradient Langevin Dynamics with RMSprop, which combines differential privacy and homomorphic encryption in a harmonious manner while protecting private information. We applied the proposed secure and privacy-preserving distributed Bayesian learning approach to logistic regression and survival analysis on distributed data, and demonstrated its feasibility in terms of prediction accuracy and time complexity, compared to the centralized approach.
Introduction
In fields such as healthcare and finance, data is frequently siloed across various institutions. While distributed learning allows these entities to train shared models without centralizing raw data, the process remains vulnerable to privacy breaches. Adversaries can often perform "inference attacks" on intermediate parameters—such as gradients—exchanged during the training process to reconstruct sensitive training samples or identify specific participants.
Existing solutions typically rely on either Differential Privacy (DP) or Homomorphic Encryption (HE), both of which have significant limitations when used in isolation. DP protects privacy by adding random noise, which can significantly degrade model accuracy in iterative processes. HE allows for computation on encrypted data but is notoriously slow and computationally intensive, particularly for complex algorithms. This paper introduces a framework that harmoniously combines both techniques to enable secure, decentralized Bayesian learning that is both computationally efficient and nearly as accurate as centralized, non-private approaches.
Methodology
The researchers focused on a popular Bayesian optimization framework: Preconditioned Stochastic Gradient Langevin Dynamics (pSGLD) with an RMSprop preconditioner. This algorithm combines the efficiency of Stochastic Gradient Descent (SGD) with the robust uncertainty estimation of Markov Chain Monte Carlo (MCMC) methods.
The Synergy of DP and HE
The "secret sauce" of this approach lies in how it balances privacy and performance:
- The Privacy Logic: The authors prove that pSGLD with RMSprop is $(\epsilon, \delta)$-differentially private.
- Shallow HE Circuits: Because HE protects intermediate gradients from being viewed by the server, the authors can use a "shallow circuit." This allows them to avoid "bootstrapping"—the most time-consuming phase of HE where ciphertexts are refreshed—making iterative Bayesian learning computationally tractable.
- Approximation and Parallelism: Since HE only supports polynomial operations, the authors utilized Chebyshev polynomials to approximate the complex square-root and division functions required by the RMSprop optimizer. Additionally, they employed SIMD (Single Instruction Multiple Data) to pack multiple data points into a single encrypted ciphertext, significantly accelerating the computation.
Experimental Setup
The framework was evaluated on three distinct tasks to demonstrate its versatility:
- Artificial Dataset: A 2-feature, 10,000-point dataset used for Bayesian density estimation.
- PhysioNet Challenge 2012: A real-world medical dataset (184 features, 4,000 subjects) used for Logistic Regression to predict hospital mortality.
- FLchain Dataset: A medical dataset (7 features, 7,874 subjects) used for Survival Analysis to study the association between serum-free light chains and mortality.
Key Results and Insights
Accuracy and Utility
The distributed, private model achieved prediction accuracy (AUC) nearly identical to a "global" model trained on centralized, non-private data. As the privacy budget ($\epsilon$) increased, the accuracy converged to the non-private baseline, effectively providing "privacy for free" in the distributed setting.
Computational Efficiency
By bypassing the HE bootstrapping bottleneck, the system achieved impressive speeds for encrypted computation:
- Logistic Regression: 2 sites, 500 iterations took approximately 34 minutes.
- Survival Analysis: 5 sites, 500 iterations took approximately 70 minutes.
Scalability and Robustness
The system demonstrated linear scalability; the pre-processing phase scales with the number of local sites, and the training phase scales with the number of iterations. Furthermore, the system remained robust even when local sites had significantly different sample sizes (e.g., a large hospital collaborating with a small clinic).
Limitations and Future Work
While the results are promising, the protocol currently requires a Cryptographic Service Provider (CSP) to manage keys. The system assumes that the CSP and the cloud server do not collude. Additionally, while 70 minutes is tractable, it remains significantly slower than plaintext training.
Future research will look toward extending this framework to Bayesian Deep Learning models, which would allow for the handling of even more complex data structures while maintaining the same rigorous privacy and security guarantees.
Summary updated