Development and validation of a pre-trained language model for neonatal morbidities: a retrospective, multicentre,

Feng Xie1, Philip Chung2, Jonathan D Reiss3

  • 1Department of Anesthesiology, Perioperative and Pain Medicine, Stanford University, Stanford, CA, USA; Department of Pediatrics, Stanford University School of Medicine, Stanford, CA, USA; Department of Biomedical Data Science, Stanford University, Stanford, CA, USA; Division of Computational Health Sciences, Department of Surgery, University of Minnesota, Minneapolis, MN, USA.

The Lancet. Digital Health
|December 19, 2025
PubMed

Insights

NeonatalBERT, a large language model (LLM), effectively estimates neonatal morbidity risk from clinical notes. This AI tool shows promise for improving newborn care and hospital efficiency.

Area of Science:

  • Artificial Intelligence in Medicine
  • Clinical Informatics
  • Neonatal Health

Background:

  • Early identification of neonatal morbidities is crucial for timely interventions.
  • Traditional methods using biomarkers and tabular data have limitations in assessing newborn morbidity risk.
  • Large Language Models (LLMs) offer potential for analyzing unstructured clinical notes.

Purpose of the Study:

  • To develop and evaluate NeonatalBERT, a novel LLM for estimating neonatal morbidity risk.
  • To compare NeonatalBERT's performance against existing LLMs and traditional models.
  • To assess the utility of clinical notes for predicting neonatal complications.

Main Methods:

  • A prognostic study using retrospective primary and external cohorts from two US academic medical centers.
  • NeonatalBERT was pre-trained and fine-tuned on clinical notes.
  • Performance was evaluated against BioBERT, Bio-ClinicalBERT, and traditional models using Area Under the Precision-Recall Curve (AUPRC) and F1 scores for 19 neonatal morbidities.

Main Results:

  • NeonatalBERT achieved a mean AUPRC of 0.291 in the primary cohort and 0.360 in the external cohort, outperforming other models.
  • In the primary cohort, NeonatalBERT outperformed Bio-ClinicalBERT (0.238), BioBERT (0.217), and traditional models (0.194).
  • In the external cohort, NeonatalBERT's mean AUPRC (0.360) surpassed the range of other models (0.224-0.333).

Conclusions:

  • NeonatalBERT effectively estimates neonatal morbidity risk from unstructured clinical notes.
  • The model demonstrates significant potential for enhancing neonatal care.
  • This AI approach can help streamline hospital operations and improve patient outcomes.
Abstract