Skip to main content

ORIGINAL RESEARCH article

Front. Big Data, 20 November 2023
Sec. Data Mining and Management
This article is part of the Research Topic Big Scientific Data Analytics on HPC and Cloud View all 5 articles

Real-time arrhythmia detection using convolutional neural networks

\nThong VuThong Vu1Tyler PettyTyler Petty1Kemal YakutKemal Yakut2Muhammad UsmanMuhammad Usman2Wei XueWei Xue2Francis M. HaasFrancis M. Haas2Robert A. HirshRobert A. Hirsh3Xinghui Zhao
Xinghui Zhao1*
  • 1School of Engineering and Computer Science, Washington State University, Vancouver, WA, United States
  • 2Department of Mechanical Engineering, Rowan University, Glassboro, NJ, United States
  • 3Department of Anesthesiology, Cooper University Hospital, Camden, NJ, United States

Cardiovascular diseases, such as heart attack and congestive heart failure, are the leading cause of death both in the United States and worldwide. The current medical practice for diagnosing cardiovascular diseases is not suitable for long-term, out-of-hospital use. A key to long-term monitoring is the ability to detect abnormal cardiac rhythms, i.e., arrhythmia, in real-time. Most existing studies only focus on the accuracy of arrhythmia classification, instead of runtime performance of the workflow. In this paper, we present our work on supporting real-time arrhythmic detection using convolutional neural networks, which take images of electrocardiogram (ECG) segments as input, and classify the arrhythmia conditions. To support real-time processing, we have carried out extensive experiments and evaluated the computational cost of each step of the classification workflow. Our results show that it is feasible to achieve real-time arrhythmic detection using convolutional neural networks. To further demonstrate the generalizability of this approach, we used the trained model with processed data collected by a customized wearable sensor from a lab setting, and the results shown that our approach is highly accurate and efficient. This research provides the potentials to enable in-home real-time heart monitoring based on 2D image data, which opens up opportunities for integrating both machine learning and traditional diagnostic approaches.

1 Introduction

Heart disease is a key health problem worldwide; in the United States alone, over 850,000 people die each year from cardiovascular diseases (Virani et al., 2020). Associated costs run into the hundreds of billions of dollars. Between 2014 and 2015, the US economy spent almost $219 billion on diagnosis and treatment of heart disease (Fryar et al., 2012), and in particular, direct medical costs associated with congestive heart failure (CHF) amounted to $20.9 billion in 2012 (Cook et al., 2014). These are expected to increase to $53 billion by 2030 (Heidenreich Paul et al., 2013), with the majority of costs related to hospitalization. However, hospitalizations may be avertible provided patients and clinicians are cued to intervene prior to significant deterioration in cardiac functions. By acting upon an “early warning,” a clinician could remotely instruct a patient to adjust a intake of fluids, salt, or medication, thereby avoiding an avoidable hospitalization or informing just-in-time palliative care strategies (Gadoud et al., 2013). This is becoming ever more realizable with the recent advances in the Internet of Things (IoT) and data analytics. Healthcare is increasingly leveraging information technologies for more efficient diagnostics and treatment by “smart” and “connected” systems (Akmandor and Jha, 2018; Greco et al., 2020). These systems provide intelligent services for health monitoring and medical automation in different contexts and environments, e.g., home, on-the-go, etc., permitting substantial reduction in cost of care (Ren et al., 2015; Kumar and Rajasekaran, 2016).

Many heart conditions exhibit biophysical signals that can be detected before acute, irreversible damage is sustained by the heart or before more extensive damage is incurred, thereby reducing adverse health events. For example, various types of arrhythmia, can be monitored using home-based/mobile health (m-Health) monitoring platforms based on single-mode sensing (i.e., electrocardiogram (ECG), Singh and Jasuja, 2017; Ahsanuzzaman et al., 2020; Xu, 2020). In our prior work (Yakut et al., 2022), we designed a rechargeable, compact, and wearable heart health monitor that acquires real-time ECG from the human body. Recorded information can be transferred wirelessly to the user's phone or computer, where a machine learning model can be used to monitor biophysical data and identify anomalies. The relatively inexpensive cost of this device enables home monitoring in many cases, if real-time ECG data processing can be implemented.

Existing studies on applying big data and machine learning technologies on ECG data for arrhythmic detection often focus on the learning performance, such as accuracy, precision, etc., instead of the potentials of supporting real-time processing. Some early work on real-time analysis of ECG data uses 1-D representation coupled with time-series based processing to achieve higher computational performance (Petty et al., 2020; Zhou et al., 2020; Bertsimas et al., 2021). However, representing ECG data in 1D loses the rich 2D features, and may hinder the potential of integrating data analytics technologies with traditional diagnostic approaches. In this paper, we present a different approach in supporting real-time arrhythmic detection using convolutional neural networks, aiming to preserve the 2D features and also satisfy the real-time processing needs. Specifically, we have developed a small-scaled convolutional neural network and trained the model using images of short duration ECG samples. We have carried out extensive experiments to evaluate the capability of a neural network running in real-time. This approach has an average accuracy of 90% and an average classification time of about 0.02 s (20 ms). The proposed method can be applied to a wearable sensor, where the sensors collect raw data from an individual and the data is then passed onto the neural network to analyze data in real-time. The proposed method is a small-scaled convolutional neural network that is feasible to execute on resource-constraint devices to support in-home monitoring systems. This allows for faster diagnostic of arrhythmia and can be deployed in a medical environment without powerful hardware.

The rest of the paper is organized as follows. Section 2 reviews related work. Section 3 describes the dataset that was used to train and test the proposed approach. Section 4 presents the convolutional neural network using image-based inputs, and its evaluation. Section 5 explains the workflow for ECG detection to evaluate its capability of meeting real-time processing needs. Section 6 shows results using real world data collected from our sensing platform. Finally, Section 7 concludes the paper and presents future directions for this research.

2 Related work

Cardiovascular diseases are the leading cause of death both in the U.S. and worldwide. The direct domestic medical costs associated with congestive heart failure (CHF) are expected to reach $53 billion by 2030 (Heidenreich Paul et al., 2013), with the majority of costs related to hospitalization. However, hospitalization may be avertible provided patients and clinicians are cued to intervene prior to significant deterioration in cardiac functions. Long-term and realiable in-home monitoring is needed to address these challenges. Cardiac monitoring using ECG electrodes and bedside monitors has been implemented in the medical field for over 70 years. The standard 12-lead ECG, along with other reduced-lead (5- or 3-electrode) configurations, can accurately measure signals and help diagnose complex heart conditions (Drew et al., 1999; Petrenas et al., 2015; Francis, 2016; Zègre-Hemsey et al., 2016). Various machine learning approaches have been applied for predicting cardiovascular diseases (Krittanawong et al., 2017; Altan et al., 2018a,b, 2021; Shameer et al., 2018; Vocaturo and Zumpano, 2021). One of the most well-known and popular methods used to classify ECG data is a Support Vector Machine (SVM) (Zadeh et al., 2010; Li et al., 2015; Dinakarrao et al., 2019) with various kernels, feature extraction methods, and categories of arrhythmia.

For neural network approaches, a common method is to use a convolutional neural network. Güler and Übeyl propose a method for data engineering for ECG signals, by using discrete wavelet transform (DWT) to extract additional information about the signal in the form of wavelets (Güler and Übeyli, 2005). These wavelets, in addition to a few statistical features derived from the signal, are used in a modular neural network, where each input of the network has its own neural network and work independently of each other. This network works because DWT can be broken down multiple times and each wavelet can be learned by the network. A 34-layer deep residual neural network is proposed in Rajpurkar et al. (2017). Beside the 1D-convolutional approaches, 2D-convolutional approaches exist (Acharya et al., 2018; Wu et al., 2018; Dinakarrao et al., 2019). For example, Jun et al. (2018) extracts an image from an ECG sample and uses a 2D-convolutional neural network to learn patterns from images. The network architecture of their proposed work is similar to that found in existing deep learning image models such as VGGNet (Simonyan and Zisserman, 2014).

Real-time decision making is the key requirement of many emerging applications that pose a set of new challenges to the deployment of machine learning models (Nishihara et al., 2017). Specifically, machine learning models must be able to operate with low latency (Crankshaw et al., 2015) and high throughput (Nair et al., 2015; Silver et al., 2016), in order to satisfy the real-time requirement of these applications. In the area of cardiovascular medicine, initial efforts have been made toward real-time processing of ECG signals to diagnose relevant diseases (Jin et al., 2009; Oresko et al., 2010). To this end, processing and analyzing ECG data as time series attracts increasing attention, and long short-term memory networks (Petty et al., 2020) have been used to achieve higher performance.

The existing studies on real-time processing have not used CNN based 2D approaches, due to its deep architecture which presents challenges for meeting the real-time processing needs. However, preserving 2D features offers the potential of integrating machine learning based approaches with the traditional diagnostic approaches, which opens up a broad range of opportunities to enhance the at-home monitoring. In this paper, we bridge this gap by exploring the potentials of using CNN based approaches to support real-time arrhythmic detection. Specifically, we developed and evaluated a simple 2D CNN that is trained by ECG images. The baseline architecture for this model is derived from existing work, with the model size reduced to address the challenge of a resource-constrained environment. We then develop a simulator to mimic the on-going monitoring, where the data are generated continuously and the detection must be done on the fly. This approach is evaluated using both open-source data and data collected in a lab setting using our wearable sensor prototype (Yakut et al., 2022).

3 Dataset

In this paper, we used the MIT-BIH Arrhythmia Database (Goldberger et al., 2000) to train and evaluate our machine learning models. The database provides 48 records of different individuals, with varying age and medical conditions. Each record includes a 30-minute ECG recording recorded in two channels at a rate of 360 Hz (samples per second). The database provides a list of annotations that describes what conditions have been diagnosed in the nearby ECG region, as well as where the conditions are located. The full list of annotations contains various annotations that are labeled as single characters. These labels are divided into two categories, beat and non-beat annotations. Beat annotations describe the heartbeat and non-beat may describe the start/end to a region, peaks, and comments.

The original MIT-BIH Arrhythmia Database contains 40 different annotations for heartbeats. However, many of the annotations are not useful in classifying arrhythmic conditions. To improve the learning process, we grouped the non-beats annotations into one annotation (annotation “Z”). Table 1 shows the description of the annotations that are found in the database.

TABLE 1
www.frontiersin.org

Table 1. List of annotations for classification.

Figure 1 shows the ECG signals of nine different types of heartbeats, with the first being a normal beat while the remaining are arrhythmia. As the figure shows, the overall pattern of any arrhythmia differs from the normal beat, making it possible for a classification algorithm to recognize and classify different ECG patterns.

FIGURE 1
www.frontiersin.org

Figure 1. ECG signals of nine different types of heartbeat.

4 Arrhythmic detection using convolutional neural networks

4.1 Data preprocessing

Preserving the 2D features of ECG signals provides the potential of integrating machine learning detection with the traditional diagnostic approaches. Therefore, the first step of our work is to preprocess the data from the MIT-BIH database, and use the images to train the machine learning models. Given an image width n and an ECG recording, each annotated sample x has up to n2 data points before and after x is captured, and we call this window w. If the number of data points in w is less than n, w is discarded and the next sample that has an annotation is analyzed. Next, create a blank (0 value) 1-channel image I of dimension (n × h), where h is the desired height of the image. Each column c represents a sample in w, and the row r in column c is the the approximate value of wc. For each columns c in image I, we fill a pixel white (value 255) at position I(c, r) where r defined as:

r = wc/d*h

where d is the difference of the maximum limit and the minimum limit of the ECG, wc is the cth reading of w.

As an example (Figure 2), consider the ECG sequence [300, 325, 600, 100, 300] with a minimum and maximum value of [0, 700] and an image height h = 5. The value d is calculated as 700 − 0 = 700. The first value reads 300 and r is calculated as 300700*5=2.14=2. Repeat the same calculation for the rest of the sequence, and they are translated to the y values of the image as [2, 2, 4, 0, 2]. We then fill a pixel white at a position in the order it appears. That is, from the left most column we fill a pixel white at row 2, move one column to the right and fill a pixel at row 2, move one column right and fill row 4, and so on. The coordinate of pixels that needed to be filled for this example are (0, 2), (1, 2), (2, 4), (3, 0), (4, 2). The images are generated up-side down, but this is correct due to how image coordinate works. We can rework the algorithm so that it is human-readable, but this is unnecessary as the images are meant for the neural network. This method is an effective way to convert ECG signals into a 2-dimensional greyscale graph, while capturing the patterns in ECG. We chose this method because it allows the flexibility to adjust resolution of the 2D images, making it easier to meet the real-time challenges on edge devices.

FIGURE 2
www.frontiersin.org

Figure 2. ECG to image conversion example.

Note that if the machine learning based arrhythmia detection is used in practice, signals that are generated by the ECG hardware may not be centered around the peak measurement, as shown in Figure 2. To address this issue, a random skew is applied to each signal during the data generation step: before the image is generated, the signal is randomly shifted ±n4 samples and the same image creation steps are applied as normal. Therefore, we generate two datasets, centered alignment (aligned) and skewed alignment (skewed). Both datasets are used to evaluate the proposed approach to provide a comprehensive evaluation.

4.2 Model architecture

The structure of this network is inspired by existing widely used CNN models, such as AlexNet (Krizhevsky et al., 2012) and VGGNet (Simonyan and Zisserman, 2014), with simplified architecture to enable execution on resource constrained devices and meet the real-time processing requirement. Most visual learning network uses a large amount of filters in the convolutional layers to learn features found in RGB images. Even with gray-scaled images, the number of filters can be moderate (about 32 filters) for these convolutional neural networks. Given that our image data are simple and have small dimensions, the goal is to build a CNN with simple structure to mitigate training overhead and meet the resource bounds on wearable devices. Specifically, we selected 3 sets of 2D convolutional and max pooling layers, with the number of filters of 8, 16, and 32, respectively. The first convolutional layer of 8 filters attempts to learn the pattern of the input image, and the subsequent convolutional layers will learn from those features. We also need to determine a suitable kernel size on the first convolutional layer so that the model can easily identify the ECG pattern. Initial experiments have been carried out to evaluate various kernel sizes, and we selected size of 6, 5, and 4 for the respective layers, which allows to detect the few features of the input image and done so in a timely manner. We selected these parameters for the network to additionally address the challenge of real-time processing. Table 2 shows the structure of the proposed CNN model.

TABLE 2
www.frontiersin.org

Table 2. 2D CNN network architecture.

To establish a baseline model to compare against, we used a simplified version of the CNN architecture presented in Jun et al. (2018). We keep the original architecture, but reduce the number of filters in each of the convolutional layers by 18, in order to support resource-constraint environment. We use the same data processing method to prepare training/testing data for the network with the image dimension 128 × 128. The architecture of the baseline model is shown in Table 3.

TABLE 3
www.frontiersin.org

Table 3. 2D CNN Baseline Network Architecture.

4.3 Model evaluation

A comprehensive set of experiments were carried out on classifying ECG signals using the proposed model with both datasets with centered and skewed alignment, respectively. All experiments use a traditional training method of splitting the dataset into a 9:1 training/testing split. Both our proposed model and the baseline model were evaluated using the MIT-BIH dataset. The distribution of normal and arrhythmia samples in both the training and testing datasets is 66.6%:33.4%. All experiments were performed on a computer with an Intel i5 core @ 2.5 GHz, 8 GB RAM, and an NVIDIA Geforce 1050.

Table 4 shows the performance of the proposed CNN model on the testing dataset. Across a few different number of epochs, the network shows that it can provide good result within 10 epochs. On average, both networks that used aligned and skewed data points takes approximately 72 s to train per epoch and testing takes approximately 63 ms per batch of 512 samples. The testing time alone is fast enough for real-time classification, as it takes a 360 Hz ECG device about 2.7 ms to generate a single reading. In theory, a single sample would take 11 μs under the same hardware that it was trained on, satisfying the requirement for real time classification. If places such as clinics and hospitals use similar hardware, then a deeper model is preferred because of its potentially higher accuracy.

TABLE 4
www.frontiersin.org

Table 4. Performance of the proposed 2D model.

Table 5 shows the performance of the baseline model on the testing dataset. In comparison to the result of the proposed model in Table 4, the modified baseline model takes approximately 2–3 times long to complete its tasks, 161 second per epoch for training and 127 ms per batch of 512 samples for testing (about 24 μs per item), but with similar results when compared to the proposed model. In both aligned and skewed ECG data, the differences in accuracy between the proposed and the baseline mode is about ±1%. These results indicate that the proposed model can perform the same task with less time.

TABLE 5
www.frontiersin.org

Table 5. Performance of the Baseline 2D Model.

5 Workflow

To evaluate the proposed model's performance in a real-time setting, we have developed a computational workflow which can be used to test the feasibility of real-time processing. This workflow is divided into two components: the simulator and the detector.

This ECG simulator mimics the hardware that generates ECG readings from the ECG leads. It loads the entire prerecorded ECG into memory (about 9 MB in size for a MIT-BIH ECG record) and pushes a sample about every 1fs second to a buffer b of size n, where fs is the recorded frequency. If the buffer b is full, it removes the oldest sample and pushes the new sample. During experiments, pushing a sample at the exact requested time of 1fs seconds causes the whole workflow to run on average 10% longer than expected (i.e. an ECG recording of 30 seconds actually runs for 33 seconds). Because of this, the frequency for the simulator is adjusted by a factor of 0.9.

The detector component contains the neural network, which will detect ECG samples that it acquires from the simulator. First, it loads the pre-trained neural network and waits for the buffer b from the simulator to be full. Once the buffer b is full, the detector creates a copy of the buffer and we call this copy of the buffer bc. The detector may perform a check to determine if the signal bc contains a beat at the center of the buffer. If the check determines that the signal is not centered, the signal is rejected and the detector process starts over. The classifier will generate an image I from the buffer bc described in Section 4, then feed to the pre-trained network and output a result. This process continues until the simulator has no more samples. During the classification process, the detector will not check at the buffer b until its task is complete, and the detector will miss several samples that were pushed to the buffer b by the simulator as a result of this.

We can solve the issue of missing samples during classification by creating a buffer of buffers (bb). However, this is unnecessary. If this buffer of buffers creates copies of the buffer b at every sample that is generated by the simulator, the buffer bb will eventually contain the whole recording and will cause delay between when the sample is copied and when the same sample is classified. We can also create a delay between samples being pushed into this buffer. But if this timing is too short, it can create the problem of eventually containing the whole recording. Conversely, if the timing is too long such that the detector already finishes its task, the detector can get data from the buffer b directly.

