Abstract
Target trial emulation (TTE) aims to estimate treatment effects by simulating randomized controlled trials using real-world observational data. Applying TTE across distributed datasets shows great promise in improving generalizability and power but is often infeasible due to privacy and data-sharing constraints. Here we propose a Federated Learning-based TTE framework, FL-TTE, that enables TTE across multiple sites without sharing patient-level data. FL-TTE incorporates federated protocol design, federated inverse probability of treatment weighting, and a federated Cox proportional hazards model to estimate time-to-event outcomes across heterogeneous data. We validated FL-TTE by emulating Sepsis trials using eICU and MIMIC-IV data from 192 hospitals, and Alzheimer's trials using the INSIGHT Network across five New York City health systems. FL-TTE produced less biased estimates than traditional meta-analysis methods when compared to pooled results and is theoretically supported. Our FL-TTE enables federated treatment effect estimation across distributed and heterogeneous data in a privacy-preserved way.
Introduction
Randomized Controlled Trials (RCTs) remain the gold standard for clinical evidence, yet they are frequently limited by high costs, long durations, and restrictive inclusion criteria that may not reflect real-world patient populations. Target Trial Emulation (TTE) has emerged as a powerful alternative, leveraging Real-World Data (RWD) from electronic health records to mimic the design of an RCT.
However, the utility of TTE is often throttled by the "data silo" problem. A single institution rarely possesses a large enough or sufficiently diverse dataset to produce generalizable results. While pooling data across institutions is the ideal solution, privacy regulations like HIPAA and institutional data-sharing barriers make centralized data collection nearly impossible. Traditional alternatives, such as meta-analysis, often introduce bias because they aggregate final summary statistics rather than optimizing over the underlying data distributions. To bridge this gap, we introduce FL-TTE, a federated learning framework designed for multi-site treatment effect estimation without the need for patient-level data sharing.
The FL-TTE Framework
FL-TTE allows multiple clinical sites to collaboratively train models while keeping sensitive data local. The framework is built upon three methodological pillars:
- Federated Propensity Score Calculation: A global logistic regression model is trained across sites to estimate the probability of a patient receiving a treatment based on baseline characteristics. This ensures that treated and control groups are comparable across the entire network, rather than just within a single site.
- Federated Inverse Probability of Treatment Weighting (IPTW): These propensity scores are used to weight local data, effectively balancing the cohorts across the distributed system to account for confounding factors.
- Federated Cox Proportional Hazards Model: To analyze time-to-event outcomes (such as time to mortality or disease onset), we developed a federated version of the Cox model that aggregates gradients across sites to reach a global consensus.
To address the challenges of data heterogeneity—where patient demographics and clinical practices vary between hospitals—FL-TTE incorporates FedProx. This uses a proximal regularization term to ensure local model updates do not diverge too far from the global model. Furthermore, the framework integrates Differential Privacy (DP) by adding Gaussian noise to gradients, providing a mathematical guarantee against model inversion attacks that might attempt to reconstruct patient data.
Experimental Validation
We validated FL-TTE across two distinct and complex clinical scenarios:
- Alzheimer’s Disease (AD) Drug Repurposing: Using the INSIGHT Network, which spans five major New York City health systems (~35,000 patients), we emulated trials for nine drugs (e.g., aspirin, atorvastatin) to evaluate their efficacy in delaying AD onset.
- Sepsis Treatment: Using the eICU and MIMIC-IV databases, we analyzed data from 192 hospitals (~274,000 patients) to investigate the impact of corticosteroids on 28-day mortality and ICU discharge timing.
Key Results and Insights
Superior Accuracy and Balance
In the Sepsis trials, FL-TTE achieved an adjusted Hazard Ratio (aHR) of 1.08, which was nearly identical to the "gold standard" centralized (pooled) data result of 1.10. In comparison, traditional meta-analysis methods were less reliable: fixed-effects meta-analysis overestimated the effect (1.16), while random-effects underestimated it (1.01). Furthermore, FL-TTE achieved a covariate "success balancing ratio" between 0.926 and 0.985, significantly outperforming local or meta-analysis approaches.
Theoretical Robustness
FL-TTE is not just empirically successful; it is theoretically grounded. We mathematically demonstrated that FL-TTE maintains a tighter bias bound than meta-analysis. Because FL-TTE optimizes a single global objective function across all data points simultaneously, it avoids the information loss inherent in the two-step process of meta-analysis.
Privacy-Utility Trade-off
Even with the inclusion of Differential Privacy, FL-TTE remained highly effective. In 8 out of 9 Alzheimer's trials and all Sepsis trials, the DP-enabled federated model outperformed meta-analysis, proving that robust clinical insights can be gained without compromising patient confidentiality.
Discussion and Future Work
While FL-TTE represents a significant step forward, several avenues for future research remain. Currently, the framework focuses on Intention-to-Treat (ITT) effects. Future iterations could incorporate "per-protocol" effects to account for patients who switch or discontinue treatments. Additionally, while the current model assumes a homogeneous treatment effect across sites, "Personalized Federated Learning" could be explored to identify if treatment effects vary based on geography or hospital characteristics. Finally, moving beyond the proportional hazards assumption of the Cox model toward more flexible survival models would further enhance the framework's robustness for complex, chronic conditions.
Summary updated