From high- to low-density EEG for automatic classification of dream experiences during stage 2 of NREM
Open Access
- 29 September 2025
- journal article
- Published by Oxford University Press (OUP) in SLEEP Advances
- Vol. 6 (4) , zpaf066
Abstract
This study proposes a method to automatically identify dream experience (DE) and no experience (NE) during the sleep stage N2 of nonrapid eye movement (NREM). We investigated the use of machine learning (ML) to automatically identify when a subject is having a dream during NREM from electroencephalography (EEG) signals. We use permutation-based channel selection to identify the most informative EEG channels for the classification of DE and NE and to select a set of channels that allow focus on the most important areas of the brain at the scalp level. The results show that when the ML models are trained on a balanced dataset containing both DE and NE reports, along with high-density EEG, they can achieve a classification performance of up to 0.94 in accuracy, F1 score, precision and recall, an Area Under the Receiver Operating Characteristic of 0.97, and a kappa of 0.88. Performance decreases while we reduce the number of channels, but it remains like using up to 30–40 EEG channels. We show that ML models trained on high-density EEG to classify NE and DE can identify whether a subject was dreaming, achieving an accuracy of 0.7 on a separate set of dream reports where subjects reported a dream experience without recall, and channel selection methods have shown that performance could increase by 0.02 when EEG channels are removed from the occipital area. Our results show a high classification performance for automatic dream detection and the need to reduce the number of EEG channels needed to create the ML models, thus obtaining low-cost portable devices that can be used in real-life scenarios. Statement of Significance Dreaming during non-REM sleep is difficult to detect objectively. Here, we show that machine learning models leveraging high-density EEG can accurately classify the presence vs absence of dream experiences during N2 sleep. A key finding is that this high performance is maintained with a substantially reduced channel set, establishing the feasibility of portable, low-density EEG systems for real-time dream detection. Our work provides a critical objective correlate for subjective dreaming and opens new avenues for practical applications in sleep research and clinical diagnostics.Keywords
This publication has 41 references indexed in Scilit:
- The overfitted brain: Dreams evolved to assist generalizationPatterns, 2021
- Beyond the neuropsychology of dreaming: Insights into the neural basis of dreaming with new techniques of sleep recording and analysisSleep Medicine Reviews, 2017
- Autoreject: Automated artifact rejection for MEG and EEG dataNeuroImage, 2017
- Predicting Dream Recall: EEG Activation During NREM Sleep or Shared Mechanisms with Wakefulness?Brain Topography, 2017
- Dreaming and the brain: from phenomenology to neurophysiologyTrends in Cognitive Sciences, 2010
- Early-night serial awakenings as a new paradigm for studies on NREM dreamingInternational Journal of Psychophysiology, 2009
- EEG activities during elicited sleep onset REM and NREM periods reflect different mechanisms of dream generationClinical Neurophysiology, 2003
- Dreaming and the brain: Toward a cognitive neuroscience of conscious statesBehavioral and Brain Sciences, 2000
- A review of mentation in REM and NREM sleep: “Covert” REM sleep as a possible reconciliation of two opposing modelsBehavioral and Brain Sciences, 2000
- Eyelid Movements and Mental Activity at Sleep OnsetConsciousness and Cognition, 1998