The experiments for the workflow were carried out on a laptop with a i7–8565U CPU @ 1.8 GHz, 8 GB of RAM, and Ubuntu 20. This was done so that timing for the detection component is similar to machines that are found in a hospital environment. This minimum sleep time causes the the whole workflow to stall (in particular the simulator thread) until the sleep function exits and throw off the timing results.

Table 6 shows the runtime result of the first 30 s of a random MIT-BIH record in the testing dataset using the workflow shown in Figure 3 averaged across 10 runs. The records can be picked randomly, as all of the records in the MIT-BIH arrhythmia database are at the same frequency. We only need to look at the run time of the implemented features of this workflow. “Check Center” is a simple check that determines if the input signal contains a heartbeat that is located near the center. This check is optional and can be performed to lessen the amount of outputs.

TABLE 6
www.frontiersin.org

Table 6. Classification (C) average timing.

FIGURE 3
www.frontiersin.org

Figure 3. The ECG detection workflow diagram.

Overall, both the proposed and baseline model shows great result in terms of the computational performance. Table 6 shows the classification time for a single image, and this shows that a small, compact model (i.e., the proposed model) slightly outperforms a larger model (baseline). Other processes such as image conversion (Table 7) and check center (Table 8) can be completed within one sample the ECG recording frequency, therefore, they do not cause additional overhead for the integrated system.

TABLE 7
www.frontiersin.org

Table 7. Image conversion average timing.

TABLE 8
www.frontiersin.org

Table 8. Check center average timing.

6 Integrated system evaluation

Using the open-sourced MIT-BIH Arrhythmia Database (Goldberger et al., 2000), we have demonstrated the effectiveness of the proposed CNN model in terms of detecting signals with arrhythmia. The next step is to demonstrate the applicability of this method in real-world scenario.

We have previously developed a portable device (Yakut et al., 2022) that captures the sound of the heart beat (Phonocardiogram, PCG) and the chest vibration generated by the heart (Seismocardiography, SCG), along with the heart's electrical activity (Electrocardiogram, ECG). The electrodes are intended to be placed on three different location of the patient's chest, two on the left and one on the right, along with a microphone for the PCG data collection. The hardware also include a Bluetooth module that can communicate to a mobile device or PC, and a back-up storage via a micro-SD card. The prototype is shown in Figure 4.

FIGURE 4
www.frontiersin.org

Figure 4. Prototype of wearable heart monitoring device.

Using the 360 Hz recording we have collected in the lab setting (Yakut et al., 2022), the proposed model from Section 4 and the workflow mentioned in Section 5, the model returns good results with an average confidence of 97% (weighted confidence 97%±0.02%). Note that the confidence score from the classification is an indication of how likely (probability) the predictions of a machine learning algorithm are correct. The classification mostly returns N, indicating that the model, without having to train in-between beats, can correctly identify a beat. Given that the data was collected from a healthy individual, all testing data were normal signals. A sample result with the first 10 seconds of the newly recorded signals is shown in Table 9. The table shows the ID of the heartbeat peaks, the position of the heartbeat peak in the whole signal (360Hz, 10 seconds), classification results, as well as the confidence scores. Note that these results are denoised with discrete wavelet transform and contain a center check to help align the signals.

TABLE 9
www.frontiersin.org

Table 9. Small sample of results for 360 hz recording with center check.

We also performed the same experiment mentioned above on the whole recording. As shown in Figure 5 and Table 10, the proposed model shows high confidence in detecting normal heart beat.

FIGURE 5
www.frontiersin.org

Figure 5. Distribution of the 360 Hz recording by confidence.

TABLE 10
www.frontiersin.org

Table 10. Distribution of the 360 Hz recording.

In term of performance, the workflow runs within the expected time frame. The whole workflow takes 64 s to complete, it detected and classified 240 samples, most of which are detected almost immediately after the detector finished its previous task. On average, the workflow skips only 7.4 samples (about 0.02 s) per classification, demonstrating the potentials for applying in a real-time environment.

7 Conclusion

Arrhythmia such as atrial fibrillation is a common cause of death in the United States. While the most common way to diagnose arrhythmia is through an ECG reading, a challenge that comes from this method of diagnosis is that it requires a trained medical profession to evaluate the ECG reading. The development of a machine assisted method can speed up the diagnostic process and potentially reduces fatality. In this paper, we present a convolutional neural network based method that classifies a short ECG sample. Additionally, we have created a workflow that tests the model's potential in a real-world environment. Our result shows that a 2D convolutional neural network that uses image representation of the input signal shows a high degree of confidence of around 90%. The proposed workflow determines that the proposed network is capable of classifying ECG samples, and its performance is feasible to implement real-time arrhythmia detection on wearable devices.

