Abstract
Mechanical ventilation (MV) is a critical life-saving intervention in the Intensive Care Unit (ICU), yet Clinical Decision Support Systems (CDSS) often lack real-time knowledge of the specific ventilator mode (VM) in use. This "information gap" hinders the ability of CDSS to detect patient-ventilator asynchrony or injurious settings. We present a machine learning approach using a Random Forest classifier to identify ventilator modes from raw flow and pressure waveforms. Trained on over 300,000 expert-labeled breaths, the model achieves an average F1-score of 97.52% across five common modes. This hardware-agnostic method enables automated, high-fidelity monitoring without requiring direct digital integration with ventilator hardware.
Introduction
In the ICU, mechanical ventilation is complex and requires precise management. Modern CDSS aim to assist clinicians by monitoring patient status and suggesting setting adjustments. However, interoperability remains a major hurdle; most ventilators do not communicate their internal settings to hospital electronic health records in real-time. Specifically, the Ventilator Mode (VM)—the logic governing air delivery—is often unknown to monitoring software. Without this context, a CDSS cannot accurately determine if a patient is struggling against the machine. Previous rule-based attempts or low-resolution data logs have proven insufficient for the fast-paced ICU environment.
Methods
The researchers treated ventilator mode detection as a time-series classification problem, utilizing a Random Forest (RF) classifier with 30 trees. Instead of raw data, the model uses seven "expert-guided" features that capture the physical signatures of ventilation. These features include the variance of flow slopes and pressures over various time windows, ranging from a single breath to 100-breath sequences.
To ensure clinical utility, the authors implemented a "look-ahead smoothing" algorithm. This heuristic filters out transient, single-breath misclassifications by requiring a predicted mode change to persist for 50 breaths before updating the output. While this introduces a 2.5-minute latency, it provides a stable signal suitable for clinical alerts.
Datasets and Validation
The study utilized a high-resolution dataset from the University of California Davis Medical Center (UCDMC), consisting of 308,957 expert-labeled breaths from 103 subjects. Data was sampled at 50 Hz across five modes: Volume Control (VC), Pressure Control (PC), Pressure Support (PS), CPAP, and Proportional Assist Ventilation (PAV). The dataset was split into distinct training (55 patients) and testing (48 patients) cohorts to ensure the model generalizes to new patients.
Key Results
The final model achieved an average F1-score of 97.52% and an average accuracy of 98.05% for per-breath classification. Performance was particularly high for Volume Control and PAV, which were classified with near-perfect precision.
Sensitivity analysis revealed that the model is remarkably robust; it maintained high performance even when 90% of training observations were removed. Furthermore, the researchers found that using "clean" examples from the beginning of a mode's use was more effective than training on massive, potentially noisy datasets where patient fatigue might alter the waveform signature.
Limitations and Future Work
While highly accurate, the study is limited by its single-center design and the exclusion of less common modes like APRV. Future work will focus on validating the model across different hospital systems and ventilator manufacturers. Additionally, while the 2.5-minute smoothing latency is acceptable for most clinical alerts, applications requiring sub-minute responses may require alternative smoothing strategies.
Conclusion
This research provides a robust foundation for making ventilators "smarter" by simply listening to the breath. By bridging the interoperability gap through waveform analysis, this tool paves the way for more accurate and automated clinical decision support in the ICU.
Summary updated