Next Article in Journal
Low-Energy Shock Wave Plus Intravesical Instillation of Botulinum Toxin A for Interstitial Cystitis/Bladder Pain Syndrome: Pathophysiology and Preliminary Result of a Novel Minimally Invasive Treatment
Previous Article in Journal
Involvement of Oxidative Stress in the Development of Subcellular Defects and Heart Disease
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Artificial Intelligence-Enabled ECG Algorithm for the Prediction and Localization of Angiography-Proven Coronary Artery Disease

1
Division of Cardiology, Department of Internal Medicine, National Taiwan University Hospital Yun-Lin Branch, Yunlin County 640, Taiwan
2
Cardiovascular Center, National Taiwan University Hospital, Taipei 100, Taiwan
3
Graduated Institute of Biomedical Electronics and Bioinformatics, National Taiwan University, Taipei 106, Taiwan
4
Division of Cardiology, Department of Internal Medicine, Chung Shan Medical University Hospital, Taichung 402, Taiwan
5
School of Medicine, Chung Shan Medical University, Taichung 401, Taiwan
6
Division of Cardiology, Department of Internal Medicine, National Taiwan University Hospital, Taipei 100, Taiwan
7
Bioinformatics and Biostatistics Core, Center of Genomic and Precision Medicine, National Taiwan University, Taipei 100, Taiwan
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Biomedicines 2022, 10(2), 394; https://doi.org/10.3390/biomedicines10020394
Submission received: 19 December 2021 / Revised: 25 January 2022 / Accepted: 28 January 2022 / Published: 7 February 2022
(This article belongs to the Topic Machine Learning Techniques Driven Medicine Analysis)

Abstract

:
(1) Background: The role of using artificial intelligence (AI) with electrocardiograms (ECGs) for the diagnosis of significant coronary artery disease (CAD) is unknown. We first tested the hypothesis that using AI to read ECG could identify significant CAD and determine which vessel was obstructed. (2) Methods: We collected ECG data from a multi-center retrospective cohort with patients of significant CAD documented by invasive coronary angiography and control patients in Taiwan from 1 January 2018 to 31 December 2020. (3) Results: We trained convolutional neural networks (CNN) models to identify patients with significant CAD (>70% stenosis), using the 12,954 ECG from 2303 patients with CAD and 2090 ECG from 1053 patients without CAD. The Marco-average area under the ROC curve (AUC) for detecting CAD was 0.869 for image input CNN model. For detecting individual coronary artery obstruction, the AUC was 0.885 for left anterior descending artery, 0.776 for right coronary artery, and 0.816 for left circumflex artery obstruction, and 1.0 for no coronary artery obstruction. Marco-average AUC increased up to 0.973 if ECG had features of myocardial ischemia. (4) Conclusions: We for the first time show that using the AI-enhanced CNN model to read standard 12-lead ECG permits ECG to serve as a powerful screening tool to identify significant CAD and localize the coronary obstruction. It could be easily implemented in health check-ups with asymptomatic patients and identifying high-risk patients for future coronary events.

1. Introduction

Coronary artery disease (CAD) is one of the major cardiovascular diseases globally. It has a high impact on long-term mortality and morbidity in both developed and developing countries [1]. The previous study had shown that ischemic heart disease leads to around 16% cause of death among all causes [2]. Epidemiology survey also revealed the increasing incidence of CAD globally. However, the screen and assessment of CAD depend on classical symptoms, signs, and other comorbidities.
For further evaluation of possible CAD, there are many non-invasive test modalities, such as stress ECG test, nuclear medicine-based cardiac perfusion scan, single-photon emission computed tomography (SPECT), cardiac magnetic resonance (CMR), and computed tomography angiography (CTA) [3]. However, these tests generally are not easily accessible, require specialized equipment, and are also time-consuming and expensive. The sensitivity and specificity of these tests are not optimal (around 75–90%) [4]. There are also concerns about radiation exposure in nuclear medicine or computed tomography-based exams. Furthermore, stress-based tests that require patient exercise are sometimes not doable in debilitating patients. Accordingly, we need a test that is easily accessible, available, cheap, and highly accurate to predict CAD.
ECG is a non-invasive test. It has the advantages of easy to use, reproducible, widely available, and also inexpensive, compared to previously mentioned test modalities. ECG can be used to detect significant CAD by significant ECG changes, such as ST-segment deviation, T-wave inversion, and Q-wave appearance [5,6]. However, the interpretation accuracy was affected by other conditions, such as arrhythmia, cardiomyopathy, bundle branch block, early repolarization, etc. [7].
Artificial intelligence (AI) in the form of deep learning convolutional neural networks (CNNs) had been used in many disease models before [8]. CNN is a model that can be trained by inputting a large amount of data to automatically extract meaningful features from one-dimensional (e.g., signal) or two-dimensional (e.g., image) data and perform classification or regression tasks. In the medical field, both signal and image data are helpful for clinical diagnosis [9,10]. The AI-enabled ECG (AI ECG) algorithm with deep learning extracts uses meaningful patterns of complex information from ECG. It has been demonstrated to be effective in identified patients with heart failure, left ventricular hypertrophy, paroxysmal atrial fibrillation, and other cardiovascular diseases [11,12]. However, using it to identify patients with significant CAD has never been studied.
We hypothesized that the application of an AI ECG might provide an efficient way for identifying patients with CAD. To test this hypothesis, we performed a retrospective study of comparing ECG between patients with invasive coronary angiography documented significant CAD and normal people to develop and validate a deep learning AI model for detecting CAD and even predicting the location of the obstructed vessel using standard 12-lead ECG.

