SomnoNet
SomnoNet, a compact convolutional and recurrent network that stages sleep from raw single-channel EEG.
Neuroscience signals · 133 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Neuroscience signals
- Parameters
- 434.3K
- Operations
- 133
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE Journal of Biomedical and Health Informatics 2026
- Paper
- SomnoNet: A Lightweight and Interpretable Framework for Sleep Staging Using Single-Channel EEG
- Cited by
- 0 (as of 27 October 2026)
- Authors
- Shengwei Guo, Guobing Sun
- Source
- GitHub: komdec/SomnoNet
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20494
- Graph hash
- 1265441edeb94b2bb325e2711c6a88170efd26e911130429f75e153333de7576
- Skeleton hash
- 05102edd07bb2fc875c94157d8de543e1ef0d9d1ac55ccf4590d35d4b5fd6ad2
- Architecture hash
- 5fb3863c784cda65b24119e2b8a5fb1e690da5bc704de3bee13626553d1752c1
- Diagram SHA-256
- b7fd1102d2b097a8c1c1d914b373b617acdeb85cbfc7067c316f9c9da1fec1da
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SomnoNet assigns sleep stages from raw single-channel EEG, a setup the paper calls attractive for scalable sleep assessment. Its design follows how sleep experts inspect EEG: characteristic waveform patterns are first recognized within short temporal segments, and the stage decision then draws on the organization within an epoch and the context across epochs.
Each 30-second EEG epoch is divided into sub-segments, which a representation learning module encodes to capture characteristic rhythms. That module is a multi-scale convolutional encoder. Within an epoch, a bidirectional gated recurrent unit (Bi-GRU) models dependencies among the chunk-level features. Across epochs, a stack of Bi-GRU layers captures temporal dependencies between consecutive epochs. A lightweight multilayer perceptron (MLP) classifier then maps the result to the stage label.
The paper reports 80.9% accuracy, 79.0% macro-F1 and 0.739 kappa on Physio2018, and 88.0% accuracy, 80.7% macro-F1 and 0.831 kappa on SHHS. It gives the size of the original SomnoNet as approximately 430k parameters, with about 394k of them in sequence modeling. A compact variant, SomnoNet-Nano, keeps the learned encoder frozen and replaces the original temporal stack with a lightweight sequence unit.
Key idea. SomnoNet stages sleep from raw single-channel EEG by extracting multi-scale local rhythm representations from short chunks and then modeling intra-epoch organization and inter-epoch context hierarchically.
- somnonet
- somnonet-nano
- sleep staging
- sleep stage classification
- single-channel eeg
- raw eeg
- physio2018
- shhs
- lightweight sleep staging
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{guo2026somnonetlightweightinterpretableframework,
title={SomnoNet: A Lightweight and Interpretable Framework for Sleep Staging Using Single-Channel EEG},
author={Shengwei Guo and Guobing Sun},
year={2026},
eprint={2406.19246},
archivePrefix={arXiv},
primaryClass={eess.SP},
doi={https://doi.org/10.1109/JBHI.2026.3713336},
url={https://arxiv.org/abs/2406.19246},
}