Automatic cardiac arrhythmias classification using CNN and attention-based RNN network

Jie Sun1

  • 1School of Cyber Science and Engineering Ningbo University of Technology Ningbo Zhejiang China.

PubMed

Insights

This study introduces an AI model combining CNN and RNN for accurate cardiac arrhythmia detection from ECG signals. The model shows high performance, aiding early diagnosis and improving patient outcomes.

Area of Science:

  • Cardiology
  • Biomedical Engineering
  • Artificial Intelligence

Background:

  • Cardiac disease poses a significant public health threat, with 0.29 billion patients in China alone.
  • Early diagnosis of cardiac conditions is crucial for reducing mortality and enhancing life quality.
  • Electrocardiogram (ECG) signals are a vital, non-invasive, and cost-effective tool for heart disease diagnosis.

Purpose of the Study:

  • To develop an automated classification model for distinguishing various cardiac arrhythmias.
  • To leverage deep learning techniques, specifically Convolutional Neural Networks (CNN) and Recurrent Neural Networks (RNN), for ECG analysis.
  • To improve the accuracy of arrhythmia classification by incorporating an attention mechanism.

Main Methods:

  • Utilized a hybrid model combining CNN for feature extraction and a bidirectional Gated Recurrent Unit (GRU) network for sequence analysis.
  • Employed an attention mechanism to emphasize critical features within the ECG signal sequences.
  • Evaluated the model on two datasets, including the MIT-BIH arrhythmia database and the China Physiological Signal Challenge 2018 database, addressing class imbalance.

Main Results:

  • The proposed model achieved an average F1 score of 0.9110 on a public dataset.
  • The model demonstrated strong performance on a subject-specific dataset with an average F1 score of 0.9082.
  • The integration of CNN, bidirectional GRU, and attention mechanism proved effective in classifying cardiac arrhythmias.

Conclusions:

  • The developed automatic classification model shows significant potential for practical application in diagnosing cardiac arrhythmias.
  • The hybrid deep learning approach offers a robust method for analyzing ECG signals and improving diagnostic accuracy.
  • Addressing class imbalance in datasets is critical for reliable performance in real-world cardiac monitoring.

Related Concept Videos

Dysrhythmias II: Classification of Tachyarrhythmias01:28

Dysrhythmias II: Classification of Tachyarrhythmias

Tachyarrhythmias are a type of dysrhythmia where the heart rate exceeds 100 beats per minute. Here are some common types of tachyarrhythmias:Sinus TachycardiaSinus tachycardia originates from increased impulses from the sinus node, leading to an elevated heart rate. It is often triggered by stress, fever, or exercise.Patients may experience palpitations, a sensation of a racing heart, dizziness, and chest discomfort.Causes and Risk Factors: Common causes include physical exertion, emotional...
13
Mechanism of Cardiac Arrhythmias01:28

Mechanism of Cardiac Arrhythmias

Arrhythmias are irregular heart rhythms occurring when the heart's electrical impulses become abnormal. These disturbances can lead to various symptoms, depending on their severity and the underlying cause. Some common factors contributing to arrhythmias include hypoxia, ischemia, electrolyte imbalances, excessive catecholamine exposure, drug toxicity, and muscle overstretching. Arrhythmias can be classified into two main types based on the rate and site of origin of abnormal heart rhythms.
972
Disturbances in Heart Rhythm01:28

Disturbances in Heart Rhythm

Arrhythmia or dysrhythmia refers to an abnormal heart rhythm caused by a defect in the heart's conduction system. It can cause the heart to beat irregularly, too quickly, or too slowly, leading to symptoms like chest pain, shortness of breath, and fainting. Factors such as stress, caffeine, alcohol, nicotine, cocaine, certain drugs, congenital defects, diseases, and electrolyte abnormalities can trigger arrhythmias.
Arrhythmias are categorized by their speed, rhythm, and origin. A slow...
1.0K
Dysrhythmias I: Introduction01:15

Dysrhythmias I: Introduction

Dysrhythmias refers to abnormalities in the heart's rhythm. They result from disruptions in the heart's electrical conduction system, which includes the sinoatrial(SA)node, atrioventricular(AV) node, the bundle of His, bundle branches, and Purkinje fibers.Definition and PathophysiologyDysrhythmias result from disorders of impulse formation, impulse conduction, or both. The heart contains specialized cells in the sinoatrial node, atrioventricular node, and the bundle of His and Purkinje fibers...
21
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias01:16

ECG Interpretation of Arrhythmias I: Sinus Arrhythmias

Arrhythmias are disturbances in the heart's rhythm that lead to abnormal heartbeats. These irregularities can originate from different parts of the heart and are classified based on their origin and nature.
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,...
266
Dysrhythmias V: Evaluating Dysrhythmias01:30

Dysrhythmias V: Evaluating Dysrhythmias

Dysrhythmias, also known as arrhythmias, are disturbances in the heart's rhythm that range from benign to life-threatening. A thorough evaluation is crucial for appropriate management and involves a comprehensive medical history, physical examination, and various diagnostic tests.Medical HistorySymptoms: Collect detailed information on palpitations, dizziness, syncope, chest pain, and fatigue. Note their onset, frequency, and triggers.Previous Cardiac Issues: Document any history of heart...
42