60/100

Moderate evidence

Cite
More
EmailLinkedInX

AI predicts infant infections from routine tests, but can't yet replace spinal taps

Study title: Machine learning models for predicting neonatal bacterial infections: a retrospective cohort study

Evidence type
Observational study
Sample
n = 306
Sources
1 sourcePeer-reviewed
Published
1 min read

Study title: Machine learning models for predicting neonatal bacterial infections: a retrospective cohort study

Researchers retrospectively analyzed 306 infants aged 1 to 90 days hospitalized between 2014 and 2022 in Khorasan Razavi, Iran, using CSF culture via lumbar puncture as the gold standard, to train nine machine learning classifiers on routine non-invasive paraclinical markers with nested cross-validation and SHAP interpretation.

Read the study abstract

Bacterial infections represent a critical threat to neonatal health, accounting for approximately 25% of neonatal mortality globally. Timely and precise diagnosis in infants aged 1 to 90 days is essential to facilitate rapid intervention and prevent severe complications. This study aimed to develop and evaluate machine learning (ML) models for the early, non-invasive prediction of bacterial infections using routine clinical data, maximizing clinical interpretability for point-of-care triage. Data from 306 infant…

Machine learning models for predicting neonatal bacterial infections: a retrospective cohort study
Hospital Universitari Doctor Peset, València 06 by 19Tarrestnom65. CC BY-SA 4.0 · https://creativecommons.org/licenses/by-sa/4.0

55Gain side

How the two sides scoreClose call

53Problem side

The gain

In a retrospective study of 306 infants aged 1 to 90 days at one Iranian hospital, models using routine non-invasive tests reached cross-validated AUROC of 0.74-0.76; the chosen logistic regression had a small optimism gap of 0.083.

The problem

When tuned to catch at least 95% of infections, the models' specificity dropped steeply, so they cannot safely replace lumbar puncture, and the top non-linear models were badly over-fitted (gap 0.214).

A fixed formula sets both scores from the evidence and its sources. Reader votes don’t move them.

What the scores mean

G is the gain side, out of 100. It goes up when the gain is specific, when it measurably helped people and when the sources behind it are strong.

P is the problem side, out of 100. It goes up when the problem is specific, when it measurably hurt people and when the sources behind it are strong.

In brief

The work matters because bacterial infections account for about 25% of neonatal mortality globally and lumbar puncture is invasive; the models offer an objective risk-stratification aid at point-of-care triage, but the documented sensitivity-specificity trade-off and optimism gaps mean it remains uncertain whether the tool can reduce unnecessary procedures without missing infections in broader populations.

Main points

  1. Retrospective analysis of 306 infants aged 1 to 90 days hospitalized 2014-2022 with CSF culture via lumbar puncture as gold standard (158 infectious, 148 non-infectious).
  2. Nine classifiers evaluated via leakage-safe nested cross-validation (5-folds x 2 repeats outer, threefold inner) with QuantileTransformer normalization and SHAP interpretation.
  3. HistGBM had highest raw AUROC 0.786 (95% CI: 0.757-0.812) but severe training optimism gap 0.214; L2-regularized logistic regression selected for minimal gap 0.083 and Brier score 0.208.

The full story

The study used 306 infants from a Social Security Organization hospital in Khorasan Razavi, Iran, labeled by CSF culture via lumbar puncture, and limited predictors to routine non-invasive paraclinical markers from the EHR normalized with QuantileTransformer.

Evaluation used a leakage-safe nested cross-validation framework and SHAP values for global and local interpretability, with training-to-validation audits showing top-tier models clustered at outer-CV AUROC 0.74-0.76 and predictive signal distributed across urinary markers, age, and metabolic indicators.

What this doesn’t fix

High-sensitivity operation forces steep specificity loss, so model cannot be used as standalone rule-out to eliminate lumbar punctures and must remain a risk-tiering aid.

Sources

1 on file
  1. European Journal of Pediatricsdoi:10.1007/s00431-026-07315-5
    Peer-reviewed2026-08-14

Talk it over

Three questions to start on, two more if you have time
The chosen logistic regression had an optimism gap of 0.083 while the top non-linear models had 0.214. How would you weigh a lower raw score against a model that holds up better?

Start with a question

AI predicts infant infections from routine tests, but can't yet replace spinal tapshttps://truvace.com/item/machine-learning-models-for-predicting-neonatal-bacterial-infections-a-retrospec

  1. The chosen logistic regression had an optimism gap of 0.083 while the top non-linear models had 0.214. How would you weigh a lower raw score against a model that holds up better?

    Answer in the thread
  2. When tuned to catch at least 95% of infections, specificity dropped steeply. If you were a clinician with an infant aged 1 to 90 days, how would you use a risk tier from routine tests?

    Answer in the thread
  3. All 306 infants came from one Social Security Organization hospital in Khorasan Razavi, Iran, between 2014 and 2022. Who might be missing, and how could that change the models' performance elsewhere?

    Answer in the thread
If you have more time
  • Look up how a prospective study would test this tool at triage. What result would show that fewer lumbar punctures could be done without missing infections?

    Answer in the thread
  • The study had 158 infectious and 148 non-infectious infants, all labeled by CSF culture. How might a hospital with a different mix of infants see different results?

    Answer in the thread

What readers say