2. Materials and Methods

2.1. Study Populations

This was a multi-center retrospective cohort study with patients with angiography-proven significant CAD receiving invasive coronary angiography with percutaneous coronary intervention in the National Taiwan University Hospital and National Taiwan University Yun-Lin Branch from 1 January 2018 to 31 December 2020. All the patients received coronary percutaneous coronary intervention (PCI) with stent implant according to Taiwan’s National Health Insurance policy as severe stenosis more than 70% by quantitative coronary angiography assessment or intermediate lesion defined as coronary stenosis between 50–70% with physiological significance (coronary fractional flow reserve < 0.80). The control patients are those in the cardiovascular clinics with neither documented CAD nor positive stress test. We excluded patients who used drug-coated balloons to treat the stenosis to increase the uniformity of the case group. We also defined non-CAD patients as having no prior cardiac history at the time of data collection, similar to previous literature [13]. All patients were followed by their physicians in cardiology out-patient clinics. The study was approved by the Institutional Review Board of the National Taiwan University Hospital (No. 202101049RINC), which waived informed consent.

2.2. Data Collection and Parsing

The algorithm of ECG collection and parsing is shown in Figure 1. A total of 2303 patients with angiography-proven significant CAD were included and a total of 12,954 records of 12-lead ECG were collected. The parsing criteria was based on less than 30 days before the date of the patient’s PCI record. During this period, all 12-lead ECGs of these patients were included in our dataset. After parsing by the criteria, 1635 CAD patients met the criteria and a total of 3221 ECG records (labeled as CAD) were collected. Then, according to the patient’s catheterization results with stent implant, we divided them into three groups: stenosis and stent implant in the left anterior descending artery (LAD), left circumflex artery (LCX), and right coronary artery (RCA).
Among them, there were 899 patients in the LAD group, with 1666 ECG records, 228 patients in the LCX group, with 425 ECG records, and 508 patients in the RCA groups, with 1130 ECG records. There were 1053 normal patients without CAD in the control group, with 2090 ECG records (labeled as NOR).

2.3. Dataset Preparation and Data Analysis

Our research is to use CNN model and the 12-lead ECG of CAD patients to predict which vessel is obstructed. In addition to the three types of coronary artery (LAD, LCX, and RCA), we also added normal patient’s ECG, who showed no evidence of CAD (labeled as NOR) to distinguish the CAD and non-CAD patients.
In our experiment, the dataset was divided into a training set, validation set, and test set, and the split ratio is as follows: [Train/Validation/Test] = [0.85/0.05/0.10]. It should be noted that there is an imbalance in the amount of data between the groups. The imbalance between the groups was found in a pioneer study to cause bias during model training. Therefore, we used a down-sampling strategy to randomly select data to form a subset to achieve a balance of ECG records between all groups. Moreover, we also found the data of the same patient could not be included both in the training and validation datasets; otherwise, it might affect the credibility of the results.
While training with down-sampling subsets, we found that the model has a higher classification ability for ECGs with acute myocardial infarction (AMI) or ischemia labeled in the ECG diagnosis. Therefore, in addition to randomly selecting three class-balanced subsets, there are also two class-balanced subsets selected as subgroup datasets. According to the ECG diagnostic information, the ECG data with AMI or ischemia were selected to form a subset (called “subgroup (1)”). The less discernible data were selected to form the other subset (called “subgroup (2)”) (Supplement Figure S1). Then, we trained both subsets separately to verify our findings.

2.4. Data Type and Preprocessing

There are two types of 12-lead ECG records: one-dimensional time series data and two-dimensional images. Most research was conducted using one-dimensional time series data. In recent years, due to the breakthrough of CNN in image recognition, papers using 12-lead ECG images for research have been published. The data collected from the hospitals in this study was image data, which were cropped from the patient’s ECG records. This image is a standard 12-lead ECG image, including lead I, II, III, V1~6, aVR, aVL, and aVF, produced by MAC 3500, GE Healthcare (Chicago, IL, USA). Its measurement frequency is 500 Hz and the measurement of each lead duration is 2.5 s. Before starting the training, the red grid background was first removed to make the whole picture more precise and focus on the ECG signal itself. The methods of background grid removal and cropping are shown in Supplement Figure S2. After pre-processing, the size of the image will be adjusted to 512 × 256 × 3, and following CNN model training, it will also be trained by this size.

