EpiCare: A Reinforcement Learning Benchmark for Dynamic Treatment Regimes

Mason Hargrave, Alex Spaeth, Logan Grosenick

Reinforcement Learning (RL) has long been touted as the future of personalized medicine, promising "Dynamic Treatment Regimes" (DTRs) that adapt to a patient’s unique journey. However, the field has been stuck in a chicken-and-egg loop: we cannot deploy RL models without proving they are safe, but we cannot easily prove they are safe without deploying them.

A new paper, "EpiCare: A Reinforcement Learning Benchmark for Dynamic Treatment Regimes," introduces a much-needed sandbox to break this cycle. The authors introduce EpiCare, the first standardized benchmark for offline RL in longitudinal healthcare. Their experiments reveal a sobering reality: while state-of-the-art RL can outperform current standards of care with massive datasets, these models—and the methods we use to evaluate them—falter in the low-data regimes typical of real-world clinical trials.

The Challenge of Medical RL

Applying RL to healthcare isn't like training an agent to play a video game. In medicine, we face several unique hurdles:

  • Partial Observability: Clinicians can see symptoms and test results, but the underlying biological state often remains hidden.
  • Sparse Rewards: True success (like long-term remission) takes time to materialize and measure.
  • No "Online" Exploration: You cannot simply try random drugs on a patient to see what happens; algorithms must learn entirely from historical, observational data (Offline RL).

While many papers claim success using Offline RL and Off-Policy Evaluation (OPE)—predicting how well a policy will work without running it—there has been no standardized way to verify these claims for long-term care. Most existing simulations focus on short-term tasks like hourly insulin dosing. EpiCare fills this gap by simulating long-term disease progression, treatment effects, and adverse events.

Methods: Building the EpiCare Sandbox

The authors built EpiCare as a Partially Observable Markov Decision Process (POMDP).

The EpiCare environment models disease progression as a Partially Observable Markov Decision Process (POMDP).
  • The Environment: It simulates hidden disease states (e.g., "compensated fibrosis" vs. "decompensated fibrosis" in liver disease) that emit observable symptoms.
  • The Policies: The benchmark includes three non-RL baselines: an Oracle (which knows the hidden state), a Standard of Care (SoC) (a greedy heuristic mimicking a cautious clinician), and SMART (a randomized trial strategy used to generate training data).
  • The RL Models: The researchers benchmarked five heavy hitters in offline RL (AWAC, EDAC, TD3+BC, IQL, and CQL), alongside standard DQN and Behavior Cloning (BC).
  • The Evaluators: They tested five common OPE techniques to see if their "offline" predictions matched "online" reality.

To mimic real-world data collection, the authors used the SMART policy to generate synthetic clinical trial data, varying the dataset size from a few hundred "patients" to over 130,000 to test scalability.

Key Insights and Results

1. The Data Hunger of RL

RL models only started beating the heuristic "Standard of Care" baseline when they had access to more than ~2,000 patient episodes.

Performance of offline RL models scales with dataset size, requiring thousands of episodes to surpass the Standard of Care (SoC).

For context, the largest real-world SMART trial cited in the paper had only 2,876 patients. In very low-data regimes (<256 patients), RL performance often dropped below random. This highlights a critical gap between the data RL needs and the data clinical trials actually produce.

2. Value-Based Methods Reign Supreme

In this discrete treatment setting (16 possible treatments), value-based methods (CQL, IQL, DQN) consistently outperformed actor-critic models. CQL (Conservative Q-Learning) emerged as the overall top performer, showing the best balance of achieving remission while minimizing adverse events. Interestingly, even though the RL models were only optimized for "mean returns," CQL and IQL naturally learned to trigger fewer adverse events than the Standard of Care policy.

3. OPE is a "Leaky" Compass

Perhaps the most critical finding is that the OPE methods currently used in medical RL literature were often unable to accurately predict how a model would actually perform. For example, the Direct Method (DM) had a massive Root-Mean-Square Error (RMSE) of 106.4 when evaluating CQL—despite the maximum possible reward being 100. If OPE cannot be trusted, the entire pipeline for validating medical RL before deployment is called into question.

4. Exploration Trumps Expertise

Models trained on "exploratory" data (randomized trials) performed better than those trained on "expert" data (clinician behavior). This suggests that for RL to succeed, clinical data must include a variety of treatment attempts, not just safe "best guesses."

Future Directions

The authors note that EpiCare is a medically-inspired class of problems, not a perfect simulation of a specific disease. Moving forward, the field must focus on:

  1. Improving OPE: Developing evaluation methods that can reliably handle the sparse rewards and partial observability of healthcare.
  2. Patient Heterogeneity: Real patients have unique latent modifiers (genetics, lifestyle). Handling these patient-specific effects is the next major milestone.
  3. Real-to-Sim Tuning: Using environments like EpiCare to estimate exactly how much data is needed before an RL approach becomes viable for a specific clinical use case.

EpiCare serves as a vital reality check for the field, providing the "gym" where medical RL can finally be put through its paces before it ever reaches a hospital bed.

Summary updated

BibTeX
@inproceedings{hargrave2024epicare,
  author = {Mason Hargrave and Alex Spaeth and Logan Grosenick},
  title = {{EpiCare: A Reinforcement Learning Benchmark for Dynamic Treatment Regimes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
}
Figure