Hong Yong, Zhang Xin, Lin Mingjun, Wu Qiucen, Chen Chaomin
College of Biomedical Engineering, Southern Medical University, Guangzhou 510515, China.
Nan Fang Yi Ke Da Xue Xue Bao. 2025 Mar 20;45(3):650-660. doi: 10.12122/j.issn.1673-4254.2025.03.23.
To design a deep learning model that balances model complexity and performance to enable its integration into wearable ECG monitoring devices for automated diagnosis of atrial fibrillation.
This study was performed based on data from 84 patients with atrial fibrillation, 25 patients with atrial fibrillation, and 18 subjects without obvious arrhythmia collected from the publicly available datasets LTAFDB, AFDB, and NSRDB, respectively. A lightweight attention network based on depthwise separable convolution and fusion of channel-spatial information, namely DSC-AttNet, was proposed. Depthwise separable convolution was introduced to replace standard convolution and reduce model parameters and computational complexity to realize high efficiency and light weight of the model. The multilayer hybrid attention mechanism was embedded to compute the attentional weights of the channels and spatial information at different scales to improve the feature expression ability of the model. Ten-fold cross-validation was performed on LTAFDB, and external independent testing was conducted on AFDB and NSRDB datasets.
DSC-AttNet achieved a ten-fold average accuracy of 97.33% and a precision of 97.30% on the test set, both of which outperformed the other 4 comparison models as well as the 3 classical models. The accuracy of the model on the external test set reached 92.78%, better than those of the 3 classical models. The number of parameters of DSC-AttNet was 1.01M, and the computational volume was 27.19G, both smaller than the 3 classical models.
This proposed method has a smaller complexity, achieves better classification performance, and has a better generalization ability for atrial fibrillation classification.
设计一种平衡模型复杂性和性能的深度学习模型,以便将其集成到可穿戴式心电图监测设备中,用于自动诊断心房颤动。
本研究基于分别从公开可用数据集LTAFDB、AFDB和NSRDB中收集的84例心房颤动患者、25例心房颤动患者和18例无明显心律失常受试者的数据进行。提出了一种基于深度可分离卷积和通道-空间信息融合的轻量级注意力网络,即DSC-AttNet。引入深度可分离卷积来替代标准卷积,减少模型参数和计算复杂度,以实现模型的高效性和轻量级。嵌入多层混合注意力机制,计算不同尺度下通道和空间信息的注意力权重,以提高模型的特征表达能力。在LTAFDB上进行十折交叉验证,并在AFDB和NSRDB数据集上进行外部独立测试。
DSC-AttNet在测试集上的十折平均准确率为97.33%,精确率为97.30%,均优于其他4个比较模型以及3个经典模型。该模型在外部测试集上的准确率达到92.78%,优于3个经典模型。DSC-AttNet的参数数量为1.01M,计算量为27.19G,均小于3个经典模型。
该方法复杂度较小,分类性能较好,对心房颤动分类具有较好的泛化能力。