2.5. Model Build-Up

According to the dimensionality of the data in the computing domain, the image is two-dimensional (2D).
In CNN model construction, we used various models and their parameters and have achieved promising results in the ImageNet image recognition competition in the CNN part to do transfer learning. A total of six well-known network architectures (VGG16 [14,15], ResNet50V2 [16], InceptionV3 [17], InceptionResNetV2 [18], Xception [19], and DenseNet [20,21]) had been tried. After the features were extracted by CNN from the 12-lead ECG image, the features were flattened by GlobalAveragePooling (GAP) [22]. GAP is a pooling operation that aims to flatten the feature maps of the last convolutional layer into a one-dimensional feature vector by averaging the values of each feature map. After obtaining the feature vectors, we tried the connection with and without an intermediate dense layer (that is Dense 1 shown in Figure 2) to see which architecture performing better. Next, we added Dropout (drop rate = 0.5), which randomly sets the output features to 0 with the frequency of rate at each step during the training process, to avoid overfitting. Finally, taking the stage two classifier for example, we added another dense layer with a size of four, representing the four types of LAD, LCX, RCA, and NOR, as the output layer. The image input model architecture was shown in Figure 2.

2.6. Training Process

The training platform used in this study is Google Colaboratory (Colab) [23] with a high-RAM GUP environment. Colab is a cloud computing environment that supports python 3.8 and Tensorflow package, which is commonly used to build and train CNN. As a Google resource, Colab can be linked with Google Drive, which allows users to access the files in Colab by uploading datasets to personal Google Drives.
We use the Keras application programming interface (API) to build CNN models. In addition to allowing users to easily build a CNN model, the keras API also provides a simple package that allows users to use various well-known models that have won awards in the ImageNet competition to do transfer learning. In addition to model building, keras also provides various APIs and functions that can be used, such as callbacks, optimizers, metrics, losses, etc. Supplement Table S1 shows the settings of the APIs and the training parameters in this study.

2.7. Evaluation Metrics

The primary outcome of the study was the ability of the AI-enhanced ECG to identify patients with angiography-proven significant CAD using a standard 12-lead ECG recorded at baseline. This performance was assessed by several evaluation metrics, such as the area under the curve (AUC) of the receiver operating characteristic (ROC) curve, accuracy, precision, and recall. All metrics are presented by taking the mean of five times of repetitive training and present with the mean and standard deviation with 95% confidence interval.
The confusion matrix defined four important terms, True Positive (TP), False Positive (FP), Ture Negative (TN), and False Negative (FN), which were used to calculate the metrics we mention above. Accuracy is a metric that evaluates the classification ability of the models by calculating the proportion of samples that are correctly classified among all samples (as Formula (1) shown). Precision indicates the percentage of predicted positive results that are true positives. It is calculated by dividing the number of true positive samples by the sum of true positive and false positive samples (shown in Formula (2)). Recall is a more meaningful metric that reveals the percentage of predicted positive samples that are correctly classified. It is calculated by dividing the number of true positive samples by the sum of true positive and false negative samples (shown in Formula (3)):
A c c u r a c y = T P + T N T P + F P + T N + F N
P r e c i s i o n = T P T P + F P
R e c a l l = T P T P + F N
ROC is defined as the changes between the true positive rate (TPR), known as sensitivity, and the false positive rate (FPR), known as 1-specificity, under various decision thresholds. The ROC curve graphically combines sensitivity and specificity to accurately reflect the relationship between the specificity and sensitivity of the testing result. By shifting the threshold from 0 to 1, we can obtain a series of coordinates from TPR and FPR. With FPR as the X-axis and TPR as the Y-axis, the ROC curve can be plotted.
AUC is the ratio of the area covered under the curve (here, we used the ROC curve), divided by the total area. Calculating the AUC allows us to quantify the ROC curve and use it to compare the performance of the models. The model can be graded into four levels by using AUC, described as follows:
(1)
AUC < 0.5 (no discrimination)
(2)
0.7 ≤ AUC < 0.8 (acceptable discrimination)
(3)
0.8 ≤ AUC < 0.9 (excellent discrimination)
(4)
0.9 ≤ AUC ≤ 1.0 (outstanding discrimination)
The ROC-AUC analysis is used in the fields of radio, biology, criminal psychology, and more recently in machine learning and data mining [24]. In medicine, it is widely used in the diagnosis of diseases, but also in epidemiology, empirical medical research, radiological techniques, and social science research [24]. The advantage of the ROC curve is that it is straightforward to observe the clinical accuracy of the analysis method through the graphical representation.

3. Results

3.1. Image Input Model Architecture Optimization

To optimize image model architecture, we used the subgroup (1) dataset to test the different pre-trained CNN models connected with and without the dense (fully-connected) layer and choose the best model with the highest accuracy as the core CNN model. The experimental results are shown in Table 1. As Table 1 shows, the InceptionV3 CNN model without the dense layer was the best architecture with the highest accuracy of 0.9. Therefore, the rest of the datasets, including randomly selected and subgroup (2) datasets, were also trained with this architecture.

