# Comparing the performance of radiomics, nomograms, machine learning, and large language models in predicting 28-day mortality in severe community-acquired pneumonia patients

**Authors:** Tingting Lin, Huimin Wan, Yifei Liang, Jie Ming, Jingjing Lu, Zhongliang Guo

PMC · DOI: 10.3389/fimmu.2025.1679496 · Frontiers in Immunology · 2026-01-19

## TL;DR

This study compares AI methods like radiomics, machine learning, and large language models to predict 28-day mortality in severe pneumonia patients.

## Contribution

The novel integration of LLMs with radiomics and machine learning for mortality prediction in SCAP patients is introduced.

## Key findings

- Clinical-radiomics models achieved high accuracy (AUC 0.92) in predicting mortality.
- XGBoost machine learning model performed well (AUC 0.90) with radiomic features being key predictors.
- LLMs like ChatGPT showed potential (AUC 0.78) when combined with clinical and radiomic data.

## Abstract

Severe community-acquired pneumonia (SCAP) is a significant global health challenge due to its high mortality. Despite advances, early diagnosis and effective management remain critical. Tools like radiomics analyze imaging data for risk assessment, while machine learning and nomograms aid in personalized treatment. Large language models (LLMs) enhance clinical decision-making by analyzing data and supporting care strategies. This study integrates these methods to predict 28-day mortality in SCAP patients.

A cohort of 599 patients diagnosed with severe community-acquired pneumonia (SCAP), including 316 males and 283 females, from Shanghai East Hospital and Xiamen Humanity Hospital were enrolled in this study. High-resolution lung CT scans were used to segment three-dimensional regions of interest, from which 1,050 radiomic features were extracted. The dataset was divided into a training set (80%) and an independent test set (20%), and k-fold cross-validation was applied to optimize model performance. To address class imbalance, the SMOTE oversampling technique was employed. The study integrated radiomics, nomograms, seven machine learning models, and five LLMs to predict the 28-day mortality risk in SCAP patients. SHAP values were utilized to enhance the interpretability of feature contributions. Not only that, this study integrates the prior knowledge provided by LLMs, processed through an embedding layer, with data-driven feature learning in the main network, and dynamically fuses their outputs using a bias network with a gating mechanism, thereby improving the accuracy and interpretability of LLMs in predicting 28-day mortality risk for SCAP patients.

Key predictors of 28-day mortality included inflammatory markers, cytokines, age, CRP, and oxygenation index. Clinical-Radiomics models achieved strong accuracy (AUC 0.92). Machine learning models, particularly XGBoost (AUC 0.90), were highly effective, with SHAP analysis emphasizing radscore’s importance. LLMs like Chatgpt also performed well (AUC 0.78), showcasing the potential of integrating clinical, radiomic, and AI-driven approaches.

This study demonstrates the effectiveness of radiomics, machine learning, and LLMs to predict SCAP outcomes. Models like XGBoost achieved superior accuracy, while SHAP analysis improved interpretability. These advancements highlight the potential for enhanced SCAP prognosis and personalized care strategies.

## Linked entities

- **Diseases:** pneumonia (MONDO:0005249)

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}, CRP (C-reactive protein) [NCBI Gene 1401] {aka PTX1}
- **Diseases:** SCAP (MESH:D045169), community-acquired pneumonia (MESH:D003147), inflammatory (MESH:D007249)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12861895/full.md

## Figures

15 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12861895/full.md

## References

48 references — full list in the complete paper: https://tomesphere.com/paper/PMC12861895/full.md

---
Source: https://tomesphere.com/paper/PMC12861895