AI Gone Astray: Technical Supplement

Janice Yang, Ludvig Karstens, Casey Ross, Adam YalaarXiv 2022 · DOI

Introduction

Machine learning models in healthcare are frequently validated on static, historical datasets. However, hospitals are dynamic environments where diagnostic codes change, new technologies are adopted, and clinical workflows evolve. This phenomenon, known as time drift or temporal data shift, can lead to the gradual degradation of model performance in production. This technical supplement investigates the impact of time drift on sepsis prediction models, a critical area where commercial tools are widely deployed.

The Problem: Clinical Model Decay

Sepsis prediction is a high-stakes application of AI. Commercial models from companies like Epic and Dascena are used to alert clinicians to potential sepsis onset. If these models "age" poorly, they risk providing inaccurate alerts, leading to "alarm fatigue" or missed diagnoses. This study seeks to quantify this degradation and identify the specific technical and clinical root causes behind performance drops.

Methodology

Since commercial sepsis models are proprietary, the authors developed replication models using established feature sets. They compared a baseline Logistic Regression model against an Elman Recurrent Neural Network (RNN) designed to capture temporal patterns.

Two primary feature sets were used:

  • Dascena-style: Focused on six core vital signs (e.g., heart rate, BP, SpO2) and age.
  • Epic-style: A complex set of 40+ features, including lab results, medications, and administrative ICD (International Classification of Diseases) codes.

The models were evaluated using different training regimes, including "year buckets" (e.g., training on 2008–2010 data and testing on subsequent years) to measure decay.

Data extraction timeline for sepsis-positive and control patients, showing the 24-hour observation window and 6-hour lead time.

As shown in the figure above, the models utilized a 24-hour window of ICU data, followed by a 6-hour gap before the sepsis onset time (or a random control onset time) to ensure the prediction was clinically actionable.

Data and Cohort Selection

The study utilized MIMIC-IV, a comprehensive database from Beth Israel Deaconess Medical Center (BIDMC). The final cohort consisted of approximately 50,000 patients.

Patient cohort selection process from the MIMIC-IV database.

The selection process filtered for patients over 15 years old with ICU stays between 24 hours and 10 days. Sepsis was defined using the "Sepsis-3" criteria, which combines an increase in SOFA score with a suspicion of infection.

Key Insights: Why Models Fail

The research identified three primary drivers of model degradation:

  1. The "ICD-10" Cliff: A major source of technical drift was the transition from ICD-9 to ICD-10 coding in late 2015. Models trained on the older system could not interpret new administrative labels, causing significant performance drops.
  2. The Fragility of Complexity: "Epic-style" models with more features were far more susceptible to drift than simpler "Dascena-style" models. While more features can improve initial performance, they increase the "surface area" for errors as hospital practices change.
  3. Shifting Clinical Behavior: The average time of sepsis onset shifted from 9 to 12 hours into an ICU stay over the decade. This was attributed to changes in clinical behavior—specifically, doctors ordering fewer microbiology samples early in a stay—rather than biological changes.

Results

The performance decay was stark. The Epic-style RNN saw its Area Under the Receiver Operating Characteristic curve (AUC) plummet from 0.729 (2008-2010) to 0.525 (2017-2019), nearing the 0.50 threshold of random chance. In contrast, the simpler Dascena-style RNN remained robust, dropping only from 0.723 to 0.707. Notably, removing ICD codes from the Epic-style model improved the final-year AUC by 0.15, highlighting that administrative data can often be a liability in long-term model stability.

Conclusion and Future Work

This study demonstrates that clinical ML models are not "set and forget" tools. The findings suggest that simpler models using physiological data are more resilient to temporal shifts than complex models relying on administrative coding. While this study focuses on the failure of static models, future research should explore optimal retraining frequencies and strategies to mitigate the impact of evolving clinical environments.

Summary updated

BibTeX
@misc{yang2022ai,
  author = {Janice Yang and Ludvig Karstens and Casey Ross and Adam Yala},
  title = {{AI Gone Astray: Technical Supplement}},
  year = {2022},
  eprint = {2203.16452},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.16452},
}
Figure