Literature DB >> 35265907

Feasibility of atrial fibrillation detection from a novel wearable armband device.

Syed Khairul Bashar1, Md-Billal Hossain1, Jesús Lázaro2,3, Eric Y Ding4, Yeonsik Noh5, Chae Ho Cho1, David D McManus4, Timothy P Fitzgibbons4, Ki H Chon1.   

Abstract

Background: Atrial fibrillation (AF) is the world's most common heart rhythm disorder and even several minutes of AF episodes can contribute to risk for complications, including stroke. However, AF often goes undiagnosed owing to the fact that it can be paroxysmal, brief, and asymptomatic. Objective: To facilitate better AF monitoring, we studied the feasibility of AF detection using a continuous electrocardiogram (ECG) signal recorded from a novel wearable armband device.
Methods: In our 2-step algorithm, we first calculate the R-R interval variability-based features to capture randomness that can indicate a segment of data possibly containing AF, and subsequently discriminate normal sinus rhythm from the possible AF episodes. Next, we use density Poincaré plot-derived image domain features along with a support vector machine to separate premature atrial/ventricular contraction episodes from any AF episodes. We trained and validated our model using the ECG data obtained from a subset of the MIMIC-III (Medical Information Mart for Intensive Care III) database containing 30 subjects.
Results: When we tested our model using the novel wearable armband ECG dataset containing 12 subjects, the proposed method achieved sensitivity, specificity, accuracy, and F1 score of 99.89%, 99.99%, 99.98%, and 0.9989, respectively. Moreover, when compared with several existing methods with the armband data, our proposed method outperformed the others, which shows its efficacy.
Conclusion: Our study suggests that the novel wearable armband device and our algorithm can be used as a potential tool for continuous AF monitoring with high accuracy.
© 2021 Heart Rhythm Society.

Entities:  

Keywords:  Accuracy; Armband; Atrial fibrillation; Classification; Entropy; Feature selection; Premature atrial contraction; Template; Wavelet

Year:  2021        PMID: 35265907      PMCID: PMC8890073          DOI: 10.1016/j.cvdhj.2021.05.004

Source DB:  PubMed          Journal:  Cardiovasc Digit Health J        ISSN: 2666-6936


Introduction

Atrial fibrillation (AF) is the most common arrhythmia, associated with significant morbidity. It has become a global health concern as the prevalence and associated mortality have grown significantly in the past decade. AF is associated with a 5-fold increased risk of stroke, heart failure, and dementia and a 2-fold increased risk of death. One-third of hospitalizations related to cardiac arrhythmias are due to AF-related complications and 1 in 5 of all strokes is attributed to AF., AF affects more than 3 million people in the United States and by 2050 it is estimated it will affect more than 7.5 million. However, the total AF burden could be even higher, as about one-third of patients have asymptomatic or paroxysmal AF that remains undiagnosed. Continuous monitoring would increase the likelihood of early AF detection, thus allowing early treatment for primary and secondary stroke prevention,, Currently, research is going on for continuous AF monitoring using various modalities and smart devices, including smartwatch photoplethysmographic-based AF detection, smartphone camera–based AF detection, and AF detection using facial video monitoring. However, these approaches are not feasible for continuous monitoring, especially for paroxysmal AF. More importantly, these smart devices’ recordings suffer from frequent motion artifacts, which limit the AF detection to being accurate only when the subject is not moving. However, electrocardiogram (ECG) being the gold standard for diagnosing AF, continuous monitoring of ECG is often recommended to detect paroxysmal AF episodes., The ECG devices have fewer motion artifact issues when compared to photoplethysmographic-based smart devices. The current options for continuous wearable ECG monitoring are Holter/event monitors and the recently developed patch devices. However, these devices have inherent disadvantages—the former require obtrusive leads, and they all use hydrogel-based electrodes with adhesives that often cause skin irritation. To address these issues, we have recently developed a wearable armband device for continuous ECG monitoring that uses dry electrodes that do not require hydrogel. This self-contained armband device can be worn on the left upper arm for continuous ECG monitoring, with no external leads, and has shown promising reliable ECG recording coverage during both night-time and daytime monitoring. As a result, the purpose of this work is to analyze the feasibility of AF detection using the ECG recordings obtained from this novel wearable armband device. AF detection using the ECG recordings from a wearable armband device has not been studied before. Continuous AF monitoring using an easy-to-wear ECG device with longer battery life would potentially help undiagnosed AF episodes and prevent AF-related complications. As a result, in this work we analyze the feasibility of AF monitoring using the recently developed novel wearable ECG device, which is placed on the upper arm. First, based on the ECG data collected from the intensive care unit (MIMIC-III [Medical Information Mart for Intensive Care III] dataset subset), an AF detection model based on R-R interval variability was developed. Moreover, to overcome false-positives owing to ectopic beats, novel density Poincaré image-based features were incorporated and fed into a 2-step machine learning approach. Finally, the developed model was tested using the wearable armband ECG data without modifying any parameters learned from the training dataset of MIMIC-III. We believe the resulting algorithm could successfully be embedded in the armband device for real-time continuous monitoring for episodes of AF.

Methods

This study consisted of first developing an automated AF detection algorithm using archived ECG data and then testing the trained algorithm using the wearable armband ECG data. Ventricular response variability–based features including density Poincaré plot and statistical parameters are used along with machine learning classifiers to detect the AF segments. For training and validation, stored ECG recordings from intensive care units (ICU) were used, whereas for testing, the armband ECG data were used.

