A novel multi-scale 2D CNN with weighted focal loss for arrhythmias detection on varying-dimensional ECGs

Pan Xia1,2, Zhengling He1,2, Zhongrui Bai1

  • 1State Key Laboratory of Transducer Technology, Aerospace Information Research Institute, Chinese Academy of Sciences, Beijing, People's Republic of China.

Physiological Measurement
|November 6, 2022
PubMed

Insights

A novel algorithm automatically identifies 30 arrhythmias using multi-scale 2D CNNs and reduced-lead electrocardiograms (ECGs). This approach shows potential for accurate arrhythmia detection, even with fewer ECG leads.

Area of Science:

  • Cardiology
  • Artificial Intelligence
  • Signal Processing

Background:

  • Electrocardiograms (ECGs) are crucial for diagnosing arrhythmias, impacting cardiovascular disease prevention and treatment.
  • Accurate and early arrhythmia detection is vital for patient outcomes.
  • Current methods may benefit from advanced algorithmic approaches for improved accuracy and efficiency.

Purpose of the Study:

  • To develop a multi-scale 2D Convolutional Neural Network (CNN) algorithm for automatic identification of 30 arrhythmias.
  • To evaluate the algorithm's performance using varying-dimensional ECG signals (12-lead down to 2-lead).
  • To investigate the impact of reduced-lead ECGs on arrhythmia detection accuracy.

Main Methods:

  • Proposed a novel multi-scale 2D CNN to capture pathological ECG information at various scales.
  • Explored the influence of different convolution kernel sizes and subnetwork architectures.
  • Implemented weighted focal loss to address class imbalance in multi-label arrhythmia classification.
  • Compared model performance across 12-lead, 6-lead, 4-lead, 3-lead, and 2-lead ECGs.

Main Results:

  • Achieved competitive scores on a hidden test set, comparable to top teams in the PhysioNet/Computing in Cardiology Challenge 2021.
  • Demonstrated strong performance across all tested ECG dimensions, including reduced-lead configurations.
  • Validated the effectiveness of multi-scale perception and weighted focal loss for arrhythmia detection.

Conclusions:

  • A multi-scale framework effectively detects 30 arrhythmias from varying-dimensional ECGs.
  • Multi-scale perception fields are potentially necessary for comprehensive pathological information capture.
  • Weighted focal loss aids in managing class imbalance and improving cross-dataset generalization.
  • Reduced-lead ECGs (e.g., 4-lead, 3-lead) can achieve performance comparable to 12-lead ECGs, highlighting potential for streamlined diagnostics.

Related Concept Videos

ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias01:25

ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias

Arrhythmia is a condition characterized by an irregular heart rhythm, with ECG changes that differ based on its origin and nature. The types of arrhythmias discussed below include atrial, junctional, and ventricular arrhythmias.Atrial ArrhythmiasPremature Atrial Complexes (PACs): PACs are early atrial beats caused by stress, caffeine, alcohol, electrolyte imbalances, hypoxia, hyperthyroidism, or certain medications (e.g., bronchodilators and decongestants). The ECG shows early P waves with an...
89
Correlation between ECG and Cardiac Cycle01:25

Correlation between ECG and Cardiac Cycle

The electrical signals recorded on an electrocardiogram (ECG) occur before the mechanical processes of contraction and relaxation during the cardiac cycle.
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
7.8K
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...
49
Electrocardiogram01:29

Electrocardiogram

An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
2.9K