SleepEffFormer: Efficient CNN-Transformer with Transition-Aware Smoothing for Single-Channel EEG Sleep Stage Classification
Nishi Kanta Paul, Md Shihabul Islam Shovo, Israt Jerin Esha, Adrita Rahman
Abstract
Automated sleep stage classification based on single-channel EEG is a promising pathway to large-scale sleep monitoring outside the polysomnographic lab. This paper proposes SleepEffFormer TAS, an efficient and interpretable system that consists of a four-stride-block 1D CNN feature extractor, a two-layer pre-normalization Transformer encoder, and a non-parametric Transition-Aware Smoothing (TAS) layer that suppresses physiologically unrealistic transitions between predicted stages. When tested on the Sleep-EDF Expanded dataset using 78 all-night EEG recordings from the Fpz-Cz channel with a subject-wise held-out split, the proposed model achieves 83.9% accuracy, a 78.9% macro F1-score, and a Cohen's kappa of 0.765 with approximately 367K learnable parameters. This performance is comparable to AttnSleep while using 3-5 times fewer parameters. Ablation studies show that the Transformer encoder improves macro F1 by 6.6 percentage points over a CNN-based system, while the TAS layer provides an additional 1.8 percentage point improvement without introducing any trainable parameters. Weighted loss is also critical for improving classification of the minority N1 sleep stage. Attention maps generated by the proposed model reveal physiologically sensible sleep-stage-related EEG features.
Create a lesson
Related papers
Low-Complexity Sequential Detection Framework for Single-Channel Co-Frequency Signal Separation
Shared title terminologyeess.SPHeng Wang, Kexian Gong, Peng Sun et al.
Geometric Ceilings on Time-Frequency Masking for Single-Channel Separation
Shared title terminologyeess.SPMaxime Baelde
Pilot-Efficient Channel Reconstruction and Port Selection for Multi-User Fluid Antenna Systems
Shared title terminologyeess.SPTharindu D. Thilakarathna, Peter J. Smith, Himal A. Suraweera et al.
PhyCal: Physics-Informed Unlabeled Conformal Calibration for Automatic Modulation Classification Under Channel Shift
Shared title terminologyeess.SPYezhuo Zhang, Zinan Zhou, Ruixiang Zhang et al.
Efficient DCT-Based Estimation and Compensation of Nonlinear Channels for OFDM Systems
Shared title terminologyeess.SPMarc Martinez-Gost, Ana Pérez-Neira, Miguel Ángel Lagunas
HFEMCNet: A Compact Hybrid Frequency Enriched Multi Channel Network for Automatic Modulation Classification
Shared title terminologyeess.SPQamar Ijaz, Nayyer Aafaq