Description of datasets

Two different datasets were used in this study, which are described below.

MIMIC-III dataset (training data)

For the algorithm training and validation, ECG recordings obtained from 30 subjects in the MIMIC-III data were used. MIMIC-III is a large open-source medical record database publicly available in PhysioNet. MIMIC-III contains de-identified health-related data from patients who stayed in critical care units of the Beth Israel Deaconess Medical Center between 2001 and 2012. However, no annotations were provided for this dataset. As a result, ECG signals were annotated by board-certified physicians specializing in AF management for our study. According to the physicians’ annotations, we selected 30 subjects: 10 with AF, 10 with normal sinus rhythm (NSR), and 10 subjects with premature atrial/ventricular contractions (PACs/PVCs). Here we do not discriminate PACs from PVCs; hence they are commonly referred to as PACs here. Moreover, the 30 subjects we selected were identified to have sepsis according to the International Classification of Diseases, Ninth Revision (ICD-9) codes. The ECG recordings were sampled at 125 Hz and the measuring unit was millivolts (mV).

Wearable armband data (testing data)

The armband ECG data were collected using a recently developed wearable armband device. This device is designed to be worn on the upper left arm. It consists of 3 pairs of carbon-black dry electrodes that record 3 different ECG channels and 1 electromyogram channel simultaneously. Figure 1A and 1B shows the prototype of the armband device and the 3 pairs of electrodes, whereas Figure 1C and 1D shows the dry electrode pairs and their connections. Figure 1E shows a subject wearing the armband device (without the cover) on the upper left arm.
Figure 1

Wearable armband device prototype. A: Backside of the device with 3 pairs of electrodes. B: Front view of the armband device. C,D: Three pairs of carbon-black dry electrodes and their connections, which are incorporated into the armband in panel A. E: A subject wearing the device on the upper left arm (without the cover).

Wearable armband device prototype. A: Backside of the device with 3 pairs of electrodes. B: Front view of the armband device. C,D: Three pairs of carbon-black dry electrodes and their connections, which are incorporated into the armband in panel A. E: A subject wearing the device on the upper left arm (without the cover). This preliminary study data consisted of 12 participants (over 21 years of age) with AF recruited from the University of Massachusetts Memorial Health Care system. All participants were approached for informed consent prior to a scheduled elective cardioversion or ablation procedure to treat their AF. Trained research staff instructed participants on the appropriate use of the wearable armband device and discussed study procedures. After obtaining consent, a research staff member placed the ECG armband on the left upper arm of the participants while they were simultaneously monitored on ECG telemetry prior to their cardiac procedure. Research staff returned to the participant’s bedside after their procedure and prior to hospital discharge, placed the ECG armband and an FDA-cleared mobile cardiac telemetry patch (Cardiac Insight Inc, Bellevue, WA) on the participant, and asked each participant to wear both devices for 14 days. At the conclusion of the 14-day follow-up period, participants were asked to return both the armband and the ECG patch. The ECG recordings from the patch were used as the reference. According to the reference telemetry patch data, among the participants, 2 had persistent AF whereas 10 participants had non-AF rhythms (including PAC and NSR). This protocol was approved by the institutional review board of the University of Massachusetts Memorial Hospital (H00013799). The research reported in this paper adhered to the Human Research: Helsinki Declaration as revised in 2013.

Proposed method

Preprocessing

First the ECG signals from the MIMIC-III ICU database were divided into 2-minute nonoverlapping segments. Next, these ECG recordings were checked for noise artifacts using an automated noise detection algorithm. For the armband ECG signals, since there were 3 simultaneous recordings from the 3 pairs of electrodes, at the beginning of the preprocessing a single channel ECG signal was reconstructed from those 3 channels. This reconstruction was based on a recently developed algorithm that calculates several signal quality indices, and based on those, a single-channel ECG was obtained using the 3 armband channels. Details of this reconstruction algorithm are described in work by Lázaro and colleagues. Figure 2A through 2C shows the 3 simultaneous armband ECG signals after band-pass filtering (3–25 Hz) and Figure 2D shows the reconstructed single-channel ECG signal using the algorithm of Lazaro and colleagues for a sample 20-second armband ECG data segment. From this point onwards, the term “armband ECG” refers to this reconstructed single-channel ECG signal. Similar to the MIMIC ECG recording, this reconstructed ECG was then divided into 2-minute nonoverlapping segments.
Figure 2

Sample 20-second data from the wearable armband. A–C: Three simultaneous electrocardiogram (ECG) signals obtained from the 3 channels of the armband. D: Reconstructed single-channel ECG.

Sample 20-second data from the wearable armband. A–C: Three simultaneous electrocardiogram (ECG) signals obtained from the 3 channels of the armband. D: Reconstructed single-channel ECG. For both the MIMIC and the armband ECG signals, once the clean segments were detected and reconstructed by combining only the good ECG channel signals, the R peaks of the ECG signals were detected using a highly accurate peak detection algorithm based on the variable frequency complex demodulation algorithm. Finally, from the detected R peaks, the heart rate (HR) was calculated by taking the reciprocal of the R-R interval series.

Feature extraction

