Interpreting human sleep activity through neural contrastive learning
Zhongtao Chen1, Hui Zheng2, Jianyang Zhou3
1State Key Laboratory of Cognitive Neuroscience and Learning, IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China; Chinese Institute for Brain Research, Beijing, China.
Abstract:
Spontaneous memory replay during sleep is crucial for cognition but challenging to capture because distinct sleep rhythms hinder the generalization of wake-trained electroencephalogram (EEG) decoders. To address this, we developed the Sleep Interpreter (SI), which uses neural contrastive learning to isolate shared semantic content from background rhythms. We collected a dataset of 135 participants undergoing targeted reactivation of 15 semantic categories, yielding approximately 1,000 h of overnight sleep and 400 h of wake EEG. During non-rapid eye movement (NREM) sleep, SI achieved high decoding accuracy for cue-evoked semantic responses, with accuracy peaking during slow oscillation and spindle coupling at 40.02% top-1 accuracy on unseen participants (chance 6.7%). We demonstrated SI generalizability in two independent nap experiments involving targeted and spontaneous reactivation, where decoded reactivations correlated with post-sleep memory performance. Finally, we implemented SI for real-time sleep staging and stage-specific NREM and REM decoding. The dataset and codebase are shared as open resources for future clinical applications.
Related Concept Videos
Understanding Sleep
The circadian rhythm, a nearly 24-hour cycle, is deeply influenced by environmental light cues. Light exposure directly affects the hypothalamus, which in turn regulates...
REM Sleep Behavior Disorder
RBD is significantly associated with...
Stages of Sleep
Before sleep begins, in wakefulness, the brain exhibits primarily beta waves, which are high in frequency and low in amplitude, indicating alertness...
Sleep-Wake Cycles
NREM Sleep
NREM sleep comprises four progressive stages that seamlessly merge:


