Sleep Stage Classification in Children Using Self-Attention and Gaussian Noise Data Augmentation

Sensors (Basel). 2023 Mar 25;23(7):3446. doi: 10.3390/s23073446.

Abstract

The analysis of sleep stages for children plays an important role in early diagnosis and treatment. This paper introduces our sleep stage classification method addressing the following two challenges: the first is the data imbalance problem, i.e., the highly skewed class distribution with underrepresented minority classes. For this, a Gaussian Noise Data Augmentation (GNDA) algorithm was applied to polysomnography recordings to seek the balance of data sizes for different sleep stages. The second challenge is the difficulty in identifying a minority class of sleep stages, given their short sleep duration and similarities to other stages in terms of EEG characteristics. To overcome this, we developed a DeConvolution- and Self-Attention-based Model (DCSAM) which can inverse the feature map of a hidden layer to the input space to extract local features and extract the correlations between all possible pairs of features to distinguish sleep stages. The results on our dataset show that DCSAM based on GNDA obtains an accuracy of 90.26% and a macro F1-score of 86.51% which are higher than those of our previous method. We also tested DCSAM on a well-known public dataset-Sleep-EDFX-to prove whether it is applicable to sleep data from adults. It achieves a comparable performance to state-of-the-art methods, especially accuracies of 91.77%, 92.54%, 94.73%, and 95.30% for six-stage, five-stage, four-stage, and three-stage classification, respectively. These results imply that our DCSAM based on GNDA has a great potential to offer performance improvements in various medical domains by considering the data imbalance problems and correlations among features in time series data.

Keywords: Gaussian noise data augmentation; biomedical multivariate signal processing; data imbalance problem; self-attention mechanism; sleep stage classification in children.

MeSH terms

  • Adult
  • Algorithms
  • Child
  • Electroencephalography* / methods
  • Humans
  • Polysomnography / methods
  • Sleep Stages
  • Sleep*

Grants and funding

This research received no external funding.