Introduction
Sleep stage classification is a fundamental requirement for diagnosing sleep disorders and assessing overall health. Traditionally, this process involves manual annotation of overnight polysomnography (PSG) recordings by clinical experts, a labor-intensive task prone to inter-rater variability. While deep learning models have successfully automated much of this classification, their "black box" nature remains a significant barrier to clinical adoption. Clinicians require transparency to understand why a model labels a specific epoch as REM or N3 sleep. This research introduces MSSENet, a framework designed to achieve state-of-the-art accuracy while providing interpretable visual evidence through Layer-Wise Relevance Propagation (LRP).
Methodology
The proposed framework transforms raw physiological data into a format suitable for deep learning and subsequent explanation. The process follows three primary stages:
- Signal Transformation: Raw EEG signals are converted into time-frequency representations using the Short-Time Fourier Transform (STFT). This step allows the model to process frequency components—such as Alpha, Beta, Theta, and Delta waves—as spatial features over time.
- MSSENet Architecture: The core classifier, MSSENet, utilizes a Multi-Scale CNN (MSCNN) module. By employing varying kernel sizes (1x1, 3x3, 7x7), the network captures both fine-grained local oscillations and broader contextual sleep patterns. To further refine these features, Residual Squeeze-and-Excitation (R-SE) blocks are integrated to recalibrate and prioritize the most informative feature maps.
- Explainability via LRP: To demystify the model's decisions, the researchers applied Layer-Wise Relevance Propagation (LRP). Unlike standard visualization techniques, LRP redistributes the prediction score backward through the network to the input pixels, generating a heatmap that highlights the specific frequency bands driving the classification.
Experimental Results
The model was rigorously validated on three major public datasets: CCSHS (515 pediatric subjects), Sleep-EDF-V1 (20 subjects), and the expanded Sleep-EDF 2018 (78 subjects). MSSENet consistently outperformed existing state-of-the-art (SOTA) approaches:
- CCSHS: 87.7% Accuracy ($K = 83.3\%$)
- Sleep-EDF-V1: 86.9% Accuracy ($K = 82.2\%$)
- Sleep-EDF (2018): 84.3% Accuracy ($K = 78.3\%$)
Ablation studies demonstrated that the R-SE block provided a consistent performance boost (0.3% to 0.7% accuracy), confirming the value of feature recalibration in sleep staging.
Clinical Interpretability and Insights
A key finding of this study is the high degree of alignment between the LRP-generated heatmaps and established clinical scoring manuals (AASM/R&K rules). For instance, when the model identifies "Wake" states, the LRP heatmaps highlight high-frequency Beta activity. Conversely, for "N3" (deep sleep), the model focuses on low-frequency Delta waves. This visual verification proves that the model is learning physiologically relevant features rather than exploiting artifacts.
However, the study also identified that Stage N1 (light sleep) remains a significant challenge, with F1-scores often falling below 50%. This is attributed to the high morphological overlap between N1, REM, and Wake states, particularly when relying on a single EEG channel.
Conclusion and Future Work
MSSENet bridges the gap between high-performance deep learning and clinical interpretability. By providing heatmaps that correlate with expert knowledge, the system fosters trust in AI-assisted diagnostics. Future research will focus on incorporating multi-modal data (EOG and EMG) to improve N1/REM differentiation and enhancing the model's ability to detect transient morphological features like K-complexes and sleep spindles.
Summary updated