Skip to main content
Log in

EEG-based deep learning model for the automatic detection of clinical depression

  • Scientific Paper
  • Published:
Physical and Engineering Sciences in Medicine Aims and scope Submit manuscript

Abstract

Clinical depression is a neurological disorder that can be identified by analyzing the Electroencephalography (EEG) signals. However, the major drawback in using EEG to accurately identify depression is the complexity and variation that exist in the EEG of a depressed individual. There are several strategies for automated depression diagnosis, but they all have flaws, which make the diagnostic task inaccurate. In this paper, a deep model is designed in which an integration of Convolution Neural Network (CNN) and Long Short Term Memory (LSTM) is implemented for the detection of depression. CNN and LSTM are used to learn the local characteristics and the EEG signal sequence, respectively. In the deep learning model, filters in the convolution layer are convolved with the input signal to generate feature maps. All the extracted features are given to the LSTM for it to learn the different patterns in the signal, after which the classification is performed using fully connected layers. LSTM has memory cells to remember the essential features for a long time. It also has different functions to update the weights during training. Testing of the model was done by random splitting technique and obtained 99.07% and 98.84% accuracies for the right and left hemispheres EEG signals, respectively.

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
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. World Federation for Mental Health (2012) Depression: a global crisis. World Federation for Mental Health, Occoquan

    Google Scholar 

  2. Mental Health Foundation. https://www.mentalhealth.org.uk/a-to-z/d/depression. Accessed 17 Oct 2020

  3. American Psychiatric Association. https://www.psychiatry.org/patients-families/what-is-mental-illness. Accessed 17 Oct 2020

  4. Hecht D (2010) Depression and the hyperactive right-hemisphere. Neurosci Res 68(2):77–87

    Article  Google Scholar 

  5. Albert PR (2015) Why is depression more prevalent in women? J Psychiatry Neurosci 40(4):219–221

    Article  Google Scholar 

  6. Casson AJ, Abdulaal M, Dulabh M, Kohli S, Krachunov S, Trimble E (2018) Electroencephalogram. Seamless healthcare monitoring. Springer, Cham, pp 45–81

    Chapter  Google Scholar 

  7. The McGill Physiology Virtual Laboratory. http://www.medicine.mcgill.ca/physio/vlab/biomed_signals/EEG_n.htm. Accessed 17 Oct 2020

  8. Acharya UR, Bhat S, Faust O, Adeli H, Chua EC-P, Lim WJE, Koh JEW (2015) Nonlinear dynamics measures for automated EEG based sleep stage detection. Eur Neurol 74:268–287

    Article  Google Scholar 

  9. Anna D, Aswathy KJ, Surekha Mariam V (2019) Deep learning in computer aided diagnosis of MDD. Int J Innov Technol Explor Eng 8(6):464–468

    Google Scholar 

  10. Subha DP, Joseph PK (2012) Classification of EEG signals in normal and depression conditions by ANN using RWE and signal entropy. J Mech Med Biol 12(4):1240019

    Article  Google Scholar 

  11. Hosseinifard B, Moradi MH, Rostami R (2013) Classifying depression patients and normal subjects using machine learning techniques and nonlinear features from EEG signal. Comput Methods Program Biomed 109(3):339–345

    Article  Google Scholar 

  12. Faust O, Ang PCA, Subha DP, Joseph PK (2014) Depression diagnosis support system based on EEG signal entropies. J Mech Med Biol 14(3):1450035

    Article  Google Scholar 

  13. Boneau CA (1960) The effects of violations of assumptions underlying the t test. Psychol Bull 57(1):49–64

    Article  CAS  Google Scholar 

  14. Acharya UR, Sudarshan VK, Adeli H, Santhosh J, Koh JEW, Subha DP, Adeli A (2015) A novel depression diagnosis index using nonlinear features in EEG signals. Eur Neurol 74(1–2):79–83

    Article  Google Scholar 

  15. Gao JB, Cao Y, Gu L, Harris JG, Principe JC (2003) Detection of weak transitions in signal dynamics using recurrence time statistics. Phys Lett A 317:64–72

    Article  CAS  Google Scholar 

  16. IGI Global. https://www.igi-global.com/dictionary/artificial-neural-networks/1519. Accessed 17 Oct 2020

  17. Sanoob MU, Anand M, Ajesh KR, Surekha Mariam V (2016) Artificial neural network for diagnosis of pancreatic cancer. Int J Cybern Inform 5(2):40–49

    Google Scholar 

  18. Erguzel TT, Ozekes S, Tan O, Gultekin S (2015) Feature selection and classification of electroencephalographic signals: an artificial neural network and genetic algorithm based approach. Clin EEG Neurosci 46(4):321–326

    Article  Google Scholar 

  19. Anusha KS, Mathews MT, Puthankattil SD (2012) Classification of normal and epileptic EEG signal using time & frequency domain features through artificial neural network. In: International Conference on Advances in Computing and Communications, Cochin, Kerala, pp 98–101

  20. Li Q, Peng Q, Yan C (2018) Multiple VLAD encoding of CNNs for image classification. Comput Sci Eng 20(2):52–63

    Article  Google Scholar 

  21. Acharya UR, Oh SL, Hagiwara Y, Tan JH, Adeli H (2018) Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput Biol Med 100:270–278

    Article  Google Scholar 

  22. Yıldırım Ö, Baloglu UB, Acharya UR (2018) A deep convolutional neural network model for automated identification of abnormal EEG signals. Neural Comput Appl. https://doi.org/10.1007/s00521-018-3889-z

    Article  Google Scholar 

  23. Acharya UR, Oh SL, Hagiwara Y, Tan JH, Adeli H, Subha DP (2018) Automated EEG-based screening of depression using deep convolutional neural network. Comput Methods Programs Biomed 161:103–113

    Article  Google Scholar 

  24. Yıldırım Ö, Pławiak P, Tan RS, Acharya UR (2018) Arrhythmia detection using deep convolutional neural network with long duration ECG signals. Comput Biol Med 102:411–420

    Article  Google Scholar 

  25. Aswathy KJ, Surekha Mariam V (2018) Neural network in diagnosis of alzheimer’s from electroencephalography. J Emerg Technol Innov Res 5(3):284–288

    Google Scholar 

  26. Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780

    Article  CAS  Google Scholar 

  27. Oh SL, Ng EYK, Tan RS, Acharya UR (2018) Automated diagnosis of arrhythmia using combination of CNN and LSTM techniques with variable length heart beats. Comput Biol Med 102:278–287

    Article  Google Scholar 

  28. Song E, Soong FK, Kang HG (2017) Effective spectral and excitation modeling techniques for LSTM-RNN-based speech synthesis systems. IEEE/ACM Trans Audio, Speech, Lang Process 25(11):2152–2161

    Article  Google Scholar 

  29. Petrosian A, Prokhorov D, Homan R, Dasheiff R, Wunsch D (2000) Recurrent neural network based prediction of epileptic seizures in intra and extracranial EEG. Neurocomputing 30(1):201–218

    Article  Google Scholar 

  30. Yildirim ¨O, (2018) A novel wavelet sequence based on deep bidirectional LSTM network model for ECG signal classification. Comput Biol Med 96:189–202

    Article  Google Scholar 

  31. Tsiouris ΚΜ, Pezoulas VC, Zervakis M, Konitsiotis S, Koutsouris DD, Fotiadis DI (2018) A long short-term memory deep learning network for the prediction of epileptic seizures using EEG signals. Comput Biol Med 99:24–37

    Article  Google Scholar 

  32. Supratak A, Dong H, Chao W, Yike G (2017) DeepSleepNet: a model for automatic sleep stage scoring based on raw singlechannel EEG. IEEE Trans Neural Syst Rehabil Eng 25(11):1998–2008

    Article  Google Scholar 

  33. Swapna G, Soman KP, Vinayakumar R (2018) Automated detection of diabetes using CNN and CNN-LSTM network and heart rate signals. Procedia Comput Sci 132:1253–1262

    Article  Google Scholar 

  34. Khan MH (2019) A CNN-LSTM for predicting mortality in the ICU. Master’s Thesis, University of Tennessee

  35. Shahzadi I, Tang TB, Meriadeau F, Quyyum A (2018) CNN-LSTM: Cascaded framework for brain tumour classification. IEEE-EMBS Conference on biomedical engineering and sciences. IEEE, Piscataway, pp 633–637

    Google Scholar 

  36. Shahbazi M, Aghajan H (2018) A generalizable model for seizure prediction based on deep learning using CNN-LSTM architecture. In: IEEE global conference on signal and information processing, Anaheim, CA, USA, pp 469–473

  37. Wahyuningrum RT, Anifah L, Eddy Purnama IK, Hery Purnomo M (2019) A New approach to classify knee osteoarthritis severity from radiographic images based on CNN-LSTM method. In: IEEE 10th international conference on awareness science and technology, Morioka, Japan, pp 1–6

  38. Jianfeng Z, Xia M, Lijiang C (2019) Speech emotion recognition using deep 1D & 2D CNN LSTM networks. Biomed Signal Process Control 47:312–323

    Article  Google Scholar 

  39. Patient Repository for EEG data. http://predict.cs.unm.edu/downloads.php. Accessed 15 Jan 2020

  40. Nolan H, Whelan R, Reilly RB (2010) FASTER: fully automated statistical thresholding for EEG artifact rejection. J Neurosci Methods 192:152–162

    Article  CAS  Google Scholar 

  41. He K, Zhang X, Ren S, Sun J (2015) Delving deep into rectifiers: surpassing human-level performance on image net classification. In: IEEE international conference on computer vision, Santiago 1026–1034

  42. Bengio Y, Simard P, Frasconi P (1994) Learning long-term dependencies with gradient descent is difficult. IEEE Trans Neural Netw 5(2):157–166

    Article  CAS  Google Scholar 

  43. 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(56):1929–1958

    Google Scholar 

  44. Kingma DP, Ba LJ (2015) ADAM: a method for stochastic optimization. In: 3rd international conference on learning representations (ICLR), San Diego

Download references

Funding

None.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pristy Paul Thoduparambil.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Informed consent

Data used in this research is taken from the database made available under the Public Domian Dedication and License v1.0, as part of a Brain Initiative Seed Award supported by the University of New Mexico. All participants provided written informed consent that was approved by the University of Arizona.

Research involving human and animals participants

This paper does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Publisher's Note

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

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Thoduparambil, P.P., Dominic, A. & Varghese, S.M. EEG-based deep learning model for the automatic detection of clinical depression. Phys Eng Sci Med 43, 1349–1360 (2020). https://doi.org/10.1007/s13246-020-00938-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13246-020-00938-4

Keywords

Navigation