Abstract
Training machine learning models on sensitive data from multiple providers often faces a trilemma between accuracy, efficiency, and security. This paper introduces Heda, a hybrid privacy-preserving framework that combines the precision of Homomorphic Cryptosystems (HC) with the efficiency of Differential Privacy (DP). By partitioning features and applying encryption only to the most significant ones, Heda achieves a tunable balance between high accuracy and computational speed. Experimental results on standard benchmarks show that Heda can achieve near-baseline accuracy while reducing training time by over 70% compared to fully encrypted methods.
Introduction
The demand for collaborative machine learning is growing, yet data privacy remains a significant barrier. Existing solutions like Secure Multi-party Computation (SMC) suffer from high communication overhead, while pure Homomorphic Cryptosystems (HC) are computationally expensive and struggle with non-linear functions like the sigmoid in Logistic Regression. Conversely, Differential Privacy (DP) is efficient but introduces noise that can degrade model accuracy. Heda addresses these challenges by integrating HC and DP into a unified, flexible framework.
The Heda Framework
Heda employs a "best of both worlds" strategy to optimize the training process. The framework is divided into a protection phase and a training phase, managing data flow between providers and users.
Feature Partitioning
Not all features contribute equally to model performance. Heda uses feature evaluation (specifically the Kruskal-Wallis H test) to rank features by importance. "High-score" features are protected using HC for maximum precision, while "low-score" features are handled via DP for speed. A tunable parameter, $\iota$, allows users to adjust the number of features sent to the HC path, balancing accuracy and performance.
Insensitive Microaggregation (IMA)
To enhance the DP component, Heda utilizes Insensitive Microaggregation (IMA). This technique clusters data points into groups of at least size $k$, reducing the sensitivity ($\Delta f$) of the data queries. Lower sensitivity allows for the addition of less noise while maintaining the same privacy budget ($\epsilon$), leading to higher model accuracy.
Hybrid Crypto Library
To handle complex operations like the Logistic Regression sigmoid function without a trusted third party, Heda includes a library of protocols based on Paillier (additive) and RSA (multiplicative) encryption. This allows for exact computation in the encrypted domain, avoiding the errors introduced by common Taylor expansion approximations.
Experimental Evaluation
The researchers evaluated Heda using four UCI Machine Learning Repository datasets: BCWD (Breast Cancer), Adult (Census income), CAD (Credit Approval), and Car (Car Evaluation).
Key Results
- High Accuracy: On the BCWD dataset, Heda achieved 95.4% accuracy, nearly matching the 96.6% of a non-private standard model.
- Significant Speedups: By reducing the number of encrypted features, the total training time was reduced by more than 70% compared to a fully encrypted approach.
- Practicality: Heda can train models on various scales of encrypted datasets within an hour, making it far more viable for real-world engineering applications than traditional pure-HC methods.
- Security: Formal proofs demonstrate that the system is secure against "honest-but-curious" adversaries, even if multiple parties collude to try and steal data.
Conclusion and Future Work
Heda demonstrates that a hybrid approach to privacy can effectively navigate the trade-offs between security, speed, and accuracy. While currently focused on Logistic Regression and "honest-but-curious" security models, future work will explore expanding the framework to a wider variety of machine learning models and addressing malicious adversaries who might attempt to poison training data.
Summary updated