This invention discloses a method and
system for detecting
atrial fibrillation (AF) on electrocardiograms based on the fusion of time-series and
waterfall plot models, belonging to the fields of
biomedical signal processing and
deep learning technology. This method simultaneously constructs two complementary data representations of the same electrocardiogram
signal: a fixed-duration one-dimensional time-series segment and a two-dimensional
heartbeat stacked
grayscale waterfall plot aligned with the R-wave. These are respectively input into independently trained one-dimensional and two-dimensional convolutional residual networks for classification. Finally, the outputs of the two models are aligned at the
heartbeat time
granularity, and the final AF detection result is obtained through a configurable fusion strategy (intersection, union, or weighted voting). The time-series model excels at capturing
abnormal heart rate rhythms, while the
waterfall plot model excels at identifying abnormal waveform morphology; the two are significantly complementary in boundary cases. In 2,433,594
heartbeat tests with balanced distribution of AF and NAF samples (AF accounting for 43.7%), the
false alarm rate decreased from 4.30% to 1.30% and the missed alarm rate decreased from 1.07% to 0.59% after adopting the intersection fusion strategy. The prediction conflict rate between the two models was only 2.43%, which proves that the two-dimensional fusion has a significant complementary
gain effect under neutral distribution conditions.