[Paper Review] LSTM knowledge transfer for HRV-based sleep staging
This paper proposes an LSTM-based deep learning model for HRV-based sleep staging that outperforms prior non-temporal and Markovian methods on a large ECG dataset (Cohen’s $κ$ = 0.61±0.16). It further demonstrates successful knowledge transfer from ECG to PPG data, achieving state-of-the-art performance on a smaller PPG dataset ($\kappa$ = 0.63±0.13), highlighting transfer learning's efficacy for adapting models across sensor modalities and annotation standards.
Automated sleep stage classification using heart-rate variability is an active field of research. In this work limitations of the current state-of-the-art are addressed through the use of deep learning techniques and their efficacy is demonstrated. First, a temporal model is proposed for the inference of sleep stages from electrocardiography using a deep long- and short-term (LSTM) classifier and it is shown that this model outperforms previous approaches which were often limited to non-temporal or Markovian classifiers on a comprehensive benchmark data set (292 participants, 541214 samples) comprising a wide range of ages and pathological profiles, achieving a Cohen's $κ$ of $0.61\pm0.16$ and accuracy of $76.30\pm10.17$ annotated according to the Rechtschaffen & Kales annotation standard. Subsequently, it is demonstrated how knowledge learned on this large benchmark data set can be re-used through transfer learning for the classification of photoplethysmography (PPG) data. This is done using a smaller data set (60 participants, 91479 samples) that is annotated with the more recent American Association of Sleep Medicine annotation standard, achieving a Cohen's $κ$ of $0.63\pm0.13$ and accuracy of $74.65\pm8.63$ for wrist-mounted PPG-based sleep stage classification, higher than any previously reported performance using this sensor modality. This demonstrates the feasibility of knowledge transfer in sleep staging to adapt models for new sensor modalities as well as different annotation strategies.
Motivation & Objective
- To develop a deep learning model that effectively captures temporal dynamics in HRV for improved sleep stage classification compared to non-temporal or Markovian models.
- To address the challenge of limited PPG data by transferring knowledge from a large, diverse ECG dataset to improve performance on smaller PPG datasets.
- To investigate whether transfer learning can effectively adapt models trained on ECG to PPG data, despite differences in signal quality and pulse transit time variability.
- To evaluate the impact of transfer learning on adapting to the more recent AASM sleep staging standard versus the older R&K standard, particularly given improved inter-rater agreement with AASM.
- To determine whether performance gains from transfer learning stem primarily from adaptation to AASM guidelines or from modality-specific knowledge transfer to PPG.
Proposed method
- A deep Long Short-Term Memory (LSTM) network is used as the core classifier to model temporal dependencies in 30-second HRV epochs.
- The model is first pre-trained on a large ECG dataset (292 participants, 541,214 samples) annotated with the R&K standard to learn general sleep stage patterns.
- Transfer learning is applied by fine-tuning the pre-trained LSTM on a smaller PPG dataset (60 participants, 91,479 samples) annotated with the AASM standard.
- Multiple transfer strategies are evaluated: domain adaptation (transferring only the feature layer), decision layer adaptation, and full model fine-tuning.
- The model is trained to predict four sleep stages: Wake (W), N1/2, N3, and REM, using HRV features derived from ECG and PPG signals.
- Performance is evaluated using Cohen’s weighted kappa ($\kappa$) and accuracy, with results compared against prior state-of-the-art methods on both ECG and PPG data.
Experimental results
Research questions
- RQ1Can an LSTM-based model outperform non-temporal or Markovian classifiers in HRV-based sleep staging using ECG data?
- RQ2To what extent can knowledge learned from a large ECG dataset be successfully transferred to improve sleep staging performance on a smaller, lower-quality PPG dataset?
- RQ3Does transfer learning improve performance more by adapting to the AASM annotation standard or by transferring modality-specific HRV patterns from ECG to PPG?
- RQ4Which components of the deep learning model (e.g., domain layer, decision layer) are most critical for successful transfer to PPG data?
- RQ5Is the performance gain from transfer learning primarily due to improved inter-rater agreement under the AASM standard, or due to modality-specific adaptation?
Key findings
- The proposed LSTM model achieved a Cohen’s weighted kappa of 0.61±0.16 and accuracy of 76.30±10.17 on the Siesta ECG dataset, outperforming previous non-temporal and Markovian models.
- After transfer learning, the model achieved a Cohen’s weighted kappa of 0.63±0.13 and accuracy of 74.65±8.63 on the PPG dataset, surpassing all previously reported results for PPG-based sleep staging.
- The performance gain on PPG data was significantly higher than prior studies, which reported kappas of 0.42 and 0.52 using similar sensor modalities and additional accelerometers.
- For transfer to PPG, fine-tuning the decision layer was necessary for optimal performance, indicating that modality differences require more than just domain adaptation.
- The improvement was likely driven by adaptation to the AASM standard, which has higher inter-rater agreement than the older R&K standard, though the exact contribution of this factor remains to be fully quantified.
- The model’s performance on PPG data was higher than a baseline LSTM trained directly on the PPG data alone ($\kappa$ = 0.55), demonstrating the value of transfer learning even with limited target data.
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.