Back

A Hybrid Rule-Based and Deep Learning Framework for Ventilator Waveform Segmentation and Delineation

Deb, S. D.; Shetty, S.; Dwivedy, A.; Agrawal, D. K.

2026-01-25 respiratory medicine
10.64898/2026.01.24.26344749 medRxiv
Show abstract

1Accurate 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.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.