[Paper Review] Do Not Sleep on Traditional Machine Learning: Simple and Interpretable Techniques Are Competitive to Deep Learning for Sleep Scoring
This paper proposes a traditional machine learning pipeline—featuring preprocessing, handcrafted feature extraction, and simple models like linear and gradient boosting classifiers—for automatic sleep scoring. It achieves state-of-the-art performance on two small public datasets (Sleep-EDF SC-20 and ST) and competitive results on larger ones, demonstrating that expressive feature engineering can rival deep learning without sacrificing interpretability or efficiency.
Over the last few years, research in automatic sleep scoring has mainly focused on developing increasingly complex deep learning architectures. However, recently these approaches achieved only marginal improvements, often at the expense of requiring more data and more expensive training procedures. Despite all these efforts and their satisfactory performance, automatic sleep staging solutions are not widely adopted in a clinical context yet. We argue that most deep learning solutions for sleep scoring are limited in their real-world applicability as they are hard to train, deploy, and reproduce. Moreover, these solutions lack interpretability and transparency, which are often key to increase adoption rates. In this work, we revisit the problem of sleep stage classification using classical machine learning. Results show that competitive performance can be achieved with a conventional machine learning pipeline consisting of preprocessing, feature extraction, and a simple machine learning model. In particular, we analyze the performance of a linear model and a non-linear (gradient boosting) model. Our approach surpasses state-of-the-art (that uses the same data) on two public datasets: Sleep-EDF SC-20 (MF1 0.810) and Sleep-EDF ST (MF1 0.795), while achieving competitive results on Sleep-EDF SC-78 (MF1 0.775) and MASS SS3 (MF1 0.817). We show that, for the sleep stage scoring task, the expressiveness of an engineered feature vector is on par with the internally learned representations of deep learning models. This observation opens the door to clinical adoption, as a representative feature vector allows to leverage both the interpretability and successful track record of traditional machine learning models.
Motivation & Objective
- To challenge the prevailing trend of relying on complex deep learning models for automatic sleep scoring.
- To investigate whether classical machine learning pipelines can achieve competitive performance with better interpretability and lower computational cost.
- To address the limited clinical adoption of deep learning models due to their black-box nature, high resource demands, and poor reproducibility.
- To demonstrate that a well-designed feature vector can capture sufficient representational power to match deep learning models.
- To provide a practical, efficient, and interpretable baseline for future research in sleep scoring.
Proposed method
- Preprocessing of raw polysomnography (PSG) signals including EEG, EOG, EMG, ECG, and respiration data.
- Extraction of a multi-resolution, multi-domain feature vector summarizing temporal context across epochs and signal characteristics.
- Application of both linear (logistic regression) and non-linear (gradient boosting) models for sleep stage classification.
- Use of PCA to visualize and validate the representativeness of the extracted feature space.
- Training and evaluation on four public datasets: Sleep-EDF SC-20, Sleep-EDF ST, Sleep-EDF SC-78, and MASS SS3.
- Model training and inference performed on standard hardware, with minimal computational overhead.
Experimental results
Research questions
- RQ1Can a conventional machine learning pipeline outperform state-of-the-art deep learning models in sleep stage classification?
- RQ2To what extent can handcrafted features replace the need for deep neural networks in capturing complex temporal patterns in PSG data?
- RQ3How do training time, inference speed, and model complexity compare between traditional ML and deep learning approaches in this task?
- RQ4Does the interpretability of classical models improve clinical adoption potential compared to black-box deep learning models?
- RQ5Is the performance gap between deep learning and traditional ML negligible when using a highly representative feature vector?
Key findings
- The proposed pipeline achieved state-of-the-art F1-macro scores of 0.810 on Sleep-EDF SC-20 and 0.795 on Sleep-EDF ST, outperforming existing deep learning methods on these datasets.
- On larger datasets, the method achieved competitive results with F1-macro scores of 0.775 on Sleep-EDF SC-78 and 0.817 on MASS SS3.
- The linear model achieved strong performance (F1-macro 0.795 on Sleep-EDF ST), indicating that the feature vector captures sufficient representational power without complex modeling.
- Training and inference for a full night’s sleep (8 hours) took under 25 seconds on a low-end CPU, with model training under one minute, demonstrating high efficiency.
- The feature vector was shown to be highly representative through PCA visualization, confirming its ability to summarize multi-resolution and multi-domain information.
- The approach outperformed deep learning models on smaller datasets, suggesting that data efficiency and generalization are improved by effective feature engineering.
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.