1 Abstract
Accurate assessment of patient-ventilator interaction is critical for optimizing respiratory support and detecting harmful dyssynchronies linked to adverse outcomes, including ventilator-induced lung injury and prolonged ICU stays. This requires precise, breath-by-breath segmentation and phase delineation of ventilator waveforms, specifically pressure, flow, and volume. Current reliance on manual annotation limits scalability and consistency, particularly given the variability of waveforms across diverse patient conditions and ventilator settings. To address this challenge, we present a fully automated, two-stage hybrid pipeline that integrates a rule-based algorithm with a Deep Learning (DL) model. The rule-based module generates pseudo-labels by detecting steep rises in the pressure derivative for breath segmentation and analyzing zero-crossings in the flow signal for phase delineation. These labels train a modified 1D U-Net enhanced with Bidirectional Long Short-Term Memory (Bi-LSTM), which captures temporal dependencies and improves adaptability to complex waveform morphologies, such as double-triggered ventilator dyssynchrony breaths. The framework was developed using data from adult ICU patients and evaluated on an independently annotated test set. The Bi-LSTM U-Net model achieved a Dice score of 0.9611, surpassing both the rule-based method, which scored 0.9321, and baseline U-Net architectures, which scored 0.9587. The model demonstrated high temporal precision, with inspiration offset and onset errors of 0.004± 0.013 seconds and 0.013 ±0.028 seconds, respectively. The Bi-LSTM architecture proved particularly effective, reducing inspiration offset errors by 43% and onset errors by 28% compared to the rule-based method and baseline U-Net, while also maintaining low error variability. This hybrid approach provides a scalable, accurate, and fully automated solution for ventilator waveform analysis, enabling enhanced assessment of patient-ventilator synchrony without manual intervention.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This work was supported through the Seed Grant (RD/0523-IRCCSH0-024) and the Institution of Eminence funding provided by the Indian Institute of Technology Bombay, Mumbai, India.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
The Institutional Ethics Committee of Dr. L.H. Hiranandani Hospital, Mumbai, India, gave ethical approval for this work. The Institute Ethics Committee of the Indian Institute of Technology Bombay, Mumbai, India, gave ethical approval for this work.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
The data used in this study are not available





