Related Experiment Video
Updated: Jun 13, 2025

Optimization of Transesophageal Atrial Pacing to Assess Atrial Fibrillation Susceptibility in Mice
Published on: June 29, 2022
Enhancing P-wave localization for accurate detection of second-degree and third-degree atrioventricular conduction
Wenjing Liu1, Li Yan2, Yangcheng Huang1
1School of Health Science and Engineering, University of Shanghai for Science and Technology, Shanghai 200093, People's Republic of China.
Insights
This study introduces P-WaveNet, an AI algorithm that accurately detects second-degree and third-degree atrioventricular block (AVB) by precisely locating P-waves in ECG signals. The method shows significant potential for clinical application in diagnosing AVB.
Area of Science:
- Cardiology
- Biomedical Engineering
- Artificial Intelligence
Background:
- Accurate detection of second- and third-degree atrioventricular block (AVB) in electrocardiogram (ECG) signals is crucial for patient management.
- Automated detection algorithms often struggle with precise P-wave localization, impacting overall AVB diagnostic accuracy.
Purpose of the Study:
- To develop and validate a novel method, P-WaveNet, for accurate P-wave localization to improve automated detection of second-degree and third-degree AVB.
- To address data scarcity for rare AVB types through data augmentation.
Main Methods:
- P-WaveNet employs an attention mechanism for feature extraction and a bidirectional long short-term memory module for temporal dependency analysis.
- A mathematical approach was used to synthesize pseudo-data for training, addressing the scarcity of second- and third-degree AVB (2AVB, 3AVB) data.
- A classification rule was established using P-wave positions, RR interval rhythm, and PR intervals for automatic AVB detection.
Main Results:
- P-WaveNet achieved high F1 scores for P-wave localization (e.g., 93.62% on QT Dataset, 98.29% for 2AVB on BUTPDB).
- The AVB detection algorithm demonstrated F1 scores of 83.33% and 84.15% for 2AVB and 3AVB across independent datasets.
- The model showed promising performance even for challenging P-wave localization in 3AVB (62.65% F1 score on BUTPDB).
Conclusions:
- P-WaveNet accurately identifies P-waves in complex ECGs, significantly improving the efficacy of automated AVB detection.
- The fusion of medical expertise, data augmentation, and advanced AI techniques offers a robust solution for AVB diagnosis.
- The proposed method shows considerable potential for clinical applicability in real-world ECG analysis.
Abstract:
Objective.This paper tackles the challenge of accurately detecting second-degree and third-degree atrioventricular block (AVB) in electrocardiogram (ECG) signals through automated algorithms. The inaccurate detection of P-waves poses a difficulty in this process. To address this limitation, we propose a reliable method that significantly improves the performances of AVB detection by precisely localizing P-waves.Approach.Our proposed P-WaveNet utilized an attention mechanism to extract spatial and temporal features, and employs a bidirectional long short-term memory module to capture inter-temporal dependencies within the ECG signal. To overcome the scarcity of data for second-degree and third-degree AVB (2AVB,3AVB), a mathematical approach was employed to synthesize pseudo-data. By combining P-wave positions identified by the P-WaveNet with key medical features such as RR interval rhythm and PR intervals, we established a classification rule enabling automatic AVB detection.Main results. The P-WaveNet achieved an F1 score of 93.62% and 91.42% for P-wave localization on the QT Dataset and Lobachevsky University dataset datasets, respectively. In the BUTPDB dataset, the F1 scores for P-wave localization in ECG signals with 2AVB and 3AVB were 98.29% and 62.65%, respectively. Across two independent datasets, the AVB detection algorithm achieved F1 scores of 83.33% and 84.15% for 2AVB and 3AVB, respectively.Significance.Our proposed P-WaveNet demonstrates accurate identification of P-waves in complex ECGs, significantly enhancing AVB detection efficacy. This paper's contributions stem from the fusion of medical expertise with data augmentation techniques and ECG classification. The proposed P-WaveNet demonstrates potential clinical applicability.
Related Concept Videos
Conduction System of the Heart
This system relies on the unique properties of nodal and Purkinje cells:...
Electrophysiology of Normal Cardiac Rhythm
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow...

