Abstract
Optimizing mechanical ventilation for critically ill patients is a complex task where clinicians must balance immediate physiological responses with long-term survival. While Reinforcement Learning (RL) offers a promising path for learning Dynamic Treatment Regimes (DTR) from Electronic Health Records (EHR), standard approaches suffer from outcome bias, confounding, and domain shift. We present the Deconfounding Actor-Critic (DAC) network, a framework that integrates patient resampling, confounding balance, and a dual-reward system to overcome these biases. DAC successfully learns robust policies and adapts to new clinical environments with limited data.
Introduction
Applying RL to clinical data is notoriously difficult due to three primary hurdles. First, outcome bias occurs when models unfairly punish actions taken for patients who eventually die, even if those actions were clinically sound. Second, confounding arises because a patient's health state influences both the treatment choice and the outcome, leading models to confuse correlation with causation. Finally, domain shift prevents models trained on one hospital's data (e.g., in the US) from performing effectively in another (e.g., in Europe) due to differing demographics and clinical practices.
The DAC Framework
The DAC framework introduces several novel components to the standard actor-critic architecture to address these challenges directly:
- Patient Resampling Module: To mitigate data imbalance, the model pairs survivors and non-survivors with similar predicted mortality risks during training. This ensures the model learns from comparable clinical situations rather than simply associating high-risk states with mortality.
- Confounding Balance Module: Utilizing Inverse Probability of Treatment Weighting (IPTW), the model weights rewards to remove the influence of the original clinician's policy, effectively "deconfounding" the relationship between actions and outcomes.
- Dual-Reward System: DAC incorporates a short-term reward capturing immediate physiological improvements alongside long-term outcomes (e.g., 90-day mortality). This prevents the model from punishing effective stabilization efforts in patients who ultimately do not survive.
- Policy Adaptation: For cross-hospital deployment, DAC uses a distribution-matching approach. It learns state transition patterns in both source and target domains, selecting actions in the target domain that mimic successful transitions observed in the source.
Experimental Evaluation
The model was evaluated across three distinct environments:
- MIMIC-III: A US-based EHR dataset with over 10,000 ventilated patients.
- AmsterdamUMCdb: A European EHR dataset used to test policy adaptation.
- Semi-synthetic Dataset: A simulation based on MIMIC-III parameters where optimal actions are known, allowing for direct accuracy measurements.
Key Findings
DAC consistently outperformed state-of-the-art baselines across all metrics. On the MIMIC-III dataset, DAC achieved an Estimated Mortality (EM) of 0.16, a significant improvement over the "AI Clinician" baseline of 0.19. It also reached a Weighted Importance Sampling (WIS) score of 3.13, indicating a more valuable policy than existing methods. In semi-synthetic tests, the model achieved 76% accuracy in recommending the correct direction for treatment adjustments.
Analysis of the learned policy reveals that DAC's deconfounding allows it to recommend more aggressive, necessary treatments—such as higher PEEP or FiO2—for high-risk patients when appropriate, whereas standard RL often defaults to "safe" low-intensity actions that correlate with survivors.
Conclusion and Future Work
DAC represents a significant step toward reliable AI-assisted clinical decision-making by addressing the inherent biases in EHR data. While the model currently uses discretized action spaces and assumes all confounders are observed, it demonstrates that rewarding immediate health improvements and accounting for causality can lead to more effective treatment strategies. Future work will focus on continuous action spaces and prospective clinical validation to confirm these improvements in real-time patient care.
Summary updated