AF is a supraventricular tachyarrhythmia that is characterized by chaotic contraction of the atria. AF leads to irregularly irregular R-R intervals with increased beat-to-beat variability and complexity. During an AF episode, the HR varies randomly, compared to the normal heart rhythm (NSR), during which the HR has regular variation. Figure 3 shows examples of 20-second NSR and AF ECG segments from the MIMIC-III ICU data and the corresponding HR. From the figure, it can be seen that the NSR HR (shown in Figure 3B) varies in a small range (70–73 beats per minute); however, the HR during the AF episode (shown in Figure 3D) varies randomly in a large range (100–160 beats per minute). Similarly, Figure 4A and 4B shows a sample 20-second NSR ECG segment and the corresponding HR obtained from the armband ECG, whereas Figure 4C and 4D shows a sample AF ECG segment and the corresponding HR from the armband.
Figure 3

Examples from the MIMIC intensive care unit data. A: Sample 20-second normal sinus rhythm electrocardiogram (ECG) recording, and B: The corresponding heart rate (HR). C: Sample 20-second atrial fibrillation ECG segment, and D: the corresponding HR. The QRS peaks are denoted by blue and red circles, respectively.

Figure 4

Examples from the wearable armband electrocardiogram (ECG) data. A: Sample 20-second normal sinus rhythm ECG recording, and B: the corresponding heart rate (HR). C: Sample 20-second atrial fibrillation ECG segment, and D: the corresponding HR. The QRS peaks are denoted by blue and red circles, respectively.

Examples from the MIMIC intensive care unit data. A: Sample 20-second normal sinus rhythm electrocardiogram (ECG) recording, and B: The corresponding heart rate (HR). C: Sample 20-second atrial fibrillation ECG segment, and D: the corresponding HR. The QRS peaks are denoted by blue and red circles, respectively. Examples from the wearable armband electrocardiogram (ECG) data. A: Sample 20-second normal sinus rhythm ECG recording, and B: the corresponding heart rate (HR). C: Sample 20-second atrial fibrillation ECG segment, and D: the corresponding HR. The QRS peaks are denoted by blue and red circles, respectively. As this random variation of R-R intervals is the most prominent and easy-to-obtain characteristic of AF, we have used 2 commonly used features—the root mean square of successive differences (RMSSD) and sample entropy (SampEn)—to discriminate between the NSR and AF ECG segments. RMSSD is a commonly used statistical parameter to measure the beat-to-beat variability of HR. The value of RMSSD is expected to be higher in ECG segments containing AF episodes than in ECG segments containing only NSR, as AF exhibits higher variability than does the regular rhythm., Since heart rate can vary a lot across subjects, the RMSSD value of each 2-minute segment is normalized by the mean of the HR of that segment to counter this variability among different subjects and segments. SampEn measures the irregularity and randomness of a time series. Since AF subjects have high variability and randomness in their R-R intervals, the value of SampEn is expected to be higher for the AF subjects. In this study, to estimate SampEn, template length = 1 and tolerance = 60 ms were selected per recommendation in Lake and Moorman. However, PACs/PVCs are common benign causes of rhythm irregularity and their frequent occurrences can mimic the irregular beat pattern typical of AF, thus resulting in false-positive AF detection. To discriminate between AF and PACs, we have used the previously proposed density Poincaré plot approach. PACs occur when an ectopic foci originating in an atrium leads to premature activation of the atria prior to sinoatrial node activation, whereas a PVC occurs when a similar process occurs in a ventricle. Figure 5A shows a sample 20-second PAC ECG segment from the MIMIC data and the corresponding HR is shown in Figure 5B. Figure 5C and 5D show similar examples from the armband data. From Figure 5B and 5D, it is evident that the PAC HR has more variation compared to the previously shown NSR HR (shown in Figures 3B and 4B), especially where the PAC beats occur. As a result, this kind of ECG segment will be incorrectly detected as AF based on RMSSD and SampEn.
Figure 5

A,B: Example of a 20-second premature atrial contraction (PAC) electrocardiogram (ECG) segment (A) and the corresponding heart rate (HR) obtained from the MIMIC data (B). C,D: Example of a 20-second PAC ECG segment (C) and the corresponding HR obtained from the wearable armband ECG data (D).

A,B: Example of a 20-second premature atrial contraction (PAC) electrocardiogram (ECG) segment (A) and the corresponding heart rate (HR) obtained from the MIMIC data (B). C,D: Example of a 20-second PAC ECG segment (C) and the corresponding HR obtained from the wearable armband ECG data (D). To discriminate the PACs from possible AF segments, we used density Poincaré plots derived from the differences of HR.

Feature extraction from density Poincaré plot

To detect the repetitive ectopic beat patterns in the PAC rhythms, Poincaré trajectory-based methods are commonly used in literature., Poincaré plots are generated from the differences of the heart rates. Figure 6A shows a Poincaré plot obtained from a sample 2-minute PAC heart rate, whereas Figure 6D shows a Poincaré plot for an AF segment. The PAC Poincaré plot has a triangular shape (ie, a kite shape) for the repetitive beat pattern, whereas the AF Poincaré plot has a random pattern because the HR varies randomly.
Figure 6

A: Binary Poincaré plot, B: density Poincaré plot, and C: 3D density plot obtained from a sample 2-minute premature atrial contraction segment. D–F: Similar plots for a sample 2-minute atrial fibrillation segment.

