Deep Sleep Classification via EEG Signal Criticality: A Passive BCI Approach for Sleep-Improvement Neurofeedback

arXiv:2606.13017 · q-bio.NC, cs.LG · Submitted 2026-06-11 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: I'm Ines, and with me are Marcus and Yuki, guest researcher.

Marcus: Today's paper: "Deep Sleep Classification via EEG Signal Criticality".

Ines: The gist: Criticality-derived features from Detrended Fluctuation Analysis (DFA) provide a high-accuracy, robust sensing mechanism for deep sleep classification, achieving a mean balanced accuracy of 87.17% with Naive Bayes classification.

Marcus: First, who's behind it and why it matters.

Paper summary: Ines: So, we’re looking at this paper called "Deep Sleep Classification via EEG Signal Criticality: A Passive BCI Approach for Sleep-Improvement Neurofeedback." Essentially, the authors are using these criticality features from Detrended Fluctuation Analysis, or DFA, to identify deep sleep. The big claim here is that this method provides a high-accuracy way to classify deep sleep.

Marcus: What they’re doing is taking EEG data and running this DFA procedure—which involves integrating the signal, segmenting it, detrending it locally with a polynomial of order one—to get scaling exponents. They use these exponents as features for machine learning to find the N3 stage specifically.

Ines: It matters because they frame this within a passive Brain-Computer Interface concept. That means the system doesn't need you to do anything conscious; it decodes spontaneous neural states just by looking at the ongoing oscillations during sleep. This is really about monitoring a physiological state without user control, which is key for automated staging.

Marcus: And they use UMAP manifold learning to visualize all these DFA features together. They found that this visualization clearly separates the N3 stage from the rest of the sleep stages like awake time or REM, showing that deep sleep has a distinct structure in this feature space.

Yuki: From a population genetics view, what’s interesting is how they connect these neural scaling properties to cognitive decline. They suggest that quantifying these shifts in criticality can be used to evaluate predictive utility for early-stage cognitive decline <ref:2606.13017#pg2>.

Ines: So, the core idea is that deep sleep has a unique pattern of self-organization—a phase transition between order and disorder—which they capture with these DFA metrics. They then test six different machine learning models to see which one actually performs best at sensing this state.

Marcus: And the results show Naive Bayes doing the best, achieving a mean balanced accuracy of eighty-seven point one seven percent with a standard deviation of zero point two four percent <ref:2606.13017#pg1>. That's pretty high for this kind of feature extraction, especially when compared to linear models like LDA which only hit fifty-seven point two one percent <ref:2606.13017#pg1>.

Ines: So they’re proposing a pipeline: extract the criticality features, use those features to feed into an ML model, and that model tells you if the person is in deep sleep or not. It sets up the foundation for later neurofeedback applications <ref:2606.13017#pg2>.

Yuki: It shows a very specific biological signature for N3 sleep when viewed through this lens, which helps us understand how different neural systems organize themselves during that deep phase of rest.

Conclusion: Ines: Thinking about the title, it points to how this criticality approach can serve as a passive Brain-Computer Interface for sleep improvement. It suggests that we can use these neural dynamics not just to label sleep stages but potentially to guide interventions later on.

Marcus: The authors are Stanisław Nar˛ebski and Tomasz Komendzinski, along with Tomasz M. Rutkowski, who worked at Nicolaus Copernicus University and the University of Tokyo. Their work connects the study of EEG scaling properties directly into practical application for sleep staging in older women's sleep data <ref:2606.13017#pg2>.

Ines: What this means for us is that we might be able to build systems that automatically detect when someone is in deep sleep based on these underlying neural patterns, without needing a specific command or user input. It’s about detecting the brain’s natural state.

Marcus: And the performance numbers you saw mean that this feature set derived from DFA isn't just noise; it actually captures enough information to outperform simpler methods like linear discrimination techniques when it comes to separating sleep stages <ref:2606.13017#pg1>.

Ines: The implication is that understanding the transition between order and disorder in neural activity during deep sleep offers a way to characterize this state robustly across different individuals. It’s moving beyond just looking at amplitude; it’s looking at the signal's complexity itself.

Marcus: They also noted that they used UMAP to show this separation topologically, which suggests the feature space naturally organizes itself around these distinct sleep phases <ref:2606.13017#pg3>.

Nicolaus Copernicus University · Araya Inc. · The University of Tokyo

q-bio.NC, cs.LG

Submitted: 2026-06-11

Updated: 2026-06-11

Comments: 7 pages, 3 figures, accepted for publication in the Proceedings of the 10th Graz Brain-Computer Interface Conference 2026, Graz, Austria, September 14-17, 2026

Journal ref: Proceedings of the10th Graz Brain-Computer Interface Conference 2026

DOI: 10.3217/978-3-99161-093-9-066

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

