Next Article in Journal
Correction: McGrath, T., et al. An Auto-Calibrating Knee Flexion-Extension Axis Estimator using Principal Component Analysis with Inertial Sensors. Sensors 2018, 18(6), 1882
Next Article in Special Issue
Machine Learning Methods Applied to Predict Ventilator-Associated Pneumonia with Pseudomonas aeruginosa Infection via Sensor Array of Electronic Nose in Intensive Care Unit
Previous Article in Journal
An Optical MEMS Acoustic Sensor Based on Grating Interferometer
Previous Article in Special Issue
Fault Diagnosis of Rotating Machinery under Noisy Environment Conditions Based on a 1-D Convolutional Autoencoder and 1-D Convolutional Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detection of Congestive Heart Failure Based on LSTM-Based Deep Network via Short-Term RR Intervals

Automation School, Beijing University of Posts and Telecommunications, No. 10 Xitucheng Road, Beijing 100876, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(7), 1502; https://doi.org/10.3390/s19071502
Submission received: 26 February 2019 / Revised: 22 March 2019 / Accepted: 22 March 2019 / Published: 28 March 2019

Abstract

:
Congestive heart failure (CHF) refers to the inadequate blood filling function of the ventricular pump and it may cause an insufficient heart discharge volume that fails to meet the needs of body metabolism. Heart rate variability (HRV) based on the RR interval is a proven effective predictor of CHF. Short-term HRV has been used widely in many healthcare applications to monitor patients’ health, especially in combination with mobile phones and smart watches. Inspired by the inception module from GoogLeNet, we combined long short-term memory (LSTM) and an Inception module for CHF detection. Five open-source databases were used for training and testing, and three RR segment length types (N = 500, 1000 and 2000) were used for the comparison with other studies. With blindfold validation, the proposed method achieved 99.22%, 98.85% and 98.92% accuracy using the Beth Israel Deaconess Medical Center (BIDMC) CHF, normal sinus rhythm (NSR) and the Fantasia database (FD) databases and 82.51%, 86.68% and 87.55% accuracy using the NSR-RR and CHF-RR databases, with N = 500, 1000 and 2000 length RR interval segments, respectively. Our end-to-end system can help clinicians to detect CHF using short-term assessment of the heartbeat. It can be installed in healthcare applications to monitor the status of human heart.

1. Introduction

