Related Experiment Video
Updated: Jan 10, 2026

Real-Time Cardiac Mapping with a Noninvasive Imageless Electrocardiographic Imaging System
Published on: April 11, 2025
HCTG-Net: A Hybrid CNN-Transformer Network with Gated Fusion for Automatic ECG Arrhythmia Diagnosis
Ni Xiong1,2,3, Zibo Wei4,5, Xuehua Wang1,2,3
1Department of Cardiology, Union Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan 430022, China.
Insights
This study introduces HCTG-Net, a novel deep learning model for accurate electrocardiogram (ECG) analysis. HCTG-Net effectively detects cardiac arrhythmias, improving cardiovascular disease diagnosis through advanced feature extraction.
Area of Science:
- Biomedical Engineering
- Artificial Intelligence in Healthcare
- Cardiology
Background:
- Accurate detection of cardiac arrhythmias from electrocardiogram (ECG) signals is crucial for early cardiovascular disease diagnosis.
- The complex, non-linear nature of ECG waveforms presents significant challenges for traditional analysis methods.
- Existing deep learning models struggle to effectively capture both local waveform morphology and long-range temporal dependencies.
Purpose of the Study:
- To propose HCTG-Net, a Hybrid CNN-Transformer Network with Gated Fusion, for enhanced automatic arrhythmia detection from ECG signals.
- To develop a model that jointly captures localized morphological features and long-range temporal dependencies in ECG data.
- To evaluate the performance of HCTG-Net against existing methods using a standard arrhythmia database.
Main Methods:
- A dual-branch architecture combining a residual Convolutional Neural Network (CNN) for local feature extraction and a Transformer for global temporal context modeling.
- Implementation of a learnable gated fusion mechanism for adaptive integration of features from both CNN and Transformer branches at the per-dimension level.
- Experimental validation using the MIT-BIH Arrhythmia Database.
Main Results:
- HCTG-Net achieved superior performance compared to existing methods, with an overall accuracy of 0.9946 and an F1-score of 0.9711.
- Visualization results demonstrated well-clustered feature distributions, indicating robust feature learning by the model.
- Ablation studies confirmed the synergistic and complementary contributions of the CNN, Transformer, and gated fusion modules.
Conclusions:
- HCTG-Net provides a powerful and adaptive framework for automatic ECG-based arrhythmia diagnosis.
- The model's ability to integrate local and global features offers significant potential for real-time clinical applications and wearable healthcare devices.
- This approach advances the field of automated cardiovascular health monitoring through sophisticated signal processing.
Abstract:
Accurate detection of cardiac arrhythmias from electrocardiogram (ECG) signals is essential for the early diagnosis of cardiovascular diseases but remains challenging due to the complex, non-linear nature of ECG waveforms. This study proposes HCTG-Net, a Hybrid CNN-Transformer Network with Gated Fusion, designed to jointly capture local morphological features and long-range temporal dependencies in ECG data. The model employs a dual-branch architecture, where a residual CNN extracts localized waveform patterns and a Transformer branch models global temporal context. A learnable gated fusion mechanism adaptively balances and integrates features from both branches at the per-dimension level. Experiments conducted on the MIT-BIH Arrhythmia Database demonstrate that HCTG-Net achieves superior performance compared with existing methods, reaching an overall accuracy of 0.9946 and F1-score of 0.9711. Visualization results show well-clustered feature distributions, confirming robust feature learning, while ablation studies verify the complementary roles of the CNN, Transformer, and fusion modules. Overall, HCTG-Net offers a powerful and adaptive framework for automatic ECG-based arrhythmia diagnosis and holds strong potential for real-time clinical and wearable healthcare applications.
Related Concept Videos
Holter Monitor: 24-Hour Monitoring
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...