3.2. Detection of CAD and Prediction of the Obstructed Coronary Vessel

3.2.1. Random Selection Dataset

To eliminate the interference of class imbalance, we did randomly select down-sampling in the LAD and RCA categories to balance the amount of ECG data in all categories. To ensure the credibility of the experiment, we did repetitive training and randomly selected a total of three different subsets to calculate the average test score. The result is shown in Supplement Table S2.
The Supplement Table S2 shows the result of the image input model. For the image input model, the AUC of each category was NOR (1.0), LAD (0.885), LCX (0.776), and RCA (0.816). The corresponding confusion matrix and ROC curve are shown in Figure 3a,d.
When analyzing the performance of each subset in both input models, we found that subset 3 had the highest accuracy among all three subsets. To know the key factor why subset 3 can get higher accuracy, we did the comparison of these three subsets. We found that there were more ECG with features or diagnosis of myocardial ischemia in subset 3 compared to the rest of the two subsets, which might cause performance differences among the subsets.

3.2.2. Subgroup Datasets

To verify that features of AMI and ischemia have a high correlation for diagnosing CAD, we then proceed with the subgroup analysis. The first subgroup had those ECGs with AMI or ischemia in the diagnosis, and the second had those without AMI or ischemia in the diagnosis. Table 2 shows the subgroup test scores. Table 2 shows the results of the image input model.
In subgroup (1), as we mentioned in the method, the dataset was down-sampled by certain criteria, where we only included ECGs with AMI or ischemia into the dataset. In the image input model, the accuracy reached 0.9, and the AUC of all categories was greater than or close to 0.95. The corresponding confusion matrix and ROC curve are shown Figure 3b,e. On the other hand, subgroup (2) was associated with a low model performance and the model cannot distinguish LAD, LCX, and RCA well. It could only effectively distinguish between NOR and CAD. The corresponding confusion matrix and ROC curve are shown in Figure 3.
Finally, we provided the evidence of capability of our AI model to predict the coronary lesions. In Figure 4, we show three ECG examples that could not be used to determine the coronary lesions and their angiography results. The AI successfully determined the location of coronary obstruction and the angiography showed the presence of more than 70% stenosis in the AI-predicted coronary lesions.

4. Discussion

CAD and its complications pose a high socioeconomic burden and a high impact on the overall survival of society [25]. According to current guidelines, the detection of significant CAD relies on costly and time-consuming examinations, such as SPECT, CMR, CTA, etc. (sensitivity 57–90%, specificity 60–94%) [3,26]. ECG is a widely available and not expensive examination. It is commonly used as the golden diagnostic study for detecting AMI. However, its efficacy and accuracy for detecting myocardial ischemia or stable CAD is not as good as its ability to predict AMI.
In this study, we found that an AI-enable ECG algorithm can be an effective tool for detecting significant CAD from baseline 12 lead ECG (Marco-average AUC 0.869 for the image input model). Our study provides one alternative timely efficient and cost-effective tool for predicting significant CAD by the AI-enhanced ECG algorithm in common clinical settings. Furthermore, our study also shows that an AI-enhanced ECG algorithm could determine which coronary artery is stenotic or obstructed when the ECG performs the symptom of AMI and ischemia.

4.1. Importance of Model Optimization

Our AI model is better than the previous method based on simple feature classification. It may be because the machine can recognize more embedded features which we would not have recognized in the past if we had chosen an appropriate model. In our research, different CNN architectures had a great impact on the accuracy of classification.
Taking the image input model as an example, as shown in Table 1, all the CNN models without connecting to a dense layer got better results, except for VGG16. We assume that the features that had been taken out from the architecture of these CNN models are good enough; hence, there is no longer a need to add another intermediate layer to adjust the feature weights. It is better to connect directly to the output layer for prediction.
However, VGG16 presented the opposite results. When we removed the dense layer from the fully-connected layer of VGG16, the accuracy was only 0.25, which means the model was not doing the classification. The problem would be caused by the downsampling process in the Maxpooling layer, since the VGG16 architecture performs Maxpooling many times, which in turn leads to information deprivation and loss of discriminative capability. On the contrary, other architectures use the concept of a residual block—the building block of ResNet (12)—to preserve the upper-level features, so the feature extraction capability is relatively better.

4.2. AI in Significant CAD Detection