For future work, we will build on top of the classification results, and develop feature extraction methods and machine learning models for anomaly detection. Classification provides a good guidance on diagnosis, because it classifies data samples to a number of known conditions. However, in a real-time setting, it might not be necessary to diagnose the underlying problems. Instead, being able to quickly detect abnormal heart rhythms is more critical, i.e., anomaly detection. Therefore, a binary classifier which detects anomaly signals from the normal ones is the essential part of real-time monitoring and detection of arrhythmia. In addition, we will develop real-time sensing techniques to collect data at real-time, and evaluate our models using data collected from patients.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author contributions

TV: Data curation, Formal analysis, Methodology, Software, Validation, Visualization, Writing—original draft. TP: Data curation, Methodology, Writing—review & editing. KY: Data curation, Writing—review & editing. MU: Data curation, Writing—review & editing. WX: Conceptualization, Writing—review & editing. FH: Conceptualization, Writing—review & editing. RH: Conceptualization, Writing—review & editing. XZ: Conceptualization, Formal analysis, Methodology, Supervision, Writing—original draft, Writing—review & editing.

Funding

The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Acharya, U. R., Fujita, H., Oh, S. L., Raghavendra, U., Tan, J. H., Adam, M., et al. (2018). Automated identification of shockable and non-shockable life-threatening ventricular arrhythmias using convolutional neural network. Future Generat. Comp. Syst. 79, 952–959. doi: 10.1016/j.future.2017.08.039

CrossRef Full Text | Google Scholar

Ahsanuzzaman, S., Ahmed, T., and Rahman, M. A. (2020). “Low cost, portable ECG monitoring and alarming system based on deep learning,” in 2020 IEEE Region 10 Symposium (TENSYMP). Dhaka: IEEE, 316–319.

Google Scholar

Akmandor, A. O., and Jha, N. K. (2018). Smart health care: an edge-side computing perspective. IEEE Cons. Electron. Magaz. 7, 29–37. doi: 10.1109/MCE.2017.2746096

CrossRef Full Text | Google Scholar

Altan, G., Allahverdi, N., and Kutlu, Y. (2018a). “A multistage deep learning algorithm for detecting arrhythmia,” in 2018 1st international conference on computer applications & information security (ICCAIS), Riyadh: IEEE, 1–5.

Google Scholar

Altan, G., Allahverdi, N., and Kutlu, Y. (2018b). “A multistage deep learning algorithm for detecting arrhythmia,” in 2018 1st International Conference on Computer Applications & Information Security (ICCAIS). Riyadh: IEEE, 1–5.

Google Scholar

Altan, G., Yayik, A., and Kutlu, Y. (2021). Deep learning with convnet predicts imagery tasks through eeg. Neural Proc. Lett. 53, 2917–2932. doi: 10.1007/s11063-021-10533-7

CrossRef Full Text | Google Scholar

Bertsimas, D., Mingardi, L., and Stellato, B. (2021). Machine learning for real-time heart disease prediction. IEEE J. Biomed. Health Inform. 25, 3627–3637. doi: 10.1109/JBHI.2021.3066347

PubMed Abstract | CrossRef Full Text | Google Scholar

Cook, C., Cole, G., Asaria, P., Jabbour, R., and Francis, D. P. (2014). The annual global economic burden of heart failure. Int. J. Cardiol. 171, 368–376. doi: 10.1016/j.ijcard.2013.12.028

PubMed Abstract | CrossRef Full Text | Google Scholar

Crankshaw, D., Bailis, P., Gonzalez, J. E., Li, H., Zhang, Z., Franklin, M. J., et al. (2015). “The missing piece in complex analytics: low latency, scalable model management and serving with velox,” in CIDR 2015, Seventh Biennial Conference on Innovative Data Systems Research (Asilomar, CA).

Google Scholar

Dinakarrao, S. M. P., Jantsch, A., and Shafique, M. (2019). Computer-aided arrhythmia diagnosis with bio-signal processing: a survey of trends and techniques. ACM Comput. Surv. 52, 2. doi: 10.1145/3297711

CrossRef Full Text | Google Scholar

Drew, B. J., Pelter, M. M., Wung, S. F., Adams, M. G., Taylor, C., Evans, G. T., et al. (1999). Accuracy of the EASI 12-lead electrocardiogram compared to the standard 12-lead electrocardiogram for diagnosing multiple cardiac abnormalities. J. Electrocardiol. 32, 38–47. doi: 10.1016/S0022-0736(99)90033-X

PubMed Abstract | CrossRef Full Text | Google Scholar

Francis, J. (2016). ECG monitoring leads and special leads. Indian Pac. Electrophysiol. J. 16, 92–95. doi: 10.1016/j.ipej.2016.07.003

PubMed Abstract | CrossRef Full Text | Google Scholar

Fryar, C. D., Chen, T. C., and Li, X. (2012). “Prevalence of uncontrolled risk factors for cardiovascular disease: United states, 1999-2010,” in NCHS Data Brief, 1–8.

PubMed Abstract | Google Scholar

