Federated Offline Reinforcement Learning

Doudou Zhou, Yufeng Zhang, Aaron Sonabend W., Zhaoran Wang, Junwei Lu, Tianxi Cai

Abstract

Reinforcement Learning (RL) offers a powerful framework for optimizing Dynamic Treatment Regimes (DTRs) in healthcare. However, the practical deployment of RL is often hindered by the "Privacy Wall"—where medical data is siloed across institutions—and "Site Heterogeneity"—where clinical practices and patient demographics vary significantly between hospitals. This paper introduces FDTR (Federated Dynamic Treatment Regime), the first federated offline reinforcement learning algorithm designed to optimize medical treatments across multiple institutions. By integrating pessimistic value iteration with a communication-efficient framework, FDTR allows hospitals to collaborate on finding optimal treatment paths while keeping patient data local. Our approach accounts for both universal medical truths and site-specific nuances, requiring only a single round of communication to achieve performance parity with centralized models.

Introduction

In clinical settings, doctors make a sequence of decisions to improve patient outcomes, a process naturally modeled as a Dynamic Treatment Regime. While offline RL can learn these regimes from historical data, privacy regulations like HIPAA prevent the pooling of raw patient records into centralized databases. Furthermore, a "one-size-fits-all" model often fails to account for the differences between a large urban research hospital and a small rural clinic. These institutions differ in equipment, patient demographics, and local treatment protocols.

To bridge this gap, we propose a federated approach that handles both shared medical effects and site-specific variations. FDTR enables collaborative learning without compromising privacy, ensuring that the resulting policies are both robust and locally relevant.

Methodology: The FDTR Framework

The core of our approach is a multi-site Markov Decision Process (MDP) that decomposes patient response into two components:

  1. Homogeneous Effects: Universal medical truths (e.g., physiological responses to a specific drug).
  2. Heterogeneous Effects: Site-specific factors (e.g., local staffing levels or equipment availability).
The FDTR framework: Local sites process data (LDTR) and share summary statistics for global aggregation (FDTR) in a single communication round.

The FDTR algorithm operates in two primary stages:

  • Local Learning (LDTR): Each site performs "Pessimistic Value Iteration" (PEVI). This pessimistic approach is crucial in offline RL to prevent the model from overestimating the benefits of treatments that are poorly represented in the historical data, a common failure mode in clinical applications.
  • Global Refinement: Instead of raw data, sites exchange summary statistics (such as covariance matrices). These statistics allow each site to refine its understanding of global parameters while maintaining its local identity.

Crucially, this architecture requires only one round of communication between the local sites and the central aggregator, making it highly efficient for real-world clinical networks.

Experimental Evaluation

We evaluated FDTR using both synthetic simulations and real-world clinical data.

Synthetic Simulations

Controlled environments were used to test the algorithm's robustness against varying numbers of sites, state space complexities, and degrees of site-to-site heterogeneity. These tests confirmed that FDTR scales effectively and maintains accuracy even as site differences increase.

MIMIC-IV Sepsis Cohort

We applied FDTR to a real-world dataset containing 25,568 patient trajectories across 9 different care units. The model utilized patient-level features (e.g., weight, blood pressure, potassium levels) alongside site-level features such as "Patient Flow" (a proxy for hospital size) and unit type (e.g., ICU).

Key Results and Insights

  • Performance Parity: FDTR significantly outperformed local-only models and simple majority-voting strategies. In the sepsis application, it achieved a higher Value Function, suggesting treatment policies that lead to better patient outcomes, such as lower serum lactate levels—a key marker for sepsis recovery.
  • Theoretical Guarantees: We mathematically proved that the error rate of FDTR is comparable to that of a centralized model that has access to all pooled data. This demonstrates that privacy does not have to come at the cost of statistical power.
  • Clinical Relevance: The model identified that "Patient Flow" correlates positively with outcomes, suggesting that larger units may have resources or expertise that facilitate more effective initial sepsis management.
  • Pessimism as a Safety Mechanism: By utilizing multi-site confidence bounds, the algorithm avoids "hallucinating" the efficacy of untested treatments, ensuring clinical safety by staying grounded in observed data.

Discussion and Future Work

While FDTR demonstrates strong performance, it currently assumes a "Linear MDP," which may simplify complex biological non-linearities. Future work will explore non-parametric extensions using basis functions and "doubly robust" estimators to improve accuracy when the underlying data collection policy is unknown. Additionally, adapting the model to dynamic environments where site protocols change over time remains an open challenge.

Conclusion

FDTR represents a significant step toward privacy-preserving, personalized medicine. By enabling hospitals to learn from collective experience without sharing raw data, we can develop more effective and safer treatment strategies for complex conditions like sepsis, ultimately improving patient care across diverse clinical settings.

Summary updated

BibTeX
@misc{zhou2022federated,
  author = {Doudou Zhou and Yufeng Zhang and Aaron Sonabend W. and Zhaoran Wang and Junwei Lu and Tianxi Cai},
  title = {{Federated Offline Reinforcement Learning}},
  year = {2022},
  eprint = {2206.05581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.05581},
}
Figure