Chen Wenjing, Zheng Peirong, Bu Yuxiang, Xu Yuanning, Lai Dakun
West China Hospital, Sichuan University, Chengdu 610041, China.
School of Electronic Science and Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China.
Bioengineering (Basel). 2024 Sep 10;11(9):903. doi: 10.3390/bioengineering11090903.
Early diagnosis of paroxysmal atrial fibrillation (PAF) could prompt patients to receive timely interventions in clinical practice. Various PAF onset prediction algorithms might benefit from accurate heart rate variability (HRV) analysis and machine learning classification but are challenged by real-time monitoring scenarios. The aim of this study is to present an end-to-end deep learning-based PAFNet model that integrates a sliding window technique on raw R-R intervals of electrocardiogram (ECG) segments to achieve a real-time prediction of PAF onset. This integration enables the deep convolutional neural network (CNN) to be customized as a light-weight architecture that accommodates the size of sliding windows simply by altering the input layer, and specifically its effectiveness in making a new prediction with each new heartbeat. Catering to the potential influence of input sizes, three CNN models were trained using 50, 100, and 200 R-R intervals, respectively. For each model, the performance of the automated algorithms was evaluated for PAF prediction using a ten-fold cross-validation. As a results, a total of 56,381 PAFN-type and 56,900 N-type R-R interval segments were collected from publicly accessible ECG databases, and a promising prediction performance of the automated algorithm with 100 R-R intervals was achieved, with a sensitivity of 97.12%, a specificity of 97.77%, and an accuracy of 97.45%, respectively. Importantly, the automated algorithm with a sliding window step of 1 could process one sample in only 23.1 milliseconds and identify the onset of PAF at least 45 min in advance. The present results suggest that the sliding window technique on raw R-R interval sequences, along with deep learning-based algorithms, may offer the possibility of providing an accurate, real-time, end-to-end clinical tool for mass monitoring of PAF.
阵发性心房颤动(PAF)的早期诊断能够促使患者在临床实践中及时接受干预。各种PAF发作预测算法可能会受益于准确的心率变异性(HRV)分析和机器学习分类,但在实时监测场景中面临挑战。本研究的目的是提出一种基于深度学习的端到端PAFNet模型,该模型在心电图(ECG)段的原始R-R间期上集成滑动窗口技术,以实现PAF发作的实时预测。这种集成使深度卷积神经网络(CNN)能够定制为轻量级架构,只需通过改变输入层就能适应滑动窗口的大小,特别是其在每次新心跳时进行新预测的有效性。考虑到输入大小的潜在影响,分别使用50、100和200个R-R间期训练了三个CNN模型。对于每个模型,使用十折交叉验证评估自动算法在PAF预测方面的性能。结果,从公开可用的ECG数据库中总共收集了56381个PAFN型和56900个N型R-R间期段,使用100个R-R间期的自动算法取得了有前景的预测性能,灵敏度分别为97.12%、特异性为97.77%、准确率为97.45%。重要的是,滑动窗口步长为1的自动算法仅需23.1毫秒就能处理一个样本,并能提前至少45分钟识别PAF的发作。目前的结果表明,原始R-R间期序列上的滑动窗口技术以及基于深度学习的算法,可能为PAF的大规模监测提供一种准确、实时、端到端临床工具的可能性。