Our study also shows that if the ECG has some unique features, the AI-based model performs well. In our subgroup analysis, the AI model has a Marco-average AUC of more than 0.95 to predict which coronary artery has significant stenosis, i.e., more than 70%. This finding is compatible with the basics of image-based AI learning because patterns or features recognition is the key to establishing a highly accurate AI model [27]. Another advantage of our study is that we used invasive angiography to define the presence of significant coronary stenosis, which is the gold standard to diagnose CAD. In most of the previous studies of AI-based ECG prediction of CAD, CAD was not diagnosed by the invasive coronary angiography, but by open-source datasets or myocardial infarction patients, and even only using lead II ECG for interpretation [28,29,30]. Therefore, we first demonstrate that AI-based ECG pattern recognition could predict true coronary disease or obstruction and clearly discriminate which coronary vessel is stenotic or severely obstructed if an appropriate training model is incorporated.
This study is very important because it provides a simple way to identify individuals at high risk of significant CAD from the general population, who benefit from invasive coronary angiography with stent implant, and maybe further improving long-term prognosis and even prevent sudden cardiac death [3]. AI-based ECG testing to identify significant CAD is very efficient and highly cost-effective, especially in the settings of routine health exams, in which many patients are asymptomatic.
There are limitations in the present study. The main purpose in this study was to identify patients with documented CAD from the normal people, and this study sought to distinguish those people with significant CAD from the normal people. In normal people, not all the people received angiography. Therefore, some normal people may have severe CAD and silent ischemia, and this is the inherent limitation of choosing controls without angiography. However, our results showed that the performance of using this kind of control patient was acceptable. Nevertheless, our AI algorithm still carries the risk of misclassification of patients with CAD as normal people, which, thus, delays their treatment. Because no non-invasive examination is 100% accurate, we still hope an AI-enabled method for detecting significant CAD can become one of the evaluation tools for detecting and localizing CAD, as it has the potential to be quick and simple, not as time-consuming and expensive, and less harmful than radiation-exposing screening tools, such as stress nuclear medicine or coronary computed tomography.

5. Conclusions

In this paper, we validated the feasibility of using the 12-lead ECG and deep learning AI model to detect the most accurate angiography documented CAD. AI-based ECG could even determine which coronary artery is stenotic or obstructed from image data derived from ECG if a proper AI learning model is chosen.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/biomedicines10020394/s1, Figure S1: Class-balance subsets selected criteria, Figure S2: Data preprocessing, Table S1: Application programming interfaces (API)s and parameter settings, Table S2: Randomly selected subsets test results.

Author Contributions

P.-S.H. and Y.-H.T.: study design, analyses, conducting experiments, and manuscript preparation. J.-J.C.: study design. S.-C.Y., F.-C.C., Z.-W.C. and C.-F.T.: planning. J.-J.H., E.Y.C. and Y.-C.W.: conducting. C.-T.T.: study design, analyses, and manuscript preparation. All authors have read and agreed to the published version of the manuscript.

Funding

The work was supported by grant from the Ministry of Science and Technology (MOST) in Taiwan [110-2314-B-002-217-MY2].

Institutional Review Board Statement

The study was approved by the Institutional Review Board of the National Taiwan University Hospital (No. 202101049RINC), which informed consent.

Informed Consent Statement

The study was approved by the Institutional Review Board of the National Taiwan University Hospital (No. 202101049RINC), which waived informed consent.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author, C.T. Tsai, upon reasonable request.

Acknowledgments