A: Binary Poincaré plot, B: density Poincaré plot, and C: 3D density plot obtained from a sample 2-minute premature atrial contraction segment. D–F: Similar plots for a sample 2-minute atrial fibrillation segment. However, these kinds of binary Poincaré plots can misdetect the PAC patterns if the triangular shape is not obvious owing to heart rate trajectories not being perfectly overlapped with each other or owing to noisy beats. Moreover, the binary Poincaré plots do not provide any information on how many times the trajectory lines are overlapped. We are interested in repeated patters of trajectory lines, as they provide consistency and repeatability of PAC patterns. As a result, recently proposed novel “density” Poincaré plot is used here to better capture the overlapped trajectory information. This plot contains how many times the trajectory lines are overlapped, which indicates the density of the overlap; hence, the plot is defined as the density Poincaré plot. Details of the density Poincaré plot can be found in Bashar and colleagues. Figure 6B and 6E shows the density Poincaré plots from both the PAC and AF binary Poincaré plots shown in Figure 6A and 6D, respectively. From the figure, it can be seen that the density plots have varying colors that correspond to different densities. The density distribution is better discernible in the 3D density plot shown in Figure 6C and 6D. From the density Poincaré images, 2 different image domain–based feature extraction methods are used: image template correlation and discrete wavelet transform.

Template correlation-based features

Image template correlation is a well-known and commonly used method in pattern recognition and image processing. The underlying idea is to first calculate the 2D correlation coefficient between a template image and the input image. Next, the correlation value is used as a feature to discriminate PACs from AF. Prior to calculating the correlation, both the template and input images were normalized in [0, 1] range. From the MIMIC-III subset, 12 density Poincaré images are selected as templates by visual inspection and these template images are used for feature extraction; hence, these are removed from the dataset. The density Poincaré templates include 6 from AF and 6 from PACs. Figure 7 shows some of the representative templates: Figure 7A–7C for AF and Figure 7D–7F for PACs.
Figure 7

A–C: Three density Poincaré image templates for atrial fibrillation. D–F: Three density Poincaré image templates for premature atrial contractions.

A–C: Three density Poincaré image templates for atrial fibrillation. D–F: Three density Poincaré image templates for premature atrial contractions.

Discrete wavelet transform-based features

Discrete wavelet transform (DWT) is another popular and well-established technique for extracting features from signals and images, especially with various applications in biomedical signal and image processing., In DWT, the input signal or image is analyzed at different scales and thus time-frequency spectral information can be obtained. In this study, 2D DWT was performed on the input density Poincaré images. At each level of 2D DWT, 4 different sub-bands are obtained, which are called approximation, horizontal, vertical, and diagonal coefficients. In this study, Daubechies 4 wavelets with 2 levels of decomposition are applied to each density Poincaré image. Figure 8 shows the 4 DWT coefficient matrices (approximation, horizontal, vertical, and diagonal) for each of the 2 levels obtained from a sample AF density Poincaré image. Figure 9 shows the similar matrices for a sample PAC image.
Figure 8

A: The input atrial fibrillation density Poincaré image. B–E: Four coefficient matrices obtained from level 1 of the discrete wavelet transform (DWT). F–I: Four coefficient matrices obtained from level 2 of the DWT. The 4 coefficients are approximation, horizontal, vertical, and diagonal, respectively.

Figure 9

A: The input premature atrial contraction density Poincaré image. B–E: Four coefficient matrices obtained from level 1 of the discrete wavelet transform (DWT). F–I: Four coefficient matrices obtained from level 2 of the DWT. The 4 coefficients are approximation, horizontal, vertical, and diagonal, respectively.

A: The input atrial fibrillation density Poincaré image. B–E: Four coefficient matrices obtained from level 1 of the discrete wavelet transform (DWT). F–I: Four coefficient matrices obtained from level 2 of the DWT. The 4 coefficients are approximation, horizontal, vertical, and diagonal, respectively. A: The input premature atrial contraction density Poincaré image. B–E: Four coefficient matrices obtained from level 1 of the discrete wavelet transform (DWT). F–I: Four coefficient matrices obtained from level 2 of the DWT. The 4 coefficients are approximation, horizontal, vertical, and diagonal, respectively. From each of the DWT coefficient matrices, the spectral energy and Shannon entropy were calculated. Shannon entropy is a statistical measurement of disorder and uncertainty. The underlying hypothesis is that by analyzing the entropy and energy from different DWT coefficients, useful features can be obtained to discriminate between AF and PAC. Moreover, after normalizing the DWT coefficient over the [0, 1] range, the entropy is calculated, which is referred to as normalized entropy. As a result, from 2 levels of decomposition, 8 energy features and 16 entropy features are obtained.

Feature Selection

Since we have extracted many features using the density Poincaré plot, we examined down-selection of features. Feature selection is very important in machine learning, as different features can describe different characteristics of the data distribution. Among many available feature selection methods, the infinite latent feature selection (ILFS) method was used in this study. ILFS is a recently developed method that is based on a probabilistic latent graph-based model, and we chose this approach as it has been shown to be effective. Here, feature ranking is performed by considering all the possible subsets of features where relevancy is modeled as a latent variable. Details of the ILFS algorithm are provided in Roffo and colleagues.

AF vs non-AF ECG segment classification

By combining the above-mentioned methods, the discrimination of AF vs non-AF ECG segments was performed in 2 steps. Each step was associated with a binary classification and for that purpose, the support vector machine (SVM) classifier was used. SVM is a popular and widely used tool for solving binary classification problems owing to its excellent generalization properties. SVM works by finding a maximum margin between the training data and the decision boundary. The training samples that are closest to the decision boundary are called support vectors. The first step includes classifying each input ECG segment as either NSR or possible AF classes. For this stage, we have used RMSSD and SampEn as features; linear SVM was implemented as the classifier. This “possible AF” category includes PACs and AF. As the second step, we take only the “possible AF” segments (ie, AF and PACs) and discriminate between AF and non-AF, where non-AFs include PACs. For this discrimination, the density image–based features along with RMSSD and SampEn were used; linear SVM was used as the classifier. Details about the choice of the classifier are described in the Results section. As a result, after the 2 steps, the cascaded SVM provides AF and non-AF decisions for an input ECG segment. Figure 10 shows the overall flowchart of the 2-step AF vs non-AF detection algorithm.
Figure 10

