← Archive

Developing and Externally Validating Machine Learning Models to Forecast Short-Term Risk of Ventilator-Associated Pneumonia.


OBJECTIVES: To develop and externally validate supervised machine learning models using routinely collected ICU electronic health record (EHR) data to predict short-term onset of ventilator-associated pneumonia (VAP) before clinical diagnosis. DESIGN: Prospective observational cohort study with temporal model development and external validation. SETTING: ICUs. PATIENTS: Mechanically ventilated adults in a prospective observational cohort (Successful Clinical Response In Pneumonia Therapy [SCRIPT]) who underwent bronchoalveolar lavage (BAL) for suspected pneumonia and had BAL-confirmed adjudicated VAP or adjudicated non-VAP status (n = 507). External validation in the Medical Information Mart for Intensive Care-IV (MIMIC-IV) included mechanically ventilated patients with greater than or equal to 48 hours of continuous invasive ventilation (n = 2681). Additional evaluation was performed in participants from the Inhaled Amikacin vs. Placebo to Prevent Ventilator Associated Pneumonia (AMIKINHAL) randomized trial evaluating inhaled amikacin for VAP prevention, using centrally adjudicated VAP outcomes. INTERVENTIONS: None. MEASUREMENTS AND MAIN RESULTS: We extracted 36 day-level clinical features (vital signs, ventilator settings, laboratory values, inflammatory markers, and support devices) from the EHR and trained models to predict VAP within 3, 5, or 7 days before BAL-confirmed diagnosis. Unsupervised clustering identified physiologic states enriched for VAP-labeled days. In internal testing, the best performance reached an area under the receiver operating characteristic curve (AUROC) of 0.866 for predicting VAP within 7 days and 0.843 for predicting VAP within 5 days. Predicted risk increased over the days preceding VAP among patients who developed VAP, while remaining low among non-VAP patients. On external validation in MIMIC-IV, the best model achieved an AUROC of 0.817 for predicting VAP within 5 days. Performance was poor in AMIKINHAL, where only nine of 36 features were available. Across models, influential predictors included ventilator duration and mechanics (e.g., positive end-expiratory pressure), platelet count, and inflammatory markers. CONCLUSIONS: Machine learning models trained on day-level structured ICU data with BAL-confirmed adjudicated labels predicted VAP up to 7 days before clinical diagnosis with strong discrimination and generalized to an external health system when key features were available, supporting future prospective real-time evaluation.
Read the full paper ↗

Keep reading

N opens the next one