Department of Electrical and Electronics Engineering, Hitit University, Corum 19030, Turkey.
Department of Electronics and Automation, Tekirdag Namik Kemal University, Tekirdag 59030, Turkey.
Math Biosci Eng. 2024 May 10;21(4):5863-5880. doi: 10.3934/mbe.2024259.
Within the domain of cardiovascular diseases, arrhythmia is one of the leading anomalies causing sudden deaths. These anomalies, including arrhythmia, are detectable through the electrocardiogram, a pivotal component in the analysis of heart diseases. However, conventional methods like electrocardiography encounter challenges such as subjective analysis and limited monitoring duration. In this work, a novel hybrid model, AttBiLFNet, was proposed for precise arrhythmia detection in ECG signals, including imbalanced class distributions. AttBiLFNet integrates a Bidirectional Long Short-Term Memory (BiLSTM) network with a convolutional neural network (CNN) and incorporates an attention mechanism using the focal loss function. This architecture is capable of autonomously extracting features by harnessing BiLSTM's bidirectional information flow, which proves advantageous in capturing long-range dependencies. The attention mechanism enhances the model's focus on pertinent segments of the input sequence, which is particularly beneficial in class imbalance classification scenarios where minority class samples tend to be overshadowed. The focal loss function effectively addresses the impact of class imbalance, thereby improving overall classification performance. The proposed AttBiLFNet model achieved 99.55% accuracy and 98.52% precision. Moreover, performance metrics such as MF1, K score, and sensitivity were calculated, and the model was compared with various methods in the literature. Empirical evidence showed that AttBiLFNet outperformed other methods in terms of both accuracy and computational efficiency. The introduced model serves as a reliable tool for the timely identification of arrhythmias.
在心血管疾病领域,心律失常是导致猝死的主要异常之一。这些异常,包括心律失常,可以通过心电图检测到,心电图是心脏病分析的关键组成部分。然而,传统方法,如心电图,遇到了一些挑战,如主观分析和有限的监测时间。在这项工作中,提出了一种新的混合模型 AttBiLFNet,用于精确检测心电图信号中的心律失常,包括不平衡的类分布。AttBiLFNet 集成了双向长短期记忆(BiLSTM)网络与卷积神经网络(CNN),并使用焦点损失函数集成了注意力机制。这种架构能够通过利用 BiLSTM 的双向信息流自主提取特征,这在捕获长程依赖方面具有优势。注意力机制增强了模型对输入序列相关片段的关注,这在类不平衡分类场景中特别有益,其中少数类样本往往被掩盖。焦点损失函数有效地解决了类不平衡的影响,从而提高了整体分类性能。所提出的 AttBiLFNet 模型实现了 99.55%的准确率和 98.52%的精度。此外,还计算了 MF1、K 分数和灵敏度等性能指标,并将该模型与文献中的各种方法进行了比较。实验证据表明,AttBiLFNet 在准确性和计算效率方面都优于其他方法。所提出的模型是一种可靠的工具,可用于及时识别心律失常。