Skip to main content
QUICK REVIEW

[Paper Review] Leveraging Clinical Time-Series Data for Prediction: A Cautionary Tale

Eli Sherman, Hitinder S. Gurm|PubMed|Nov 29, 2018
Machine Learning in HealthcareComputer Science13 references7 citations
TL;DR

This paper demonstrates that using outcome-dependent time points (e.g., near death or discharge) for training and evaluating clinical prediction models leads to overly optimistic performance estimates. By comparing outcome-independent (e.g., time of admission) and outcome-dependent indexing in two ICU prediction tasks—inhospital mortality and hypokalemia—it shows that outcome-independent methods yield more realistic and higher performance (AUROC 0.882 vs. 0.831 for mortality; 0.829 vs. 0.740 for potassium), highlighting the critical need for clinically realistic evaluation frameworks in EHR-based ML modeling.

ABSTRACT

In healthcare, patient risk stratification models are often learned using time-series data extracted from electronic health records. When extracting data for a clinical prediction task, several formulations exist, depending on how one chooses the time of prediction and the prediction horizon. In this paper, we show how the formulation can greatly impact both model performance and clinical utility. Leveraging a publicly available ICU dataset, we consider two clinical prediction tasks: in-hospital mortality, and hypokalemia. Through these case studies, we demonstrate the necessity of evaluating models using an outcome-independent reference point, since choosing the time of prediction relative to the event can result in unrealistic performance. Further, an outcome-independent scheme outperforms an outcome-dependent scheme on both tasks (In-Hospital Mortality AUROC .882 vs. .831; Serum Potassium: AUROC .829 vs. .740) when evaluated on test sets that mimic real-world use.

Motivation & Objective

  • To investigate how different time-indexing strategies for clinical time-series data affect model performance and clinical utility in EHR-based prediction tasks.
  • To demonstrate that outcome-dependent reference points (e.g., near death or discharge) can lead to misleadingly high performance estimates in model evaluation.
  • To advocate for the use of outcome-independent reference points—such as time of admission—for training and testing to ensure realistic performance estimation.
  • To compare the performance of models trained and evaluated using different indexing schemes on two real-world ICU prediction tasks: in-hospital mortality and hypokalemia.
  • To caution researchers against using retrospective data extraction methods that do not reflect real-world clinical deployment scenarios.

Proposed method

  • The study uses a publicly available ICU dataset (MIMIC-III) to extract time-series features from EHRs for two prediction tasks: in-hospital mortality and hypokalemia.
  • Two indexing strategies are applied: outcome-dependent (e.g., time relative to death or discharge) and outcome-independent (e.g., time of admission) for both training and test set construction.
  • For in-hospital mortality, models are trained and tested using data extracted relative to the time of death or discharge (outcome-dependent) and relative to admission (outcome-independent).
  • For hypokalemia, two distinct use cases are evaluated: (1) predicting future potassium levels every 12 hours using admission as a reference, and (2) on-demand prediction at the time of each lab test, where ground truth is available.
  • Performance is evaluated using AUROC, with test sets constructed to reflect real-world deployment conditions.
  • The study compares model performance across indexing schemes, emphasizing that outcome-independent schemes better reflect clinical utility and avoid selection bias in test data.

Experimental results

Research questions

  • RQ1How does the choice of time-indexing strategy (outcome-dependent vs. outcome-independent) affect the performance of clinical prediction models?
  • RQ2To what extent do outcome-dependent reference points lead to overly optimistic performance estimates in real-world deployment scenarios?
  • RQ3Can outcome-independent indexing produce more realistic and higher-performing models compared to outcome-dependent indexing in ICU prediction tasks?
  • RQ4How do different prediction horizons and data extraction schemes affect model performance for in-hospital mortality and hypokalemia prediction?
  • RQ5What are the implications of using biased test sets (e.g., selecting easier examples near clinical events) for the clinical utility of predictive models?

Key findings

  • Using an outcome-independent reference point (e.g., time of admission) for model evaluation resulted in an AUROC of 0.882 for in-hospital mortality, significantly outperforming the outcome-dependent approach (AUROC 0.831).
  • For hypokalemia prediction, the outcome-independent model achieved an AUROC of 0.829, compared to 0.740 for the outcome-dependent model, indicating a substantial performance gap.
  • The on-demand prediction model (predicting at time of lab test) achieved an AUROC of 0.738, which is lower than the time-of-admission model, despite a shorter prediction horizon, suggesting higher difficulty due to selective testing.
  • Test sets derived from outcome-dependent reference points are biased toward easier examples—such as patients near discharge or death—leading to inflated performance metrics that do not reflect real-world use.
  • Models trained and evaluated using outcome-dependent indexing may still provide insights into disease processes but are not reliable for clinical decision support due to performance overestimation.
  • The study concludes that careful problem formulation, particularly in data extraction and evaluation, is essential to avoid misrepresenting a model’s clinical value.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.