Exploring Time-Step Size in Reinforcement Learning for Sepsis Treatment

Yingchuan Sun, Shengpu Tang

TL;DR

Nearly all reinforcement learning (RL) studies for sepsis treatment adopt an arbitrary 4-hour time step inherited from the landmark "AI Clinician" paper. This work provides the first controlled, systematic evaluation of four time-step sizes ($\Delta t \in \{1, 2, 4, 8\}$ hours) across the entire offline RL pipeline. The findings reveal that finer timescales ($\Delta t = 1$ h and $2$ h) coupled with a static behavior policy yield superior performance and evaluation stability, challenging the conventional 4-hour standard in healthcare RL.

What Problem Does This Paper Address?

Electronic Health Record (EHR) data are collected at irregular intervals, but standard RL algorithms assume transitions occur at uniform discrete intervals. In 2018, the influential "AI Clinician" paper discretized patient ICU trajectories into 4-hour bins—a design choice almost universally copied by subsequent sepsis RL literature.

However, aggregating patient observations over 4 hours risks smoothing over rapid, life-critical physiological shifts and blurring decision timing. While theoretical concerns have been raised, the practical downstream impact of time-step granularity on offline RL pipelines has remained unexamined. Altering $\Delta t$ is far from a simple preprocessing switch: it changes the observation and action spaces, cohort inclusion criteria, and off-policy evaluation (OPE) dynamics.

Methods

The authors designed an end-to-end, controlled offline RL pipeline applied uniformly across $\Delta t \in \{1, 2, 4, 8\}$ hours:

  • State Representation Learning: Handled partial observability by training an Approximate Information State (AIS) model—a Gated Recurrent Unit (GRU) encoder optimized via a dual-head loss that reconstructs current observations and predicts next-step observations.
  • Behavior Cloning (BC): Evaluated $k$-nearest neighbors ($k\text{NN}$) against neural network (NN) classifiers to model the clinicians' action distribution $\pi_b$.
  • Batch-Constrained Q-Learning (BCQ): Trained discrete BCQ agents using either a static $k\text{NN}$ behavior policy ($k\text{NN}$-policies) or a concurrently trained NN behavior policy (NN-policies) to avoid selecting unobserved clinical actions.
  • Cross-$\Delta t$ Action Mapping: Developed mapping strategies to fairly evaluate a policy trained at step size $t_\pi$ on an evaluation dataset discretized at $t_D$:
  • When $t_\pi > t_D$: Broadcast the $t_\pi$ action across the $M = t_\pi / t_D$ sub-intervals.
  • When $t_\pi < t_D$: Repeated the initial action and aggregated it over $N = t_D / t_\pi$ steps using an expected-overlap rule for IV fluids (summing dosage intervals) and a maximum-dose rule for vasopressors.
  • Off-Policy Evaluation & Model Selection: Used per-horizon Weighted Importance Sampling (WIS) with horizon-based ratio clipping ($W \le 1.438^H$) and Effective Sample Size (ESS) metrics. Models were selected along the validation ESS–WIS Pareto frontier using $t_D$-specific ESS thresholds, cross-validated via Fitted-Q Evaluation (FQE).

Datasets

  • MIMIC-III (v1.4): Sepsis cohort defined by Sepsis-3 consensus criteria (windowed from 28 hours pre-sepsis onset up to 52 hours post-onset).
  • Unified Cohort: Rather than allowing differing cohort sizes across step sizes, the authors filtered for admissions valid across all $\Delta t$ settings (trajectories lasting at least 8 hours). This yielded a consistent benchmark of 18,377 ICU stays (5.9% mortality rate), partitioned into fixed 70% train, 15% validation, and 15% test splits.
  • Feature & Action Spaces: 33 time-varying continuous vitals/labs and 5 static contextual features. The action space comprised a $5 \times 5$ grid (25 discrete actions) of IV fluid volumes and vasopressor doses, normalized by time per $\Delta t$.

Key Insights and Ideas

  • Longer horizons make belief state modeling harder: Validation mean squared error (MSE) for the AIS GRU encoder grew monotonically as $\Delta t$ increased (from 0.2288 at 1 h to 0.4356 at 8 h). Coarser time steps force the encoder to forecast further into the future, increasing prediction error.
  • $k\text{NN}$ behavior cloning stabilizes BCQ: Traditional BCQ implementations train a neural network behavior policy concurrently with the Q-network. Here, using a static $k\text{NN}$ behavior policy dramatically reduced importance-weight variance in OPE, whereas NN-based policies suffered frequent ESS collapses.
  • The 4-hour default is suboptimal: Policies learned at 1-hour and 2-hour granularities outperformed the conventional 4-hour setup. The 2-hour policy offered the strongest sweet spot between temporal responsiveness and low estimator variance.

Key Results

  • Finer Policies Outperform Coarser Ones: On finer evaluation test data ($t_D = 1$ h and $2$ h), the $t_\pi = 1$ h and $2$ h $k\text{NN}$-policies systematically beat the $t_\pi = 8$ h policy. At $t_D = 1$ h, the $t_\pi = 2$ h policy achieved a Per-Horizon WIS (PHWIS) of 96.26 and FQE of 96.87, versus 93.33 PHWIS and 93.38 FQE for the $t_\pi = 8$ h policy (clinician baseline: 94.09).
  • Stability Across Horizons: $k\text{NN}$-policies dropped below the clinician baseline in only 7 of 32 test cases (compared to 12 of 32 for NN-policies) and only violated the ESS cutoff in 2 of 16 cases (versus 9 of 16 for NN-policies).
  • Conservative Clinical Dosing: Despite outscoring the clinician baseline on paper, action distribution heatmaps revealed that all learned RL policies disproportionately recommended zero vasopressors and low IV fluids, deviating noticeably from actual clinical practices.

Limitations and Future Work

  • Cohort Selection Bias: Restricting the unified benchmark to patients with at least 8 hours in the ICU excluded short-stay patients who may have experienced rapid mortality or discharge.
  • Heuristic ESS Thresholds: Cutoffs for the ESS–WIS Pareto frontiers were manually assigned per $t_D$, introducing potential researcher bias into model selection.
  • Domain-Specific Mapping: The cross-$\Delta t$ mapping rules (expected overlap and max pooling) rely specifically on how IV fluids and vasopressors are administered and will require redesign for other clinical interventions.
  • Clinical Realism Gap: Because the learned policies disproportionately prescribe zero vasopressors, future research must incorporate prospective clinical validation and investigate whether reward sparsity or behavior-regularization artifacts drive these hyper-conservative recommendations.

Summary updated

BibTeX
@inproceedings{sun2025exploring,
  author = {Yingchuan Sun and Shengpu Tang},
  title = {{Exploring Time-Step Size in Reinforcement Learning for Sepsis Treatment}},
  booktitle = {ARLET @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=6KeEpEeOJ3},
}
Figure