Skip to main content
QUICK REVIEW

[Paper Review] A Deep Knowledge Distillation framework for EEG assisted enhancement of single-lead ECG based sleep staging

Vaibhav Joshi, Sricharan Vijayarangan|arXiv (Cornell University)|Dec 14, 2021
EEG and Brain-Computer InterfacesNeuroscience5 citations
TL;DR

This paper proposes a cross-modal knowledge distillation framework that transfers sleep staging knowledge from EEG to single-lead ECG using response-based and feature-based distillation, significantly improving ECG-based sleep staging accuracy. The method achieves a 14.3% relative improvement in weighted-F1 score (to 0.61) for 4-class staging and 13.4% (to 0.66) for 3-class staging over a baseline ECG model, demonstrating the viability of KD for enhancing unobtrusive sleep monitoring.

ABSTRACT

Automatic Sleep Staging study is presently done with the help of Electroencephalogram (EEG) signals. Recently, Deep Learning (DL) based approaches have enabled significant progress in this area, allowing for near-human accuracy in automated sleep staging. However, EEG based sleep staging requires an extensive as well as an expensive clinical setup. Moreover, the requirement of an expert for setup and the added inconvenience to the subject under study renders it unfavourable in a point of care context. Electrocardiogram (ECG), an unobtrusive alternative to EEG, is more suitable, but its performance, unsurprisingly, remains sub-par compared to EEG-based sleep staging. Naturally, it would be helpful to transfer knowledge from EEG to ECG, ultimately enhancing the model's performance on ECG based inputs. Knowledge Distillation (KD) is a renowned concept in DL that looks to transfer knowledge from a better but potentially more cumbersome teacher model to a compact student model. Building on this concept, we propose a cross-modal KD framework to improve ECG-based sleep staging performance with assistance from features learned through models trained on EEG. Additionally, we also conducted multiple experiments on the individual components of the proposed model to get better insight into the distillation approach. Data of 200 subjects from the Montreal Archive of Sleep Studies (MASS) was utilized for our study. The proposed model showed a 14.3\% and 13.4\% increase in weighted-F1-score in 4-class and 3-class sleep staging, respectively. This demonstrates the viability of KD for performance improvement of single-channel ECG based sleep staging in 4-class(W-L-D-R) and 3-class(W-N-R) classification.

Motivation & Objective

  • To address the challenge of low accuracy in single-lead ECG-based sleep staging compared to EEG-based methods.
  • To explore knowledge distillation as a means to transfer knowledge from EEG to ECG without requiring multi-sensor inference.
  • To develop a cross-modal distillation framework that improves ECG-based sleep staging performance while maintaining unimodal inference.
  • To evaluate the contribution of individual distillation components—response-based, attention-based, and contrastive learning—on model performance.
  • To analyze feature representations in the bottleneck layer to understand the mechanisms behind performance gains.

Proposed method

  • A teacher model is trained on EEG signals to learn high-level sleep stage representations.
  • A student model is trained on single-lead ECG data, with knowledge transferred from the teacher via response-based distillation (soft label distillation from softmax layer).
  • Attention-based distillation is applied to transfer knowledge from intermediate feature maps of the teacher to the student.
  • Contrastive learning (CL) is used to align latent representations of ECG and EEG features in the bottleneck layer.
  • The full framework combines response-based distillation (SD), attention-based distillation (AT), and contrastive learning (CL) for joint optimization.
  • The model is trained end-to-end on 200 subjects from the MASS dataset, with inference performed solely on ECG during deployment.

Experimental results

Research questions

  • RQ1Can knowledge distillation effectively transfer sleep staging knowledge from EEG to single-lead ECG, improving performance without requiring EEG during inference?
  • RQ2How do individual components—response-based distillation, attention distillation, and contrastive learning—contribute to performance gains in ECG-based sleep staging?
  • RQ3Does the combination of multiple distillation modes yield better performance than individual modes, or does it introduce interference?
  • RQ4How do the learned features in the bottleneck layer differ between correct and incorrect predictions, and what does this reveal about feature quality?
  • RQ5To what extent does class imbalance affect distillation performance, and how robust is the framework to imbalanced sleep stage distributions?

Key findings

  • The proposed AT+SD+CL distillation framework achieved a 14.3% relative improvement in weighted-F1 score (from 0.45 to 0.51) for 4-class sleep staging (W-L-D-R).
  • For 3-class staging (W-N-R), the best-performing ablation (AT+CL) achieved a 13.4% relative improvement in weighted-F1 (from 0.58 to 0.66).
  • The SD+CL method showed the highest improvement for the Light sleep (L) stage in 4-class staging, increasing F1 from 0.47 to 0.61.
  • The AT+CL method achieved the best improvement for the NREM (N) stage in 3-class staging, increasing F1 from 0.65 to 0.77.
  • The full AT+SD+CL model showed relatively balanced performance across all classes, indicating robustness to class imbalance.
  • Feature visualization revealed that successful distillation leads to more discriminative bottleneck features, while failure cases showed misaligned representations due to class imbalance or suboptimal distillation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.