A novel method of swin transformer with time-frequency characteristics for ECG-based arrhythmia detection

被引:3
|
作者
Chen, Siyuan [1 ]
Wang, Hao [2 ]
Zhang, Huijie [3 ]
Peng, Cailiang [3 ]
Li, Yang [1 ,3 ]
Wang, Bing [1 ]
机构
[1] Heilongjiang Univ Chinese Med, Harbin, Peoples R China
[2] Harbin Engn Univ, Coll Comp Sci & Technol, Harbin, Peoples R China
[3] Heilongjiang Univ Chinese Med, Affiliated Hosp 1, Harbin, Peoples R China
来源
关键词
electrocardiogram; deep learning; arrhythmia; wavelet time-frequency map; swin transformer; CLASSIFICATION; ELECTROCARDIOGRAM; STROKE;
D O I
10.3389/fcvm.2024.1401143
中图分类号
R5 [内科学];
学科分类号
1002 ; 100201 ;
摘要
Introduction Arrhythmia is an important indication of underlying cardiovascular diseases (CVD) and is prevalent worldwide. Accurate diagnosis of arrhythmia is crucial for timely and effective treatment. Electrocardiogram (ECG) plays a key role in the diagnosis of arrhythmia. With the continuous development of deep learning and machine learning processes in the clinical field, ECG processing algorithms have significantly advanced the field with timely and accurate diagnosis of arrhythmia.Methods In this study, we combined the wavelet time-frequency maps with the novel Swin Transformer deep learning model for the automatic detection of cardiac arrhythmias. In specific practice, we used the MIT-BIH arrhythmia dataset, and to improve the signal quality, we removed the high-frequency noise, artifacts, electromyographic noise and respiratory motion effects in the ECG signals by the wavelet thresholding method; we used the complex Morlet wavelet for the feature extraction, and plotted wavelet time-frequency maps to visualise the time-frequency information of the ECG; we introduced the Swin Transformer model for classification and achieve high classification accuracy of ECG signals through hierarchical construction and self attention mechanism, and combines windowed multi-head self-attention (W-MSA) and shifted window-based multi-head self-attention (SW-MSA) to comprehensively utilise the local and global information.Results To enhance the confidence of the experimental results, we evaluated the performance using intra-patient and inter-patient paradigm analyses, and the model classification accuracies reached 99.34% and 98.37%, respectively, which are better than the currently available detection methods.Discussion The results reveal that our proposed method is superior to currently available methods for detecting arrhythmia ECG. This provides a new idea for ECG based arrhythmia diagnosis.
引用
收藏
页数:12
相关论文
共 50 条
  • [21] Improving bearing fault diagnosis method based on the fusion of time-frequency diagram and a novel vision transformer
    Wang, Jingyuan
    Zhao, Yuan
    Wang, Wenyan
    Wu, Ziheng
    JOURNAL OF SUPERCOMPUTING, 2025, 81 (01):
  • [22] Preprocessing Selection for Deep Learning Classification of Arrhythmia Using ECG Time-Frequency Representations
    Holanda, Rafael
    Monteiro, Rodrigo
    Bastos-Filho, Carmelo
    TECHNOLOGIES, 2023, 11 (03)
  • [23] An ECG signal modeling based on the time-frequency kernel
    Al-Shoshan, AI
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2000, 13 (3-5) : 202 - 209
  • [24] A novel real-time crayfish weight grading method based on improved Swin Transformer
    Wen, Ke
    Chen, Yan
    Zhu, Zhengwei
    Yang, Jinzhou
    Bao, Jinjin
    Fu, Dandan
    Hu, Zhigang
    Peng, Xianhui
    Jiao, Ming
    JOURNAL OF FOOD SCIENCE, 2025, 90 (02)
  • [25] A method of fault detection and diagnosis based on time-frequency analysis
    Liang, YingBo
    Zhang, LiHong
    Li, Jin
    MECHATRONICS AND INTELLIGENT MATERIALS II, PTS 1-6, 2012, 490-495 : 1407 - 1410
  • [26] Detection of voltage flicker based on time-frequency atom method
    Li, Ming
    Wang, Xiao-Ru
    Dianwang Jishu/Power System Technology, 2010, 34 (07): : 94 - 97
  • [27] Low-rate Denial of Service attack detection method based on time-frequency characteristics
    Yu Fu
    Xueyuan Duan
    Kun Wang
    Bin Li
    Journal of Cloud Computing, 11
  • [28] Low-rate Denial of Service attack detection method based on time-frequency characteristics
    Fu, Yu
    Duan, Xueyuan
    Wang, Kun
    Li, Bin
    JOURNAL OF CLOUD COMPUTING-ADVANCES SYSTEMS AND APPLICATIONS, 2022, 11 (01):
  • [29] TFFormer: A Time-Frequency Information Fusion-Based CNN-Transformer Model for OSA Detection With Single-Lead ECG
    Li, Chengjian
    Shi, Zhenghao
    Zhou, Liang
    Zhang, Zhijun
    Wu, Chenwei
    Ren, Xiaoyong
    Hei, Xinhong
    Zhao, Minghua
    Zhang, Yitong
    Liu, Haiqin
    You, Zhenzhen
    He, Lifeng
    IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2023, 72
  • [30] DETR Novel Small Target Detection Algorithm Based on Swin Transformer
    Xu, Fengchang
    Alfred, Rayner
    Pailus, Rayner Henry
    Lyu, Ge
    Du, Shifeng
    Chew, Jackel Vui Lung
    Li, Guozhang
    Wang, Xinliang
    IEEE ACCESS, 2024, 12 : 115838 - 115852