- Home
- Current Issue
- Article
A Hybrid Segmentation-Classification Framework for ECG Beat Recognition Using U‑Net and ResNet
Authors
1 Department of Electronic Engineering, Chienkuo Technology University, Changhua City, Taiwan.
Article Information
- Published In
- Volume 5, Issue 3 (2026)
- Published Online
- September-December 2026
- Pages
- 320-329
- Article Type
- Original Article
Abstract
View PDFElectrocardiogram (ECG) analysis is a key step in many clinical tasks, because the ECG is the most commonly used non-invasive examination for assessing cardiac condition. State-of-the-art algorithms rely on digital signal processing (DSP) techniques, which require considerable effort to re-tune rules for new morphologies. In contrast, deep learning (DL) algorithms, especially for classification, are attracting growing attention in academia and industry. This study proposes a three-stage hierarchical deep learning framework. In Stage 1, a one-dimensional U-Net performs coarse segmentation of the ECG signal to separate background from regions of cardiac activity. In Stage 2, an attention-fusion U-Net takes the probability map produced in Stage 1 to localize and classify the P wave, QRS complex and T wave more precisely in time. In Stage 3, complete heartbeat segments are extracted from the Stage 2 segmentation result and a beat-level classification model is trained to classify beats, following the AAMI EC57 standard, into normal beats (N) and three classes of abnormal rhythm (S, V and Q). The Stage 1 and Stage 2 segmentation models achieved Macro F1 scores of 0.965 and 0.999, respectively, indicating very high waveform localization accuracy. Combined with soft max post-processing, the final four-class beat classifier reached a Macro F1 of 0.9779 and an overall accuracy of 0.9970 on the test set, and remained stable on the minority classes (V and Q).
Related Articles
Share Article
*Instagram doesn't support direct link sharing from web. Copy the link and share it in your Instagram story or post.