The authors thank all the participating individuals for their contribution to this study. The authors would like to express their thanks to the staff of Department of Medical Research for providing clinical data from National Taiwan University Hospital-integrated Medical Database (NTUH-iMD).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Malakar, A.K.; Choudhury, D.; Halder, B.; Paul, P.; Uddin, A.; Chakraborty, S. A review on coronary artery disease, its risk factors, and therapeutics. J. Cell. Physiol. 2019, 234, 16812–16823. [Google Scholar] [CrossRef]
  2. GBD 2015 Mortality and Causes of Death Collaborators. Global, regional, and national life expectancy, all-cause mortality, and cause-specific mortality for 249 causes of death, 1980-2015: A systematic analysis for the Global Burden of Disease Study 2015. Lancet 2016, 388, 1459–1544. [Google Scholar] [CrossRef] [Green Version]
  3. Knuuti, J.; Wijns, W.; Saraste, A.; Capodanno, D.; Barbato, E.; Funck-Brentano, C.; Prescott, E.; Storey, R.F.; Deaton, C.; Cuisset, T.; et al. 2019 ESC Guidelines for the diagnosis and management of chronic coronary syndromes. Eur. Heart J. 2020, 41, 407–477. [Google Scholar] [CrossRef]
  4. Neglia, D.; Rovai, D.; Caselli, C.; Pietila, M.; Teresinska, A.; Aguadé-Bruix, S.; Pizzi, M.N.; Todiere, G.; Gimelli, A.; Schroeder, S.; et al. Detection of Significant Coronary Artery Disease by Noninvasive Anatomical and Functional Imaging. Circ. Cardiovasc. Imaging 2015, 8, e002179. [Google Scholar] [CrossRef] [Green Version]
  5. Haraphongse, M.; Kappagoda, T.; Rossall, R.E. Localization of coronary artery disease with exercise induced ST segment depression: Coronary angiographic correlation. Can. J. Cardiol. 1985, 1, 92–96. [Google Scholar]
  6. Nakamura, S.; Uzu, T.; Inenaga, T.; Kimura, G. Prediction of coronary artery disease and cardiac events using electrocardiographic changes during hemodialysis. Am. J. Kidney Dis. 2000, 36, 592–599. [Google Scholar] [CrossRef]
  7. Cho, Y.; Kwon, J.-M.; Kim, K.-H.; Medina-Inojosa, J.R.; Jeon, K.-H.; Cho, S.; Lee, S.Y.; Park, J.; Oh, B.-H. Artificial intelligence algorithm for detecting myocardial infarction using six-lead electrocardiography. Sci. Rep. 2020, 10, 1–10. [Google Scholar] [CrossRef]
  8. Yadav, S.S.; Jadhav, S.M. Deep convolutional neural network based medical image classification for disease diagnosis. J. Big Data 2019, 6, 1–18. [Google Scholar] [CrossRef] [Green Version]
  9. Anwar, S.M.; Majid, M.; Qayyum, A.; Awais, M.; Alnowami, M.; Khan, M.K. Medical Image Analysis using Convolutional Neural Networks: A Review. J. Med. Syst. 2018, 42, 226. [Google Scholar] [CrossRef] [Green Version]
  10. Faust, O.; Hagiwara, Y.; Hong, T.J.; Lih, O.S.; Acharya, U.R. Deep learning for healthcare applications based on physiological signals: A review. Comput. Methods Programs Biomed. 2018, 161, 1–13. [Google Scholar] [CrossRef]
  11. Attia, Z.; A Noseworthy, P.; Lopez-Jimenez, F.; Asirvatham, S.J.; Deshmukh, A.J.; Gersh, B.J.; E Carter, R.; Yao, X.; A Rabinstein, A.; Erickson, B.J.; et al. An artificial intelligence-enabled ECG algorithm for the identification of patients with atrial fibrillation during sinus rhythm: A retrospective analysis of outcome prediction. Lancet 2019, 394, 861–867. [Google Scholar] [CrossRef]
  12. Adedinsewo, D.; Carter, R.E.; Attia, Z.; Johnson, P.; Kashou, A.H.; Dugan, J.L.; Albus, M.; Sheele, J.M.; Bellolio, F.; Friedman, P.A.; et al. Artificial Intelligence-Enabled ECG Algorithm to Identify Patients With Left Ventricular Systolic Dysfunction Presenting to the Emergency Department With Dyspnea. Circ. Arrhythmia Electrophysiol. 2020, 13, e008437. [Google Scholar] [CrossRef]
  13. Banerjee, R.; Ghose, A.; Mandana, K.M. A Hybrid CNN-LSTM Architecture for Detection of Coronary Artery Disease from ECG. In Proceedings of the International Joint Conference on Neural Networks (IJCNN), Glasgow, UK, 19–24 July 2020. [Google Scholar]
  14. Qassim, H.; Verma, A.; Feinzimer, D. Compressed residual-VGG16 CNN model for big data places image recognition. In Proceedings of the IEEE 8th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 8–10 January 2018. [Google Scholar]
  15. Zhao, D.; Zhu, D.; Lu, J.; Luo, Y.; Zhang, G. Synthetic Medical Images Using F&BGAN for Improved Lung Nodules Classification by Multi-Scale VGG16. Symmetry 2018, 10, 519. [Google Scholar]
  16. Rahimzadeh, M.; Attar, A. A modified deep convolutional neural network for detecting COVID-19 and pneumonia from chest X-ray images based on the concatenation of Xception and ResNet50V2. Inform. Med. Unlocked 2020, 19, 100360. [Google Scholar] [CrossRef]
  17. Szegedy, C.; Vanhoucke, V.; Ioffe, S.; Shlens, J.; Wojna, Z. Rethinking the Inception Architecture for Computer Vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 2818–2826. [Google Scholar]
  18. Szegedy, C.; Ioffe, S.; Vanhoucke, V.; Alemi, A.A. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, San Francisco, CA, USA, 4–9 February 2017. [Google Scholar]
  19. Srinivasan, K.; Garg, L.; Datta, D.; Alaboudi, A.A.; Jhanjhi, N.Z.; Agarwal, R.; Thomas, A.G. Performance Comparison of Deep CNN Models for Detecting Driver’s Distraction. Comput. Mater. Contin. 2021, 68, 4109–4124. [Google Scholar] [CrossRef]
  20. Chauhan, T.; Palivela, H.; Tiwari, S. Optimization and Fine-Tuning of DenseNet model for classification of Covid-19 cases in Medical Imaging. Int. J. Inf. Manag. Data Insights 2021, 1, 100020. [Google Scholar] [CrossRef]
  21. Zhang, C.; Benz, P.; Argaw, D.M.; Lee, S.; Kim, J.; Rameau, F.; Bazin, J.-C.; Kweon, I.S. Resnet or densenet? Introducing dense shortcuts to ResNet. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Waikola, HI, USA, 5–9 January 2021; pp. 3550–3559. [Google Scholar]
  22. Zhou, B.; Khosla, A.; Lapedriza, A.; Oliva, A.; Torralba, A. Learning deep features for discriminative localization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 2921–2929. [Google Scholar]
  23. Bisong, E. Building Machine Learning and Deep Learning Models on Google Cloud Platform; Apress: Berkeley, CA, USA, 2019. [Google Scholar]
  24. Obuchowski, N.A. Receiver Operating Characteristic Curves and Their Use in Radiology. Radiology 2003, 229, 3–8. [Google Scholar] [CrossRef]
  25. Emery, C.; Torreton, E.; Briere, J.-B.; Evers, T.; Fagnani, F. Economic burden of coronary artery disease or peripheral artery disease in patients at high risk of ischemic events in the French setting: A claims database analysis. J. Med. Econ. 2020, 23, 513–520. [Google Scholar] [CrossRef]
  26. Danad, I.; Raijmakers, P.G.; Driessen, R.S.; Leipsic, J.; Raju, R.; Naoum, C.; Knuuti, J.; Mäki, M.; Underwood, R.S.; Min, J.K.; et al. Comparison of Coronary CT Angiography, SPECT, PET, and Hybrid Imaging for Diagnosis of Ischemic Heart Disease Determined by Fractional Flow Reserve. JAMA Cardiol. 2017, 2, 1100–1107. [Google Scholar] [CrossRef]
  27. Zhu, J.; He, L.; Gao, Z. Feature extraction from a novel ECG model for arrhythmia diagnosis. Bio-Med. Mater. Eng. 2014, 24, 2883–2891. [Google Scholar] [CrossRef] [Green Version]
  28. Butun, E.; Yildirim, O.; Talo, M.; Tan, R.S.; Rajendra Acharya, U. 1D-CADCapsNet: One dimensional deep capsule networks for coronary artery disease detection using ECG signals. Phys Med. 2020, 70, 39–48. [Google Scholar] [CrossRef]
  29. Lih, O.S.; Jahmunah, V.; San, T.R.; Ciaccio, E.J.; Yamakawa, T.; Tanabe, M.; Kobayashi, M.; Faust, O.; Acharya, U.R. Comprehensive electrocardiographic diagnosis based on deep learning. Artif. Intell. Med. 2020, 103, 101789. [Google Scholar] [CrossRef]
  30. Tan, J.H.; Hagiwara, Y.; Pang, W.; Lim, I.; Oh, S.L.; Adam, M.; Tan, R.S.; Chen, M.; Acharya, U.R. Application of stacked convolutional and long short-term memory network for accurate identification of CAD ECG signals. Comput. Biol. Med. 2018, 94, 19–26. [Google Scholar] [CrossRef]