Flowchart of the proposed two-step atrial fibrillation (AF) vs non-AF discrimination algorithm. ECG = electrocardiogram; SVM = support vector machine.

Flowchart of the proposed two-step atrial fibrillation (AF) vs non-AF discrimination algorithm. ECG = electrocardiogram; SVM = support vector machine.

Results

In this section, first we describe the results from the MIMIC-III subset, which includes feature selection, AF vs PAC classification, and AF vs non-AF classification. Next, we present the test results using the wearable armband ECG data. From the MIMIC-III subset, we had 10 AF, 10 NSR, and 10 PAC subjects. From these 30 subjects, we had a total of 505 AF, 551 NSR, and 468 PAC segments of 2 minutes each. After the 12 templates were discarded from the dataset, the final number of 2-minute ECG segments was 1512.

Statistical analysis

To evaluate the performance, the following binary classification accuracy measures were calculated:where TP, TN, FP, and FN indicate true-positive, true-negative, false-positive, and false-negative, respectively.

Feature selection results

We used the density Poincaré plot–based approach for the AF vs PAC classification (step 2 of our proposed method), and subsequently extracted 36 features, from which we reduced the features using the ILFS algorithm. For this purpose, 10-fold cross-validation was performed using the 10 AF and 10 PAC subjects and the ILFS ranking was calculated for each fold. In k-fold step, data were split into k disjoint segments; k-1 folds were used for training and the remaining fold was used for testing. At each fold, the ILFS feature ranking was obtained using only the training data; the algorithm ranked every feature from the total pool of 36 features and a weight was assigned to each feature. Figure 11 shows a bar chart of the ILFS weights for all of the density image–based features for a single fold. We analyzed the feature rankings for each fold and then selected the top 12 features, which were common for most of the 10 folds, thus resulting in a reduction of 67% of the number of features. These features include 8 from the template correlation and 4 from the DWT. The selected density Poincaré plot features were then used for the leave-one-subject-out cross-validation.
Figure 11

Bar chart of all the image-based feature weights obtained from the infinite latent feature selection algorithm.

Bar chart of all the image-based feature weights obtained from the infinite latent feature selection algorithm.

Results on MIMIC data

First, we describe the AF vs PAC classification results using the image-based features. To analyze which classifier model works best with the ILFS selected features, we analyzed the 10 AF and 10 PAC subjects from the MIMIC-III subset. From this dataset, after discarding the templates, we have 499 AF and 462 PAC segments, where each segment consists of 2 minutes of ECG. To study this AF vs PAC classification performance and find out the model parameters, leave-one-subject-out cross-validation was performed using the 20 subjects. Table 1 shows the performance of several machine learning classifiers along with different kernels/parameters where the 12 ILFS-selected density Poincaré image–based features were used. The classifiers compared include SVM with both linear and radial basis function kernels, k-nearest neighbors (KNN) classifier with 2 distance parameters, and discriminant analysis (DA) classifier with different variants. From the table it can be seen that both SVMs give higher overall accuracy than the others; however, the linear SVM resulted in the highest AF, PAC, and overall accuracies of 97.68%, 97.45%, and 97.56%, respectively. As a result, the linear SVM was selected to classify AF and PAC in the second step of our proposed algorithm.
Table 1

Atrial fibrillation vs premature atrial contraction classification performance for different classifiers

Classifier nameParameter/kernelOverall accuracy (%)AF accuracy (%)PAC accuracy (%)
SVMLinear97.5697.6897.45
RBF97.2797.2497.3
DAQuadratic93.7689.8197.7
Linear88.8694.8982.83
Diaglinear88.7599.7977.71
Diagquadratic92.2491.7592.72
Mahalanobis85.7671.7399.8
KNNEuclidean, k = 390.29981.4
Manhattan, k = 392.7898.9886.58

AF = atrial fibrillation; DA = discriminant analysis; KNN = k-nearest neighbors; PAC = premature atrial contraction; RBF = radial basis function; SVM = support vector machine.

Atrial fibrillation vs premature atrial contraction classification performance for different classifiers AF = atrial fibrillation; DA = discriminant analysis; KNN = k-nearest neighbors; PAC = premature atrial contraction; RBF = radial basis function; SVM = support vector machine. Next, we calculated the performance of the SVM classifiers when all 36 of the density Poincaré plot–based features were used. With all 36 features, the linear SVM achieved 98.37% overall accuracy, 98.72% sensitivity, and 98.01% specificity. The radial basis function SVM had 98.36% accuracy, 98.11% sensitivity, and 98.61% specificity. This shows that using all 36 image-based features increases overall accuracy by only ~1% over using only the features selected by ILFS, which had a 67% decrease of feature space (from 36 to 12 features). As a result, this set of 12 features was the best selection, instead of all the 36 density image–based features. Finally, we calculated the overall AF vs non-AF discrimination results using the 30 subjects from the MIMIC-III subset. For this purpose, we performed leave-one-subject-out cross-validation. This ensures that we do not overfit for individual subjects and allows us to examine how the algorithm performs on a new unseen subject. The flowchart provided in Figure 10 describes the process. We used 2 different SVMs for the 2 steps: the first step used RMSSD and SampEn with linear SVM to identify “possible AF” vs NSR; the “possible AF” class included AF and PACs. Then the second SVM used the previously mentioned 12 image-based features as well as RMSSD and SampEn, and used as its input only the “possible AF” detected segments from the first step. This second SVM is also binary and outputs the final AF or non-AF labels. Table 2 shows the confusion matrix obtained from the 30 MIMIC subjects. Since we have 3 classes (AF, PAC, and NSR) in the MIMIC training data, we first show the 3-by-3 confusion matrix. From the table it can be seen that our proposed model achieves high performance for the 3-class detection. Cross-diagonally we have only 4 samples, which shows that only 4 samples were misdetected from all of the 1512 samples. The sensitivity values for AF, PAC, and NSR were 99.40%, 99.78%, and 100%, respectively, whereas the overall accuracy was 99.74%.
Table 2

