TL;DR
This paper introduces a "locally learn then merge" approach for privacy-preserving collaborative prediction using random forests. Instead of sharing raw data, each clinic trains its own model locally, and an untrusted cloud server merges these models to provide predictions without revealing individual patient data or the models themselves. This method offers a practical solution for leveraging distributed sensitive data, like electronic health records, for improved predictive accuracy while upholding strict privacy standards.
What Problem Does This Paper Address?
In many domains, particularly healthcare with Electronic Health Records (EHRs), there's a critical tension between the desire to build highly accurate predictive models and the absolute necessity of protecting patient privacy. Training robust machine learning models often requires large, diverse datasets, which are frequently siloed across different institutions (e.g., hospitals, clinics). Sharing this data directly is often prohibited by privacy regulations like HIPAA and GDPR. While de-identification and anonymization techniques exist, they can be insufficient, and cryptographic methods for collaborative training and prediction can be computationally expensive and require significant communication overhead, often necessitating all parties to remain online. This paper addresses the challenge of enabling collaborative model building and prediction from distributed, sensitive data in a privacy-preserving manner, specifically for random forests, while minimizing the communication and computational burden, especially for the data providers.
Methods
The core contribution is a "locally learn then merge" (LLM) approach for random forests. The key idea is to shift the privacy burden from data sharing during training to secure model aggregation during prediction.
Here's how it works:
- Local Model Training: Each data provider (e.g., a clinic) trains its own random forest model independently on its local, private data. This training phase is standard and incurs no privacy overhead related to data sharing.
- Encrypted Model Upload: Providers upload their trained models to an untrusted cloud server in an encrypted form. This ensures the server cannot access the model's internal structure.
- Cloud-Based Prediction: When a user (e.g., a research institution) needs a prediction for a new private instance (e.g., a patient's record), they send their encrypted input to the server. The server then orchestrates a privacy-preserving protocol involving itself and the user to compute the final prediction by aggregating the encrypted local models. Crucially, the server does not learn the user's input, and the user does not learn the individual local models.
- Cryptographic Tools: The system leverages linearly homomorphic encryption (LHE) and oblivious transfer (OT) protocols. LHE allows computations on encrypted data, while OT enables secure selection of information without revealing the selection criteria. Specifically, they use an LHE scheme for encryption and a secure comparison protocol (Isc) and a tree evaluation protocol (ITe) to combine predictions from encrypted trees.
What's novel is the decoupling of training and prediction privacy. Instead of a complex, interactive training protocol, providers train locally and then only participate in an encrypted aggregation process for predictions. This significantly reduces the need for providers to be online and interact extensively.
Datasets
The authors evaluated their approach using:
- Real EHR Data: Three datasets from the Marshfield Clinic in Marshfield, WI, for predicting diseases one month in advance: Influenza (ICD-9 487.1), Acute Myocardial Infarction (ICD-9 410.4), and Lung Cancer (ICD-9 162.9). These datasets were preprocessed to include patient demographics, diagnoses, procedures, and vitals, with features reduced to 1,000 via PCA.
- UCI Datasets: Five standard UCI datasets were used to investigate the effect of the number of providers and model hyperparameters on performance and efficiency: Australian, Breast Cancer, Spambase, Colon Cancer, and Leukemia.
Key Insights and Ideas
- Decoupling Training and Prediction is Key: The LLM approach effectively separates the privacy concerns of training (handled by local learning) from prediction (handled by secure aggregation). This is a significant simplification compared to systems requiring privacy-preserving training and prediction.
- Cloud Model for Scalability: Offloading the computationally intensive aggregation to an untrusted cloud server, while ensuring the server remains untrusted with sensitive data and models, makes the system practical for real-world deployment where providers might not want to maintain dedicated servers.
- Bounded Tree Depth is Viable: The paper empirically demonstrates that bounding the depth of individual trees in a random forest (e.g., to depth 6 or 8) does not significantly harm predictive accuracy (AUC) and is crucial for the efficiency of their privacy-preserving system. This is because the system's complexity grows exponentially with tree depth.
- Hyperparameter Tuning for Efficiency: The authors propose a tuning methodology that prioritizes minimizing the system's overhead (related to
m * 2^d, wheremis the number of trees anddis the depth) while maintaining competitive accuracy, suggesting a trade-off can be managed.
Key Results
- Comparable Accuracy: For the EHR datasets, the LLM approach achieved comparable AUC values to a "merge then learn" baseline (where data is merged before training, assuming privacy concerns are addressed). The difference was dataset-dependent.
- Efficiency Gains: The LLM system demonstrated good efficiency. For example, on the Housing dataset (a challenging case with deep trees), the protocol Ipps (a simplified version for scoring) took less than 1.2 seconds and required 4.3 MB of communication, outperforming prior work. The on-line phase of the main system, when parallelized on HTCondor, could provide predictions within minutes for EHR data, approaching near real-time interaction.
- Overhead Management: The paper showed that bounding tree depth to 6 or 8 was competitive with deeper trees in terms of AUC, and the system's complexity is manageable by controlling hyperparameters like
m * 2^d.
Limitations and Future Work
- Honest-but-Curious Model: The current security analysis assumes an "honest-but-curious" model for the server and user, meaning they follow the protocol but might try to infer information. Extending this to a malicious model, especially for a corrupted server, is an interesting direction.
- Dataset Dependency: The efficacy of the LLM approach is noted to be dataset-dependent. Future work could aim to characterize this dependency and potentially develop methods to mitigate it or adapt the approach to different data characteristics.
- Feature Dependency: The efficiency of the system is influenced by the number of features (
n). Further research could explore ways to reduce this dependency for more efficient implementations, especially for high-dimensional data. - General Ensemble Methods: While focused on random forests, extending this LLM paradigm to other ensemble methods would be a valuable next step.
Summary updated