Robust and Calibrated ECG Heartbeat Classification via Hybrid Convolutional, Temporal and Attention-Based Learning

Electrocardiogram (ECG) heartbeat classification is an essential component of automated arrhythmia detection and intelligent cardiac monitoring systems. Traditionally, ECG analysis has depended on manual interpretation by clinicians and conventional machine learning approaches based on handcrafted features, which are labor-intensive, noise-sensitive, and inadequate for capturing complex nonlinear morphological and temporal characteristics of ECG signals. Furthermore, real-world ECG datasets are highly imbalanced, noisy, and exhibit overlapping waveform patterns across heartbeat classes, leading to biased learning, poor minority class detection, and unreliable predictions. To address these challenges, this paper presents a calibration-aware, reliability-oriented evaluation framework for ECG heartbeat classification, incorporating hybrid deep learning architectures that combine convolutional feature extraction, bidirectional GRU-based temporal modeling, and attention mechanisms. The framework assesses probabilistic reliability using calibration metrics, such as the Brier Score and Expected Calibration Error (ECE), rather than explicitly modeling predictive uncertainty methods. Experimental results on the ECG Heartbeat dataset show that CNN achieves the highest testing accuracy (98.44%), largely due to strong performance on the majority class in an imbalanced setting. Among hybrid approaches, a representative hybrid CNN + BiGRU + Attention model attains a competitive accuracy of 97.80%, along with a higher macro F1-score (0.9052), improved training stability, and good calibration behavior (Brier Score = 0.0417, ECE = 0.1023). As the experiments are conducted on preprocessed, fixed-length segments, the results reflect performance under controlled conditions rather than real-world clinical deployment conditions and should therefore be interpreted as a benchmark-level evaluation. Furthermore, no single model consistently outperforms others across all evaluation criteria, as different metrics capture distinct aspects of performance.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-04-30
DOI
https://doi.org/10.3390/app16094393
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Robust and Calibrated ECG Heartbeat Classification via Hybrid Convolutional, Temporal and Attention-Based Learning

Shilpa Gupta, Vikas Mittal, Jyoti Rani
Applied Sciences
ECG Monitoring and Analysis
article

Robust and Calibrated ECG Heartbeat Classification via Hybrid Convolutional, Temporal and Attention-Based Learning

Shilpa Gupta, Vikas Mittal, Jyoti Rani
article en

Abstract

Electrocardiogram (ECG) heartbeat classification is an essential component of automated arrhythmia detection and intelligent cardiac monitoring systems. Traditionally, ECG analysis has depended on manual interpretation by clinicians and conventional machine learning approaches based on handcrafted features, which are labor-intensive, noise-sensitive, and inadequate for capturing complex nonlinear morphological and temporal characteristics of ECG signals. Furthermore, real-world ECG datasets are highly imbalanced, noisy, and exhibit overlapping waveform patterns across heartbeat classes, leading to biased learning, poor minority class detection, and unreliable predictions. To address these challenges, this paper presents a calibration-aware, reliability-oriented evaluation framework for ECG heartbeat classification, incorporating hybrid deep learning architectures that combine convolutional feature extraction, bidirectional GRU-based temporal modeling, and attention mechanisms. The framework assesses probabilistic reliability using calibration metrics, such as the Brier Score and Expected Calibration Error (ECE), rather than explicitly modeling predictive uncertainty methods. Experimental results on the ECG Heartbeat dataset show that CNN achieves the highest testing accuracy (98.44%), largely due to strong performance on the majority class in an imbalanced setting. Among hybrid approaches, a representative hybrid CNN + BiGRU + Attention model attains a competitive accuracy of 97.80%, along with a higher macro F1-score (0.9052), improved training stability, and good calibration behavior (Brier Score = 0.0417, ECE = 0.1023). As the experiments are conducted on preprocessed, fixed-length segments, the results reflect performance under controlled conditions rather than real-world clinical deployment conditions and should therefore be interpreted as a benchmark-level evaluation. Furthermore, no single model consistently outperforms others across all evaluation criteria, as different metrics capture distinct aspects of performance.

Applied SciencesVol. 16(9)
Chandigarh University (IN)
No poverty
Openalex Percentile: Top 9%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.