Heart failure (HF) is a clinical syndrome of various heart diseases at severe stages and is also known as congestive heart failure (CHF). It is caused by an inadequate blood filling function of the ventricular pump. A poor heart pump function can cause the heart’s discharge volume to be insufficient to meet the needs of the body’s metabolism. Additionally, the blood perfusion of tissues and organs becomes insufficient, and there may be congestion of pulmonary and general circulation. Heart failure is categorized into four levels by the New York Heart Association (NYHA). Only patients at levels III and IV have significant symptoms [1]. Worldwide, more than 23 million patients are affected by heart failure, which makes it a major public health problem and huge economic burden [2]. In the USA, the total cost of nursing HF patients is $ 31 billion and this figure is estimated to increase to $70 billion by 2030 [3]. In addition, the treatment of heart disease comprises the highest health care costs of low- and middle-income countries.
Echocardiography is often used to diagnose CHF in hospitals. This instrument uses ultrasound to measure the stroke volume, end diastolic volume and the ratio between these two quantities, which is also known as the ejection fraction. The general ejection fraction should be between 50% and 70%, and is less than 40% in the chronic systolic HF. The other method for detecting CHF is by using an electrocardiogram (ECG). The standard 12-lead ECG remains the most useful instrument in the diagnosis and prognosis of CHF patients. However, the reliability of diagnoses could be further enhanced by signal processing techniques and biomedical analysis [4]. In recent years, many researchers have worked on CHF detection using ECG. For instance, Dhingra et al. [5] showed that longer electrocardiographic QRS duration is associated with CHF. Larisa et al. [6] used beat-to-beat QT variability to separate the healthy individuals from HF subjects. Among the recent methods, HRV analysis has attracted wide attention for its potential to detect CHF. Nolan et al. reported the standard deviation of the heart rate (SDNN) can effectively predict the risk of mortality for CHF [7]. Binkey et al. detected parasympathetic withdrawal by noninvasive HRV spectral analysis and found that this feature is a part of the autonomic nervous disorder feature in CHF patients [8]. Yu and Lee detected CHF with bispectral analysis and a genetic algorithm (GA) [9]. Woo et al. found that Poincare plot analysis can detect labeled sympathetic nerve activation in CHF patients and found a link between autonomic nerve change and sudden cardiac death [10]. Peng et al. demonstrated a reduction in HR complexity in CHF subjects based on fractal dimension analysis (FDA) [11]. Chen et al. proposed a dynamic HRV to describe the dynamic fluctuation of HRV over a 24-h period, and achieved over 95% accuracy [12]. However, they admitted that the robustness of HRV-based approaches remains an issue to be addressed since its sensitivity changes according to the clinical condition [13].
However, most of the above studies required long-term RR interval data, which is not possible in health-care situations outside of hospital, especially with the heart rate testing applications currently being developed for use with mobile devices like smartphones. The short-term HRV analysis may be useful in monitoring dynamic changes to cardiac autonomic activity [14]. It has been used to detect cardiovascular diseases such as atrial fibrillation (AF) and achieved good results [15]. Oliver Faust et al. [16] used a long short-term memory network with RR intervals as signals for the automated detection of atrial fibrillation, and received 99.77% accuracy with blindfold validation. Thakre and Smith [17] observed that the lag-response of Poincaré plot indices are related to CHF. Liu et al. presented an entropy (FuzzyMEn) method to classify normal and CHF patients [18], and a comparison of the accuracy of entropy arguments on CHF subjects can be found in [19]. Liu et al. [20] also tried to detect CHF with short-term RR intervals using multiscale entropy analysis based on RR interval signals and a support vector machine (SVM) classifier. Yoon et al. [21] achieved 84.49% accuracy in CHF detection by observing just 16 heartbeats. They extracted three “expert features”—normalized root mean squared successive difference (RMSSD), sample entropy and Shannon entropy—and used threshold values of these to detect CHF.
Besides, they concentrated on subjects with severe CHF (NYHA class III-IV) since the RR intervals they used was from the Beth Israel Deaconess Medical Center (BIDMC) congestive heart failure database [22,23]. However, the detection of the CHF patients with I-II class is equally significant, especially for daily care.
Deep learning [24,25] has been applied in various fields, such as image recognition and speech recognition, and achieved remarkable results [25,26,27,28]. In recent years, certain scholars have applied deep learning to the recognition of ECG signals. Chen et al. provided a CHF detection method based on sparse auto-encoder deep learning (SAE-based DL) of short-term RR intervals [13]. Potes et al. [29] used an ensemble of feature-based and deep learning-based classifiers for detection of abnormal heart sounds. Hwang et al. [30] provided an optimal deep learning framework for monitoring mental stress using ultra-short-term ECG signals. Pourbabaee et al. [31] used deep convolution neural networks to learn ECG features for screening paroxysmal atrial fibrillation patients. Since the decision-making system based on deep learning obtains all the information with the data, there is no information reduction through feature extraction.
Inspired by the Inception module introduced by GoogLeNet [32], we combined the long short-term memory (LSTM) network [27] and convolution net architecture [33] to construct the diagnosis system network structure and detect CHF automatically. As a result, we proposed an end-to-end system based on deep learning for CHF detection via short-term RR interval, using five open-source databases containing all-class CHF data.
The paper is organized as follows. Section 2 presents a detailed description of the proposed method, including the database used, network topology, the basic steps and evaluation methods. The classification results are presented in Section 3. Section 4 provides a discussion and describes the limitations of the study, and Section 5 presents the conclusion.

2. Materials and Methods

2.1. Data

In this study, five open-source databases were used to evaluate the proposed method. For CHF patients, the BIDMC congestive heart failure database (BIDMC-CHF) [22,23] and congestive heart failure RR interval database (CHF-RR) [22], available on PhysioBank, were used. The BIDMC-CHF dataset has 15 subjects (11 men, aged 22–71 years, and four women, aged 54–63) with severe CHF (NYHA class 3–4), and the CHF-RRI dataset includes 29 recordings of subjects aged 34–79 with CHF (NYHA class 1–3). For normal subjects, the Massachusetts Institute of Technology-Beth Israel Hospital (MIT-BIH) normal sinus rhythm (NSR) [22], the Fantasia database (FD) [34] and the normal sinus rhythm RR interval database (NSR-RR) [22] were used. The NSR includes 18 subjects with no significant arrhythmias (5 men, aged 26–45, and 13 women, aged 20–50), the NSR2 includes beat annotation files for 54 subjects with normal sinus rhythm (30 men, aged 28.5–76, and 24 women, aged 58–73) and the FD includes 120min continuous ECG signals of 20 young and 20 elderly healthy subjects.
As shown in Figure 1, the original signals in above databases are ECG recordings. These databases also included beat annotation obtained by automated analysis with manual review and correction. In this study, we used those beat annotations to extract the RR interval (the time interval between two adjacent R-wave amplitudes) as the input signals. In order to compare our results with other work, we segmented the data into 500, 1000 and 2000 beats, which means the input signal in this model was a sequence of 500, 1000 and 2000 time values in seconds. Table 1 summarizes the number of signals for the different databases in two classes. Figure 2 shows the signals of different types for the 500 sample length (measured in seconds).

