You Yuyang, Guo Xiaoyu, Yang Zhihong, Shan Wenjing
School of Automation, Beijing Institute of Technology, Beijing 100081, China.
Institute of Medicinal Plant Development, Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing 100193, China.
Biomedicines. 2023 Jan 24;11(2):327. doi: 10.3390/biomedicines11020327.
Sleep staging is of critical significance to the diagnosis of sleep disorders, and the electroencephalogram (EEG), which is used for monitoring brain activity, is commonly employed in sleep staging. In this paper, we propose a novel method for improving the performance of sleep staging models based on Siamese networks, based on single-channel EEG. Our proposed method consists of a Siamese network architecture and a redesigned loss with distance metrics. Two encoders are used in the Siamese network to generate latent features of the EEG epochs, and the contrastive loss, which is also a distance metric, is used to compare the similarity or differences between EEG epochs from the same or different sleep stages. We evaluated our method on single-channel EEGs from different channels (Fpz-Cz and F4-EOG (left)) from two public datasets SleepEDF and MASS-SS3 and achieved the overall accuracies MF1 and Cohen's kappa coefficient of 85.2%, 78.3% and 0.79 on SleepEDF and 87.2%, 82.1% and 0.81 on MASS-SS3. The results show that our method can significantly improve the performance of sleep staging models and outperform the state-of-the-art sleep staging methods. The performance of our method also confirms that the features captured by Siamese networks and distance metrics are useful for sleep staging.
睡眠分期对于睡眠障碍的诊断至关重要,而用于监测大脑活动的脑电图(EEG)通常用于睡眠分期。在本文中,我们基于单通道脑电图提出了一种基于连体网络提高睡眠分期模型性能的新方法。我们提出的方法由连体网络架构和重新设计的带有距离度量的损失函数组成。连体网络中使用两个编码器来生成脑电图时段的潜在特征,对比损失(它也是一种距离度量)用于比较来自相同或不同睡眠阶段的脑电图时段之间的相似性或差异。我们在来自两个公共数据集SleepEDF和MASS - SS3的不同通道(Fpz - Cz和F4 - EOG(左))的单通道脑电图上评估了我们的方法,在SleepEDF上实现了总体准确率MF1和科恩卡帕系数分别为85.2%、78.3%和0.79,在MASS - SS3上实现了87.2%、82.1%和0.81。结果表明,我们的方法可以显著提高睡眠分期模型的性能,并且优于当前最先进的睡眠分期方法。我们方法的性能也证实了连体网络和距离度量所捕获的特征对于睡眠分期是有用的。