Importance score: 80/100

The gist: The gist: Criticality-derived features from Detrended Fluctuation Analysis (DFA) provide a high-accuracy, robust sensing mechanism for deep sleep classification, achieving a mean balanced accuracy of

Key concepts

Passive BCI Framework
This framework involves using spontaneous brain activity as input without any user commands or conscious intent. It is 'passive' because the system decodes internal physiological states, such as sleep stages, based purely on the brain's natural oscillations during sleep. The output is an estimation of a state rather than a direct command.
EEG Criticality Feature Derivation
This process analyzes EEG data using DFA to measure 'criticality,' which describes the system's operating point between order and disorder. By calculating scaling exponents (alpha), researchers can identify unique patterns in deep sleep, like those found in N3 stages, which are characterized by specific long-range temporal correlations.
Detrended Fluctuation Analysis (DFA)
DFA is a mathematical technique used to study the scaling properties of time series data. It involves integrating the signal, segmenting it, and calculating fluctuation functions to determine a scaling exponent. This exponent helps quantify the complexity and self-organization of neural activity during different sleep states.
Manifold Visualization (UMAP)
Uniform Manifold Approximation and Projection (UMAP) is an unsupervised technique used to visualize high-dimensional data in a lower dimension. Applying UMAP to the DFA features showed that deep sleep (N3) forms a distinct, isolated cluster on the data manifold, confirming that its neural scaling properties are topologically different from lighter sleep stages.

Terminology

Summary

The gist: Criticality-derived features from Detrended Fluctuation Analysis (DFA) provide a high-accuracy, robust sensing mechanism for deep sleep classification, achieving a mean balanced accuracy of 87.17% with Naive Bayes classification.

Passive BCI Framework

Automated sleep staging is presented as a fundamental application of passive Brain-Computer Interfaces (pBCI), which decode spontaneous neural states to enable closed-loop interventions independent of user intent. This framework is particularly robust for automated sleep staging, which monitors the brain’s spontaneous, ongoing neural oscillations to infer physiological state without any voluntary participation from the user. A BCI is classified as passive when it satisfies three core criteria: the use of spontaneous brain activity as input, the absence of conscious intent from the user, and the output being a state estimation rather than a direct command. Sleep staging maps perfectly to this architecture because during sleep, the user is unconscious and unable to voluntarily modulate neural patterns. The system must decode hidden physiological markers such as sleep spindles, K-complexes, and slow-wave activity to classify the internal state (e.g., N3 vs. REM).

EEG Criticality Feature Derivation

The study leverages EEG signal criticality as a primary feature set for deep sleep classification. Criticality is the study of neural systems operating at a phase transition between order and disorder, which offers a unique window into the brain’s self-organization during the descent into deep sleep. The DFA procedure for each 30-second EEG epoch involves four primary steps:

  1. Integration: The original time series x(i) is transformed into an integrated profile Y(i) = ∑ i k=1 [x(k)−⟨x⟩] to convert the noise-like signal into a random walk-like profile, revealing underlying scaling properties.

  2. Segmentation: The integrated profile is partitioned into Nn = int(N/n) non-overlapping segments of equal length n.

  3. Local Detrending: For each segment ν, a local polynomial trend yν,n (of order k = 1) is calculated via least-squares fitting and subtracted from the integrated profile to remove non-stationary drifts.

  4. Fluctuation Function Calculation (q=2): The root-mean-square fluctuation is computed by averaging the variance over all segments: F(n) = vuut 1 2Nn 2Nn ∑ ν=1 [F2(ν,n)].

The output is characterized by the scaling exponent α (equivalent to the Hurst exponent H), determined as the slope of logF(n) versus logn. A value of α ≈ 0.5 indicates white noise (randomness), while α ≈ 1.0 suggests 1/f noise, characteristic of healthy, self-organized criticality. Significant deviations from these values serve as primary metrics for pathological decline and loss of signal complexity.

Data Acquisition and Cohort Characteristics

The research dataset was acquired following proper authorization from the National Sleep Research Resource (NSRR) [2606.13017p5], drawing upon a selected portion of the Study of Osteoporotic Fractures (SOF) records [2606.13017p5]. The cohort consisted of 290 older women who obtained a Mini-Mental State Examination (MMSE) score exceeding 24 during PSG administration and attended a subsequent evaluation five years later. Participants were divided into three groups according to their results on the Tengmodified Mini-Mental State Examination (3MS) administered at follow-up: cognitively normal (score of 88 or above), Mild Cognitive Impairment (MCI) (score between 78 − 88), and dementia (score below 78). The polysomnography electrode configuration comprised C3, C4, A1, and A2 channels with a sampling frequency of 128 Hz. EEG recordings were divided into 30-second epochs and hand-scored to classify wakefulness, REM sleep, or non-REM phases (N1, N2, N3 and N4), with N3 and N4 merged into a unified N3 stage.