2.2. LSTM-Based Deep Convolutional Neural Network Structure

Inception was first introduced by the GoogLeNet [32]. Its main advantage is that it can get significant quality gain in the moderate increase of computing demand, compared with the lighter and wider network. The name of Inception” was derived from the network in the network paper by Lin et al. [35]. The Inception will calculate the different transformations from one input at the same time and output the results to the next level. As a result, the model itself can decide whether to use the information or what information to use. The first version of Inception was GoogLeNet, also known as the 22 layers network that won the ILSVRC 2014 competition. A year later, the researchers developed Inception V2 and V3 in second papers, and achieved a variety of improvements in the original version—the most important thing to mention was that they made the larger convolution weight a continuous and smaller convolution, making learning easier.
In this study, we used an LSTM network [36] to replace one of the convolution networks in the Inception module, as shown in Figure 3. LSTM modules have received great results in the detection of time series signals, including RR interval signals [16]. Since the low complexity of the heart rate signal, only two Inception–LSTM modules were used, as shown in Figure 4 and Table 2. We used the LSTM with many-to-many structures as a feature extractor, as shown in Figure 5. Figure 6 presents the detailed structure of one Inception–LSTM module we used, and Figure 7 is the detailed network structure of the proposed model with 500 length RR intervals. For preventing overfitting, a dropout layer was used in this paper, and we set the rate = 0.2. We also used Adam (short for adaptive moment estimation) as the optimizer. In this optimization algorithm, running averages of both gradients and the second moments of the gradients were used. We set the parameters the same as the paper [37], namely: learning rate = 0.001, β1 = 0.9 and β2 = 0.999. In this study, we took the CHF patients as positive subjects and NSR persons as negative subjects, and then classified the input data into these two categories by sigmoid activation function. Since the sigmoid function was used as the activation in output layer, we used binary cross entropy as the loss function:
L(y,p) = −logPr(y|p) = −(ylog(p) + (1 − y)log(1 − p)),
where y is the true label and p is the prediction.

2.3. Evaluation Method

In this study, three indicators were used for testing: sensitivity, specificity and accuracy. The definitions of above three indices are as follows:
Sensitivity = TP/(TP + FN)
Specificity = TN/(TN + FP)
Accuracy = (TP + TN)/(TP + FP + TN + FN),
where TP is the number of true positives, FN is the number of false negatives, FP is the number of false positives, and TN is the number of true negatives.

3. Results

To better verify the proposed method, we compared the results of the proposed approach with those of other studies. However, other studies used different datasets to verify their methods. Liu et al. [20] used the normal sinus rhythm RR interval database (NSR-RR) and congestive heart failure RR interval database (CHF-RR), while Chen et al. [13] used the 5-min RR interval. Kumar [38] used the BIDMC-CHF database, MIT-BIH NSR database and Fantasia dataset for CHF detection. Therefore, in this study, for examining the proposed method, we used the same datasets for comparison, which as shown in Table 3.
It can be seen from the previous studies that the classification performance using database 1 (DB1) is better than the performance using database 2 (DB2). The main reason may be the subjects in the DB1 (NYHA classes 3–4) suffered more severe CHF than the subjects in the DB2 (NYHA classes 1–3). Therefore, the variability of the signal in the DB1 is more obvious and easier to be detected.

3.1. 10-Fold Cross-Validation Stage

In the training stage, 10-cross validation and early stopping method were used for preventing overfitting. We first shuffled all the signals, and then split them as training segments and validation segments. The training segments were randomly shuffled again at each epoch (the validation segments were not). The early stopping method stops training when the validation loss has stopped improving. Figure 8 and Figure 9 show the training process details of different training datasets; the solid line is the mean of the performance for each of 10-folds. We also set the batch size as 128 in the training. The batch means a set of N (128) samples, and a batch results in only one update to the model. The max epochs were set as 100. In the training stage for each fold, the training details and parameters are as listed in Table 4.
For comparison, we also used three other methods from the reference [13,20,38]. It is worthy to note that the mentioned methods [13,20,38] used cross-validation for testing instead of a blind testing method. As a result, we compared the results in this stage. In addition, we also used the same model without LSTM units for evaluating the effect of introducing it to the original inception. The overall performance of the training process and comparison are listed in Table 5 and Table 6.

3.2. Blind Fold Testing Results

The common way to model validation is by k-fold cross validation or split validation. However, in those literatures, the input signals were independent of each other. For example, there was only one photo of subject A, and it can only appear in the training dataset or the testing dataset. In this study and comparison studies mentioned above, the original RR intervals were segmented by different length (500, 1000 and 2000). It means that there were multiple RR interval segments of one subject, and they can both appear in training dataset and testing dataset if we use split validation, although these two RR interval segments were not exactly the same.
In practice, the classification system had to deal with completely unknown subjects and not with unknown signal sequences of otherwise known subjects, as in the case of cross validation or split validation. Therefore, we used blindfold testing to better evaluate the proposed method. The blindfold dataset consists of the RR intervals from the subjects who never appeared in the training stage, and thus reduce the possibility of over-fitting. To the best of our knowledge, we were the first to use this method in testing stage for detecting CHF. Blindfold testing can effectively verify the performance of the proposed classification system when dealing with completely unknown subjects. The information of the subjects in the blindfold testing dataset are listed in Table 7. The results and comparisons are provided in Table 8 for different dataset.
From results, it is observed that the model with the modified Inception performed better than the comparison method. One reason is that LSTM units improve the handling of time step information from input sequences by incorporating a gating mechanism. Because of there can be lags of unknown duration between important events in a time series, LSTM networks are well-suite for the classification and process of time series signal [16].

4. Discussion

Inspired by GoogLeNet [32], a deep learning network using an LSTM-based Inception module for CHF detection, via short-term RR interval was proposed in this study. Five open-source databases and three types of RR segment length (N = 500, 1000 and 2000) were used to better evaluate the proposed method and compare with other studies. With blindfold validation, the proposed method achieved 99.22%, 98.85% and 98.92% accuracy on N = 500, 1000 and 2000 length RR intervals, respectively, using the BIDMC-CHF, NSR and FD databases; and achieved 82.51%, 86.68% and 87.55% accuracy on N = 500, 1000 and 2000 length RR intervals, respectively, using the NSR-RR and CHF-RR databases.
A possible explanation for the better performance of our method is that the deep-learning features allow more reliable signal abstraction in high dimensional space without human operation. The deep learning system forms a more abstract high-level representation of attribute classes or features by combing low-level features to discover distributed feature representations of data.
The proposed system can be installed inlow-cost ECG devices and be a diagnostic tool in places where access to a cardiologist is difficult. This system can also send the preliminary diagnostic results to cardiologists via the internet to save expert clinicians and cardiologists considerable time and decrease the number of misdiagnoses.
There two advantages of the present method. Firstly, deep learning method was used to CHF detection. Since the decision-making system based on deep learning gets all the information with the data, there is no information reduction through feature extraction. Therefore, our method can avoid potential error and automatically diagnose CHF. Secondly, we modified the inception module by the LSTM, which is well-suited to classifying time series signal, since there can be lags of unknown duration between import events in such data.
However, there are several limitations to this study. First, we did not focus on the problem of data imbalance. Table 1 shows that the sample sizes of healthy and CHF subjects are uneven, especially for the experiments using the CHF-RR and NSR-RR datasets. Secondly, the present method required big data and more computational power to train the model and obtain the optimum performance.

5. Conclusions

In summary, this study proposed an automated classifier for CHF detection that achieved good classification performance. The blindfold testing method was used to better evaluate the performance of the method in the situation of dealing with completely unknown subjects, which is more in line with reality. Using short-term HRV signals to detect CHF is important for healthcare applications, especially for smartphones and smart watches. This method can help clinicians monitor CHF patients outside the hospital and better make sense of HRV signals. We also hope this study can provide technical support for the identification and management of CHF patients based mobile phones.
In our future work, we will try to solve the data imbalance issue and other deep learning method for CHF detection, such as attention network. In addition, we will apply the model to smart watch or mobile application, and use it as a routine clinical application to assist doctors. The model will first give a preliminary diagnosis to users, then receive the doctor’s review and correction, and re-train the model based on the new input data. We expect the method to be a useful automatic tool to increase the detection rate of patients with CHF.

Author Contributions

conceptualization, L.W. and X.Z.; methodology and software, L.W.; validation, X.Z.; data curation and writing, L.W.; funding acquisition, L.W. and X.Z.

Funding

This research was supported by the National Natural Science Foundation of China (No. 6170204) and BUPT Excellent Ph.D. Students Foundation.

Acknowledgments

We are grateful for the kind help from the Guest Editor for correcting the many typographical errors during the revised process. We also appreciate all the reviewers for their constructive comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yancy, C.W.; Jessup, M.; Bozkurt, B.; Butler, J.; Casey, D.E.; Colvin, M.M.; Drazner, M.H.; Filippatos, G.S.; Fonarow, G.C.; Givertz, M.M.; et al. 2017 ACC/AHA/HFSA Focused Update of the 2013 ACCF/AHA Guideline for the Management of Heart Failure. J. Am. Coll. Cardiol. 2017, 70, 776–803. [Google Scholar] [CrossRef]
  2. Dunlay, S.M.; Roger, V.L. Understanding the epidemic of heart failure: Past, present, and future. Curr. Heart Fail. Rep. 2014, 11, 404–415. [Google Scholar] [CrossRef] [PubMed]
  3. Heidenreich, P.A.; Albert, N.M.; Allen, L.A.; Bluemke, D.A.; Butler, J.; Fonarow, G.C.; Ikonomidis, J.S.; Khavjou, O.; Konstam, M.A.; Maddox, T.M.; et al. Forecasting the impact of heart failure in the United States: A policy statement from the American Heart Association. Circulation. Heart Fail. 2013, 6, 606–619. [Google Scholar] [CrossRef] [PubMed]
  4. Rustad, J.K.; Stern, T.A.; Hebert, K.A.; Musselman, D.L. Diagnosis and treatment of depression in patients with congestive heart failure: A review of the literature. Prim. Care Companion CNS Disord. 2013, 15, PCC.13r01511. [Google Scholar] [CrossRef]
  5. Dhingra, R.; Pencina, M.J.; Wang, T.J.; Nam, B.-H.; Benjamin, E.J.; Levy, D.; Larson, M.G.; Kannel, W.B.; D’Agostino, R.B.; Vasan, R.S. Electrocardiographic QRS duration and the risk of congestive heart failure: The Framingham Heart Study. Hypertension 2006, 47, 861–867. [Google Scholar] [CrossRef] [PubMed]
  6. Tereshchenko, L.G.; Cygankiewicz, I.; McNitt, S.; Vazquez, R.; Bayes-Genis, A.; Han, L.; Sur, S.; Couderc, J.P.; Berger, R.D.; de Luna, A.B.; et al. Predictive value of beat-to-beat QT variability index across the continuum of left ventricular dysfunction: Competing risks of noncardiac or cardiovascular death and sudden or nonsudden cardiac death. Circ. Arrhythm. Electrophysiol. 2012, 5, 719–727. [Google Scholar] [CrossRef] [PubMed]
  7. Nolan, J.; Batin, P.D.; Andrews, R.; Lindsay, S.J.; Brooksby, P.; Mullen, M.; Baig, W.; Flapan, A.D.; Cowley, A.; Prescott, R.J.; et al. Prospective study of heart rate variability and mortality in chronic heart failure: Results of the United Kingdom heart failure evaluation and assessment of risk trial (UK-heart). Circulation 1998, 98, 1510–1516. [Google Scholar] [CrossRef] [PubMed]
  8. Binkley, P.F.; Nunziata, E.; Haas, G.J.; Nelson, S.D.; Cody, R.J. Parasympathetic withdrawal is an integral component of autonomic imbalance in congestive heart failure: Demonstration in human subjects and verification in a paced canine model of ventricular failure. J. Am. Coll. Cardiol. 1991, 18, 464–472. [Google Scholar] [CrossRef] [Green Version]
  9. Yu, S.N.; Lee, M.Y. Bispectral analysis and genetic algorithm for congestive heart failure recognition based on heart rate variability. Comput. Boil. Med. 2012, 42, 816–825. [Google Scholar] [CrossRef]
  10. Woo, M.A.; Stevenson, W.G.; Moser, D.K.; Middlekauff, H.R. Complex heart rate variability and serum norepinephrine levels in patients with advanced heart failure. J. Am. Coll. Cardiol. 1994, 23, 565–569. [Google Scholar] [CrossRef] [Green Version]
  11. Peng, C.K.; Havlin, S.; Stanley, H.E.; Goldberger, A.L. Quantification of scaling exponents and crossover phenomena in nonstationary heartbeat time series. Chaos 1995, 5, 82–87. [Google Scholar] [CrossRef] [PubMed]
  12. Chen, W.; Zheng, L.; Li, K.; Wang, Q.; Liu, G.; Jiang, Q. A Novel and Effective Method for Congestive Heart Failure Detection and Quantification Using Dynamic Heart Rate Variability Measurement. PLoS ONE 2016, 11, e0165304. [Google Scholar] [CrossRef] [PubMed]
  13. Wenhui, C.; Guanzheng, L.; Su, S.; Qing, J.; Hung, N. A CHF detection method based on deep learning with RR intervals. Conf. Proc. IEEE Eng. Med. Biol. Soc. 2017, 2017, 3369–3372. [Google Scholar] [CrossRef]
  14. Smith, A.L.; Owen, H.; Reynolds, K.J. Heart rate variability indices for very short-term (30 beat) analysis. Part 2: Validation. J. Clin. Monit. Comput. 2013, 27, 577–585. [Google Scholar] [CrossRef]
  15. Lake, D.E.; Moorman, J.R. Accurate estimation of entropy in very short physiological time series: The problem of atrial fibrillation detection in implanted ventricular devices. Am. J. Physiol. Heart Circ. Physiol. 2011, 300, H319–H325. [Google Scholar] [CrossRef] [PubMed]
  16. Faust, O.; Shenfield, A.; Kareem, M.; San, T.R.; Fujita, H.; Acharya, U.R. Automated detection of atrial fibrillation using long short-term memory network with RR interval signals. Comput. Biol. Med. 2018, 102, 327–335. [Google Scholar] [CrossRef]
  17. Thakre, T.P.; Smith, M.L. Loss of lag-response curvilinearity of indices of heart rate variability in congestive heart failure. BMC Cardiovasc. Disord. 2006, 6. [Google Scholar] [CrossRef]
  18. Liu, C.; Li, K.; Zhao, L.; Liu, F.; Zheng, D.; Liu, C.; Liu, S. Analysis of heart rate variability using fuzzy measure entropy. Comput. Boil. Med. 2013, 43, 100–108. [Google Scholar] [CrossRef] [PubMed]
  19. Zhao, L.; Wei, S.; Zhang, C.; Zhang, Y.; Jiang, X.; Liu, F.; Liu, C. Determination of Sample Entropy and Fuzzy Measure Entropy Parameters for Distinguishing Congestive Heart Failure from Normal Sinus Rhythm Subjects. Entropy 2015, 17, 6270–6288. [Google Scholar] [CrossRef] [Green Version]
  20. Liu, C.; Gao, R. Multiscale Entropy Analysis of the Differential RR Interval Time Series Signal and Its Application in Detecting Congestive Heart Failure. Entropy 2017, 19, 251. [Google Scholar] [Green Version]
  21. Yoon, K.H.; Nam, Y.; Thap, T.; Jeong, C.; Ho Kim, N.; Seok Ko, J.; Noh, S.E.; Lee, J. Automatic Detection of Congestive Heart Failure and Atrial Fibrillation with Short RR Interval Time Series. J. Electr. Eng. Technol. 2017, 12, 346–355. [Google Scholar] [CrossRef] [Green Version]
  22. Goldberger, A.L.; Amaral, L.A.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Mietus, J.E.; Moody, G.B.; Peng, C.K.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 2000, 101, E215–E220. [Google Scholar] [CrossRef] [PubMed]
  23. Baim, D.S.; Colucci, W.S.; Monrad, E.S.; Smith, H.S.; Wright, R.F.; Lanoue, A.; Gauthier, D.F.; Ransil, B.J.; Grossman, W.; Braunwald, E. Survival of patients with severe congestive heart failure treated with oral milrinone. J. Am. Coll. Cardiol. 1986, 7, 661–670. [Google Scholar] [CrossRef] [Green Version]
  24. Lee, I.; Kim, D.; Kang, S.; Lee, S. Ensemble Deep Learning for Skeleton-Based Action Recognition Using Temporal Sliding LSTM Networks. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017. [Google Scholar]
  25. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436. [Google Scholar] [CrossRef] [PubMed]
  26. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef] [Green Version]
  27. Yanjie, D.; Yisheng, L.; Fei-Yue, W. Travel time prediction with LSTM neural network. In Proceedings of the IEEE 19th International Conference on Intelligent Transportation Systems (ITSC), Rio de Janeiro, Brazil, 1–4 November 2016; pp. 1053–1058. [Google Scholar]
  28. Deng, L.; Li, J.; Huang, J.; Yao, K.; Yu, D.; Seide, F.; Seltzer, M.; Zweig, G.; He, X.; Williams, J.; et al. Recent advances in deep learning for speech research at Microsoft. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Vancouver, BC, Canada, 26–31 May 2013; pp. 8604–8608. [Google Scholar]
  29. Potes, C.; Parvaneh, S.; Rahman, A.; Conroy, B. Ensemble of feature-based and deep learning-based classifiers for detection of abnormal heart sounds. In Proceedings of the Computing in Cardiology Conference (CinC), Vancouver, BC, Canada, 11–14 September 2016; pp. 621–624. [Google Scholar]
  30. Hwang, B.; You, J.; Vaessen, T.; Myin-Germeys, I.; Park, C.; Zhang, B.-T. Deep ECGNet: An Optimal Deep Learning Framework for Monitoring Mental Stress Using Ultra Short-Term ECG Signals. Telemed. J. e-Health 2018, 24, 753–772. [Google Scholar] [CrossRef]
  31. Pourbabaee, B.; Roshtkhari, M.J.; Khorasani, K. Deep Convolutional Neural Networks and Learning ECG Features for Screening Paroxysmal Atrial Fibrillation Patients. IEEE Trans. Syst. Man Cybern. Syst. 2018, 48, 2095–2104. [Google Scholar] [CrossRef]
  32. Szegedy, C.; Wei, L.; Yangqing, J.; Sermanet, P.; Reed, S.; Anguelov, D.; Erhan, D.; Vanhoucke, V.; Rabinovich, A. Going deeper with convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015; pp. 1–9. [Google Scholar]
  33. LeCun, Y.; Boser, B.; Denker, J.S.; Henderson, D.; Howard, R.E.; Hubbard, W.; Jackel, L.D. Backpropagation Applied to Handwritten Zip Code Recognition. Neural Comput. 1989, 1, 541–551. [Google Scholar] [CrossRef]
  34. Iyengar, N.; Peng, C.K.; Morin, R.; Goldberger, A.L.; Lipsitz, L.A. Age-related alterations in the fractal scaling of cardiac interbeat interval dynamics. Am. J. Physiol. 1996, 271, R1078–R1084. [Google Scholar] [CrossRef]
  35. Min, L.; Chen, Q.; Yan, S. Network in Network. arXiv, 2013; arXiv:1312.4400. [Google Scholar]
  36. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
  37. Kingma, D.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv, 2014; arXiv:1412.6980. [Google Scholar]
  38. Kumar, M.; Pachori, R.B.; Acharya, U.R. Use of Accumulated Entropies for Automated Detection of Congestive Heart Failure in Flexible Analytic Wavelet Transform Framework Based on Short-Term HRV Signals. Entropy 2017, 19, 92. [Google Scholar] [CrossRef]
Figure 1. The original ECG signals and beat annotations.
Figure 1. The original ECG signals and beat annotations.
Sensors 19 01502 g001
Figure 2. Signals of different type for 500 samples length. (a) The normal RR interval. (b) The congestive heart failure (CHF)-RR interval.
Figure 2. Signals of different type for 500 samples length. (a) The normal RR interval. (b) The congestive heart failure (CHF)-RR interval.
Sensors 19 01502 g002
Figure 3. Inception—long short-term memory (LSTM) module used in this paper.
Figure 3. Inception—long short-term memory (LSTM) module used in this paper.
Sensors 19 01502 g003
Figure 4. Network structure in this method, the input is RR intervals.
Figure 4. Network structure in this method, the input is RR intervals.
Sensors 19 01502 g004
Figure 5. The LSTM network used in the module (with many-to-many structure, the input data is 500 RR interval segments).
Figure 5. The LSTM network used in the module (with many-to-many structure, the input data is 500 RR interval segments).
Sensors 19 01502 g005
Figure 6. The detailed structure of the module in this model (the input data is 500 RR interval segments).
Figure 6. The detailed structure of the module in this model (the input data is 500 RR interval segments).
Sensors 19 01502 g006
Figure 7. The details of the proposed network structure with 500 RR intervals.
Figure 7. The details of the proposed network structure with 500 RR intervals.
Sensors 19 01502 g007
Figure 8. Training and validation loss function over the epochs in database 1 (DB1). (a) The 500 length segment; (b) the 1000 length segment; (c) the 2000 length segment.
Figure 8. Training and validation loss function over the epochs in database 1 (DB1). (a) The 500 length segment; (b) the 1000 length segment; (c) the 2000 length segment.
Sensors 19 01502 g008
Figure 9. Training and validation loss function over the epochs (DB2). (a) The 500 length segment; (b) the 1000 length segment; (c) the 2000 length segment.
Figure 9. Training and validation loss function over the epochs (DB2). (a) The 500 length segment; (b) the 1000 length segment; (c) the 2000 length segment.
Sensors 19 01502 g009
Table 1. The number of signals for different database in two classes.
Table 1. The number of signals for different database in two classes.
DatabaseTotal Segments
N = 500N = 1000N = 2000
BIDMC congestive heart failure database (CHF)32141607803
Congestive heart failure RR interval database (CHF)662233111655
MIT-BIH normal sinus rhythm database (NSR)35791739869
Normal sinus rhythm RR interval database (NSR)11,58357912895
Fantasia dataset (NSR)500250125
Table 2. The detailed structure of the proposed model.
Table 2. The detailed structure of the proposed model.
LayerTypeDepthSegment LengthOutput Shape
0Input layer0500500 × 1
10001000 × 1
20002000 × 1
0–1Inception-LSTM module#125001606 × 5
10003327 × 5
20006660 × 5
1–2Concatenate layer
2–3Inception-LSTM module#225005353 × 5
100011,090 × 5
200022,200 × 5
3–4Concatenate layer
4–5Dropout0-
5–6fully connected150026,765
100055,450
2000111,000
6Sigmoid0 2
Table 3. Dataset used for comparison.
Table 3. Dataset used for comparison.
DatabaseBIDMC-CHFCHF-RRMIT-BIH NSRNSR-RRFantasia
Database-1 (DB1)
Database-2 (DB2)
Table 4. Training details and parameters.
Table 4. Training details and parameters.
ParametersValue
ShuffledTrue
Batch size128
Max epochs100
Early stoppingmonitor = validation loss, patience = 5
Loss function Binary entropy
OptimizerAdaptive moment estimation
Table 5. Performance of the 10-fold cross-validation (DB1).
Table 5. Performance of the 10-fold cross-validation (DB1).
MethodClassifierFeaturesLengthEvaluation
SensitivitySpecificityAccuracy
[38]LS-SVMAccumulated fuzzy entropy and accumulated permutation entropy50098.07%98.33%98.21%
100097.95%98.07%98.01%
200097.76%97.67%97.71%
This paperInception module-50097.80%98.16%97.96%
100098.67%96.69%97.84%
200093.82%100.00%96.75%
LSTM based Inception-50099.45%98.91%99.14%
100097.74%98.72%98.31%
200097.64%99.83%98.69%
Table 6. Performance of the 10-fold cross-validation (DB2).
Table 6. Performance of the 10-fold cross-validation (DB2).
MethodClassifierFeaturesLengthEvaluation
SensitivitySpecificityAccuracy
[13]DNNsSparse-auto-encoder50049.09%86.33%72.86%
[20]SVMMultiscale entropy of ΔRR100086.2%85.2%85.5%
200084.4%86.8%85.6%
This paperInception module-50097.38%30.14%74.32%
100086.38%58.31%76.56%
200087.87%62.93%79.31%
LSTM based Inception-50091.21%74.91%86.42%
100092.07%76.47%87.76%
200090.83%77.65%86.63%
Table 7. Information of the blindfold testing dataset.
Table 7. Information of the blindfold testing dataset.
DatabaseBlind Validation Dataset
Subject Information (Age, Sex, Number)Total Segments
CHFNormalN = 500N = 1000N = 2000
Database-1 (DB1)(54, F, #11)
(63, M, #13)
(61, M, #14)
(50, F, #19830)
(38, F, #19140)
(34, M, #19093)
686339164
Database-2 (DB2)(35, unknown, #224)
(66, unknown, #225)
(51, unknown, #226)
(64, unknown, #227)
(51, unknown, #228)
(58, unknown, #229)
(39, M, #049)
(29, M, #050)
(40, M, #051)
(35, M, #054)
(64, F, #001)
(67, F, #003)
27071343662
Table 8. Results of blindfold testing.
Table 8. Results of blindfold testing.
DatasetSegment LengthEvaluation
SensitivitySpecificityAccuracy
DB150099.22%99.72%99.22%
100098.13%100.00%98.85%
200098.85%98.99%98.92%
DB250091.90%73.58%82.51%
100096.85%75.82%86.68%
200094.14%81.25%87.55%

Share and Cite

MDPI and ACS Style

Wang, L.; Zhou, X. Detection of Congestive Heart Failure Based on LSTM-Based Deep Network via Short-Term RR Intervals. Sensors 2019, 19, 1502. https://doi.org/10.3390/s19071502

AMA Style

Wang L, Zhou X. Detection of Congestive Heart Failure Based on LSTM-Based Deep Network via Short-Term RR Intervals. Sensors. 2019; 19(7):1502. https://doi.org/10.3390/s19071502

Chicago/Turabian Style

Wang, Ludi, and Xiaoguang Zhou. 2019. "Detection of Congestive Heart Failure Based on LSTM-Based Deep Network via Short-Term RR Intervals" Sensors 19, no. 7: 1502. https://doi.org/10.3390/s19071502

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

Article Metrics

Back to TopTop