Unravelling sleep patterns: Supervised contrastive learning with self-attention for sleep stage classification

被引:0
|
作者
Kumar, Chandra Bhushan [1 ]
Mondal, Arnab Kumar [2 ]
Bhatia, Manvir [3 ]
Panigrahi, Bijaya Ketan [4 ]
Gandhi, Tapan Kumar [4 ]
机构
[1] Indian Inst Technol, Bharti Sch Telecommun & Management, New Delhi, India
[2] Indian Inst Technol, Sch Informat Technol, New Delhi, India
[3] Neurol & Sleep Ctr, New Delhi, India
[4] Indian Inst Technol, Dept Elect Engn, New Delhi, India
关键词
automatic sleep stage classification; Supervised contrastive learning; Feature representation learning; Deep learning for sleep stage classification; And self-attention mechanism;
D O I
10.1016/j.asoc.2024.112298
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Sleep data scoring is a crucial and primary step for diagnosing sleep disorders to know the sleep stages from the PSG signals. This study uses supervised contrastive learning with a self-attention mechanism to classify sleep stages. We propose a deep learning framework for automatic sleep stage classification, which involves two training phases: (1) the feature representation learning phase, in which the feature representation network (encoder) learns to extract features from the electroencephalogram (EEG) signals, and (2) the classification network training phase, where a pre-trained encoder (trained during phase I) along with the classifier head is fine-tuned for the classification task. The PSG data shows a non-uniform distribution of sleep stages, with wake (W) (around 30% of total samples) and N2 stages (around 58% and 37% of total samples in Physionet EDF-Sleep 2013 and 2018 datasets, respectively) being more prevalent, leading to an imbalanced dataset. The imbalanced data issue is addressed using a weighted softmax cross-entropy loss function that assigns higher weights to minority sleep stages. Additionally, an oversampling technique (the synthetic minority oversampling technique (SMOTE) (Chawla et al., 2002)[1] ) is applied to generate synthetic samples for minority classes. The proposed model is evaluated on the Physionet EDF-Sleep 2013 and 2018 datasets using Fpz-Cz and Pz-Oz EEG channels. It achieved an overall accuracy of 94.1%, a macro F1 score of 92.64, and a Cohen's Kappa coefficient of 0.92. Ablation studies demonstrated the importance of triplet loss-based pre-training and oversampling for enhancing performance. The proposed model requires minimal pre-processing, eliminating the need for extensive signal processing expertise, and thus is well-suited for clinicians diagnosing sleep disorders.
引用
收藏
页数:15
相关论文
共 50 条
  • [1] A hybrid self-attention deep learning framework for multivariate sleep stage classification
    Yuan, Ye
    Jia, Kebin
    Ma, Fenglong
    Xun, Guangxu
    Wang, Yaqing
    Su, Lu
    Zhang, Aidong
    BMC BIOINFORMATICS, 2019, 20 (Suppl 16)
  • [2] A hybrid self-attention deep learning framework for multivariate sleep stage classification
    Ye Yuan
    Kebin Jia
    Fenglong Ma
    Guangxu Xun
    Yaqing Wang
    Lu Su
    Aidong Zhang
    BMC Bioinformatics, 20
  • [3] SELF-SUPERVISED LEARNING FOR SLEEP STAGE CLASSIFICATION WITH PREDICTIVE AND DISCRIMINATIVE CONTRASTIVE CODING
    Xiao, Qinfeng
    Wang, Jing
    Ye, Jianan
    Zhang, Hongjun
    Bu, Yuyan
    Zhang, Yiqiong
    Wu, Hao
    2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 1290 - 1294
  • [4] Sleep Stage Classification Via Multi-View Based Self-Supervised Contrastive Learning of EEG
    Zhao, Chen
    Wu, Wei
    Zhang, Haoyi
    Zhang, Ruiyan
    Zheng, Xinyue
    Kong, Xiangzeng
    IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, 2024, 28 (12) : 7068 - 7077
  • [5] Sleep Stage Classification in Children Using Self-Attention and Gaussian Noise Data Augmentation
    Huang, Xinyu
    Shirahama, Kimiaki
    Irshad, Muhammad Tausif
    Nisar, Muhammad Adeel
    Piet, Artur
    Grzegorzek, Marcin
    SENSORS, 2023, 23 (07)
  • [6] SUPERVISED LEARNING FOR IMBALANCE SLEEP STAGE CLASSIFICATION PROBLEM
    Pardamean, Bens
    Budiarto, Arif
    Mahesworo, Bharuno
    Hidayat, Alam Ahmad
    Sudigyo, Digdo
    COMMUNICATIONS IN MATHEMATICAL BIOLOGY AND NEUROSCIENCE, 2023,
  • [7] Self-supervised Contrastive Learning for EEG-based Sleep Staging
    Jiang, Xue
    Zhao, Jianhui
    Du, Bo
    Yuan, Zhiyong
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [8] Self-Supervised Learning for Label- Efficient Sleep Stage Classification: A Comprehensive Evaluation
    Eldele, Emadeldeen
    Ragab, Mohamed
    Chen, Zhenghua
    Wu, Min
    Kwoh, Chee-Keong
    Li, Xiaoli
    IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, 2023, 31 : 1333 - 1342
  • [9] CoSleep: A Multi-View Representation Learning Framework for Self-Supervised Learning of Sleep Stage Classification
    Ye, Jianan
    Xiao, Qinfeng
    Wang, Jing
    Zhang, Hongjun
    Deng, Jiaoxue
    Lin, Youfang
    IEEE SIGNAL PROCESSING LETTERS, 2022, 29 : 189 - 193
  • [10] Gaussian transformation enhanced semi-supervised learning for sleep stage classification
    Guo, Yifan
    Mao, Helen X.
    Yin, Jijun
    Mao, Zhi-Hong
    JOURNAL OF BIG DATA, 2023, 10 (01)