Electrocardiogram-AI and Cardiovascular System: History
Please note this is an old version of this entry, which may differ significantly from the current revision.
Contributor: , , , , , , , , , , , , , ,

The electrocardiogram (ECG) is among the most commonly utilized clinical tests for patient monitoring and assessment because it is easy to acquire and provides extensive information about patients’ cardiac health [1]. Instead, continuous, real-time, remote monitoring allows for a more rigorous oversight of patients’ conditions, even compared to in-hospital observation. Wearable devices to address monitoring are now a prominent focus of industry [1,2,3,4,5,6], which in turn provides strong motivation for applying artificial intelligence (AI) algorithms to ECG signals for automated disease detection and prediction [7,8,9,10,11].

  • ECG
  • wearable technology
  • machine learning
  • deep learning
  • m-health

1. Diseases

1.1. Arrhythmias

Cardiac arrhythmia is an abnormal rhythm of the heartbeat [19]. The electrical pathway of a normal cardiac contraction has a characteristic electrical pattern on an ECG recording, comprised of a “P” wave (indicating atrial depolarization), followed by a “QRS” complex (indicating ventricular depolarization), and a “T” wave (indicating ventricular repolarization). A typical ECG is shown in Figure 1.
Figure 1. Components of a normal electrocardiogram include P- and T-waves and the QRS complex.
Perturbations in the ECG may indicate underlying pathophysiologic changes. Common conditions that can be discerned from ECG changes include various arrhythmias. The most common type of irregular arrhythmia is atrial fibrillation (AF), which is characterized by disorganized electrical impulses of the atrium. AF increases the risk of stroke by up to 17% annually in high-risk individuals [20]. In addition, AF with sustained ventricular rates greater than 110 beats per minute can lead to cardiomyopathy, heart failure (HF), and sudden cardiac death if not adequately treated [21]. The worldwide prevalence of AF was estimated at approximately 46 million individuals in 2016 [22], with up to one-third of these individuals being asymptomatic and thus unaware they have AF while also being at increased risk of stroke.
In addition to AF, there are other arrhythmias for which wearable ECG devices are amenable including premature atrial contraction, premature ventricular contraction (PVC), atrial flutter, atrioventricular reentrant tachycardia, atrioventricular nodal reentrant tachycardia, and first-, second-, or third-degree heart block. Several recent papers demonstrated the use of wearable technology capable of identifying premature atrial contractions or PVCs with over 97% accuracy [17,18,23,24]. A class of malignant arrhythmias has a high risk of progression to cardiac arrest or even death [25]. Examples of malignant rhythms include ventricular tachycardia and ventricular fibrillation.

1.2. Coronary Artery Disease

Coronary artery disease is the insidious buildup of cholesterol plaques within the walls of the arteries of the heart, eventually leading to a narrowing of the blood vessels [26]. When the narrowing of blood vessels surpasses a critical threshold (often described as a narrowing of greater than 70% of the inner lumen of the artery), symptoms such as exertional chest pain (angina), exertional shortness of breath, and decreased exercise tolerance can occur. Coronary artery disease accounts for the vast majority of cardiac-related deaths [27]. A diagnosis of coronary heart disease generally requires a history and physical exam, a stress test, and an observation of ECG changes suggestive of cardiac ischemia.
Various ECG changes are associated with acute and chronic ischemia. For instance, the presence of Q waves in any lead other than the right-sided leads (i.e., aVR and V1, occasionally in III) is often pathognomonic for prior infarction and non-viable myocardium [28]. On the other hand, chronically inverted T-waves and ST depressions are generally described as non-specific ECG patterns and are difficult to interpret on their own, requiring additional context. However, in the correct clinical setting, these changes can be dynamic where they appear while the patient has active symptoms and normalize when they resolve. Such dynamic changes indicate significant coronary artery disease that needs to be aggressively investigated because the sudden development of ST-segment elevation associated with symptoms suggests an evolving coronary artery occlusion and subsequent myocardial impairment. Such patients need to be examined then treated immediately. Future work to develop ECG-AI wearables for real-time detection of acute ischemia will likely improve outcomes.

2. Wearables

