Related Experiment Video
Updated: Jun 24, 2025

Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
AttBiLFNet: A novel hybrid network for accurate and efficient arrhythmia detection in imbalanced ECG signals
1Department of Electrical and Electronics Engineering, Hitit University, Corum 19030, Turkey.
Insights
A new hybrid model, AttBiLFNet, accurately detects arrhythmias from electrocardiogram (ECG) signals, even with imbalanced data. This advancement offers a reliable tool for timely identification of heart rhythm anomalies.
Area of Science:
- Cardiology
- Biomedical Engineering
- Artificial Intelligence in Healthcare
Background:
- Arrhythmia is a primary cause of sudden cardiac death, detectable via electrocardiogram (ECG).
- Conventional ECG analysis faces limitations in subjectivity and monitoring duration.
- Class imbalance in ECG data presents a significant challenge for accurate arrhythmia detection.
Purpose of the Study:
- To propose a novel hybrid model, AttBiLFNet, for precise arrhythmia detection in ECG signals.
- To address challenges posed by imbalanced class distributions in ECG datasets.
- To enhance the accuracy and efficiency of automated arrhythmia identification.
Main Methods:
- Developed AttBiLFNet, a hybrid model integrating Bidirectional Long Short-Term Memory (BiLSTM) and Convolutional Neural Network (CNN).
- Incorporated an attention mechanism to focus on relevant ECG signal segments.
- Utilized focal loss function to effectively manage class imbalance issues.
Main Results:
- AttBiLFNet achieved high performance metrics, including 99.55% accuracy and 98.52% precision.
- The model demonstrated superior performance compared to existing methods in terms of accuracy and computational efficiency.
- Key metrics like MF1 score, K score, and sensitivity were calculated, confirming model robustness.
Conclusions:
- AttBiLFNet provides a reliable and efficient solution for automated arrhythmia detection from ECG signals.
- The model's ability to handle class imbalance makes it suitable for real-world clinical applications.
- This research contributes to improving the timely identification of potentially life-threatening cardiac arrhythmias.
Abstract:
Within the domain of cardiovascular diseases, arrhythmia is one of the leading anomalies causing sudden deaths. These anomalies, including arrhythmia, are detectable through the electrocardiogram, a pivotal component in the analysis of heart diseases. However, conventional methods like electrocardiography encounter challenges such as subjective analysis and limited monitoring duration. In this work, a novel hybrid model, AttBiLFNet, was proposed for precise arrhythmia detection in ECG signals, including imbalanced class distributions. AttBiLFNet integrates a Bidirectional Long Short-Term Memory (BiLSTM) network with a convolutional neural network (CNN) and incorporates an attention mechanism using the focal loss function. This architecture is capable of autonomously extracting features by harnessing BiLSTM's bidirectional information flow, which proves advantageous in capturing long-range dependencies. The attention mechanism enhances the model's focus on pertinent segments of the input sequence, which is particularly beneficial in class imbalance classification scenarios where minority class samples tend to be overshadowed. The focal loss function effectively addresses the impact of class imbalance, thereby improving overall classification performance. The proposed AttBiLFNet model achieved 99.55% accuracy and 98.52% precision. Moreover, performance metrics such as MF1, K score, and sensitivity were calculated, and the model was compared with various methods in the literature. Empirical evidence showed that AttBiLFNet outperformed other methods in terms of both accuracy and computational efficiency. The introduced model serves as a reliable tool for the timely identification of arrhythmias.
Related Concept Videos
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias
Types of Arrhythmias
Sinus Node Arrhythmias
Sinus Bradycardia: Originating from the sinoatrial (SA) node, sinus bradycardia involves slower impulses, resulting in a heart rate of less than 60 beats per minute (bpm). Causes include sleep, vagal stimulation, beta-blockers, hypothyroidism,...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...

