Performance of Open-Source LLMs in Identifying Pediatric Pneumonia From Free-Text Chest Radiograph Reports

OBJECTIVES: To develop and internally validate an automated system for classifying chest radiograph (CXR) reports for community-acquired pneumonia in children. METHODS: We performed a retrospective single-center study using 1000 pediatric emergency department encounters (2016 to 2022) with CXR. Reports were adjudicated by two physicians as positive, negative, or indeterminate for pneumonia. We evaluated five open-source LLMs (Gemma2 9B, Gemma2 27B, Falcon3 7B, DeepSeek R1 Distill Llama 8B, and Llama3.1 8B) on a 70/30 train-test split for an outcome of pneumonia. We reported performance metrics for both three-class and binary classification (pneumonia + indeterminate vs. no pneumonia). RESULTS: The median patient age was 4.2 years (IQR 1.7 to 10.5), and 54.4% were admitted from the ED. After clinician adjudication, 27.8% of reports were labeled pneumonia, 13.7% indeterminate, and 58.5% no pneumonia. Gemma2 9B achieved the best performance overall, with a pneumonia F1 score of 0.82 and no-pneumonia F1 score of 0.97 in three-class classification. Binary classification further improved performance (F1=0.97 for Gemma2 9B and 0.93 for 27B). Discrepancies between model and human labels often involved ambiguous language, highlighting interpretive subjectivity rather than model error. All LLMs substantially outperformed traditional NLP classifiers such as XGBoost, random forest, and logistic regression. CONCLUSIONS: Open-source LLMs accurately classified pediatric CXR reports for pneumonia. These findings support the feasibility of integrating LLMs into decision support and quality improvement pipelines to enhance radiographic interpretation and improve pediatric emergency care.

Authors

Institutions

Publication Details

Journal
Pediatric Emergency Care
Published
2026-04-21
DOI
https://doi.org/10.1097/pec.0000000000003616
Primary Topic
Radiology practices and education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance of Open-Source LLMs in Identifying Pediatric Pneumonia From Free-Text Chest Radiograph Reports

Elizabeth C. Powell, Elizabeth R. Alpern, Sriram Ramgopal, Todd A. Florin et al.
Pediatric Emergency Care
Radiology practices and education
article

Performance of Open-Source LLMs in Identifying Pediatric Pneumonia From Free-Text Chest Radiograph Reports

Elizabeth C. Powell, Elizabeth R. Alpern, Sriram Ramgopal, Todd A. Florin, ANTHONY WONG, David Liebovitz, Yuan Luo, Saki Amagai, Yikuan Li, Juan Espinoza
article en

Abstract

OBJECTIVES: To develop and internally validate an automated system for classifying chest radiograph (CXR) reports for community-acquired pneumonia in children. METHODS: We performed a retrospective single-center study using 1000 pediatric emergency department encounters (2016 to 2022) with CXR. Reports were adjudicated by two physicians as positive, negative, or indeterminate for pneumonia. We evaluated five open-source LLMs (Gemma2 9B, Gemma2 27B, Falcon3 7B, DeepSeek R1 Distill Llama 8B, and Llama3.1 8B) on a 70/30 train-test split for an outcome of pneumonia. We reported performance metrics for both three-class and binary classification (pneumonia + indeterminate vs. no pneumonia). RESULTS: The median patient age was 4.2 years (IQR 1.7 to 10.5), and 54.4% were admitted from the ED. After clinician adjudication, 27.8% of reports were labeled pneumonia, 13.7% indeterminate, and 58.5% no pneumonia. Gemma2 9B achieved the best performance overall, with a pneumonia F1 score of 0.82 and no-pneumonia F1 score of 0.97 in three-class classification. Binary classification further improved performance (F1=0.97 for Gemma2 9B and 0.93 for 27B). Discrepancies between model and human labels often involved ambiguous language, highlighting interpretive subjectivity rather than model error. All LLMs substantially outperformed traditional NLP classifiers such as XGBoost, random forest, and logistic regression. CONCLUSIONS: Open-source LLMs accurately classified pediatric CXR reports for pneumonia. These findings support the feasibility of integrating LLMs into decision support and quality improvement pipelines to enhance radiographic interpretation and improve pediatric emergency care.

Pediatric Emergency Care
Northwestern University (US), Lurie Children's Hospital (US), George Mason University (US)
Openalex Percentile: Top 14%
Radiology practices and education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.