Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Jan 5;11(1):0.
doi: 10.3390/bioengineering11010053.

Time-Series Anomaly Detection Based on Dynamic Temporal Graph Convolutional Network for Epilepsy Diagnosis

Affiliations

Time-Series Anomaly Detection Based on Dynamic Temporal Graph Convolutional Network for Epilepsy Diagnosis

Guanlin Wu et al. Bioengineering (Basel). .

Abstract

Electroencephalography (EEG) is typical time-series data. Designing an automatic detection model for EEG is of great significance for disease diagnosis. For example, EEG stands as one of the most potent diagnostic tools for epilepsy detection. A myriad of studies have employed EEG to detect and classify epilepsy, yet these investigations harbor certain limitations. Firstly, most existing research concentrates on the labels of sliced EEG signals, neglecting epilepsy labels associated with each time step in the original EEG signal-what we term fine-grained labels. Secondly, a majority of these studies utilize static graphs to depict EEG's spatial characteristics, thereby disregarding the dynamic interplay among EEG channels. Consequently, the efficient nature of EEG structures may not be captured. In response to these challenges, we propose a novel seizure detection and classification framework-the dynamic temporal graph convolutional network (DTGCN). This method is specifically designed to model the interdependencies in temporal and spatial dimensions within EEG signals. The proposed DTGCN model includes a unique seizure attention layer conceived to capture the distribution and diffusion patterns of epilepsy. Additionally, the model incorporates a graph structure learning layer to represent the dynamically evolving graph structure inherent in the data. We rigorously evaluated the proposed DTGCN model using a substantial publicly available dataset, TUSZ, consisting of 5499 EEGs. The subsequent experimental results convincingly demonstrated that the DTGCN model outperformed the existing state-of-the-art methods in terms of efficiency and accuracy for both seizure detection and classification tasks.

Keywords: electroencephalography; graph convolutional network; seizure detection and classification; time-series anomaly detection.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
Changes in EEG signals at different periods of seizure. The EEG signals in the blue box indicate the preictal period, the EEG signals in the red box indicate the ictal period, the EEG signals in between the two boxes indicate the postictal period, and the EEG signals elsewhere indicate the interictal period.
Figure 2
Figure 2
Framework of the DTGCN Model. X and X respectively denote the input and reconstructed output. Vt is a sequence of windows sliced from X . Ht1 represents the output of TGCN at the (t1)th time step. Et represents the adjacency matrix of the graph structure generated at the tth time step. Gconv represents graph convolution. The upper right and lower right two different branches represent seizure detection and classification respectively.
Figure 3
Figure 3
Fine-grained and coarse-grained labels.
Figure 4
Figure 4
Confusion matrices of the baselines and DTGCN for 60 s seizure classification. The intensity of the color increases with the improvement of prediction accuracy, with darker hues corresponding to higher levels of accuracy.
Figure 5
Figure 5
The impact of parameter changes on model performance: (A) the window size K, (B) the time step n that needs to be averaged, and (C) the weight factor λ of the KL divergence loss item.
Figure 6
Figure 6
Mean adjacency matrix for EEG in the test set for (A,F) non-seizure EEG clips, (B,G) generalized seizures, (C,H) focal seizures, (D,I) difference between focal seizure and non-seizure adjacency matrices, and (E,J) difference between generalized seizure and non-seizure adjacency matrices.

Similar articles

Cited by

References

    1. WHO Epilepsy. [(accessed on 8 July 2022.)]; Available online: https://www.who.int/news-room/fact-sheets/detail/epilepsyjune201.
    1. Goldenberg M.M. Overview of drugs used for epilepsy and seizures: Etiology, diagnosis, and treatment. Pharm. Ther. 2010;35:392. - PMC - PubMed
    1. Gu D.Q., Yu N. Postictal state and its clinical significance in epilepsy. Chin. J. Neurol. 2022;55:65–70.
    1. Tang S., Dunnmon J.A., Saab K., Zhang X., Huang Q., Dubost F., Rubin D.L., Lee-Messer C. Self-supervised graph neural networks for improved electroencephalographic seizure analysis. arXiv. 20212104.08336
    1. Tao T.-L., Guo L.-H., He Q., Zhang H., Xu L. Seizure detection by brain-connectivity analysis using dynamic graph isomorphism network; Proceedings of the 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); Glasgow, UK. 11–15 July 2022; pp. 2302–2305. - PubMed

LinkOut - more resources