Multi-window temporal analysis for enhanced arrhythmia classification: leveraging long-range dependencies in electrocardiogram signals

<i>Objective.</i>Arrhythmia classification from electrocardiograms (ECGs) suffers from high false positive rates and limited cross-dataset generalization, particularly for atrial fibrillation (AF) detection where specificity ranges from 0.72 to 0.98 using conventional 30 s analysis windows. While conventional deep learning approaches analyze isolated 30 s ECG windows, many arrhythmias, particularly AF and atrial flutter, exhibit diagnostic features that emerge over extended time scales.<i>Approach.</i>We introduce S4ECG, a deep learning architecture based on structured state-space models (S4), designed to capture long-range temporal dependencies by jointly analyzing multiple consecutive ECG windows spanning up to 2 min. We evaluated S4ECG on four publicly available databases for multi-class arrhythmia classification, including systematic cross-dataset evaluations to assess out-of-distribution robustness.<i>Main results.</i>Multi-window analysis consistently outperformed single-window approaches across all datasets, improving the macro-averaged area under the receiver operating characteristic curve by 1.0-11.6 percentage points. For AF detection specifically, specificity increased from 0.718-0.979 (single-window) to 0.967-0.998 (multi-window) at a fixed sensitivity threshold, representing a 3-10 fold reduction in false positive rates.<i>Significance.</i>Comparative analysis against convolutional neural network baselines demonstrated superior performance of the S4 architecture. Cross-dataset evaluation revealed that multi-window approaches substantially improved generalization performance, with smaller performance degradation when models were tested on held-out datasets from different institutions and acquisition protocols. A systematic investigation revealed optimal diagnostic windows of 10-20 min, beyond which performance plateaus or degrades. These findings demonstrate that structured incorporation of extended temporal context enhances both arrhythmia classification accuracy and cross-dataset robustness. The identified optimal temporal windows provide practical guidance for ECG monitoring system design and may reflect underlying physiological timescales of arrhythmogenic dynamics.

Authors

Institutions

Publication Details

Journal
Physiological Measurement
Published
2026-01-15
DOI
https://doi.org/10.1088/1361-6579/ae3937
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Multi-window temporal analysis for enhanced arrhythmia classification: leveraging long-range dependencies in electrocardiogram signals

Tiezhi Wang, Nils Strodthoff, Wilhelm Haverkamp
Physiological Measurement
ECG Monitoring and Analysis
article

Multi-window temporal analysis for enhanced arrhythmia classification: leveraging long-range dependencies in electrocardiogram signals

Tiezhi Wang, Nils Strodthoff, Wilhelm Haverkamp
article en

Abstract

<i>Objective.</i>Arrhythmia classification from electrocardiograms (ECGs) suffers from high false positive rates and limited cross-dataset generalization, particularly for atrial fibrillation (AF) detection where specificity ranges from 0.72 to 0.98 using conventional 30 s analysis windows. While conventional deep learning approaches analyze isolated 30 s ECG windows, many arrhythmias, particularly AF and atrial flutter, exhibit diagnostic features that emerge over extended time scales.<i>Approach.</i>We introduce S4ECG, a deep learning architecture based on structured state-space models (S4), designed to capture long-range temporal dependencies by jointly analyzing multiple consecutive ECG windows spanning up to 2 min. We evaluated S4ECG on four publicly available databases for multi-class arrhythmia classification, including systematic cross-dataset evaluations to assess out-of-distribution robustness.<i>Main results.</i>Multi-window analysis consistently outperformed single-window approaches across all datasets, improving the macro-averaged area under the receiver operating characteristic curve by 1.0-11.6 percentage points. For AF detection specifically, specificity increased from 0.718-0.979 (single-window) to 0.967-0.998 (multi-window) at a fixed sensitivity threshold, representing a 3-10 fold reduction in false positive rates.<i>Significance.</i>Comparative analysis against convolutional neural network baselines demonstrated superior performance of the S4 architecture. Cross-dataset evaluation revealed that multi-window approaches substantially improved generalization performance, with smaller performance degradation when models were tested on held-out datasets from different institutions and acquisition protocols. A systematic investigation revealed optimal diagnostic windows of 10-20 min, beyond which performance plateaus or degrades. These findings demonstrate that structured incorporation of extended temporal context enhances both arrhythmia classification accuracy and cross-dataset robustness. The identified optimal temporal windows provide practical guidance for ECG monitoring system design and may reflect underlying physiological timescales of arrhythmogenic dynamics.

Physiological MeasurementVol. 47(1)
Carl von Ossietzky Universität Oldenburg (DE), Charité - Universitätsmedizin Berlin (DE)
Openalex Percentile: Top 100%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.