ECG-AI has been combined with wearable devices to investigate various cardiac pathologies, including AF, stroke, cardiac arrest, and heart failure. In fact, arrhythmia monitoring is among the most popular applications of wearable devices in medicine. However, wearable devices are limited in their ability to detect arrhythmias other than AF [6,29], particularly ventricular tachycardia or ventricular fibrillation, which is why wearable technologies capable of accurately detecting either ventricular tachycardia or ventricular fibrillation were limited in the literature.
Overall, there are a limited number of studies involving wearables. Some studies use commercially available wearables to explore the implementation of ECG-AI. For example, devices such as the Amazfit Band 1S (PPG and single-lead ECG) [30], the HealthyPiV3 biosensors [31], or Polar H7 HR monitor [32] have been utilized. A few research groups have even built their own wearable ECG recording prototypes [33,34,35].
The Food and Drug Administration (FDA) recently approved a single-lead ECG smartwatch proven to detect AF in the general population [36]. Another device developed for AF monitoring and detection includes a single-lead wireless ECG patch worn over the chest, which provides real-time ECG monitoring using cloud-based data analysis and data sharing with medical providers [13]. Similarly, a custom wrist-based wearable ECG recorder was compared to the standard 12-lead configuration via a prospective, registration-only, single-center study for the detection of AF [37]. Although a small dataset based on a relatively low number of patients was used, a sensitivity and specificity of 99.4% and 99.8%, respectively, were reported. The wrist-based device’s convenience and ease of use was highlighted as an attractive modality for arrhythmia detection in the general population. Lastly, a single-lead ECG chest belt that transmits data to a cloud service for analysis was described, and a sensitivity and specificity of 100% and 95.4%, respectively, were reported [38]. The study included a user experience questionnaire, showing that 77% of participants preferred the chest belt to a standard 3-lead Holter monitor. Additional studies detecting AF have been performed using commercially available heart rate monitors and ECG systems [30,31,32,39,40,41].

3. Algorithms

3.1. Arrhythmia

Due to their ubiquitous availability, most ECG-AI research has been performed using public databases such as the PhysioNet [42] MIT-BIH Arrhythmia database [43,44] while only a few research groups have independently acquired data from patients. Curated and publicly available datasets include physician annotations that provide a reference for ECG-AI algorithm training (Table 1).
Machine learning (ML) and deep learning (DL) have both been extensively applied to ECG data to detect arrhythmias. Despite being relatively poorer performing, ML is utilized for arrhythmia detection due to some of the limitations of DL, including resource-intensive hyper-parameters to find the optimal network configuration and the challenges in understanding the rules underlying trained prediction models [45]. However, DL has shown modest improvements over ML for arrhythmia detection. The varying sample resolutions could pose a challenge for these techniques, but it was shown that it is possible to accurately detect arrythmias using down sampled ECG data [46].
ML approaches often include the use of decision tree ensembles such as Random Forest [13,47] or support vector machines (SVMs) [40,48] for arrhythmia classification. Multi-stage and multi-level classification systems derive local features of atrial and ventricular activity through a combination of SVMs and decision trees and global features from the raw ECG recording, ultimately leading to classification through linear SVMs. Furthermore, a rotated linear-kernel SVM has been proposed in which two SVM classifiers are trained, one on the global dataset and the other on a patient-dependent dataset obtaining two different discriminant hyperplanes. The final hyperplane, obtained by rotating the first hyperplane by a specific amount towards the second hyperplane, resulted in an improved sensitivity [49]. Similarly, this ML method has been used with a classifier of de-correlated Lorenz plots of inter-beat intervals [32], and with another classifier built on features extracted through pre-processing methods from density Poincaré plots that represented the ECG segments [23]. Alternatively, the use of SVMs through a semi-supervised learning method was demonstrated [50], while the hybrid framework effectively combined the advantages of ensemble learning and evolutionary computation to maximize arrhythmia classification accuracy [51].
With regard to DL approaches, convolutional neural network (CNN) architecture was applied to arrhythmia [52,53,54] and AF classifications [24,55]. Other architectures of interest for AF classification include a deep densely connected neural network based on 12-lead ECG [15], a feedforward neural network based on features encompassing R-R intervals [56] and another based on the Lightweight Fusing Transformer [17]. Hybrid constructions have also been presented, frequently involving an architecture based on a CNN and long short-term memory (LSTM) [57,58,59,60], as well as an extension to SVM with predictions from a CNN [41]. With a similar premise to the rotated linear-kernel SVM [49], a study has proposed a Generic CNN suitable for all individuals, and a tuned dedicated CNN as obtained by finetuning the previous model with respect to a specific individual [61]. Another approach of interest is the use of multi-scale (MS) CNNs to improve feature extraction and classification from ECG data [62]. Additionally, a global hybrid multi-scale convolutional neural network (Acc 99.84%) was proposed as an advanced alternative to other MS-based approaches through their hybrid multi-scale convolution module [63].
Previous research has also designed lightweight DL models using cloud-based applications to efficiently classify ECG data. These approaches utilize fused recurrent neural network (RNN) layers instead of standard RNN layers [39]. The application of compression [44,64] and conversion techniques (Acc 99.60%) [65], and model-hardware co-optimization [66] to reduce the model’s size in terms of computational parameters, resulted in lower memory consumption and inference time. Other techniques to accelerate arrhythmia detection include real-time data compression, signal processing, and data transmission [67,68,69]. Alternatively, ECG data may be compressed to enable real-time AF classification [70,71].
In addition to directly processing ECG data, some studies focused on its two-dimensional representation, which can be used for feature extraction and/or classification. Examples of these representations include spectrograms [31] and iris spectrograms [72]. Alternatively, the ECG signal may be transformed into an electrocardiomatrix, which is a two-dimensional representation that includes the rhythm and shape of the QRS complex [73]. A beat-interval-texture CNN was then used to process the electrocardiomatrix. In this architecture, there are four different layers: the first two layers perform low-level feature extraction, and the two subsequent layers perform high-level feature extraction using three types of convolution filters (beat, interval, and texture). Next, a feature attention layer weighs the identified features concerning the arrhythmia classes and uses such weighted features for classification.
Deep metric learning for PVC detection has also been demonstrated [18]. Such learning methods combine the mechanisms of metric learning for effective feature extraction in which the features are processed with k-nearest neighbors for binary classification. In comparing ML and DL, the former may use the ECG to define summary features that provide physiologic insight, whereas the latter automatically extracts discriminating information from complete waveforms [74]. ML and DL may complement one another, as demonstrated by the multiview fusion classification model in which both summary and deep features from ECG signals were fused [57]. However, DL may independently offer some physiologic information via gradient-weighted class activation mapping, which can highlight the relative contributions of the temporal regions of the ECG signal that most contribute to the AI-obtained classification [73].

3.2. Other Cardiovascular Diseases

Other cardiovascular conditions amenable to ECG-AI include myocardial infarction and heart failure (Table 2). Particularly with myocardial infarction detection, there has been a shift from ML techniques towards DL techniques [16,35,78] due to their higher performances and the fact that no handcrafted feature extraction is required. DL techniques for myocardial infarction detection include the application of both simple and complex models. Examples of simple DL models include an artificial neural network with only three layers (Acc 99.10%) [79] and CNN [12,16] and LSTM [80] algorithms. More complex DL models include a deep belief network for unsupervised heart rate variability (HRV) feature extraction and selection with LSTM for classification [76], a multi-channel lightweight model for the simultaneous analysis and classification of four ECG leads [81], and a two-dimensional CNN for the classification of ECG waveform snapshots [34]. It is important to notice that the ECG-AI determination of myocardial infarction commonly involves 12-lead data because the different leads represent different projections of the heart’s electrical activity, which is necessary to capture region-specific ischemia [12,16,78,79,80,81]. However, some algorithms were assessed based on data recorded from wearable single-lead devices [34,35].
The analysis of 12-lead data also enabled the screening of heart failure with reduced ejection fraction (Acc 82.50%) [82]. Following a short-time Fourier transform in combination with a CNN, an interpretable model highlighted the essential regions in the various ECG leads associated with the final classification. In particular, the lateral (aVL, I, −aVR, V5, V6) and anterior leads (V3, V4) greatly impacted heart failure with a reduced ejection fraction detection. In contrast, the performance of the inferior leads (II, aVF, III) was relatively poor. The findings also confirmed that a rightward T-wave axis, prolonged QT duration, and prolonged QTc are associated with heart failure and that the T-wave axis is an independent and strong risk factor for cardiac events in the elderly.

This entry is adapted from the peer-reviewed paper 10.3390/s23104805

This entry is offline, you can click here to edit this entry!
ScholarVision Creations