Attention-based 3D CNN with residual connections for efficient ECG-based COVID-19 detection

https://doi.org/10.1016/j.compbiomed.2022.105335Get rights and content

Highlights

  • Automated classification of abnormal heartbeat, Covid-19 and normal groups using 12-lead ECG signals.

  • 3D CNN model comprising of attention mechanism and residual connections is employed.

  • Variational autoencoder is used for data augmentation.

  • Obtained average accuracies of 99.0% for binary classification and 92.0% for multiclass classifications.

Abstract

Background

The world has been suffering from the COVID-19 pandemic since 2019. More than 5 million people have died. Pneumonia is caused by the COVID-19 virus, which can be diagnosed using chest X-ray and computed tomography (CT) scans. COVID-19 also causes clinical and subclinical cardiovascular injury that may be detected on electrocardiography (ECG), which is easily accessible.

Method

For ECG-based COVID-19 detection, we developed a novel attention-based 3D convolutional neural network (CNN) model with residual connections (RC). In this paper, the deep learning (DL) approach was developed using 12-lead ECG printouts obtained from 250 normal subjects, 250 patients with COVID-19 and 250 with abnormal heartbeat. For binary classification, the COVID-19 and normal classes were considered; and for multiclass classification, all classes. The ECGs were preprocessed into standard ECG lead segments that were channeled into 12-dimensional volumes as input to the network model. Our developed model comprised of 19 layers with three 3D convolutional, three batch normalization, three rectified linear unit, two dropouts, two additional (for residual connections), one attention, and one fully connected layer. The RC were used to improve gradient flow through the developed network, and attention layer, to connect the second residual connection to the fully connected layer through the batch normalization layer.

Results

A publicly available dataset was used in this work. We obtained average accuracies of 99.0% and 92.0% for binary and multiclass classifications, respectively, using ten-fold cross-validation. Our proposed model is ready to be tested with a huge ECG database.

Keywords

ECG
Attention mechanism
3D CNN
Residual connections
COVID-19 detection

Cited by (0)

View Abstract