Manifold Visualization of Sleep Dynamics

Unsupervised Uniform Manifold Approximation and Projection (UMAP) was applied to the full 347,232-epoch DFA feature set to visualize the manifold structure of the DFA scaling features. This technique constructs a low-dimensional embedding based solely on the underlying topological structure of the data, allowing for an unbiased observation of how neural scaling properties naturally cluster across different sleep stages. The resulting embedding highlights a clear topological separation of the N3 sleep stage from the continuum of awake, N1, N2, and REM sleep. The N3 stage is characterized by high-amplitude delta activity and distinct long-range temporal correlations, occupying a restricted, high-density region of the manifold. This isolation reflects the unique criticality of deep sleep compared to the more stochastic or fragile dynamics of lighter sleep stages.

Machine Learning Model Selection

Six classifiers were benchmarked via 10-fold cross-validation using balanced accuracy to determine the optimal state-sensing engine. The selected models spanned linear, instance-based, probabilistic, and connectionist architectures:

**: Linear Models included Linear Discriminant Analysis (LDA) and Linear Support Vector Classification (Linear SVC) to establish a baseline for linear separability. These models performed poorly, indicating that DFA-derived criticality features reside on a distinct, non-linear manifold. LDA achieved only 57.21% balanced accuracy. Linear SVM performed the worst at 51.01% balanced accuracy. These poor results are indicative of a mismatch between model architecture and feature geometry. Probabilistic and Neural Models included Gaussian Naive Bayes, which achieved the highest mean balanced accuracy of 87.17% (±0.24%), and a four-layer Feedforward Neural Network (FNN) with ReLU activation, which attained the second-highest performance at 81.58% (±0.68%). Random Forest also performed well, achieving 80.97% balanced accuracy. K-Nearest Neighbors (KNN) achieved 80.35% balanced accuracy. The highest score was achieved by Naive Bayes with accuracy of 87.17%(±0.24%). All features were standardized using a StandardScaler within the cross-validation pipeline to ensure zero mean and unit variance. The performance was quantified using Balanced Accuracy, defined as the arithmetic mean of class-specific recall. All features were standardized using a StandardScaler within the cross-validation pipeline to ensure zero mean and unit variance. The highest score was achieved by Naive Bayes with accuracy of 87.17% (±0.24%). The full list of values can be seen in Table 1.

Improvements for AI systems

  1. Improve automated sleep staging by implementing a state-sensing engine based on Naive Bayes classification to achieve a mean balanced accuracy of 87.17%. This allows the system to decode hidden physiological markers—such as sleep spindles, K-complexes, and slow-wave activity—to classify internal states (e.g., N3 vs. REM) with high accuracy, supporting closed-loop interventions like Closed-Loop Auditory Stimulation (CLAS).

  2. Enhance the system's predictive utility for cognitive decline by using channel-wise DFA to quantify long-range temporal correlations, as this metric shows a consistent and statistically robust elevation of H values during the N3 sleep stage across healthy aging and cognitive groups. This enables the AI to serve as an early-stage biomarker for identifying shifts in neural scaling properties associated with conditions like Alzheimer’s disease.

  3. Develop a non-linear decoding strategy by utilizing UMAP manifold learning to characterize the geometric structure of DFA features, thereby demonstrating that the N3 stage—characterized by high-amplitude delta activity and distinct long-range temporal correlations—occupies a restricted, high-density region of the manifold. This insight dictates that the decision boundary for accurate N3 detection must be non-linear, validating the selection of non-linear classifiers over linear models like LDA (57.21%).

Abstract

Automated sleep staging is a fundamental application of passive Brain-Computer Interfaces (pBCI), decoding spontaneous neural states to enable closed-loop interventions independent of user intent. This study evaluates criticality features derived from Detrended Fluctuation Analysis (DFA) for the specific identification of deep sleep (N3). We analyzed 347,232 EEG epochs from 290 older women using UMAP manifold learning to visualize state transitions. Subsequently, six classifiers were benchmarked via 10-fold cross-validation, using balanced accuracy to determine the optimal "state-sensing" engine for neurofeedback.Naive Bayes achieved the highest mean balanced accuracy (87.17% plus or minus 0.24%), significantly outperforming a fully connected deep neural network (FNN: 81.58%) and Random Forest (80.97%). Linear models (LDA: 57.21%; SVM: 51.01%) performed poorly, indicating that DFA-derived criticality features reside on a distinct, non-linear manifold. Probabilistic decoding of EEG criticality provides a high-accuracy sensing mechanism for pBCIs. This robust classification pipeline supports the development of state-dependent neurofeedback, such as targeted auditory stimulation, to enhance cognitive recovery.

Sources

Related papers