SSC-SleepNet: A Siamese-Based Automatic Sleep Staging Model With Improved N1 Sleep Detection

Automatic sleep staging from single-channel electroencephalography (EEG) using artificial intelligence (AI) is emerging as an alternative to costly and time-consuming manual scoring using multi-channel polysomnography. However, current AI methods, mainly deep learning models such as convolutional neural network (CNN) and long short-term memory (LSTM), struggle to detect the N1 sleep stage, which is challenging due to its rarity and ambiguous nature compared to other stages. Here we propose SSC-SleepNet, an automatic sleep staging algorithm aimed at improving the learning of N1 sleep. SSC-SleepNet employs a pseudo-Siamese neural network architecture owing to its capability in one- or few-shot learning with contrastive loss. SSC-SleepNet consists of two branches of neural networks: a squeeze-and-excitation residual network branch and a CNN-LSTM branch. These two branches are used to generate latent features of the EEG epoch. The adaptive loss function of SSC-SleepNet uses a weighing factor to combine weighted cross-entropy loss and focal loss to specifically address the class imbalance issue inherent in sleep staging. The proposed new loss function dynamically assigns a higher penalty to misclassified N1 sleep stages, which can improve the model's learning capability for this minority class. Four datasets were used for sleep staging experiments. In the Sleep-EDF-SC, Sleep-EDF-X, Sleep Heart Health Study, and Haaglanden Medisch Centrum datasets, SSC-SleepNet achieved macro F1-scores of 84.5%, 89.6%, 89.5%, and 85.4% for all sleep stages, and N1 sleep stage F1-scores of 60.2%, 58.3%, 57.8%, and 55.2%, respectively. Our proposed deep learning model outperformed most existing models in automatic sleep staging using single-channel EEG signals. In particular, N1 detection performance has been markedly improved compared to the state-of-the-art models.

Authors

Institutions

Publication Details

Journal
IEEE Journal of Biomedical and Health Informatics
Published
2025-05-23
DOI
https://doi.org/10.1109/jbhi.2025.3572886
Citations
3
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
4.29
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SSC-SleepNet: A Siamese-Based Automatic Sleep Staging Model With Improved N1 Sleep Detection

Hans van Gorp, Merel M. van Gilst, Jean‐Paul M. G. Linnartz, Sebastiaan Overeem et al.
3 citations
IEEE Journal of Biomedical and Health Informatics
EEG and Brain-Computer Interfaces
4.29
article

SSC-SleepNet: A Siamese-Based Automatic Sleep Staging Model With Improved N1 Sleep Detection

Hans van Gorp, Merel M. van Gilst, Jean‐Paul M. G. Linnartz, Sebastiaan Overeem, Xi Long, Pedro Fonseca, Songlu Lin, Zhihong Wang, Mengzhu Xu
article en
3 citations

Abstract

Automatic sleep staging from single-channel electroencephalography (EEG) using artificial intelligence (AI) is emerging as an alternative to costly and time-consuming manual scoring using multi-channel polysomnography. However, current AI methods, mainly deep learning models such as convolutional neural network (CNN) and long short-term memory (LSTM), struggle to detect the N1 sleep stage, which is challenging due to its rarity and ambiguous nature compared to other stages. Here we propose SSC-SleepNet, an automatic sleep staging algorithm aimed at improving the learning of N1 sleep. SSC-SleepNet employs a pseudo-Siamese neural network architecture owing to its capability in one- or few-shot learning with contrastive loss. SSC-SleepNet consists of two branches of neural networks: a squeeze-and-excitation residual network branch and a CNN-LSTM branch. These two branches are used to generate latent features of the EEG epoch. The adaptive loss function of SSC-SleepNet uses a weighing factor to combine weighted cross-entropy loss and focal loss to specifically address the class imbalance issue inherent in sleep staging. The proposed new loss function dynamically assigns a higher penalty to misclassified N1 sleep stages, which can improve the model's learning capability for this minority class. Four datasets were used for sleep staging experiments. In the Sleep-EDF-SC, Sleep-EDF-X, Sleep Heart Health Study, and Haaglanden Medisch Centrum datasets, SSC-SleepNet achieved macro F1-scores of 84.5%, 89.6%, 89.5%, and 85.4% for all sleep stages, and N1 sleep stage F1-scores of 60.2%, 58.3%, 57.8%, and 55.2%, respectively. Our proposed deep learning model outperformed most existing models in automatic sleep staging using single-channel EEG signals. In particular, N1 detection performance has been markedly improved compared to the state-of-the-art models.

IEEE Journal of Biomedical and Health InformaticsVol. 29(9)
NXP (Netherlands) (NL), Jilin University (CN), Philips (Netherlands) (NL), Kempenhaeghe (NL), Eindhoven University of Technology (NL)
Openalex Percentile: Top 6%
EEG and Brain-Computer Interfaces
4.29
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.