Confusion matrix of atrial fibrillation, premature atrial contraction, and normal sinus rhythm classification using the MIMIC data

Predicted labels
AFPACNSR
True labels
 AF49630
 PAC04611
 NSR00551

AF = atrial fibrillation; NSR = normal sinus rhythm; PAC = premature atrial contraction.

Confusion matrix of atrial fibrillation, premature atrial contraction, and normal sinus rhythm classification using the MIMIC data AF = atrial fibrillation; NSR = normal sinus rhythm; PAC = premature atrial contraction. Subsequently, we merged the PAC and NSR classes into the combined “non-AF” label and calculated the 2-class confusion matrix, shown in Table 3. This was calculated because eventually we will test the binary classification performance of AF vs non-AF using the novel wearable armband data. From the table, it can be seen that for the binary classification, the sensitivity, specificity, and accuracy were found to be 99.40%, 100%, and 99.80%, respectively; the F1 score was 99.70%.
Table 3

Atrial fibrillation vs non–atrial fibrillation classification on MIMIC data

Predicted labels
AFNon-AF
True labels
 AF4963
 Non-AF01013

AF = atrial fibrillation.

Atrial fibrillation vs non–atrial fibrillation classification on MIMIC data AF = atrial fibrillation.

Results on the Armband Data

To study the feasibility of AF detection using the novel armband device, we applied the trained model on the armband data. In other words, we trained our algorithm using the MIMIC-III ICU data and tested the model directly on the armband ECG data without changing or tuning the model further. This resulted in a blind test scenario. The armband data had a total of 12 subjects; among them, 2 had AF and the rest had either NSR or PACs. We have 7560 2-minute ECG segments from the non-AF subjects (including NSR and PAC) and 936 2-minute segments from the AF subjects, resulting in a total of 8496 2-minute segments for testing. Table 4 shows the results of AF detection using the wearable armband data. Subjects 1 and 2 are the AF subjects, whereas the remaining 10 are non-AF (NSR and PAC). From the table, it can be seen that the algorithm achieved high detection accuracy for all 12 subjects; the detection accuracy was 100% for 10 subjects. It is to be noted that the number of segments per subjects differs because the subjects had different amounts of clean ECG signals, as determined by the algorithm of Lazaro and colleagues.
Table 4

Classification performance using the wearable armband electrocardiogram for individual subjects

Subject IDNumber of segmentsTPTNAccuracy (%)
114140100
2922921099.89
39190919100
42720272100
59700970100
65430543100
7909100
85480548100
97250725100
10175601756100
11421042099.76
12139701397100
Total84969357559Mean = 99.97

TN = true-negative; TP = true-positive.

Classification performance using the wearable armband electrocardiogram for individual subjects TN = true-negative; TP = true-positive. Table 5 shows the confusion matrix from armband data results. From the table, it can be seen that only 2 segments were incorrectly labeled out of the total 8496 segments, resulting in sensitivity, specificity, accuracy, and an F1 score of 99.89%, 99.99%, 99.98%, and 0.9989, respectively.
Table 5

Confusion matrix using the armband data (blind testing)

Predicted labels
AFNon-AF
True labels
 AF9351
 Non-AF17559

AF = atrial fibrillation.

Confusion matrix using the armband data (blind testing) AF = atrial fibrillation. Finally, in Table 6, the performance of our AF detection algorithm is compared with several existing methods for the 12 subjects of the armband database; all necessary training was performed using the MIMIC data for fair comparison. From the table, it can be seen that our method achieved the best accuracy and F1 score of all the methods, which demonstrates the efficacy of our method.
Table 6

Performance comparison with existing methods using the wearable armband data

MethodSensitivity (%)Specificity (%)Accuracy (%)F1 score
AR model3187.1887.7187.650.6087
COSEn2010092.993.680.7771
RR features + KNN3285.4799.9398.340.919
RR features + RF3292.5299.9799.150.9601
Proposed method99.8999.9999.980.9989

AR = autoregressive; COSEn = coefficient of sample entropy; KNN = k-nearest neighbors; RF = random forest; RR = R-R interval.

Performance comparison with existing methods using the wearable armband data AR = autoregressive; COSEn = coefficient of sample entropy; KNN = k-nearest neighbors; RF = random forest; RR = R-R interval.

Discussion

