[Paper Review] A Deep Learning Approach with an Attention Mechanism for Automatic Sleep Stage Classification
This paper proposes a selective attention mechanism integrated with a sparse auto-encoder (SAE) to learn context-aware feature representations for automatic sleep stage classification from polysomnography (PSG) data. By dynamically weighting input features based on their relevance to the current sleep stage during training, the model avoids dimensionality reduction while improving representation learning, achieving competitive performance compared to standard auto-encoders and deep belief networks on a 25-patient PSG dataset.
Automatic sleep staging is a challenging problem and state-of-the-art algorithms have not yet reached satisfactory performance to be used instead of manual scoring by a sleep technician. Much research has been done to find good feature representations that extract the useful information to correctly classify each epoch into the correct sleep stage. While many useful features have been discovered, the amount of features have grown to an extent that a feature reduction step is necessary in order to avoid the curse of dimensionality. One reason for the need of such a large feature set is that many features are good for discriminating only one of the sleep stages and are less informative during other stages. This paper explores how a second feature representation over a large set of pre-defined features can be learned using an auto-encoder with a selective attention for the current sleep stage in the training batch. This selective attention allows the model to learn feature representations that focuses on the more relevant inputs without having to perform any dimensionality reduction of the input data. The performance of the proposed algorithm is evaluated on a large data set of polysomnography (PSG) night recordings of patients with sleep-disordered breathing. The performance of the auto-encoder with selective attention is compared with a regular auto-encoder and previous works using a deep belief network (DBN).
Motivation & Objective
- To address the challenge of high-dimensional, stage-specific features in automatic sleep stage classification.
- To explore whether selective attention can improve feature representation learning in sleep staging without prior feature reduction.
- To evaluate the performance of a selective attention auto-encoder against standard auto-encoders and deep belief networks (DBNs).
- To investigate if attention mechanisms can enhance model focus on relevant features per sleep stage, improving classification robustness.
Proposed method
- A sparse auto-encoder (SAE) is used to learn compressed representations from 28 pre-extracted PSG features per second.
- An attention mechanism is applied to weight reconstruction loss dynamically based on the current sleep stage in the training batch.
- The attention mechanism reduces the loss contribution of less relevant features, allowing the model to focus on inputs informative for the current stage.
- The model uses sigmoid activation functions and includes L2 weight decay and KL divergence-based sparsity regularization.
- The architecture combines SAE with long short-term memory (LSTM) networks to model temporal dependencies in sleep data.
- Hyperparameters (λ, β, ρ) are tuned via random grid search to balance reconstruction error, weight decay, and sparsity.
Experimental results
Research questions
- RQ1Can an attention mechanism improve feature representation learning in automatic sleep stage classification without requiring dimensionality reduction?
- RQ2How does the performance of a selective attention auto-encoder compare to a standard auto-encoder and a deep belief network (DBN) on sleep staging tasks?
- RQ3Does attention-based weighting of features lead to better discrimination of sleep stages, especially for features that are only informative in specific stages?
- RQ4Can the model effectively learn stage-specific feature relevance without manual feature selection or pruning?
Key findings
- The selective attention auto-encoder outperformed the standard auto-encoder in sleep stage classification accuracy on the 25-patient PSG dataset.
- The model achieved competitive performance compared to previous works using deep belief networks (DBNs), demonstrating the effectiveness of attention-based representation learning.
- Features such as EEG spectral mean, fractal exponent, and EMG median/entropy showed strong discriminative power for SWS, W, and REM stages, respectively.
- The attention mechanism successfully reduced the influence of irrelevant features during training, allowing the model to focus on stage-specific informative inputs.
- The model maintained high reconstruction quality while learning more contextually relevant representations, suggesting improved generalization potential.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.