An attention-enhanced CNN-BiLSTM framework with confidence-gated inference for arrhythmia detection using ECG signals

Abstract Automated arrhythmia detection from electrocardiogram (ECG) signals is essential for early diagnosis and continuous cardiac monitoring. However, accurate classification remains challenging due to complex temporal dependencies in ECG waveforms and severe class imbalance, where clinically significant arrhythmias are underrepresented. To address these challenges, we propose an Attention-Enhanced CNN–BiLSTM framework with a Confidence-Gated Inference mechanism for ECG-based arrhythmia detection. The proposed model integrates a one-dimensional convolutional neural network (1D-CNN) to capture local morphological features with a Bidirectional Long Short-Term Memory (BiLSTM) network to model long-range temporal dependencies in ECG signals. A temporal attention mechanism is employed to focus on diagnostically relevant segments of the signal. Additionally, a confidence-gated inference strategy is introduced to improve prediction reliability, particularly for minority classes. An extensive ablation study across 18 configurations is conducted to evaluate the contribution of temporal modeling, attention, and inference strategies. On the MIT-BIH Arrhythmia Database, the proposed model achieves an accuracy of 96.58% and a macro-F1 score of 86.05%. To ensure an unbiased evaluation free of test-set leakage, we further adopt a strict protocol in which all hyperparameters ( $$\gamma$$ , $$\tau$$ ) are selected exclusively on a held-out validation set; under this leakage-free protocol the model attains an accuracy of 96.74% and a macro-F1 score of 86.54% on the untouched test set. These findings demonstrate that integrating attention-driven temporal modeling with calibrated inference yields efficient arrhythmia classification on the MIT-BIH benchmark.

Authors

Institutions

Publication Details

Journal
Discover Computing
Published
2026-11-02
DOI
https://doi.org/10.1007/s10791-026-10707-8
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

An attention-enhanced CNN-BiLSTM framework with confidence-gated inference for arrhythmia detection using ECG signals

Arvind Panwar, Achin Jain, Vedprakash Sharma, Massimo Donelli
4 links
Discover Computing
ECG Monitoring and Analysis
article

An attention-enhanced CNN-BiLSTM framework with confidence-gated inference for arrhythmia detection using ECG signals

Arvind Panwar, Achin Jain, Vedprakash Sharma, Massimo Donelli
article en

Abstract

Abstract Automated arrhythmia detection from electrocardiogram (ECG) signals is essential for early diagnosis and continuous cardiac monitoring. However, accurate classification remains challenging due to complex temporal dependencies in ECG waveforms and severe class imbalance, where clinically significant arrhythmias are underrepresented. To address these challenges, we propose an Attention-Enhanced CNN–BiLSTM framework with a Confidence-Gated Inference mechanism for ECG-based arrhythmia detection. The proposed model integrates a one-dimensional convolutional neural network (1D-CNN) to capture local morphological features with a Bidirectional Long Short-Term Memory (BiLSTM) network to model long-range temporal dependencies in ECG signals. A temporal attention mechanism is employed to focus on diagnostically relevant segments of the signal. Additionally, a confidence-gated inference strategy is introduced to improve prediction reliability, particularly for minority classes. An extensive ablation study across 18 configurations is conducted to evaluate the contribution of temporal modeling, attention, and inference strategies. On the MIT-BIH Arrhythmia Database, the proposed model achieves an accuracy of 96.58% and a macro-F1 score of 86.05%. To ensure an unbiased evaluation free of test-set leakage, we further adopt a strict protocol in which all hyperparameters ( $$\gamma$$ , $$\tau$$ ) are selected exclusively on a held-out validation set; under this leakage-free protocol the model attains an accuracy of 96.74% and a macro-F1 score of 86.54% on the untouched test set. These findings demonstrate that integrating attention-driven temporal modeling with calibrated inference yields efficient arrhythmia classification on the MIT-BIH benchmark.

Discover ComputingVol. 29(1)
INTI International University (MY), Galgotias University (IN), University of Trento (IT), Bharati Vidyapeeth's College of Engineering, Delhi (IN)
Good health and well-being
Openalex Percentile: Top 12%
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.

Laika access coming soon