Skip to main content

Advertisement

Log in

Dynamical graph neural network with attention mechanism for epilepsy detection using single channel EEG

  • Original Article
  • Published:
Medical & Biological Engineering & Computing Aims and scope Submit manuscript

Abstract

Epilepsy is a chronic brain disease, and identifying seizures based on electroencephalogram (EEG) signals would be conducive to implement interventions to help patients reduce impairment and improve quality of life. In this paper, we propose a classification algorithm to apply dynamical graph neural network with attention mechanism to single channel EEG signals. Empirical mode decomposition (EMD) are adopted to construct graphs and the optimal adjacency matrix is obtained by model optimization. A multilayer dynamic graph neural network with attention mechanism is proposed to learn more discriminative graph features. The MLP-pooling structure is proposed to fuse graph features. We performed 12 classification tasks on the epileptic EEG database of the University of Bonn, and experimental results showed that using 25 runs of ten-fold cross-validation produced the best classification results with an average of 99.83\(\%\) accuracy, 99.91\(\%\) specificity, 99.78\(\%\) sensitivity, 99.87\(\%\) precision, and 99.47\(\%\) \(F_1\) score for the 12 classification tasks.

Graphical abstract

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
Algorithm 1
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

References

  1. Jin J, Chen R, Xiao Z (2016) Post-epilepsy stroke: a review. Exp Rev Neurother 16(3):341

    Article  CAS  Google Scholar 

  2. Jiang Z, Chung FL, Wang S (2019) Recognition of multiclass epileptic eeg signals based on knowledge and label space inductive transfer. IEEE Trans Neural Syst Rehabil Eng 27(4):630

    Article  PubMed  Google Scholar 

  3. Saastamoinen A, Pietilä T, Värri A, Lehtokangas M, Saarinen J (1998) Waveform detection with rbf network-application to automated eeg analysis. Neurocomput 20(1–3):1

    Article  Google Scholar 

  4. Nishad A, Pachori RB (2020) Classification of epileptic electroencephalogram signals using tunable-q wavelet transform based filter-bank. J Ambient Intell Human Comput 1–15

  5. Liu G, Tian L, Zhou W (2022) Patient-independent seizure detection based on channel-perturbation convolutional neural network and bidirectional long short-term memory. Int J Neural Syst 32(06):2150051

    Article  PubMed  Google Scholar 

  6. Yazid M, Fahmi F, Sutanto E, Shalannanda W, Shoalihin R, Horng GJ et al (2021) Simple detection of epilepsy from eeg signal using local binary pattern transition histogram. IEEE Access 9:150252

    Article  Google Scholar 

  7. Xu X, Jia T, Li Q, Wei F, Ye L, Wu X (2023) Eeg feature selection via global redundancy minimization for emotion recognition. IEEE TRANS AFFECT COMPUT 14(1):421

    Article  Google Scholar 

  8. Rajpoot AS, Panicker MR et al (2022) Subject independent emotion recognition using eeg signals employing attention driven neural networks. Biomed Signal Process Control 75:103547

    Article  Google Scholar 

  9. Wang Y, Shi Y, Cheng Y, He Z, Wei X, Chen Z, Zhou Y (2022) A spatiotemporal graph attention network based on synchronization for epileptic seizure prediction. IEEE J Biomed Health Inform 27(2), 900–911

  10. Li Y, Liu Y, Guo YZ, Liao XF, Hu B, Yu T (2021) Spatio-temporal-spectral hierarchical graph convolutional network with semisupervised active learning for patient-specific seizure prediction. IEEE Trans Cybern

  11. Lacasa L, Luque B, Ballesteros F, Luque J, Nuno JC (2008) From time series to complex networks: the visibility graph. Proc Nat Acad Sci 105(13):4972

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  12. Cai Q, An J, Gao Z (2020) A multiplex visibility graph motif-based convolutional neural network for characterizing sleep stages using eeg signals. Brain Sci Adv 6(4):355

    Article  Google Scholar 

  13. Song T, Zheng W, Song P, Cui Z (2018) Eeg emotion recognition using dynamical graph convolutional neural networks. IEEE Trans Affect Comput 11(3):532

    Article  Google Scholar 

  14. Wang J, Gao R, Zheng H, Zhu H, Shi CJR (2023) Ssgcnet: a sparse spectra graph convolutional network for epileptic eeg signal classification. IEEE TRANS NEURAL NETW LEARN SYST

  15. Wang J, Liang S, He D, Wang Y, Wu Y, Zhang Y (2020) A sequential graph convolutional network with frequency-domain complex network of eeg signals for epilepsy detection. 2020 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), pp. 785–792

  16. Song JL, Hu W, Zhang R (2016) Automated detection of epileptic eegs using a novel fusion feature and extreme learning machine. Neurocomput 175:383

    Article  Google Scholar 

  17. Kumar Y, Dewal M, Anand R (2014) Epileptic seizures detection in eeg using dwt-based apen and artificial neural network. Signal Image Video Process 8(7):1323

    Article  Google Scholar 

  18. Tian X, Deng Z, Ying W, Choi KS, Wu D, Qin B, Wang J, Shen H, Wang S (2019) Deep multi-view feature learning for eeg-based epileptic seizure detection. IEEE Trans Neural Syst Rehabil Eng 27(10):1962

  19. Anuragi A, Sisodia DS, Pachori RB (2021) Automated fbse-ewt based learning framework for detection of epileptic seizures using time-segmented eeg signals. Comput Biol Med 136:104708

    Article  PubMed  Google Scholar 

  20. Fu K, Qu J, Chai Y, Dong Y (2014) Classification of seizure based on the time-frequency image of eeg signals using hht and svm. Biomed Signal Process Control 13:15

  21. Sharma M, Pachori RB, Acharya UR (2017) A new approach to characterize epileptic seizures using analytic time-frequency flexible wavelet transform and fractal dimension. Pattern Recognit Lett 94:172

    Article  Google Scholar 

  22. Xiang J, Li C, Li H, Cao R, Wang B, Han X, Chen J (2015) The detection of epileptic seizure signals based on fuzzy entropy. J Neurosci Methods 243:18

    Article  PubMed  Google Scholar 

  23. Na J, Wang Z, Lv S, Xu Z (2021) An extended k nearest neighbors-based classifier for epilepsy diagnosis. IEEE Access 9:73910

    Article  Google Scholar 

  24. 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

    Article  PubMed  Google Scholar 

  25. Yuan S, Zhou W, Li J, Wu Q (2017) Sparse representation-based emd and blda for automatic seizure detection. Med Biol Eng Computi 55(8):1227

    Article  Google Scholar 

  26. Zhang T, Chen W, Li M (2018) Generalized stockwell transform and svd-based epileptic seizure detection in eeg using random forest. Biocybern Biomed Eng 38(3):519

    Article  Google Scholar 

  27. Wang X, Gong G, Li N (2019) Automated recognition of epileptic eeg states using a combination of symlet wavelet processing, gradient boosting machine, and grid search optimizer. Sensors 19(2):219

  28. Singh G, Singh B, Kaur M (2019) Grasshopper optimization algorithm-based approach for the optimization of ensemble classifier and feature selection to classify epileptic eeg signals. Med Biol Eng Comput 57(6):1323

    Article  PubMed  Google Scholar 

  29. Chakraborty M, Mitra D et al. (2021) Epilepsy seizure detection using kurtosis based vmd’s parameters selection and bandwidth features. Biomed Signal Process Control 64

  30. Solaija MSJ, Saleem S, Khurshid K, Hassan SA, Kamboh AM (2018) Dynamic mode decomposition based epileptic seizure detection from scalp eeg. IEEE Access 6:38683

    Article  Google Scholar 

  31. Zhang J, Small M (2006) Complex network from pseudoperiodic time series: topology versus dynamics. Phys Rev Lett 96(23)

  32. Wang F, Meng Q, Chen Y, Zhao Y (2014) Feature extraction method for epileptic seizure detection based on cluster coefficient distribution of complex network. WSEAS Trans Comput 13:351–360

  33. Meng Q, Wang F, Chen Y (2015) A novel feature extraction method for epileptic eeg based on degree distribution of complex network. WSEAS Trans Inf Sci Appl 12:51–60

  34. Yu M, Hillebrand A, Gouw AA, Stam CJ (2017) Horizontal visibility graph transfer entropy (hvg-te): a novel metric to characterize directed connectivity in large-scale brain networks. NeuroImage 156:249

    Article  PubMed  Google Scholar 

  35. Xu P, Zhang R, Deng Y (2018) A novel visibility graph transformation of time series into weighted networks. Chaos Solitons Fractals 117:201

    Article  Google Scholar 

  36. Kong T, Shao J, Hu J, Yang X, Yang S, Malekian R (2021) Eeg-based emotion recognition using an improved weighted horizontal visibility graph. Sensors 21(5):1870

  37. Sun X, Small M, Zhao Y, Xue X (2014) Characterizing system dynamics with a weighted and directed network constructed from time series data. Chaos Interdiscip J Nonlinear Sci 24(2):024402

    Article  Google Scholar 

  38. Li Y, Meng Q, Wu P, Zhang H, Du L, Jiang H (2019) Novel automatic epilepsy detection method multi-weight transition network. 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 2560–2563

  39. Li Y, Guo Y, Meng Q, Zhang Z, Wu P, Zhang H (2019) Analysing epileptic eeg signals based on improved transition network. 16th International Symposium on Neural Networks, pp. 153–161

  40. Supriya S, Siuly S, Wang H, Zhang Y (2021) New feature extraction for automated detection of epileptic seizure using complex network framework. Appl Acoust 180:108098

    Article  Google Scholar 

  41. Zheng Q, Zhao P, Zhang D, Wang H (2021) Mr-dcae: manifold regularization-based deep convolutional autoencoder for unauthorized broadcasting identification. Int J Intell Syst 36(12):7204

    Article  Google Scholar 

  42. Zheng Q, Zhao P, Li Y, Wang H, Yang Y (2021) Spectrum interference-based two-level data augmentation method in deep learning for automatic modulation classification. Neural Comput Appl 33(13):7723

    Article  Google Scholar 

  43. Zhang G, Yu M, Liu Y.J, Zhao G, Zhang D, Zheng W (2021) Sparsedgcnn: recognizing emotion from multichannel eeg signals. IEEE Trans Affect Comput

  44. Tang S, Dunnmon J.A, Saab K, Zhang X, Huang Q, Dubost F, Rubin DL, C. Lee-Messer, Self-supervised graph neural networks for improved electroencephalographic seizure analysis, arXiv preprint arXiv:2104.08336 (2021)

  45. Song T, Zheng W, Liu S, Zong Y, Cui Z, Li Y (2021) Graph-embedded convolutional neural network for image-based eeg emotion recognition. IEEE Trans Emerg Top Comput 10(3):1399

    Article  Google Scholar 

  46. Chen X, Zheng Y, Niu Y, Li C(2020) Epilepsy classification for mining deeper relationships between eeg channels based on gcn. International Conference on Computer Vision, Image and Deep Learning (CVIDL), pp. 701–706

  47. Zeng D, Huang K, Xu C, Shen H, Chen Z (2020) Hierarchy graph convolution network and tree classification for epileptic detection on electroencephalography signals. IEEE Trans Cognit Dev Syst 13(4):955

    Article  Google Scholar 

  48. Zhong P, Wang D, Miao C (2020) Eeg-based emotion recognition using regularized graph neural networks. IEEE Trans Affect Comput

  49. Jia Z, Lin Y, Wang J, Ning X, He Y, Zhou R, Zhou Y, Li-wei HL (2021) Multi-view spatial-temporal graph convolutional networks with domain generalization for sleep stage classification. IEEE Trans Neural Syst Rehabil Eng 29:1977

    Article  PubMed  PubMed Central  Google Scholar 

  50. Wang M, El-Fiqi H, Hu J, Abbass HA (2019) Convolutional neural networks using dynamic functional connectivity for eeg-based person identification in diverse human states. IEEE Trans Inf Forensics Secur 14(12):3259

  51. Lin Z, Qiu T, Liu P, Zhang L, Zhang S, Mu Z (2021) Fatigue driving recognition based on deep learning and graph neural network. Biomed Signal Process Control 68:102598

  52. Huang NE, Shen Z, Long SR, Wu M.C, Shih HH, Zheng Q, Yen NC, Tung CC, Liu HH (1998) The empirical mode decomposition and the hilbert spectrum for nonlinear and non-stationary time series analysis, Proceedings of the Royal Society of London. Ser A: Math Phys Eng Sci 454(1971):903

  53. Li Y, Wen PP et al (2011) Clustering technique-based least square support vector machine for eeg signal classification. Comput Methods Prog Biomed 104(3):358

    Article  Google Scholar 

  54. Riaz F, Hassan A, Rehman S, Niazi IK, Dremstrup K (2015) Emd-based temporal and spectral features for the classification of eeg signals using supervised learning. IEEE Trans Neural Syst Rehabil Eng 24(1):28

    Article  PubMed  Google Scholar 

  55. Karabiber Cura O, Kocaaslan Atli S, Türe HS, Akan A (2020) Epileptic seizure classifications using empirical mode decomposition and its derivative. Biomed Eng Online 19(1):1

    Article  Google Scholar 

  56. Defferrard M, Bresson X, Vandergheynst P (2016) Convolutional neural networks on graphs with fast localized spectral filtering. Adv Neural Inf Process Syst 29:3844

  57. Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks. arXiv:1609.02907

  58. Lehnertz K (2008) Epilepsy and nonlinear dynamics. J Biol Phys 34(3):253

  59. Tajmirriahi M, Amini Z (2021) Modeling of seizure and seizure-free eeg signals based on stochastic differential equations. Chaos Solit Fractals 150:111104

    Article  Google Scholar 

Download references

Funding

This study was supported by Shandong Provincial Natural Science Foundation of China (ZR2019ZD01, ZR2020MF143, and ZR2020MF027)

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Yang Yang or Hongjun Wang.

Ethics declarations

Conflict of interest

The authors declare no competing interests.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Li, Y., Yang, Y., Zheng, Q. et al. Dynamical graph neural network with attention mechanism for epilepsy detection using single channel EEG. Med Biol Eng Comput 62, 307–326 (2024). https://doi.org/10.1007/s11517-023-02914-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11517-023-02914-y

Keywords

Navigation