Skip to main content
Log in

Stroke prediction from electrocardiograms by deep neural network

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

The brain is an energy-consuming organ that heavily relies on the heart for energy supply. Heart abnormalities detected by electrocardiogram (ECG) might provide diagnostic indicators for brain dysfunctions such as stroke. Diagnosis of brain diseases by ECG requires proficient domain knowledge, which is both time and labor consuming. Deep learning is capable of constructing a nonlinear correlation between ECG and stroke without prior expert knowledge. Here, we propose a data-driven classifier-Dense convolutional neural Network (DenseNet) for stroke prediction based on 12-leads ECG data. With our finely-tuned model, we obtain the training accuracy of 99.99% and the prediction accuracy of 85.82%. To our knowledge, this is the first report studying the correlation between stroke and ECG with the aid of deep learning. The results indicate that ECG is a valuable complementary technique for stroke diagnostics.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

References

  1. Acharya UR, Fujita H, Lih OS, Hagiwara Y, Tan JH, Adam M (2017) Automated detection of arrhythmias using different intervals of tachycardia ecg segments with convolutional neural network. Inf Sci 405:81–90

    Article  Google Scholar 

  2. Acharya UR, Fujita H, Oh SL, Hagiwara Y, Tan JH, Adam M (2017) Application of deep convolutional neural network for automated detection of myocardial infarction using ecg signals. Inf Sci 415:190–198

    Article  Google Scholar 

  3. Andreotti F, Carr O, Pimentel MA, Mahdi A, De Vos M (2017) Comparing feature-based classifiers and convolutional neural networks to detect arrhythmia from short segments of ecg. In: 2017 Computing in Cardiology (CinC). IEEE, pp 1–4

  4. Asadi P, Ziabari SMZ, Jahan DN, Yazdi AJ (2019) Electrocardiogram changes as an independent predictive factor of mortality in patients with acute ischemic stroke; a cohort study. Arch Acad Emerg Med, vol. 1:7

    Google Scholar 

  5. Censi F, Corazza I, Reggiani E, Calcagnini G, Mattei E, Triventi M, Boriani G (2016) P-wave variability and atrial fibrillation. Sci Rep 6 (1):1–7

    Article  Google Scholar 

  6. Cox AM, McKevitt C, Rudd AG, Wolfe CD (2006) Socioeconomic status and stroke. Lancet Neurol 5(2):181–188

    Article  Google Scholar 

  7. De Chazal P, Reilly RB (2006) A patient-adapting heartbeat classifier using ecg morphology and heartbeat interval features. IEEE Trans Biomed Eng 53 (12):2535–2543

    Article  Google Scholar 

  8. Dong J, Zheng H, Lian L (2018) Dynamic facial expression recognition based on convolutional neural networks with dense connections. In: 2018 24th international conference on pattern recognition (ICPR). IEEE, pp 3433–3438

  9. Duchi J, Hazan E, Singer Y (2011) Adaptive subgradient methods for online learning and stochastic optimization. J Mach Learn Res 12(Jul):2121–2159

    MathSciNet  MATH  Google Scholar 

  10. Girshick R, Donahue J, Darrell T, Malik J (2014) Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 580–587

  11. Goldstein DS (1979) The electrocardiogram in stroke:, relationship to pathophysiological type and comparison with prior tracings. Stroke 10 (3):253–259

    Article  Google Scholar 

  12. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 770–778

  13. Holst H, Ohlsson M, Peterson C, Edenbrandt L (1999) A confident decision support system for interpreting electrocardiograms. Clin Physiol 19(5):410–418

    Article  Google Scholar 

  14. Jin Y, Qin C, Huang Y, Zhao W, Liu C (2020) Multi-domain modeling of atrial fibrillation detection with twin attentional convolutional long short-term memory neural networks. Knowl-Based Syst 105460

  15. Jirayucharoensak S, Pan-Ngum S, Israsena P (2014) Eeg-based emotion recognition using deep learning network with principal component based covariate shift adaptation. Sci World J 2014

  16. Jung M, Kim J-S, Song JH, Kim J-M, Park K-Y, Lee W-S, Kim SW, Lip GY, Shin SY (2020) Usefulness of p wave duration in embolic stroke of undetermined source. J Clin Med 9(4):1134

    Article  Google Scholar 

  17. Kaouter K, Mohamed T, Sofiene D, Abbas D, Fouad M. (2019) Full training convolutional neural network for ecg signals classification. In: AIP conference proceedings, vol 2190. AIP Publishing LLC, p 020055

  18. Khandoker AH, Palaniswami M, Karmakar CK (2008) Support vector machines for automated recognition of obstructive sleep apnea syndrome from ecg recordings. IEEE Trans Inform Technol Biomed 13(1):37–48

    Article  Google Scholar 

  19. Kingma DP, Ba J (2014) Adam:, A method for stochastic optimization. arXiv:1412.6980

  20. Kleinberg R, Li Y, Yuan Y (2018) An alternative view:, When does sgd escape local minima? arXiv:1802.06175

  21. Mukkamala MC, Hein M (2017) Variants of rmsprop and adagrad with logarithmic regret bounds. In: Proceedings of the 34th international conference on machine learning-volume 70. JMLR.org, pp 2545–2553

  22. Parvaneh S, Rubin J, Babaeizadeh S, Xu-Wilson M (2019) Cardiac arrhythmia detection using deep learning: A review. J Electrocardiol

  23. Sainath TN, Mohamed A-R, Kingsbury B, Ramabhadran B (2013) Deep convolutional neural networks for LVCSR. In: IEEE international conference on acoustics, speech and signal processing, vol 2013. IEEE, pp 8614–8618

  24. Shim H-M, Lee S (2015) Multi-channel electromyography pattern classification using deep belief networks for enhanced user experience. J Cent South Univ 22(5):1801–1808

    Article  Google Scholar 

  25. Sidek KA, Khalil I, Jelinek HF (2014) Ecg biometric with abnormal cardiac conditions in remote monitoring system. IEEE Trans Syst Man Cybern Syst 44(11):1498–1509

    Article  Google Scholar 

  26. Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R (2014) Dropout: a simple way to prevent neural networks from overfitting. J Mach Learn Res 15(1):1929–1958

    MathSciNet  MATH  Google Scholar 

  27. Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z (2016) Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 2818–2826

  28. Verma AK, Aarotale PN, Dehkordi P, Lou J-S, Tavakolian K (2019) Relationship between ischemic stroke and pulse rate variability as a surrogate of heart rate variability. Brain Sci 9(7):162

    Article  Google Scholar 

  29. Yeh Y-C, Wang W-J, Chiou CW (2009) Cardiac arrhythmia diagnosis method using linear discriminant analysis on ecg signals. Measurement 42 (5):778–789

    Article  Google Scholar 

  30. Zhou B, Li Y, Wang J (2018) A weakly supervised adaptive densenet for classifying thoracic diseases and identifying abnormalities. arXiv:1807.01257

  31. Zubair M, Kim J, Yoon C (2016) An automated ecg beat classification system using convolutional neural networks. In: 2016 6th international conference on IT convergence and security (ICITCS). IEEE, pp 1–5

Download references

Acknowledgments

We thank AUSA Shenzhen Inc for data collection. This work is supported by the National Key Research and Development Program of China (2017YFC0820605), National Natural Science Major Foundation of Research Instrumentation of PR China (61427808), Zhejiang Province Nature Science Foundation of China (LR17F030006, 111 Project, No. D17019); and Shenzhen Municipal Development and Reform Commission Subject Construction Project [2017] 1434.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yifeng Xie.

Ethics declarations

Conflict of interests

All authors declare no conflict of interest.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Ethical approval

All procedures performed in studies involving human participants are in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xie, Y., Yang, H., Yuan, X. et al. Stroke prediction from electrocardiograms by deep neural network. Multimed Tools Appl 80, 17291–17297 (2021). https://doi.org/10.1007/s11042-020-10043-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-020-10043-z

Keywords

Navigation