All models

PSG-MAE

A masked autoencoder for multichannel sleep recordings, with heads for sleep staging and apnea detection.

Neuroscience signals · 171 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

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

Parameters
1.8M
Operations
171
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Neural Systems and Rehabilitation Engineering (arXiv 2025)
Cited by
0 (as of 27 October 2026)
Authors
Yifei Wang, Qi Liu, Fuli Min, Honghao Wang
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19193
Graph hash
2bcd3c6073644185a097320ff2af70df93acb469c5a67b5d19d63b63b4adceae
Skeleton hash
e7c788735813da311add5a519331f6bcb45107b253a5df6a8914a0ac4f1e3863
Architecture hash
ade137fb7d072fdbf8c5c9ba98c8ce4e1827f8c55fce4a7f75420329c2cbb6c0
Diagram SHA-256
cf317decba22c396f427d63d088d8c6b3e7976f1820de846dbc564e04fbff828
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

PSG-MAE is a masked autoencoder framework for multichannel polysomnography (PSG) signals. PSG signals are used to study sleep processes and diagnose sleep disorders. The paper's starting point is that limited datasets for certain sleep events often lead networks to focus on a single task with a single-sourced training dataset. As a result, the paper says, these models struggle to transfer to new sleep events and lack robustness on new datasets.

PSG-MAE pre-trains a feature extraction network by self-supervised learning on a large volume of unlabeled PSG data. Unlike conventional MAEs, it generates complementary masks across PSG channels, reconstructs the multichannel signal and adds a self-supervised inter-channel contrastive learning (ICCL) strategy. The aim is an encoder that captures temporal features from each channel while also learning latent relationships between channels.

The model takes one epoch at a time with input shape (5, 3000), which is 5 channels of 30 s sampled at 100 Hz. After the pre-trained encoder is fine-tuned with downstream networks, the paper reports an accuracy of 83.7% for sleep staging and 90.45% for detecting obstructive sleep apnea.

Key idea. PSG-MAE pre-trains a PSG encoder with complementary channel masks, multichannel signal reconstruction and inter-channel contrastive learning, for transfer to several sleep event monitoring tasks.

  • PSG-MAE
  • polysomnography masked autoencoder
  • PSG
  • sleep staging
  • sleep apnea detection
  • inter-channel contrastive learning
  • ICCL
  • sleep event monitoring

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wang2025psgmaerobustmultitasksleep,
      title={PSG-MAE: Robust Multitask Sleep Event Monitoring using Multichannel PSG Reconstruction and Inter-channel Contrastive Learning}, 
      author={Yifei Wang and Qi Liu and Fuli Min and Honghao Wang},
      year={2025},
      eprint={2504.13229},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2504.13229}, 
}