Figure 1. Data collection and parsing protocol.
Figure 1. Data collection and parsing protocol.
Biomedicines 10 00394 g001
Figure 2. Model architecture of the 2D CNN model (output probability number is only for illustration).
Figure 2. Model architecture of the 2D CNN model (output probability number is only for illustration).
Biomedicines 10 00394 g002
Figure 3. Confusion matrix and ROC curve. (a) Confusion matrix of the image input model of random selection. (b) Confusion matrix of the image input model of subgroup (1). (c) Confusion matrix of the image input model of subgroup (2). (d) ROC curve of the image input model of random selection. (e) ROC curve of the image input model of subgroup (1). (f) ROC curve of the image input model of subgroup (2).
Figure 3. Confusion matrix and ROC curve. (a) Confusion matrix of the image input model of random selection. (b) Confusion matrix of the image input model of subgroup (1). (c) Confusion matrix of the image input model of subgroup (2). (d) ROC curve of the image input model of random selection. (e) ROC curve of the image input model of subgroup (1). (f) ROC curve of the image input model of subgroup (2).
Biomedicines 10 00394 g003
Figure 4. ECG examples of the AI model predicting the coronary lesions, arrows indicate stenosis by coronary angiography result. (a) ECG of a patient with >70% stenosis in LAD and about 30% stenosis in LCX in angiography. (b) ECG of a patient with >70% stenosis in LCX in angiography. (c) ECG of a patient with >70% stenosis in RCA in angiography.
Figure 4. ECG examples of the AI model predicting the coronary lesions, arrows indicate stenosis by coronary angiography result. (a) ECG of a patient with >70% stenosis in LAD and about 30% stenosis in LCX in angiography. (b) ECG of a patient with >70% stenosis in LCX in angiography. (c) ECG of a patient with >70% stenosis in RCA in angiography.
Biomedicines 10 00394 g004aBiomedicines 10 00394 g004b
Table 1. Image input model architecture optimization—evaluation metrics with mean and standard deviation with 95% confidence interval.
Table 1. Image input model architecture optimization—evaluation metrics with mean and standard deviation with 95% confidence interval.
w/
ModelAcc.AUCPrecisionRecall
NORLADLCXRCA
VGG160.670 ± 0.0301.000 ± 0.0000.873 ± 0.0360.807 ± 0.0640.913 ± 0.0240.720 ± 0.0390.674 ± 0.020
ResNet50V20.827 ± 0.0071.000 ± 0.0000.927 ± 0.0260.903 ± 0.0240.950 ± 0.0000.836 ± 0.0120.831 ± 0.12
Xception0.850 ± 0.0231.000 ± 0.0000.940 ± 0.0230.907 ± 0.0330.963 ± 0.0070.855 ± 0.0090.851 ± 0.011
Inception
ResNetV2
0.857 ± 0.0351.000 ± 0.0000.957 ± 0.0130.943 ± 0.0170.96 ± 0.0110.847 ± 0.0120.840 ± 0.012
DenseNet1210.843 ± 0.0071.000 ± 0.0000.953 ± 0.0070.920 ± 0.0230.953 ± 0.0070.851 ± 0.0140.831 ± 0.012
InceptionV30.876 ± 0.0251.000 ± 0.0000.958 ± 0.0190.944 ± 0.0240.970 ± 0.0110879 ± 0.0200.873 ± 0.025
w/o
VGG160.250 ± 0.0000.500 ± 0.0000.500 ± 0.0000.500 ± 0.0000.500 ± 0.0000.085 ± 0.0430.252 ± 0.004
ResNet50V20.854 ± 0.0131.000 ± 0.0000.952 ± 0.0040.908 ± 0.0100.966 ± 0.0050.856 ± 0.0170.852 ± 0.015
Xception0.856 ± 0.0051.000 ± 0.0000.954 ± 0.0210.928 ± 0.0160.968 ± 0.0040.857 ± 0.0060.855 ± 0.005
Inception
ResNetV2
0.872 ± 0.0101.000 ± 0.0000.950 ± 0.0150.924 ± 0.0170.976 ± 0.0100.875 ± 0.0090.872 ± 0.010
DenseNet1210.890 ± 0.0141.000 ± 0.0000.978 ± 0.0070.936 ± 0.0250.966 ± 0.0120.893 ± 0.0100.889 ± 0.013
InceptionV30.900 ± 0.0121.000 ± 0.0000.966 ± 0.0100.948 ± 0.0140.978 ± 0.0100.903 ± 0.0110.899 ± 0.012
Acc.: Accuracy, AUC: The area under the ROC curve, NOR: Normal, LAD: Left anterior descending, LCX: Left circumflex artery, RCA: Right coronary artery, w/: with a dense layer, w/o: without a dense layer.
Table 2. Subgroup datasets scores—evaluation metrics with mean and standard deviation with 95% confidence interval (image input model).
Table 2. Subgroup datasets scores—evaluation metrics with mean and standard deviation with 95% confidence interval (image input model).
Image Input Model
SubgroupAccuracyAUCPrecisionRecall
NORLADLCXRCA
10.973 ± 0.0121.0 ± 0.00.966 ± 0.0100.948 ± 0.0140.978 ± 0.0100.903 ± 0.0110.899 ± 0.012
20.566 ± 0.0081.0 ± 0.00.710 ± 0.0400.672 ± 0.0290.704 ± 0.0400.553 ± 0.0450.563 ± 0.006
AUC: The area under curve, LAD: Left anterior descending, LCX: Left circumflex, RCA: Right coronary artery.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Huang, P.-S.; Tseng, Y.-H.; Tsai, C.-F.; Chen, J.-J.; Yang, S.-C.; Chiu, F.-C.; Chen, Z.-W.; Hwang, J.-J.; Chuang, E.Y.; Wang, Y.-C.; et al. An Artificial Intelligence-Enabled ECG Algorithm for the Prediction and Localization of Angiography-Proven Coronary Artery Disease. Biomedicines 2022, 10, 394. https://doi.org/10.3390/biomedicines10020394

AMA Style

Huang P-S, Tseng Y-H, Tsai C-F, Chen J-J, Yang S-C, Chiu F-C, Chen Z-W, Hwang J-J, Chuang EY, Wang Y-C, et al. An Artificial Intelligence-Enabled ECG Algorithm for the Prediction and Localization of Angiography-Proven Coronary Artery Disease. Biomedicines. 2022; 10(2):394. https://doi.org/10.3390/biomedicines10020394

Chicago/Turabian Style

Huang, Pang-Shuo, Yu-Heng Tseng, Chin-Feng Tsai, Jien-Jiun Chen, Shao-Chi Yang, Fu-Chun Chiu, Zheng-Wei Chen, Juey-Jen Hwang, Eric Y. Chuang, Yi-Chih Wang, and et al. 2022. "An Artificial Intelligence-Enabled ECG Algorithm for the Prediction and Localization of Angiography-Proven Coronary Artery Disease" Biomedicines 10, no. 2: 394. https://doi.org/10.3390/biomedicines10020394

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop