MRASleepNet: A multi-resolution attention network for sleep stage classification using single-channel EEG
Rui Yu,Zhuhuang Zhou,Shuicai Wu,Xiaorong Gao,Guangyu Bin
DOI: https://doi.org/10.1088/1741-2552/aca2de
IF: 5.043
2022-11-16
Journal of Neural Engineering
Abstract:Objective: Computerized classification of sleep stages based on single-lead electroencephalography (EEG) signals is important, but still challenging. In this paper, we proposed a deep neural network called MRASleepNet for automatic sleep stage classification using single-channel EEG signals. Approach: The proposed MRASleepNet model consisted of a feature extraction (FE) module, a multi-resolution attention (MRA) module, and a gated multilayer perceptron (gMLP) module, as well as a direct pathway for computing statistical features. The FE, MRA, and gMLP modules were used to extract features, establish feature attention, and obtain temporal relationships between features, respectively. EEG signals were normalized and cut into 30-s segments, and enhanced by incorporating contextual information from adjacent data segments. After data enhancement, the 40-s data segments were input to the MRASleepNet model. The model was evaluated on the SleepEDF and the CAP databases, using such metrics as the accuracy, Kappa, and macro-F1 (MF1). Main results: For the SleepEDF-20 database, the proposed model had an accuracy of 84.5%, an MF1 of 0.789, and a Kappa of 0.786. For the SleepEDF-78 database, the model had an accuracy of 81.4%, an MF1 of 0.754, and a Kappa of 0.743. For the CAP database, the model had an accuracy of 74.3%, an MF1 of 0.656, and a Kappa of 0.652. The proposed model achieved satisfactory performance in automatic sleep stage classification tasks. Significance: The time- and frequency-domain features extracted by the FE module and filtered by the MRA module, together with the temporal features extracted by the gMLP module and the statistical features extracted by the statistical highway, enabled the proposed model to obtain a satisfying performance in sleep staging. The proposed MRASleepNet model may be used as a new deep learning method for automatic sleep stage classification. The code of MRASleepNet will be made available publicly on https://github.com/YuRui8879/.
engineering, biomedical,neurosciences