PreVAP: an explainable machine learning model for early prediction of ventilator-associated pneumonia using electronic health records and near-real-time clinical dashboards

Ventilator-associated pneumonia (VAP) affects up to 20% of critically ill patients, prolonging hospital stay, increasing costs and contributing to mortality, yet its diagnosis remains challenging. Most machine-learning models for VAP rely on administrative codes or microbiological surrogates and provide a single static prediction. We conducted a retrospective single-centre study of 2,817 adults receiving invasive mechanical ventilation for at least 48 h (2014–2025), 334 of whom developed VAP, using physician-documented diagnoses with exact onset dates and hourly electronic health record data. Twelve algorithms, multiple feature-selection strategies and three prediction horizons (1, 24 and 48 h before onset) were compared. The final CatBoost model, based on 18 routinely collected variables, predicted VAP 24 h before clinical diagnosis with an area under the ROC curve (AUC) of 0.86 and a sensitivity of 0.76 in the held-out test set. SHapley Additive exPlanations (SHAP) identified antibiotic administration, maximum positive end-expiratory pressure, maximum temperature, maximum fraction of inspired oxygen and purulent secretions as the main predictors. The model has been deployed in silent mode, generating hourly, explainable risk estimates with full traceability. External and prospective validation are needed before its clinical impact can be established.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-17
DOI
https://doi.org/10.1038/s41598-026-80526-w
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

PreVAP: an explainable machine learning model for early prediction of ventilator-associated pneumonia using electronic health records and near-real-time clinical dashboards

María A. Bodí, Alejandro H. Rodríguez, Julen Berrueta, Sara Manrique et al.
3 links
Scientific Reports
Machine Learning in Healthcare
article

PreVAP: an explainable machine learning model for early prediction of ventilator-associated pneumonia using electronic health records and near-real-time clinical dashboards

María A. Bodí, Alejandro H. Rodríguez, Julen Berrueta, Sara Manrique, Josep Gómez, Laura Claverías, Alejandro García-Martínez, Pau Orts, Susanna Ausso-Trias, Jose J. Guardiola
article en

Abstract

Ventilator-associated pneumonia (VAP) affects up to 20% of critically ill patients, prolonging hospital stay, increasing costs and contributing to mortality, yet its diagnosis remains challenging. Most machine-learning models for VAP rely on administrative codes or microbiological surrogates and provide a single static prediction. We conducted a retrospective single-centre study of 2,817 adults receiving invasive mechanical ventilation for at least 48 h (2014–2025), 334 of whom developed VAP, using physician-documented diagnoses with exact onset dates and hourly electronic health record data. Twelve algorithms, multiple feature-selection strategies and three prediction horizons (1, 24 and 48 h before onset) were compared. The final CatBoost model, based on 18 routinely collected variables, predicted VAP 24 h before clinical diagnosis with an area under the ROC curve (AUC) of 0.86 and a sensitivity of 0.76 in the held-out test set. SHapley Additive exPlanations (SHAP) identified antibiotic administration, maximum positive end-expiratory pressure, maximum temperature, maximum fraction of inspired oxygen and purulent secretions as the main predictors. The model has been deployed in silent mode, generating hourly, explainable risk estimates with full traceability. External and prospective validation are needed before its clinical impact can be established.

Scientific Reports
University of Louisville (US), Institut de Recerca Biomèdica Catalunya Sud (ES), Louisville VA Medical Center (US), Hospital Universitari Joan XXIII de Tarragona (ES), Universitat Rovira i Virgili (ES)
Good health and well-being
Machine Learning in Healthcare
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.

Laika access coming soon