ICU-Sepsis: A Benchmark MDP Built from Real Medical Data

Kartik Choudhary, Dhawal Gupta, Philip S. Thomas

Abstract

Researchers at UMass Amherst have introduced ICU-Sepsis, a standardized, "plug-and-play" Reinforcement Learning (RL) environment designed for sepsis management. By distilling complex, restricted-access medical records into a portable tabular Markov Decision Process (MDP), this work provides a challenging benchmark that allows researchers to evaluate algorithms on real-world medical dynamics without the prohibitive overhead of data preprocessing.

Introduction: Addressing the Reproducibility Crisis

Sepsis remains a leading cause of hospital mortality, requiring clinicians to make high-stakes, sequential decisions regarding IV fluids and vasopressors. While Reinforcement Learning is theoretically well-suited for such tasks, the field faces a significant reproducibility crisis. Researchers typically use the MIMIC-III database, which requires navigating strict data-use agreements and writing extensive custom cleaning scripts. Because cleaning procedures vary between groups, the resulting MDPs are often inconsistent, making fair algorithmic comparison impossible. ICU-Sepsis addresses this by providing a pre-processed, anonymized, and standardized environment compatible with OpenAI Gym and Gymnasium.

Methods: Constructing the Tabular MDP

The authors modeled the sepsis management problem as a tabular MDP, representing the clinical environment through discrete states and actions.

The sequential decision-making process in ICU-Sepsis, from admission to outcome.
  1. State Space: Using K-means++ clustering, 47 clinical features—including vitals, demographics, and lab results—were compressed into 716 discrete states.
  2. Action Space: Clinical interventions were discretized into 25 possible actions, representing various dosage combinations of IV fluids and vasopressors.
  3. Reward Function: The environment utilizes a sparse reward signal: +1 if the patient survives (based on 90-day mortality) and 0 otherwise.
  4. Handling Action Sparsity: To manage "inadmissible actions" (treatments rarely observed in the source data), the authors map these actions to a uniform distribution over common treatments. This prevents agents from "hallucinating" outcomes for data-poor state-action pairs while maintaining compatibility with standard RL libraries.

Datasets and Robustness

The environment is derived from MIMIC-III v1.4, utilizing trajectories from approximately 17,000 sepsis patients to estimate transition and reward matrices. A critical finding during development was the "Sparsity Trap": low transition thresholds (the minimum frequency required for a state-action pair) allowed agents to exploit rare, "lucky" transitions, leading to unrealistic survival rates (e.g., 96%). By implementing a more conservative threshold ($\tau = 20$), the authors ensured the model relies on robust clinical evidence rather than statistical noise.

Key Results and Benchmarking

The authors evaluated five RL algorithms: Sarsa, Q-Learning, DQN, SAC, and PPO.

Learning curves for Average Return and Average Episode Length over 500,000 episodes.
  • Performance Gap: An optimal policy (calculated via Value Iteration) achieves an expected return of 0.88 (88% survival), whereas random and expert (clinician) policies both average approximately 0.78.
  • Top Performers: DQN and PPO were the most effective, achieving a survival probability of 0.86, nearly reaching the theoretical optimum.
  • Sample Efficiency: Despite the simplified tabular nature of the environment, agents required hundreds of thousands of episodes to converge, reflecting the inherent complexity of sepsis management.

Limitations and Future Directions

ICU-Sepsis is intended as a research benchmark rather than a clinical tool. The discretization of continuous vitals into 716 states inevitably loses some clinical nuance. Furthermore, the current model does not strictly enforce gradual dosage changes, which are necessary in real-world settings to prevent adverse events like arrhythmias. Future work aims to develop continuous-state versions of the MDP and incorporate more medically accurate constraints into the transition dynamics.

Summary updated

BibTeX
@inproceedings{choudhary2024icu,
  author = {Kartik Choudhary and Dhawal Gupta and Philip S. Thomas},
  title = {{ICU-Sepsis: A Benchmark MDP Built from Real Medical Data}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=hAb2LdotMQ},
}
Figure