Skip to main content
Jeremy Cleland.
WorkAboutResumeWritingLearnContact
Jeremy Cleland.

Director - Senior Software Engineer
Gray Matter Resources
Michigan, USA.

WorkAboutResumeContactWritingLearn
jeremy@clelandco.comGitHubLinkedIn© 2026 Jeremy Cleland
  1. Home
  2. Writing
  3. Why Sepsis Prediction Models Fail External Validation
Artificial IntelligencePublished November 12, 2026 · 16 min read

Why Sepsis Prediction Models Fail External Validation

Sepsis prediction models look strong in development and weaker at the bedside for structural reasons: labels that encode clinician behavior, late predictions, metrics that hide alert burden, and site shift.

By Jeremy ClelandPublished November 12, 2026
  • Sepsis Prediction
  • External Validation
  • Clinical Machine Learning
  • Epic Sepsis Model
  • TREWS
  • Label Leakage
  • AUROC
  • Positive Predictive Value
  • Alert Fatigue
  • FDA Regulation
  • TRIPOD+AI
  • Model Evaluation
Why Sepsis Prediction Models Fail External ValidationWhy Sepsis Prediction Models Fail External Validation
Conceptual illustration of site shift: one key fits its original lock while four other locks have different keyways. The dials are symbolic.

On this page

    Epic's internal documentation put the discrimination of the Epic Sepsis Model at an AUC of 0.76 to 0.83. When researchers at Michigan Medicine ran the same model against 38,455 of their own hospitalizations, they measured 0.63. That gap is the best-known result in the literature on sepsis prediction models, and the published record since then shows it was not a one-off. These models tend to look strong on retrospective development data and weaker at external validation, for reasons that are structural rather than accidental.

    There are four of them. The label is partly a record of what clinicians did. The prediction often arrives after a clinician already suspects sepsis. The headline metric ranks patients but says little about how many alerts a nurse or physician has to clear per true case. And a model tuned to one hospital's patients and ordering habits meets different ones at the next. Each has its own evidence, and together they explain why external, prospective evaluation is the only kind that should move a decision.

    This is an analysis of published research and regulatory records for people who build and evaluate models. It is not clinical guidance.

    Read the study designs before comparing the scores

    StudyPopulation and designQuestion it addressesLimit on comparison
    Wong et al., 202138,455 hospitalizations; retrospective external evaluation of Epic's earlier modelDiscrimination and alert burden at one hospitalOne site and model version; no intervention effect
    Lyons et al., 2023806,696 encounters at nine network hospitals; silent evaluationVariation across sites using the same vendor modelHospitals differ in case mix and prevalence
    Kamran et al., 202477,582 hospitalizations; retrospective timing analysisPerformance before clinical recognitionDifferent prediction cutoffs produce different questions
    Epic version 2 study, 2026227,091 encounters at four systems; prospective evaluation with local tuningDiscrimination and lead time after tuningNo untuned base-model comparison or patient-outcome effect
    TREWS, 2022Five hospitals; observational comparison within an alerted sepsis cohortAssociation between timely response and mortalityResponse timing may track care-team differences
    COMPOSER, 2024Two emergency departments; before-and-after implementationOutcomes after a nurse-facing advisory was introducedConcurrent changes can confound the observed difference

    These populations, model versions, labels, prediction windows, and endpoints differ. The table maps evidence to questions; it does not rank models by a common benchmark.

    What did external validation of the Epic Sepsis Model find?

    The 2021 study by Wong and colleagues in JAMA Internal Medicine was a retrospective cohort of 27,697 patients across 38,455 hospitalizations between December 2018 and October 2019. Sepsis occurred in 2,552 of those hospitalizations, or 7 percent. At the alert threshold the hospital used, a score of 6 or higher, the model had a sensitivity of 33 percent, a specificity of 83 percent, and a positive predictive value of 12 percent.

    Two numbers describe what that meant on the ward. The model did not identify 1,709 of the 2,552 patients with sepsis, 67 percent. And it generated an alert on 6,971 hospitalizations, 18 percent of all of them. Among patients with sepsis, the model identified 183, 7 percent, who had not already received timely antibiotics. The authors described the result as substantially worse than the developer's reported performance.

    One site and one model version is a narrow base. The rest of the evidence explains why a result like it should be expected.

    The label problem: sepsis has no gold-standard test

    A supervised model needs a label and a timestamp. Sepsis offers neither cleanly. The 2016 consensus definition, Sepsis-3, defines sepsis as "life-threatening organ dysfunction caused by a dysregulated host response to infection" and operationalizes organ dysfunction as an acute change of 2 or more points in the SOFA score. The same paper states the limit plainly: "The task force recognized that sepsis is a syndrome without, at present, a validated criterion standard diagnostic test."

    So every study chooses an operational label, and the choices differ. The Michigan validation used a composite: the CDC surveillance definition, or a sepsis diagnosis code accompanied by inflammatory-response and organ-dysfunction criteria within six hours. The PhysioNet/Computing in Cardiology Challenge 2019 used Sepsis-3 and set the time of suspected infection from the earlier of intravenous antibiotics and blood cultures. A 2023 study across nine hospitals also used Sepsis-3, with onset based on clinical recognition, meaning cultures or antimicrobials had been ordered.

    Look at what those labels have in common. The onset time depends on an order a clinician placed. The label is not a pure physiological event; part of it is a record of the moment someone became worried. A model trained to predict that timestamp from chart data is rewarded for detecting clinician behavior, and any feature that reflects that behavior will help it.

    The effect can run in the other direction after deployment. In a 2026 prospective validation of the updated Epic model, the authors note that because the model was already in clinical use, it "may have introduced confirmation bias in our Sepsis-3 abstracted outcome labels and inflated model accuracy." An alert that prompts a culture and antibiotics helps create the label it is scored against.

    The timing problem: predicting sepsis after clinicians suspect it

    The cleanest test of this is Kamran and colleagues' 2024 study in NEJM AI. Working with 77,582 hospitalizations at Michigan Medicine from 2018 to 2020, of which 3,766 involved sepsis, they asked when the model's predictions were made relative to the first sign that a clinician was already acting: an order for antibiotics, fluids, a lactate measurement, or a blood culture.

    In 84.8 percent of sepsis hospitalizations, one of those treatment indicators came before the patient met sepsis criteria. The standard evaluation, which counts any prediction before criteria are met, therefore includes a large share of predictions made after clinical recognition. The authors then moved the evaluation cutoff earlier and re-measured.

    Predictions countedAUROCPPVSensitivity
    All, up to discharge0.8716%79%
    Before sepsis criteria0.628%38%
    Before first indicator0.475%20%

    An AUROC of 0.5 is chance. Restricted to the window in which an alert could tell a clinician something new, the model scored 0.47. The authors' summary is that most of the model's discriminative ability under standard evaluation "was attributable to predictions made after clinicians recognized sepsis and initiated treatment," and that at a positive predictive value of 5 percent, "95% of alerts sent to clinicians by the ESM were for individuals who did not acquire sepsis during their stay."

    They also built a simple baseline using only vital signs, nursing scores, demographics, and information from past visits, with no orders. Before sepsis criteria it scored 0.60 against the Epic model's 0.62. Before treatment indicators it scored 0.51 against 0.47. The model with access to clinician behavior lost more when that behavior was removed. The authors call the mechanism label leakage and hypothesize that including antibiotic orders as a predictor contributed to it.

    The engineering lesson generalizes beyond one vendor. Any feature that a clinician generates in response to suspicion, such as a medication, a laboratory order, or a consult, can carry the answer into the input. Retrospective AUROC will reward it. The bedside will not.

    The metric problem: AUROC hides the alert burden

    AUROC measures ranking: the probability that a randomly chosen positive case scores higher than a randomly chosen negative one. It does not depend on prevalence, and that is exactly why it misleads here. Sepsis prevalence in the cohorts above was 7 percent, 4.9 percent, and, in the 2026 prospective study, 3.3 percent. At those rates a respectable AUROC still produces mostly false alerts.

    The Michigan validation shows how much the operating details matter. If a clinician evaluated a patient only at the first alert of a hospitalization, the number needed to evaluate to find one case of sepsis was 8. If a clinician re-evaluated each time the score crossed the threshold, looking for sepsis in the next four hours, it was 109. Same model, same threshold, same AUROC.

    The PhysioNet 2019 challenge tried to build that reality into the score. Its utility metric rewarded predictions made from 12 hours before to 3 hours after sepsis onset, penalized late and missed predictions, and penalized false alarms, normalized so that a perfect algorithm scored 1 and one that never predicted sepsis scored 0. Across 853 entries from 104 teams, the organizers found that AUROC and utility tracked each other on the two hospital systems that supplied training data and barely at all on the third, where the rank correlation between them was 0.054. Their conclusion was that traditional metrics do not necessarily capture clinical utility.

    I make the same point about my own academic work. The Sepsis Prediction Pipeline project page reports an XGBoost AUROC of 0.9998 and says in the same breath that the number is bound to one dataset and one split, that a near-ceiling score usually says more about the evaluation than about the model, and that the project does not establish earlier detection, patient benefit, or performance at a new hospital.

    The site problem: sepsis model performance does not transfer

    The PhysioNet challenge held back a third hospital system entirely. Teams trained on 40,336 patients from two systems and were scored on hidden data that included a system they had never seen. Algorithms that ranked well by utility on the two familiar systems did not rank well on the third: the rank correlation of utility scores between the first system and the unseen one was −0.033. AUROC rankings, by contrast, stayed highly correlated across all three, between 0.938 and 0.973. A team could have looked at cross-site AUROC and concluded its model generalized. On the metric designed to reflect use, it had not.

    Variation shows up even inside one health system running one vendor model. Lyons and colleagues ran the Epic Sepsis Model silently across 806,696 encounters at nine hospitals in a single network between 2020 and mid-2022. The C-statistic ranged from 0.55 at the largest hospital, a large teaching hospital, to 0.73. Discrimination was negatively correlated with sepsis incidence, comorbidity burden, and cancer prevalence, and the authors suggested such models may be most useful at lower-acuity hospitals, where sepsis rates may be lower.

    The updated model is built around local tuning. The 2026 study evaluated Epic Sepsis Model version 2, a gradient-boosted tree model that each of the four participating health systems fine-tuned on its own historical data. Encounter-level AUROC ranged from 0.82 to 0.92 across sites. That is a large improvement over the first version, and it came with the authors' own caveat: "improved model discrimination but high variability across institutions." Performance of the base model without site-specific fine-tuning was not evaluated.

    What prospective studies of sepsis prediction models show

    Prospective evidence exists, and it is more mixed than either the marketing or the backlash suggests.

    The version 2 study is the strongest evidence that the timing problem can be reduced. Across 227,091 inpatient encounters between August 2023 and March 2025, the model still discriminated when scored against clinician recognition rather than sepsis criteria, with encounter-level AUROC of 0.80 to 0.90 and a median lead time of 1.4 to 7.1 hours before the first antibiotic, lactate, or culture order, depending on the site. But with the threshold set to catch 60 percent of cases, positive predictive value was 0.13 to 0.26, which works out to roughly four to eight flagged encounters per true case. And the study, in the authors' words, "was not designed to evaluate its impact on clinical outcomes, such as mortality."

    Outcome evidence comes mainly from two other systems. The TREWS study in Nature Medicine monitored 590,736 patients at five hospitals and analyzed 6,877 patients with sepsis whose alert fired before antibiotics. Patients whose alert was confirmed by a provider within three hours had lower in-hospital mortality, with an adjusted absolute difference of 3.3 percentage points. A companion paper reported that the system identified 82 percent of 9,805 retrospectively identified sepsis cases, that providers evaluated 89 percent of alerts, and that they confirmed 38 percent of those they evaluated.

    The comparison in that study was between patients whose alerts were acted on quickly and patients whose alerts were not. A commentary in Cell Reports Medicine named the limitation: "it is possible that prompt response to the alert was simply indicative of a more attentive or better resourced care team." Its authors suggested a design randomized by site or provider.

    The COMPOSER study at UC San Diego Health used a before-and-after design across two emergency departments and 6,217 patients with sepsis, and reported a 1.9 percent absolute reduction in in-hospital sepsis mortality after a deep learning model began triggering a nurse-facing advisory, alongside a 5.0 percent absolute increase in sepsis bundle compliance.

    Both results are associations from non-randomized designs. They are far better evidence than a retrospective AUROC, and they are a different kind of claim. "The model discriminates before clinicians act" and "patients did better after the model was deployed" need separate studies, and none of the studies cited here does both.

    How the FDA now treats sepsis prediction software

    The regulatory position has become explicit. The FDA's Clinical Decision Support Software guidance, in the version issued 29 January 2026, lists among its examples of device software functions a "software function that analyzes patient-specific medical information to detect a life-threatening condition, such as stroke or sepsis, and generate an alarm or an alert to notify an HCP." The stated reason is that such a function provides a specific diagnostic output or directive, including an alarm that supports time-critical decision-making. The same guidance defines automation bias as "the propensity of humans to over-rely on a suggestion from an automated system" and treats the time-critical nature of a decision as a factor in whether a clinician can independently review the basis for a recommendation.

    A device type now exists for these tools. On 2 April 2024 the FDA granted De Novo request DEN230036 for the Prenosis Sepsis ImmunoScore, creating the classification "software device to aid in the prediction or diagnosis of sepsis." On 30 April 2026 it cleared the Bayesian Health Sepsis Flagging Device under 510(k) K250680, with the ImmunoScore as predicate.

    The 510(k) summary is worth reading as an evaluation document, because it shows the same four problems being handled in a regulatory file:

    • Label. Sepsis status and onset time came from physician adjudication, after a computer-assisted screen removed clearly non-septic encounters.
    • Timing. The summary states that the predicate is intended for patients already suspected of sepsis by a physician, while the new device monitors all adult hospitalized patients "regardless of whether sepsis is suspected." Its 115 inputs still include procedures, medications, and consult orders.
    • Metric. Across 7,732 encounters at four hospitals, encounter-level positive percent agreement was 79.4 percent (95 percent confidence interval 74.2 to 84.6) and negative percent agreement was 89.5 percent. The pre-specified acceptance criterion was a lower confidence bound above 80 percent, and the summary says the device "did not meet the pre-specified acceptance criteria for encounter-level PPA"; the FDA relied on the totality of performance. Of 1,895 flags generated, 221 were true positives, a flag-level positive predictive value of 11.7 percent at an observed sepsis prevalence of about 3 percent.
    • Site. The summary describes a post-market plan to monitor encounter-level and flag-level performance over the life of the device and to investigate differences between validation and the real-world environment.

    Clearance establishes substantial equivalence to a predicate. It does not establish that outcomes improve at a given hospital. The battlefield medical AI review explains how to read narrow device records. Predetermined change control and the separate evidence on retained human skill are covered in medical AI and medic training.

    What to ask before trusting a sepsis model result

    The reporting standard for this field, TRIPOD+AI, replaced the 2015 TRIPOD checklist in 2024 with 27 items covering regression and machine learning models alike. It contains a sentence that should sit above every model card: "There is no such thing as a validated prediction model." Evaluation is specific to a population, a setting, and a time, and the evaluation data should be representative of the population in which the model will be used.

    Given the evidence above, these are the questions I would put to any reported sepsis model result before weighing its AUROC:

    1. What is the label, and who created the timestamp? If onset is defined by an order, the label contains clinician behavior.
    2. Where does the evaluation clock stop? Performance before sepsis criteria and performance before the first sepsis-related order are different numbers. Ask for the second.
    3. Which inputs can only exist after suspicion? Antibiotic, culture, lactate, and consult orders are the obvious ones.
    4. What happens at the operating point? Prevalence, threshold, positive predictive value, and alerts per true case, counted per alert and not only per hospitalization.
    5. Was it tested somewhere it was not trained or tuned? And if it was tuned locally, what does the untuned model do?
    6. Was the evaluation prospective, and is there a comparison group? A silent prospective run supports a discrimination claim. An outcome claim needs a design that can separate the model from the team responding to it.

    Evaluation discipline for agent systems, a different domain with the same gap between demo and deployment, is covered in how to evaluate production AI agents.

    A retrospective AUROC on development data is a hypothesis about a model. For sepsis prediction models the record is consistent: the hypothesis has to be tested at a different site, forward in time, against the clock clinicians are actually working on, and with a metric that counts the alerts.

    References

    1. Wong A, Otles E, Donnelly JP, et al. "External Validation of a Widely Implemented Proprietary Sepsis Prediction Model in Hospitalized Patients." JAMA Intern Med 2021;181(8):1065–1070.
    2. Kamran F, Tjandra D, Heiler A, et al. "Evaluation of Sepsis Prediction Models before Onset of Treatment." NEJM AI 2024;1(3). Public-access copy (PDF).
    3. Lyons PG, Hofford MR, Yu SC, et al. "Factors Associated With Variability in the Performance of a Proprietary Sepsis Prediction Model Across 9 Networked Hospitals in the US." JAMA Intern Med 2023;183(6):611–612.
    4. Wong A, et al. "Multicenter Prospective Validation of an Updated Proprietary Sepsis Prediction Model." JAMA Netw Open 2026;9(2):e260181.
    5. Singer M, Deutschman CS, Seymour CW, et al. "The Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)." JAMA 2016;315(8):801–810.
    6. Reyna MA, Josef CS, Jeter R, et al. "Early Prediction of Sepsis From Clinical Data: The PhysioNet/Computing in Cardiology Challenge 2019." Crit Care Med 2020;48(2):210–217.
    7. Adams R, Henry KE, Sridharan A, et al. "Prospective, multi-site study of patient outcomes after implementation of the TREWS machine learning-based early warning system for sepsis." Nat Med 2022;28(7):1455–1460.
    8. Henry KE, Adams R, Parent C, et al. "Factors driving provider adoption of the TREWS machine learning-based early warning system and its effects on sepsis treatment timing." Nat Med 2022;28(7):1447–1454.
    9. Kennedy JN, Rudd KE. "A sepsis early warning system is associated with improved patient outcomes." Cell Rep Med 2022;3(9):100746.
    10. Boussina A, Shashikumar SP, Malhotra A, et al. "Impact of a deep learning sepsis prediction model on quality of care and survival." npj Digit Med 2024;7:14.
    11. FDA. Clinical Decision Support Software: Guidance for Industry and Food and Drug Administration Staff, issued 29 January 2026.
    12. FDA. De Novo DEN230036 — Sepsis ImmunoScore, granted 2 April 2024.
    13. FDA. 510(k) K250680 — Bayesian Health Sepsis Flagging Device, decision 30 April 2026; letter and 510(k) summary (PDF).
    14. Collins GS, Moons KGM, et al. "TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods." BMJ 2024;385:e078378.

    This post is an analysis of published research and public regulatory records, written for people who build and evaluate software. Nothing on this page is medical advice or clinical guidance.

    Previous PostTeacher-Forced Accuracy Is Not a Generation Score: Exposure Bias and the Two-Number Report
    Next PostWhy Plant Disease Classifiers Fail in the Field: The PlantVillage Gap
    With focus in the article, press J for previous post or K for next post

    Share this article

    Post Share

    Related writing.

    • Artificial Intelligence

      Approval Fatigue: An Approve Button Is Not AI Agent Oversight

      An approve button in front of an AI agent is not oversight on its own. Approval fatigue turns it into a rubber stamp unless the action is bounded, the reviewer sees the evidence and blast radius, and the result is verified afterwards.

      Jeremy Cleland
    • Artificial Intelligence

      Why Plant Disease Classifiers Fail in the Field: The PlantVillage Gap

      Plant disease classifiers that score 99 percent on PlantVillage drop to roughly 31 percent on photos from other sources. The benchmark measures capture conditions as much as disease, and the same tests expose shortcuts in any vision classifier.

      Jeremy Cleland
    • Artificial Intelligence

      Teacher-Forced Accuracy Is Not a Generation Score: Exposure Bias and the Two-Number Report

      Teacher-forced accuracy overstates what a sequence model can do, because at inference the model reads its own outputs. Report free-running decode with whole-sequence metrics, and treat the gap between the two numbers as a diagnostic.

      Jeremy Cleland
    View all articles

    Let’s connect

    Useful AI starts with
    a real problem.

    Based in Michigan. Connect about agentic AI, software engineering, and the people using what we build.

    Get in touch