Gadoud, A., Jenkins, S. M., and Hogg, K. J. (2013). Palliative care for people with heart failure: summary of current evidence and future direction. Palliat. Med. 27, 822–828. doi: 10.1177/0269216313494960

PubMed Abstract | CrossRef Full Text | Google Scholar

Goldberger, A. L., Amaral, L. A. N., Glass, L., Hausdorff, J. M., Ivanov, P. C., Mark, R. G., et al. (2000). PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101, e215–e220. doi: 10.1161/01.CIR.101.23.e215

PubMed Abstract | CrossRef Full Text | Google Scholar

Greco, L., Percannella, G., Ritrovato, P., Tortorella, F., and Vento, M. (2020). Trends in IoT based solutions for health care: moving AI to the edge. Pattern Recogn. Lett. 135, 346–353. doi: 10.1016/j.patrec.2020.05.016

PubMed Abstract | CrossRef Full Text | Google Scholar

Güler, I., and Übeyli, E. D. (2005). Ecg beat classifier designed by combined neural network model. Pattern Recognit. 38, 199–208. doi: 10.1016/S0031-3203(04)00276-6

CrossRef Full Text | Google Scholar

Heidenreich Paul, A., Albert, N., Allen, L., Bluemke, D., Butler, J., Fonarow, G. C., et al. (2013). Forecasting the impact of heart failure in the United States. Circulation 6, 606–619. doi: 10.1161/HHF.0b013e318291329a

CrossRef Full Text | Google Scholar

Jin, Z., Sun, Y., and Cheng, A. C. (2009). “Predicting cardiovascular disease from real-time electrocardiographic monitoring: an adaptive machine learning approach on a cell phone,” in 2009 Annual International Conference of the IEEE Engineering in Medicine and Biology Society. Minneapolis, MN: IEEE, 6889–6892.

PubMed Abstract | Google Scholar

Jun, T. J., Nguyen, H. M., Kang, D., Kim, D., Kim, D., and Kim, Y. H. (2018). ECG arrhythmia classification using a 2-D convolutional neural network. arXiv [Preprint] arXiv:1804.06812.

Google Scholar

Krittanawong, C., Zhang, H., Wang, Z., Aydar, M., and Kitai, T. (2017). Artificial intelligence in precision cardiovascular medicine. J. Am. Colle. Cardiol. 69, 2657–2664. doi: 10.1016/j.jacc.2017.03.571

CrossRef Full Text | Google Scholar

Krizhevsky, A., Sutskever, I., and Hinton, G. E. (2012). “Imagenet classification with deep convolutional neural networks,” in Proceedings of the 25th International Conference on Neural Information Processing Systems. Red Hook, NY, USA: Curran Associates Inc, 1097–1105.

Google Scholar

