Related Experiment Video
Updated: Jun 27, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Learning Periodic Patterns in ECG Signals Using TimesNet for Automated Cardiac Classification
Manjur Kolhar1, Raisa Nazir Ahmed Kazi2, Ahmed M Al Rajeh2
1Department of Health Information Management and Technology, College of Applied Medical Sciences, King Faisal University, Al-Ahsa 36362, Saudi Arabia.
This study introduces a novel deep learning framework for ECG analysis, enhancing representation learning through periodicity-aware temporal modeling. The method achieves high accuracy in classifying cardiac conditions, demonstrating practical potential for automated ECG diagnostics.
Area of Science:
- Cardiology
- Artificial Intelligence
- Signal Processing
Background:
- Deep learning shows promise in ECG analysis, but explicit modeling of temporal dynamics remains underexplored.
- Existing TimesNet frameworks lack ECG-specific periodicity and multi-scale temporal feature learning.
Purpose of the Study:
- To propose an ECG-specific TimesNet framework incorporating periodicity-aware temporal modeling for multi-label classification.
- To enhance ECG representation learning for improved diagnostic accuracy and interpretability.
Main Methods:
- Utilized Fast Fourier Transform (FFT)-guided temporal decomposition for frequency component identification.
- Reshaped ECG sequences into period-aligned representations to capture intra-period and inter-period dynamics.
- Employed multi-scale convolutional TimesBlocks for rhythm-aware and morphology-aware feature extraction.
Main Results:
- Achieved mean one-vs-rest test AUC values of 0.956 (Three-Class) and 0.913 (Five-Class) on the PTB-XL dataset.
- Demonstrated improved feature separability and clearer latent-space clustering in the Three-Class setting.
- Showcased practical feasibility with efficient computational complexity and low inference latency.
Conclusions:
- Periodicity-aware temporal modeling significantly enhances ECG representation learning.
- The proposed framework offers a computationally efficient and interpretable solution for automated ECG analysis.
- Findings suggest potential for improved clinical diagnostic tools in cardiology.
Related Concept Videos
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage. When...
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias
Types of Arrhythmias
Sinus Node Arrhythmias
Sinus Bradycardia: Originating from the sinoatrial (SA) node, sinus bradycardia involves slower impulses, resulting in a heart rate of less than 60 beats per minute (bpm). Causes include sleep, vagal stimulation, beta-blockers, hypothyroidism, and...
Holter Monitor: 24-Hour Monitoring