Skip to content
Open access

A Controlled Evaluation of Class Imbalance Handling Techniques in Automated EEG-Based Sleep Stage Classification

2026 · International journal of research and scientific innovation · Vol 13, pp. 3338-3353 · 0 citations

TL;DR

A controlled evaluation of four imbalance handling techniques against an imbalanced baseline provides evidence-supported, goal-specific recommendations for selecting imbalance handling strategies and reinforces the need for per-class evaluation in automated sleep staging.

Abstract

Automated sleep stage classification from electroencephalogram (EEG) signals is a central task in sleep medicine, yet polysomnographic datasets are inherently imbalanced, with the transitional stage N1 typically comprising only a small fraction of epochs. Although class imbalance handling is widely applied, its independent contribution to sleep staging performance remains unclear because balancing techniques are usually embedded within larger deep learning systems and evaluated jointly with them. This study presents a controlled evaluation of four imbalance handling techniques, namely random oversampling, random undersampling, the Synthetic Minority Over-sampling Technique (SMOTE) and Adaptive Synthetic Sampling (ADASYN), against an imbalanced baseline, within an otherwise fixed pipeline comprising single-channel frontal EEG preprocessing, eighteen handcrafted time, frequency and nonlinear features, a Random Forest classifier and five-fold subject-wise cross-validation on the Sleep-EDF Expanded database (20 subjects, 39 recordings, 106,107 epochs, of which N1 comprised 2.64%). Resampling was applied exclusively to training folds. The baseline achieved an accuracy of 0.899 and a Cohen’s kappa of 0.795 while correctly identifying only 13.8% of N1 epochs, suggesting that aggregate measures can conceal minority-stage failures. Although several resampling strategies improved N1 recall, random undersampling produced the highest N1 recall of 0.558 while also producing the lowest precision, suggesting a shift in the decision boundary rather than improved class separability. SMOTE achieved the highest observed macro F1-score of 0.693 with the smallest reduction in majority-stage performance, while random oversampling was largely ineffective and ADASYN showed no advantage over SMOTE. Friedman and Wilcoxon tests did not reach statistical significance under the five-fold design, highlighting the limited statistical power of the evaluation. The findings provide evidence-supported, goal-specific recommendations for selecting imbalance handling strategies and reinforce the need for per-class evaluation in automated sleep staging.

Read PDF

Similar papers

Open access Sep 2026

Multichannel Polysomnographic Sensor Fusion for Automatic Sleep Stage Classification

Automatic sleep stage classification can reduce the burden of manual polysomnographic scoring, but reliable models must account for heterogeneous physiological signals, temporal dependencies, and severe class imbalance. This study presents a dual-stream deep learning framework for five-class sleep staging from 30 s pol...

S. Mari, Lorenzo Di Vaira, G. Bucci et al. · 0 citations
Open access Sep 2026

Deep Learning-Based Sleep Stage Classification: An Eeg Signal Analysis Method

Sleep stage identification is an important task in clinical assessment and neuroscience research. Manual scoring of electroencephalogram (EEG) recordings is time-consuming, resource-intensive, and subject to inter-scorer variability. This study presents a deep learning-based framework for automated sleep stage classifi...

D. Merugu, K. Ashesh, Sowmya C. V. · 0 citations
Sep 2026

An open-set learning framework for EEG-based sleep stage classification

Objective. Existing sleep stage classification methods generally rely on a closed set assumption. They assume all sleep categories are predefined, which overlooks unknown sleep patterns encountered in real world electroencephalogram (EEG) analysis. This study overcomes this constraint by identifying both known and unkn...

Qiu-Nan Feng, Chang Li, Hu Peng et al. · 0 citations
Open access Aug 2026

Hierarchical Multimodal Sleep Staging with Optimized EEG, EOG, and PPG Features for Wearable Applications

A lightweight two-stage Deep Learning framework for five-class sleep staging based on optimized multimodal physiological features extracted from electroencephalogram (EEG), electrooculogram (EOG), and photoplethysmography (PPG) signals, suggesting its potential suitability for wearable and edge-based sleep-monitoring s...

R. de Fazio, Matteo Paiano, R. Velázquez et al. · 0 citations
Open access Sep 2026

Wearable Sleep-Stage Classification: A Systematic Analysis of Signal Modalities, Representations, and Multimodal Fusion

Accurate sleep staging is essential for characterizing sleep architecture, yet conventional polysomnography limits scalable and long-term sleep monitoring. Wearable sensors offer a practical alternative, but their performance depends on the physiological modalities used and how the signals are represented. This study i...

Unaza Tallal, Rupesh Agrawal, S. Kshirsagar · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.