SSSM - Sleep Semantic Segmentation Model
Sleep is organized by transient, heterogeneous events (e.g., spindles, slow waves, K-complexes) that shape cognition and disease. Yet most automated analyses are constrained by narrow event definitions, coarse temporal resolution, and the lack of large-scale, multi-event datasets. This project addresses these gaps by reframing sleep analysis as semantic segmentation of EEG, delivering high-resolution event probabilities and actionable downstream outputs.
What SSSM provides
- Large-scale multi-event dataset: 276,404 events across 7 types (K-complex, slow wave, sleep spindle, micro-arousal, sawtooth wave, vertex sharp wave, background), built efficiently via self-supervised and active learning and validated with independent datasets/algorithms.
- Sleep Semantic Segmentation Model (SSSM): The first model to decode sleep EEG into fine-grained events at the sampling-point level (100 Hz), showing efficiency and strong generalizability across datasets, sampling rates, and electrode montages.
- Versatile applications: (a) Sleep event forecasting with an iTransformer, enabling up to 2 s look-ahead for real-time interventions; (b) Scalable automatic sleep staging by integrating a Transformer encoder into SSSM, achieving state-of-the-art performance across 14 clinical datasets; (c) Disease diagnosis by embedding a Mamba model into SSSM, detecting disorder-related patterns (e.g., sleep apnea, depression, REM behavior disorder).
Citation
If you use this tool or its results in your research, please cite:
@article { Bao2025.09.25.25336636, author = {Xiaoyu, Bao and Li, Man and Chen, Di and Wang, Zijian and Huang, Qiyun and Wen, Zhenfu and Li, Yuanqing}, title = {Semantic Segmentation of Sleep Events for High-Resolution Sleep Decoding}, elocation-id = {2025.09.25.25336636}, year = {2025}, doi = {10.1101/2025.09.25.25336636}, publisher = {Cold Spring Harbor Laboratory Press}, URL = {https://www.medrxiv.org/content/early/2025/09/29/2025.09.25.25336636}, eprint = {https://www.medrxiv.org/content/early/2025/09/29/2025.09.25.25336636.full.pdf}, journal = {medRxiv} }
Metadata
Release files for sssm 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sssm-0.1.0.tar.gz | 5.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sssm-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 MB
Release files / sssm-0.1.0.tar.gz
| Download URL | sssm-0.1.0.tar.gz |
|---|---|
| Size | 5.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a93f5c6151d04ebfd75ebb65baae76cf2861ab3bc22091d8bbcdceb0a7172cfd
|
|
BLAKE2b-256 checksum How to use checksums |
a7c94a5556a418df2f9d0a04be438641d51ea33729df17561c20334df3cd7501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / sssm-0.1.0-py3-none-any.whl
| Download URL | sssm-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55be45d04d20d4b3e9055c19d099f2427ef35c7c1bf4a137ac916553b39bbdd6
|
|
BLAKE2b-256 checksum How to use checksums |
b71526da8ff9fbe229719c1a3cd1b09e5e3799fe28348b013d4c1fe3260a8b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|