--- layout: false title: "SAIL" templateEngineOverride: false --- SAIL — State-Action Information Leakage in Sepsis Reinforcement Learning Skip to content
MIT LCP × BU SPH

SAIL: State–Action Information Leakage

A reinforcement-learning model can appear to learn a sound sepsis treatment policy when the state it's given already contains information about the treatment it's about to recommend — a dependence that's documented in the clinical literature, not a secret. What hasn't been shown before: offline sepsis-RL pipelines use this therapy-dependent score as pre-decision state without accounting for it, and dropping the risky field alone doesn't fix it. This project measures — and in two cases, proves outright — how often that happens.

11,354 ICU stays audited 2 mechanisms proven mathematically 3 pipeline bugs found and fixed in the open preliminary, non-peer-reviewed working draft

Is the model learning the patient — or learning the treatment?

Both pipelines below look identical from the outside — same architecture, same training procedure. The difference is invisible unless you look at what the state actually contains.

INTENDED PIPELINE
Patient state (physiology) Model Action

The model learns a genuine mapping from a patient's condition to a clinical decision.

WHAT SAIL FINDS INSTEAD
Patient state + hidden prior-treatment information Model "Apparently intelligent" action

The model partly recovers the answer from the question — SOFA's own construction and window timing both provably do this.

This is ordinary treatment history shaping state, not the state containing information about the same action it's used to predict — see Terminology for why that distinction matters and isn't just wording.

Why this matters

The concern isn't prediction accuracy on its own — it's whether apparent performance reflects genuine patient information, or something else entirely.

01

Clinical state

What the patient's physiology actually tells us — vitals, labs, organ function.

02

Treatment history

Information that indirectly reveals what was already given, not what the patient needs next.

03

Temporal structure

Artifacts created by measurement timing and overlapping aggregation windows.

04

Model performance

The resulting apparent predictability — which mixes all three of the above.

The two treatment-confounding mechanisms

Full deep-dive →
MECHANISM 1

State → action confounding

The SOFA cardiovascular subscore is scored directly from vasopressor dose, not from blood pressure alone. For any nonzero dose — not merely above some threshold — the score stops responding to physiology entirely — this is a proven fact about the scoring function's definition, not a measured tendency.

Treatment information
absent
what this means

With no vasopressor active, the cardiovascular subscore reflects blood pressure only — a genuine physiology signal.

MECHANISM 2

Treatment overlap

A "current state" snapshot is built by aggregating over a lookback window. When that window overlaps a period when treatment was already running, the snapshot carries treatment history into it that it was supposed to precede.

state_window_hours24
treatment_start_h-18
treatment_duration_h10
overlap_fraction
0.00
decision, t -24h 0h
state window treatment window overlap (treatment carried in)

Both widgets are simplified two-parameter illustrations. The verified cohort-wide figures — 32.3% / 28.6% dose-determined, 31.1% mean window overlap — come from the full 11,354-patient extraction; see Evidence. The complete synchronized model (causal graph + live AUROC) is on the full interactive demo.

Formalize it

Simple
Technical

Think of the cardiovascular part of the SOFA score as a rule with two inputs: blood pressure, and whatever medication is currently running. Once the medication dose crosses a certain level, the rule stops looking at blood pressure at all — the score is entirely determined by the medication. That means the "current condition" the model sees can, in that regime, be nothing more than a readout of what was already prescribed.

Every figure below has been independently re-extracted from MIMIC-IV and reproduced across five or more separate pipeline runs — including two real extraction bugs found, diagnosed, and fixed along the way.

StatisticManuscript draftVerified
Cohort size11,35411,354exact match
Exp. 1 — dose-determined (4h)30.5%32.3%revised
Exp. 1 — dose-determined (24h)26.3%28.6%revised
Exp. 2 — AUROC, full → no treatment features0.900 → 0.7910.900 → 0.791exact match
Exp. 3 — mean window overlap (24h)56.1%31.1%revised down

The Experiment 2 gap survived a 15× difference in underlying row counts almost untouched — evidence it's a real, ratio-based effect rather than an artifact of the two extraction bugs that inflated the raw counts. Full diagnostic history in ROADMAP.md and status.html.

Every extraction query is public. Patient-level data is not — MIMIC-IV is credentialed-access, and row-level output is never published. See DATA_ACCESS.md for the exact governance policy.

queries/01_cohort.sql
SQL View full file
-- adult, first-ICU-stay, Sepsis-3-qualifying, vasopressor-exposed stays
WITH ranked_icu AS (
  SELECT ie.subject_id, ie.hadm_id, ie.stay_id,
    ROW_NUMBER() OVER (PARTITION BY ie.subject_id ORDER BY ie.intime) AS rn
  FROM `physionet-data.mimiciv_3_1_icu.icustays` ie
  JOIN `physionet-data.mimiciv_3_1_hosp.patients` p USING(subject_id)
  WHERE p.anchor_age >= 18
)
SELECT f.* FROM ranked_icu f WHERE f.rn = 1;
-- verified: 11,354 stays, exact match across five independent runs

This site is an interface to a reproducible research project — not a replacement for the repository. Full source →

Related literature

Full paper library →

A full literature review (additional sepsis-RL studies, window-bias references) is planned but not yet complete — see ROADMAP.md Phase 6. Shown here are the three sources this project's own claims directly rest on.

Documented treatment-confounding source

The SOFA score to describe organ dysfunction/failure

Vincent, J.-L. et al. · Intensive Care Medicine, 1996

Defines the exact scoring rule proven non-identifiable from MAP alone (Theorem 1).

Motivating application

The AI Clinician learns optimal treatment strategies for sepsis

Komorowski, M. et al. · Nature Medicine, 2018

The offline-RL framework this audit examines the state-representation assumptions of.

Related methodological issue

Causal Inference: What If

Hernán, M. A. & Robins, J. M. · Chapman & Hall/CRC, 2020

General principle underlying why conditioning on a treatment-affected variable biases prediction (Proposition 2).

What's actually new here?

The treatment-dependence of the SOFA cardiovascular subscore is not a secret — it's documented in the clinical literature (Vincent et al., 1996) and known to clinicians who use the score daily. The contribution isn't discovering that dependence. It's showing that offline sepsis-RL pipelines treat this therapy-dependent score as a valid pre-decision state feature without accounting for it — and proving it formally. Of the two theorems, Theorem 2's exact reconstruction result — that removing the subscore alone doesn't remove the information, since the total is a deterministic sum that lets it be reconstructed by subtraction — is the least clinician-known and most novel single finding.

Research question

Does the SOFA-based state representation used in offline sepsis-RL already encode the treatment action it precedes — undermining the Markov assumption the framework depends on?

Open science

Every extraction query, the full notebook, and the complete bug-fix history are public. Patient-level data is not — see DATA_ACCESS.md.

Research conducted at the MIT Laboratory for Computational Physiology and the Boston University School of Public Health. Full author and citation metadata in CITATION.cff.