Kumar, R., and Rajasekaran, M. P. (2016). “An IoT based patient monitoring system using raspberry Pi,” in 2016 International Conference on Computing Technologies and Intelligent Data Engineering (ICCTIDE'16). Kovilpatti: IEEE, 1–4.

Google Scholar

Li, H., Feng, X., Cao, L., Li, E., Liang, H., and Chen, X. (2015). A new ecg signal classification based on wpd and apen feature extraction. Circuits Syst. Signal Proc. 35, 339–352. doi: 10.1007/s00034-015-0068-7

CrossRef Full Text | Google Scholar

Nair, A., Srinivasan, P., Blackwell, S., Alcicek, C., Fearon, R., De Maria, A., et al. (2015). Massively parallel methods for deep reinforcement learning. arXiv [Preprint] arXiv:1507.04296.

Google Scholar

Nishihara, R., Moritz, P., Wang, S., Tumanov, A., Paul, W., Schleier-Smith, J., et al. (2017). “Real-time machine learning: the missing pieces,' in Proceedings of the 16th Workshop on Hot Topics in Operating Systems. New York, NY: ACM, 106–110.

Google Scholar

Oresko, J. J., Jin, Z., Cheng, J., Huang, S., Sun, Y., Duschl, H., et al. (2010). A wearable smartphone-based platform for real-time cardiovascular disease detection via electrocardiogram processing. IEEE Trans. Inf. Technol. Biomed. 14, 734–740. doi: 10.1109/TITB.2010.2047865

PubMed Abstract | CrossRef Full Text | Google Scholar

Petrenas, A., Marozas, V., Jaruševicius, G., and Sörnmo, L. (2015). A modified Lewis ECG lead system for ambulatory monitoring of atrial arrhythmias. J. Electrocardiol. 48, 157–163. doi: 10.1016/j.jelectrocard.2014.12.005

PubMed Abstract | CrossRef Full Text | Google Scholar

Petty, T., Vu, T., Zhao, X., Hirsh, R. A., Murray, G., Haas, F. M., et al. (2020). “Evaluating deep learning algorithms for real-time arrhythmia detection,” in 2020 IEEE/ACM International Conference on Big Data Computing, Applications and Technologies (BDCAT). Leicester: IEEE, 19–26.

Google Scholar

Rajpurkar, P., Hannun, A. Y., Haghpanahi, M., Bourn, C., and Ng, A. Y. (2017). Cardiologist-level arrhythmia detection with convolutional neural networks. arXiv [Preprint] arXiv:1707.01836.

Google Scholar

Ren, W., Ren, Y., Wu, M.-E., and Lee, C.-J. (2015). “A robust and flexible access control scheme for cloud-IoT paradigm with application to remote mobile medical monitoring,” in 2015 Third International Conference on Robot, Vision and Signal Processing (RVSP). Kaohsiung: IEEE, 130–133.

Google Scholar

Shameer, K., Johnson, K. W., Glicksberg, B. S., Dudley, J. T., and Sengupta, P. P. (2018). Machine learning in cardiovascular medicine: are we there yet? Heart 104, 1156–1164. doi: 10.1136/heartjnl-2017-311198

CrossRef Full Text | Google Scholar

Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., et al. (2016). Mastering the game of go with deep neural networks and tree search. Nature 529, 484–503. doi: 10.1038/nature16961

PubMed Abstract | CrossRef Full Text | Google Scholar

Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv [Preprint]. arXiv: 1409.1556.

Google Scholar

Singh, P., and Jasuja, A. (2017). “IoT based low-cost distant patient ECG monitoring system,” in 2017 International Conference on Computing, Communication and Automation (ICCCA). Greater Noida: IEEE, 1330–1334.

Google Scholar

Virani, S. S., Alonso, A., Benjamin, E. J., Bittencourt, M. S., Callaway, C. W., Carson, A. P., et al. (2020). Heart disease and stroke statistics-2020 update: a report from the American heart association. Circulation 141, e139–e596. doi: 10.1161/CIR.0000000000000757

PubMed Abstract | CrossRef Full Text | Google Scholar

Vocaturo, E., and Zumpano, E. (2021). “ECG analysis via machine learning techniques: News and perspectives,” in 2021 IEEE International Conference on Bioinformatics and Biomedicine (BIBM). Houston, TX: IEEE, 3106–3112.

Google Scholar

Wu, Y., Yang, F., Liu, Y., Zha, X., and Yuan, S. (2018). A comparison of 1-D and 2-D deep convolutional neural networks in ECG classification. arXiv [Preprint] arXiv:1810.07088.

Google Scholar

Xu, G. (2020). IoT-assisted ECG monitoring framework with secure data transmission for health care applications. IEEE Access 8, 74586–74594. doi: 10.1109/ACCESS.2020.2988059

CrossRef Full Text | Google Scholar

Yakut, K., Usman, M., Xue, W., Haas, F. M., Hirsh, R. A., Boothby, J., et al. (2022). “Electro-mechanical data fusion for heart health monitoring,” in Proceedings of the 10th IEEE International Conference on Healthcare Informatics (ICHI 2022). Rochester, MN: IEEE.

Google Scholar

Zadeh, A. E., Khazaee, A., and Ranaee, V. (2010). Classification of the electrocardiogram signals using supervised classifiers and efficient features. Comp. Methods Prog. Biomed. 99, 179–194. doi: 10.1016/j.cmpb.2010.04.013

PubMed Abstract | CrossRef Full Text | Google Scholar

Zègre-Hemsey, J. K., Garvey, J. L., and Carey, M. G. (2016). Cardiac monitoring in the emergency department. Crit. Care Nurs. Clinics N. Am. 28, 331–345. doi: 10.1016/j.cnc.2016.04.009

CrossRef Full Text | Google Scholar

Zhou, P., Schwerin, B., Lauder, B., and So, S. (2020). “Deep learning for real-time ecg r-peak prediction,” in 2020 14th International Conference on Signal Processing and Communication Systems (ICSPCS). Adelaide, SA: IEEE, 1–7.

Google Scholar

Keywords: big data, smart health, machine learning, anomaly detection, convolutional neural networks

Citation: Vu T, Petty T, Yakut K, Usman M, Xue W, Haas FM, Hirsh RA and Zhao X (2023) Real-time arrhythmia detection using convolutional neural networks. Front. Big Data 6:1270756. doi: 10.3389/fdata.2023.1270756

Received: 01 August 2023; Accepted: 24 October 2023;
Published: 20 November 2023.

Edited by:

Mai Nguyen, University of California, San Diego, United States

Reviewed by:

Eugenio Vocaturo, University of Calabria, Italy
Gokhan Altan, Iskenderun Technical University, Türkiye

Copyright © 2023 Vu, Petty, Yakut, Usman, Xue, Haas, Hirsh and Zhao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Xinghui Zhao, x.zhao@wsu.edu

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.