We presented the feasibility of AF detection using data from the novel wearable armband device. After several R-R intervals and density Poincaré plot–based features were extracted, the proposed model was trained using MIMIC-III ICU data. Finally, the model was tested using the armband ECG data. The high accuracy suggests that the novel wearable armband device can be used for continuous AF monitoring, once our algorithm is embedded in it. In the first step of the algorithm, RMSSD and SampEn were used with an SVM classifier. This step was relatively straightforward, as its goal was to identify NSR from possible AF. Since the possible AF category includes AF and PACs and both had higher R-R variability than did NSR, this classification/discrimination was less challenging. SampEn was shown to classify the NSR from possible AF with a fixed threshold in Bashar and colleagues. However, to make this approach generalizable and independent of predefined thresholds, an SVM classifier was used with RMSSD and SampEn features. Ectopic beat is one of the most common reasons for false-positive detection of AF. Although in literature the absence of a P wave was commonly used to reduce false-positives, this was not used in our case. The armband ECG signal often has severe muscle noise, which can make P-wave detection difficult. Since the armband was shown to capture accurate R-R intervals when compared with Holter ECG, only the R-R interval–derived features were used to detect the PAC beats from the possible AF detected segments. The density Poincaré plot–based features along with SVM classifier showed high accuracy in discriminating PAC segments from AF segments, reducing false-positives. Leave-one-subject-out validation ensured that the model was not over-fitted to subjects. As a result, when we applied the model trained with the MIMIC-III dataset directly on the wearable armband data, high AF vs non-AF classification accuracy was obtained. Despite having PACs in the armband data, our method obtained an F1 score of 0.9989 and 99.98% accuracy, which suggests potential clinical utility. There have been numerous studies on AF detection using the ECG signal. Most of the works are based on analysis of either atrial activities or ventricular responses. Since the armband records the ECG signal from the upper left arm, the ECG is corrupted with extreme muscle noise and the P wave is not always detectable. As a result, we focus on detecting AF solely based on ventricular response. Ventricular response–based AF detection methods analyze different properties of RR interval irregularities. In Duverney and colleagues, discrete wavelet transform of R-R intervals was first used to identify periods of high heart rate variability, which was followed by fractal analysis to classify these high-variability periods into AF or sinus rhythm. Autoregressive model order–based percentage of predicted power was used to detect AF episodes in Cerutti and colleagues. In Tateno and Glass, standard-density histograms of R-R intervals and the difference between successive R-R intervals were first calculated. Next, the Kolmogorov-Smirnov test was used to compare the similarity between the standard- and test-density histograms to determine the AF status. In Dash and colleagues,RMSSD, turning point ratio, and Shannon entropy, calculated from R-R interval series after ectopic beat filtering, were used to detect AF. In Zhou and colleagues, symbolic dynamics were obtained from the preprocessed R-R interval series, followed by calculating Shannon entropy from the symbolic sequence to determine the presence of AF. In Lake and Moorman, the coefficient of sample entropy (COSEn) calculated from the R-R interval series was proposed to detect AF from short ECG recordings. In Huang and colleagues, the density histogram of delta R-R intervals (defined as the difference between 2 successive RR intervals) was used to detect an AF event and later to determine the boundary of AF. The Lorentz plot obtained from the R-R time series was used to detect AF as well as atrial tachycardia in Sarkar and colleagues. RMSSD, coefficient of variance, median absolute deviation, and COSEn calculated from R-R intervals were used as features and KNN along with random forests were used as classifiers in Kennedy and colleagues to detect AF. When we compared the performance of several existing AF detection methods on the wearable armband data, our proposed method outperformed the others. Both the autoregressive model–based and COSEn-based methods resulted in low F1 scores. The R-R features described in Kennedy and colleagues resulted in high accuracies of 98.34% and 99.15% when used with KNN and RF, respectively. However, the F1 scores were low, as these models missed many true AF segments. Our presented approach achieved higher accuracy and F1 score than all of the compared methods, which shows the effectiveness of our algorithm for the wearable armband data. Moreover, in terms of readable ECG, previously in another study from our group, it is shown that 95% of data recorded from this novel armband device during night-time (bedtime) were readable when compared to the standard chest ECG recordings, whereas for the daytime (non-bedtime), it was 53.85% owing to different motion artifacts. The readable ECG data recorded from this novel armband device as well as the high AF detection performance in this pilot study establishes the feasibility of continuous AF monitoring using this novel armband device. Participants wore the devices for 14 days and the usability of the armband was briefly assessed in several domains, including general impressions of the device, how easy the device was to use, and how comfortable the device was. The mean responses to these questions were all found to be greater than 3, where 1 is very negative and 5 is very positive. Finally, our results should be considered in light of the study limitations. Although the algorithm achieved high accuracy during testing the armband data, we had only 2 AF subjects. In future, more expansive clinical trials will need to be conducted to include more AF subjects and analyze continuous AF monitoring on a large scale. Moreover, some subjects had many fewer ECG segments than other subjects did, owing to noise artifacts as well as not wearing the device correctly, which will be improved in future studies. However, since the entire algorithm is trained on the ICU ECG data and it still achieves high performance on the wearable armband ECG data in blind testing, we hope to obtain similar performance for the new unseen data.

Conclusion

In this paper, we examined the feasibility of AF monitoring using a novel wearable armband ECG device. We extracted 2 R-R interval–based features as well as a novel density Poincaré plot–based feature to develop the AF algorithm. The 2-step algorithm uses the extracted features along with the SVM classifier. With the aid of density image–based features, we were able to detect the ectopic beats (eg, PACs/PVCs), which reduced false-positive AF detection. To train and validate the algorithm, we used long-term ECG recordings obtained from a subset of the MIMIC-III ICU database and achieved high performance. When we tested our proposed method using the wearable armband ECG data, high sensitivity, specificity, and accuracy were obtained. Moreover, we compared our method to several existing methods and it outperformed them. Although for this pilot study we used only a limited number of subjects, our study demonstrates the potential for continuous AF monitoring using the novel wearable armband device. Future study will incorporate a larger number of subjects to examine how the device and AF detection algorithm perform when data are collected in subjects’ home environments.

