BackEmergency Medicine

Prediction of Respiratory Decompensation in Patients Receiving Home Mechanical Ventilation: Machine Learning Model Development and Validation Study

JMIR Formative ResearchResearch Authors: Nerea Berbel Casado, Francesc López Seguí, Natalia Muñoz Moruno, Antoni Rosell, Aïda Muñoz Ferrer, Ignasi Garcia Olive, Marina Galdeano LozanoAIIM Authors: Ariyana Shafizadeh, Zaid ShehryarApproved by President Reda RiffiPublication Date: 12/30/2025

Comprehensive Summary

Casado et al. aimed to determine whether a machine learning-based model could predict respiratory decompensation events in patients using home mechanical ventilation based on device usage data. Data collected included device usage patterns, compliance with utilization, mask leakage, and ventilator settings. Respiratory decompensation was defined as emergency department visits or hospitalizations due to acute respiratory worsening. Multiple machine learning models were trained to recognize the parameters and were evaluated by 10-fold cross validation. Logistic regression possessed the highest recall (mean 0.94, SD 0.06, 95% CI 0.90-0.98) despite having limited accuracy (mean 0.60, SD 0.05, 95% CI 0.56-0.64). The random forest classifier accomplished the most superior balance across the measures (accuracy: mean 0.66, SD 0.10, 95% CI 0.59-0.73; recall: mean 0.78, SD 0.15, 95% CI 0.67-0.89; F1-score: mean 0.70, SD 0.10, 95% CI 0.63-0.77). SHAP analysis indicated that device usage rates, mask leakage levels, and adherence patterns in the week preceding a decompensation event were the most important predictive features.

Outcomes and Implications

This study has important medical implications for patients receiving home mechanical ventilation by demonstrating that machine learning models can help predict respiratory decompensation. By analyzing patterns in device data, these models may identify early warning signs of respiratory deterioration, giving clinicians the opportunity to intervene sooner, adjust treatment plans, and prevent emergency hospital visits. This proactive approach could improve patient stability, enhance quality of life, and reduce health care costs.Additionally, using explainable modeling techniques helps clinicians understand which factors contribute most to risk, making the predictions more useful in practice.

Our mission is to

Connect medicine with AI innovation.

No spam. Only the latest AI breakthroughs, simplified and relevant to your field.