Related Experiment Video
Updated: Sep 12, 2026

STFEEG-Tool: A Spatial-Temporal-Frequency EEG Analysis Tool for Motor Imagery Brain-Computer Interfaces
Published on: March 10, 2026
An open-set learning framework for EEG-based sleep stage classification
Qiunan Feng1, Chang Li2, Hu Peng1
1Department of Biomedical Engineering, Hefei University of Technology, Tunxi Road, Hefei, Hefei, Anhui, 230009, China.
Objective:
Existing sleep stage classification methods are typically developed under the closed-set assumption, where all sleep categories are predefined and known, thereby neglecting the presence of unknown sleep patterns in real-world electroencephalogram (EEG) analysis. This study aims to address this limitation by enabling the recognition of both known and unknown sleep stages.
Approach:
We propose a two-stage open-set learning framework for EEG-based sleep stage classification. In the first stage, an adaptive Gaussian method (AGM) is employed to model each known sleep category and compute Gaussian scores, while class-specific quantile-based adaptive thresholds are introduced to distinguish known and unknown samples. In the second stage, a trainable decision boundary OpenMax (TDBOM) module is designed to refine classification by optimizing decision boundaries during training. Samples with significant boundary deviations are suppressed, whereas normal samples are further calibrated using OpenMax to obtain reliable probability estimates.
Main Results:
Experimental results on three public EEG datasets demonstrate that the proposed method achieves strong classification performance for known sleep stages while effectively detecting unknown categories, leading to a significant improvement in open-set recognition (OSR) performance.
Significance:
This work provides a practical and robust solution for EEG-based sleep stage classification under open-set conditions, facilitating more reliable sleep analysis and supporting potential applications in realworld clinical monitoring and sleep disorder assessment.