[Paper Review] Personalizing deep learning models for automatic sleep staging
This paper proposes a personalized deep learning approach for automatic sleep staging by fine-tuning a pre-trained convolutional neural network on a subject's first night of sleep data to improve classification accuracy on the second night. The method boosts performance by up to 2 percentage points on average, especially for subjects initially scoring below 80%, demonstrating that combining broad population knowledge with subject-specific adaptation enhances model robustness and generalization.
Despite continued advancement in machine learning algorithms and increasing availability of large data sets, there is still no universally acceptable solution for automatic sleep staging of human sleep recordings. One reason is that a skilled neurophysiologist scoring brain recordings of a sleeping person implicitly adapts his/her staging to the individual characteristics present in the brain recordings. Trying to incorporate this adaptation step in an automatic scoring algorithm, we introduce in this paper a method for personalizing a general sleep scoring model. Starting from a general convolutional neural network architecture, we allow the model to learn individual characteristics of the first night of sleep in order to quantify sleep stages of the second night. While the original neural network allows to sleep stage on a public database with a state of the art accuracy, personalizing the model further increases performance (on the order of two percentage points on average, but more for difficult subjects). This improvement is particularly present in subjects where the original algorithm did not perform well (typically subjects with accuracy less than $80\%$). Looking deeper, we find that optimal classification can be achieved when broad knowledge of sleep staging in general (at least 20 separate nights) is combined with subject-specific knowledge. We hypothesize that this method will be very valuable for improving scoring of lower quality sleep recordings, such as those from wearable devices.
Motivation & Objective
- To address the gap in automatic sleep staging models that fail to account for individual subject variability, which skilled human scorers naturally adapt to.
- To investigate whether transfer learning with fine-tuning can improve deep learning performance on individual sleep recordings.
- To quantify the performance gain from combining general population-level knowledge with subject-specific adaptation in sleep staging.
- To evaluate the method's effectiveness on lower-quality or challenging sleep recordings, such as those from wearable devices.
- To explore realistic clinical deployment scenarios where minimal labeled data (e.g., a single nap) could enable personalization.
Proposed method
- A 1D convolutional neural network is trained on a public dataset of 19 subjects with two-night recordings, using EEG (Fpz-Cz) and EOG derivations.
- The model is fine-tuned on the first night’s data of each subject, using the same network architecture but adapting weights to individual-specific patterns.
- Input data is expanded to include three consecutive 30-second epochs (90 seconds total) per prediction to improve context awareness.
- Each epoch is normalized to unit standard deviation, and the original standard deviation is passed as auxiliary input to the final fully connected layer.
- The model leverages transfer learning: a general population model is first trained on diverse data, then personalized per subject via fine-tuning.
- Performance is evaluated on the second night using standard metrics, with comparisons to baseline performance without personalization.
Experimental results
Research questions
- RQ1Can fine-tuning a pre-trained deep learning model on a single night of data significantly improve automatic sleep staging accuracy for individual subjects?
- RQ2Does personalization yield greater performance gains for subjects where the general model performs poorly (e.g., below 80% accuracy)?
- RQ3To what extent does combining broad population-level knowledge with subject-specific adaptation enhance model robustness and generalization?
- RQ4Is the performance improvement from personalization more pronounced in low-quality or noisy recordings, such as those from wearable devices?
- RQ5Can the personalization gain be achieved with minimal labeled data, such as a single scored nap, enabling practical clinical deployment?
Key findings
- Fine-tuning the general model on a subject’s first night of sleep data increased average accuracy by approximately 2 percentage points across the cohort.
- The performance gain was most significant for subjects initially scoring below 80%, with improvements exceeding 2 percentage points in some cases.
- Subjects with low baseline performance (e.g., <80%) showed the largest gains, suggesting personalization corrects for model limitations on difficult cases.
- The method achieved optimal classification when broad population knowledge (from at least 20 nights) was combined with subject-specific adaptation.
- Fine-tuning did not improve performance for subjects already scoring above 80%, indicating that performance is approaching the interscorer agreement benchmark (~83%) in these cases.
- The results suggest that personalization is particularly valuable for low-quality recordings, such as those from wearable devices, where initial model performance is typically lower.
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.