Explainable electrocardiogram interpretation using deep learning-based semantic segmentation.
Bauke K O Arends, Bas B S Schots, Parmenion Koutsogeorgos, Timo Nijkamp, Tim M Paquaij, Diantha J M Schipaanboord, Rutger J Hassink, Pim van der Harst,
Department of Cardiology, University Medical Center Utrecht, Internal ref E03.511, Heidelberglaan 100, Utrecht 3584 CX, The Netherlands. · Cordys Analytics B.V., Utrecht, The Netherlands.
Key points
From the paper's conclusion- This study demonstrates a robust, clinically applicable, vendor- and lead-agnostic deep learning model for ECG analysis, encompassing waveform delineation, rhythm classification, and median beat construction.
Abstract
AIMS: Accurate electrocardiogram (ECG) waveform delineation, rhythm classification, and median beat generation are interdependent steps whose joint modelling improves consistency for downstream computerized diagnostic tasks. This study aimed to develop a lead-agnostic segmentation model that performs these tasks by segmenting individual leads and aggregating predictions in post-processing. METHODS AND RESULTS: A DeepLabV3-based neural network was trained to segment ECG leads into 20 waveform and rhythm classes using 1931 annotated ECGs and 33 093 ECGs with physician-verified diagnostic statements. Post-processing combined lead-wise predictions to delineate intervals, classify rhythm, and construct median beats. Performance was evaluated on internal (n = 988) and external (n = 1303) test sets. Median beats were compared with PTB-XL+ reference medians from Marquette 12SL and University of Glasgow (Uni-G) using similarity metrics and downstream classification. An interactive web tool (http://segmentation.ecgx.ai) was released to support further research. In the external set, delineation for PQ interval, QRS duration, and QT interval had mean errors of -0.9 ± 10.4 ms, 0.2 ± 7.4 ms, and 1.8 ± 16.0 ms. Rhythm classification was performed by assigning class labels to segmented waveform components, with weighted F1 scores of 0.94 for P waves and 0.89 for QRS complexes. Qualitative review showed good alignment with reference beats and differences in beat selection, adjacent beat handling, and QRS identification. Downstream classification performance was equivalent to Marquette 12SL medians but statistically superior to Uni-G medians for 7/10 diagnostic labels. CONCLUSION: This study demonstrates a robust, clinically applicable, vendor- and lead-agnostic deep learning model for ECG analysis, encompassing waveform delineation, rhythm classification, and median beat construction.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Hybrid Segmentation-Classification Framework for ECG Beat Recognition Using U‑Net and ResNetIndian Journal of Computer Science and Technology · 2026
- SynthECG: Python Framework and ECG Image Datasets for Digitization, Lead Detection, and Waveform SegmentationJournal of Medical Signals & Sensors · 2026
- Label-Efficient Deep Learning for ECG Delineation: A Multi-Dataset Benchmark against Widely Used Delineation ToolsarXiv · 2026
- IECG: Weakly-Supervised Interpretability-Enhancing Foundation Model for ElectrocardiogramarXiv · 2026
- Deep learning for ECG-based cardiovascular diagnosis: a review of model architecturesEvolutionary Intelligence · 2026
- Artificial intelligence-based automated interpretation of images of electrocardiograms: development and multinational validation of ECG-GPTEuropean Heart Journal - Digital Health · 2026