Funding Sources

This work was supported by NSF Phase I (#1746589) and R43 HL135961. This work was partly supported by MCIU, AEI and FEDER under project RTI2018-097723-B-I00, by Aragon Government and FEDER through BSICoS group (T39_20R) and LMP44-18, and by CIBER in Bioengineering, Biomaterials & Nanomedicine through Instituto de Salud Carlos III.

Disclosures

D.D.M. has received honoraria, speaking/consulting fee, or grants from Flexcon, Rose Consulting, Bristol-Myers Squibb, Pfizer, Boston Biomedical Associates, Samsung, Phillips, Mobile Sense, CareEvolution, Flexcon Boehringer Ingelheim, Biotronik, Otsuka Pharmaceuticals, and Sanofi. D.D.M. also declares financial support for serving on the Steering Committee for the GUARD-AF study (NCT04126486) and Advisory Committee for the Fitbit Heart Study (NCT04176926). The other authors have no disclosures.

Authorship

All authors attest they meet the current ICMJE criteria for authorship.

Patient Consent

All patients provided written informed consent.

Ethics Statement

The authors designed the study and gathered and analyzed the data according to the Helsinki Declaration guidelines on human research. The research protocol used in this study was reviewed and approved by the institutional review board. We have studied the feasibility of atrial fibrillation (AF) monitoring using a novel wearable armband device. We have developed a machine learning model using the intensive care unit electrocardiogram (ECG) data (MIMIC-III) and applied that model directly to the wearable armband ECG data. When tested on the armband ECG, our model achieved high performance and outperformed several other existing methods. The participants had satisfactory mean response about general impression of the device, the ease to use, and the comfortability of the armband device. This novel wearable armband device has the potential to be used for detection of asymptomatic or paroxysmal AF that remains undiagnosed.
  31 in total

1.  PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals.

Authors:  A L Goldberger; L A Amaral; L Glass; J M Hausdorff; P C Ivanov; R G Mark; J E Mietus; G B Moody; C K Peng; H E Stanley
Journal:  Circulation       Date:  2000-06-13       Impact factor: 29.690

2.  VERB: VFCDM-Based Electrocardiogram Reconstruction and Beat Detection Algorithm.

Authors:  Syed Khairul Bashar; Allan J Walkey; David D McManus; Ki H Chon
Journal:  IEEE Access       Date:  2019-01-21       Impact factor: 3.367

3.  High accuracy of automatic detection of atrial fibrillation using wavelet transform of heart rate intervals.

Authors:  David Duverney; Jean-Michel Gaspoz; Vincent Pichot; Frédéric Roche; Richard Brion; Anestis Antoniadis; Jean-Claude Barthélémy
Journal:  Pacing Clin Electrophysiol       Date:  2002-04       Impact factor: 1.976

4.  Automated detection of atrial fibrillation using R-R intervals and multivariate-based classification.

Authors:  Alan Kennedy; Dewar D Finlay; Daniel Guldenring; Raymond R Bond; Kieran Moran; James McLaughlin
Journal:  J Electrocardiol       Date:  2016-08-12       Impact factor: 1.438

5.  Detection of atrial fibrillation using contactless facial video monitoring.

Authors:  Jean-Philippe Couderc; Survi Kyal; Lalit K Mestha; Beilei Xu; Derick R Peterson; Xiaojuan Xia; Burr Hall
Journal:  Heart Rhythm       Date:  2014-08-29       Impact factor: 6.343

6.  A detector for a chronic implantable atrial tachyarrhythmia monitor.

Authors:  Shantanu Sarkar; David Ritscher; Rahul Mehra
Journal:  IEEE Trans Biomed Eng       Date:  2008-03       Impact factor: 4.538

7.  Atrial fibrillation detection using an iPhone 4S.

Authors:  Jinseok Lee; Bersain A Reyes; David D McManus; Oscar Maitas; Oscar Mathias; Ki H Chon
Journal:  IEEE Trans Biomed Eng       Date:  2012-07-31       Impact factor: 4.538

Review 8.  Photoplethysmography based atrial fibrillation detection: a review.

Authors:  Tania Pereira; Nate Tran; Kais Gadhoumi; Michele M Pelter; Duc H Do; Randall J Lee; Rene Colorado; Karl Meisel; Xiao Hu
Journal:  NPJ Digit Med       Date:  2020-01-10

9.  Atrial Fibrillation Detection from Wrist Photoplethysmography Signals Using Smartwatches.

Authors:  Syed Khairul Bashar; Dong Han; Shirin Hajeb-Mohammadalipour; Eric Ding; Cody Whitcomb; David D McManus; Ki H Chon
Journal:  Sci Rep       Date:  2019-10-21       Impact factor: 4.379

10.  Automatic online detection of atrial fibrillation based on symbolic dynamics and Shannon entropy.

Authors:  Xiaolin Zhou; Hongxia Ding; Benjamin Ung; Emma Pickwell-MacPherson; Yuanting Zhang
Journal:  Biomed Eng Online       Date:  2014-02-17       Impact factor: 2.819

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.