Papers › SleePyCo: Automatic Sleep Scoring with Feature Pyramid and Contrastive Learning
SleePyCo: Automatic Sleep Scoring with Feature Pyramid and Contrastive Learning
Seongju Lee, Yeonguk Yu, Seunghyeok Back, Hogeon Seo, Kyoobin Lee
Automatic sleep scoring is essential for the diagnosis and treatment of sleep disorders and enables longitudinal sleep tracking in home environments. Conventionally, learning-based automatic sleep scoring on single-channel electroencephalogram (EEG) is actively studied because obtaining multi-channel signals during sleep is difficult. However, learning representation from raw EEG signals is challenging owing to the following issues: 1) sleep-related EEG patterns occur on different temporal and frequency scales and 2) sleep stages share similar EEG patterns. To address these issues, we propose a deep learning framework named SleePyCo that incorporates 1) a feature pyramid and 2) supervised contrastive learning for automatic sleep scoring. For the feature pyramid, we propose a backbone network named SleePyCo-backbone to consider multiple feature sequences on different temporal and frequency scales. Supervised contrastive learning allows the network to extract class discriminative features by minimizing the distance between intra-class features and simultaneously maximizing that between inter-class features. Comparative analyses on four public datasets demonstrate that SleePyCo consistently outperforms existing frameworks based on single-channel EEG. Extensive ablation experiments show that SleePyCo exhibits enhanced overall performance, with significant improvements in discrimination between the N1 and rapid eye movement (REM) stages.
Code
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Sleep Stage Detection | MASS (single-channel) | SleePyCo (C4-A1 only) | Accuracy | 86.8% | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | MASS (single-channel) | SleePyCo (C4-A1 only) | Cohen's Kappa | 0.811 | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | MASS (single-channel) | SleePyCo (C4-A1 only) | Macro-F1 | 0.825 | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | Montreal Archive of Sleep Studies | SleePyCo (C4-A1 only) | Accuracy | 86.8% | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | Montreal Archive of Sleep Studies | SleePyCo (C4-A1 only) | Cohen's kappa | 0.811 | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | Montreal Archive of Sleep Studies | SleePyCo (C4-A1 only) | Macro-F1 | 0.825 | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | PhysioNet Challenge 2018 | SleePyCo (C3-A2 only) | Accuracy | 80.9% | #2 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | PhysioNet Challenge 2018 | SleePyCo (C3-A2 only) | Cohen's Kappa | 0.737 | #2 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | PhysioNet Challenge 2018 | SleePyCo (C3-A2 only) | Macro-F1 | 0.789 | #2 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | PhysioNet Challenge 2018 (single-channel) | SleePyCo (C3-A2 only) | Accuracy | 80.9% | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | PhysioNet Challenge 2018 (single-channel) | SleePyCo (C3-A2 only) | Cohen's Kappa | 0.737 | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | PhysioNet Challenge 2018 (single-channel) | SleePyCo (C3-A2 only) | Macro-F1 | 0.789 | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | SHHS (single-channel) | SleePyCo (C4-A1 only) | Accuracy | 87.9% | #3 of 5 | Archive leaderboard | report |
| Sleep Stage Detection | SHHS (single-channel) | SleePyCo (C4-A1 only) | Cohen's Kappa | 0.830 | #3 of 5 | Archive leaderboard | report |
| Sleep Stage Detection | SHHS (single-channel) | SleePyCo (C4-A1 only) | Macro-F1 | 0.807 | #3 of 5 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDF | SleePyCo (Fpz-Cz only) | Accuracy | 86.8% | #1 of 8 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDF | SleePyCo (Fpz-Cz only) | Cohen's kappa | 0.820 | #1 of 8 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDF | SleePyCo (Fpz-Cz only) | Macro-F1 | 0.812 | #1 of 8 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDF (single-channel) | SleePyCo (Fpz-Cz only) | Accuracy | 86.8% | #1 of 2 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDFx | SleePyCo (Fpz-Cz only) | Accuracy | 84.6% | #2 of 3 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDFx | SleePyCo (Fpz-Cz only) | Cohen's Kappa | 0.787 | #2 of 3 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDFx | SleePyCo (Fpz-Cz only) | Macro-F1 | 0.790 | #2 of 3 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDFx (single-channel) | SleePyCo (Fpz-Cz only) | Accuracy | 84.6% | #2 of 3 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDFx (single-channel) | SleePyCo (Fpz-Cz only) | Cohen's Kappa | 0.787 | #2 of 3 | Archive leaderboard | report |
| Sleep Stage Detection | Sleep-EDFx (single-channel) | SleePyCo (Fpz-Cz only) | Macro-F1 | 0.790 | #2 of 3 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections