Li Qiuyue, Li Kewei, Fu Cong, Zhang Yiyuan, Yu Huan, Chen Chen, Chen Wei
School of Information Science and Technology, Fudan University, Shanghai 200433, China.
School of Stomatology, Fudan University, Shanghai 200032, China.
Bioengineering (Basel). 2025 May 26;12(6):571. doi: 10.3390/bioengineering12060571.
Obstructive sleep apnea (OSA) is characterized by frequent episodes of sleep-disordered breathing (SDB), which are often accompanied by leg movement (LM) events, especially periodic limb movements during sleep (PLMS). Traditional single-event detection methods often overlook the dynamic interactions between SDB and LM, failing to capture their temporal overlap and differences in duration. To address this, we propose Attention-enhanced CRF with U-Net (AttenCRF-U), a novel joint detection framework that integrates multi-head self-attention (MHSA) within an encoder-decoder architecture to model long-range dependencies between overlapping events and employs multi-scale convolutional encoding to extract discriminative features across different temporal scales. The model further incorporates a conditional random field (CRF) to refine event boundaries and enhance temporal continuity. Evaluated on clinical PSG recordings from 125 OSA patients, the model with CRF improved the average F1 score from 0.782 to 0.788 and reduced temporal alignment errors compared with CRF-free baselines. The joint detection strategy distinguished respiratory-related leg movements (RRLMs) from PLMS, boosting the PLMS detection F1 score from 0.756 to 0.778 and the SDB detection F1 score from 0.709 to 0.728. By integrating MHSA into a CRF-augmented U-Net framework and enabling joint detection of multiple event types, this study presents a novel approach to modeling temporal dependencies and event co-occurrence patterns in sleep disorder diagnosis.
阻塞性睡眠呼吸暂停(OSA)的特征是频繁出现睡眠呼吸紊乱(SDB)发作,这些发作通常伴有腿部运动(LM)事件,尤其是睡眠期间的周期性肢体运动(PLMS)。传统的单事件检测方法常常忽略了SDB和LM之间的动态相互作用,无法捕捉它们的时间重叠和持续时间差异。为了解决这个问题,我们提出了带有U-Net的注意力增强条件随机场(AttenCRF-U),这是一种新颖的联合检测框架,它在编码器-解码器架构中集成了多头自注意力(MHSA)以对重叠事件之间的长距离依赖关系进行建模,并采用多尺度卷积编码来跨不同时间尺度提取判别性特征。该模型还结合了条件随机场(CRF)来细化事件边界并增强时间连续性。在对125名OSA患者的临床多导睡眠图(PSG)记录进行评估时,与无CRF的基线相比,带有CRF的模型将平均F1分数从0.782提高到0.788,并减少了时间对齐误差。联合检测策略将呼吸相关腿部运动(RRLM)与PLMS区分开来,将PLMS检测的F1分数从0.756提高到0.778,将SDB检测的F1分数从0.709提高到0.728。通过将MHSA集成到CRF增强的U-Net框架中并实现对多种事件类型的联合检测,本研究提出了一种在睡眠障碍诊断中对时间依赖关系和事件共现模式进行建模的新方法。