A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and

Mengting Yang1,2,3, Weichao Liu1, Henggui Zhang1,4

  • 1Key Laboratory of Medical Electrophysiology, Ministry of Education and Medical Electrophysiological Key Laboratory of Sichuan Province, (Collaborative Innovation Center for Prevention of Cardiovascular Diseases), Institute of Cardiovascular Research, Southwest Medical University, Luzhou, China.

Frontiers in Physiology
|December 22, 2022
PubMed

Insights

This study introduces a lightweight deep learning model for accurate electrocardiogram (ECG) heartbeats classification, addressing data imbalance and enabling use in portable devices. The novel CNN-BiLSTM approach achieves high accuracy for diagnosing cardiac arrhythmias.

Area of Science:

  • Biomedical Engineering
  • Artificial Intelligence in Medicine
  • Cardiology

Background:

  • Electrocardiogram (ECG) analysis is crucial for diagnosing cardiac arrhythmias but is labor-intensive and prone to subjective errors.
  • Deep learning shows promise for ECG analysis, yet struggles with imbalanced datasets and computationally intensive preprocessing.
  • A need exists for efficient, lightweight algorithms for real-time ECG analysis on portable devices.

Purpose of the Study:

  • To develop a robust and efficient deep learning method for classifying heartbeats suitable for wearable ECG monitors.
  • To create an automated system that minimizes reliance on manual feature extraction and noise reduction.

Main Methods:

  • A novel, lightweight deep learning architecture combining Convolutional Neural Network (CNN) and Bidirectional Long Short-Term Memory (Bi-LSTM) was proposed.
  • A weight-based loss function was implemented to mitigate classification bias from imbalanced ECG datasets.
  • The k-fold cross-validation method was employed to enhance model reliability and avoid validation set division bias.

Main Results:

  • The algorithm achieved high performance on the MIT-BIH Arrhythmia Database.
  • Key metrics include 99.33% accuracy, 93.67% sensitivity, 99.18% specificity, 89.85% positive prediction, and 91.65% F1-score.
  • The model processed raw ECG signals without extensive preprocessing, demonstrating efficiency.

Conclusions:

  • The developed CNN-BiLSTM model offers an efficient and accurate solution for automated heartbeats classification.
  • The weight-based loss function effectively addresses class imbalance in ECG data.
  • This lightweight approach is suitable for deployment on portable ECG sensors, advancing remote cardiac monitoring.

Related Concept Videos

Pulse rhythm01:30

Pulse rhythm

Pulse rhythm refers to the pattern of pulsations within specific intervals, offering valuable insights into the regularity or irregularity of the heart's beats as observed through the pattern of pulsation within specific intervals. A regular pulse exhibits a consistent heart rate with uniform waveforms and pulsation force, variations of which can be classified as normal, weak, or bounding.
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
892
Neural Circuits01:25

Neural Circuits

Neural circuits and neuronal pools are two of the main structures found in the nervous system. Neural circuits are networks of neurons that work together to carry out a specific task or process. They consist of interconnected neurons and glial cells, which provide structural and metabolic support.
Neuronal pools are collections of nerve cells with similar functions and interact through chemical and electrical signals. These pools include both interneurons (the central neural circuit nodes that...
1.4K
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...
21
Classification of Signals01:30

Classification of Signals

In signal processing, signals are classified based on various characteristics: continuous-time versus discrete-time, periodic versus aperiodic, analog versus digital, and causal versus noncausal. Each category highlights distinct properties crucial for understanding and manipulating signals.
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
643
Heart Failure IV: Classification and Diagnostic Evaluation01:30

Heart Failure IV: Classification and Diagnostic Evaluation

Heart failure can be classified in various ways, with the most common classifications based on physical activity limitations, disease progression, severity, and treatment strategies.The Functional Classification of Heart Failure divides patients into four categories based on physical activity limitation due to symptom burden.Class I: Patients in this class have cardiac disease but no physical activity limitations. Ordinary activities like walking, climbing stairs, or routine tasks do not cause...
25
Regulation of Heart Rates01:31

Regulation of Heart Rates

The regulation of heart rate is a complex process controlled by the autonomic nervous system (ANS), hormonal influences, and intrinsic cardiac mechanisms. The ANS has two main components: the sympathetic nervous system (SNS) and the parasympathetic nervous system (PNS).
The SNS increases heart rate through the release of norepinephrine and epinephrine, which act on beta-1 adrenergic receptors in the heart. This action increases the rate of depolarization in the sinoatrial (SA) node, the heart's...
2.0K