Deep learning for non-transvenous ICD screening: tailored neural network architectures, extended experiments, and explainability
Organizations: School of Mathematical Sciences, University of Southampton, UK · School of Human Development and Health, Faculty of Medicine, University of Southampton, UK · Department of Cardiology, University Hospital Southampton NHS Foundation Trust, Southampton, UK
Abstract
This paper studies two non-transvenous implantable cardioverter-defibrillators (ICDs), namely the Subcutaneous ICD (S-ICD) and the Extravascular ICD (EV-ICD). Both avoid the complications of transvenous leads but are prone to oversensing, which can trigger inappropriate shocks associated with increased mortality. Oversensing risk is predicted by the ratio of T- or P-wave amplitude to R-wave amplitude (T:R, P:R), and these ratios vary over a 24-hour period. Yet S-ICD screening uses a single 10-second electrocardiogram (ECG) segment, and the EV-ICD has no formal screening protocol whatsoever. We present a 24-hour ambulatory screening framework for both devices which includes the first T:R analysis in an EV-ICD cohort and the first full evaluation of P:R prediction. We introduce AmpRatioNet, a family of 1D convolutional neural network architectures operating directly on the ECG signal, and benchmark it against the best existing approach - based on 2D phase space reconstruction images. Evaluation uses 4,605 clinician-annotated 10-second segments from 89 patients, with patient-level 10-fold cross-validation and bootstrap confidence intervals. AmpRatioNet-SE demonstrates superior performance on every metric in each setting with no device- or ratio-specific redesign. An explainability analysis against interpretable classical peak labelling algorithms shows that AmpRatioNet-SE's increase in error on oversensing-prone segments is up to 14 times smaller than theirs. Segment-level predictions are aggregated into a 24-hour timeline, extending S-ICD screening beyond 10 seconds and offering a plausible EV-ICD screening pathway pending device-level validation.
Figures & tables
| AmpRatioNet-FCN | AmpRatioNet-RES | AmpRatioNet-SE | ||||
| Stage | Operation | Output | Operation | Output | Operation | Output |
| Input | ECG signal | ECG signal | ECG signal | |||
| Stem | Conv-BN-ReLU, , | Conv-BN-ReLU, , | Conv-BN-ReLU, , | |||
| Block 1 | Conv-BN-ReLU, , | Residual block | Residual block + SE | |||
| Block 2 | Conv-BN-ReLU, , | Residual block | Residual block + SE | |||
| Block 3 | – | – | Residual block | Residual block + SE | ||
| Layer | Type | Output | Kernel | Stride |
| 1 | Conv1D | 15 | 1 | |
| 2 | BatchNorm | – | – | |
| 3 | ReLU | – | – | |
| 4 | Conv1D | 15 | 1 | |
| 5 | BatchNorm | – | – | |
| 6 | Shortcut | – / 1 | – / 1 |
| Layer | Type | Output size |
| 1 | Global Average Pooling | |
| 2 | Dense + ReLU | |
| 3 | Dense + Sigmoid | |
| 4 | Reshape | |
| 5 | Channel-wise Scaling |
| ComplexCNN5 | PSRNet32 | |||
| Stage | Operation | Output | Operation | Output |
| Input | PSR image | PSR image | ||
| Block 1 | Feature extraction block | Residual block | ||
| Downsample 1 | – | – | Conv-BN-ReLU, , | |
| Block 2 | Feature extraction block | Residual block | ||
| Downsample 2 | – | – | Conv-BN-ReLU, , | |
| Layer | Type | Output | Kernel | Stride |
| 1 | Conv2D | 1 | ||
| 2 | BatchNorm | – | – | |
| 3 | ReLU | – | – | |
| 4 | Conv2D | 1 | ||
| 5 | BatchNorm | – | – | |
| 6 | Shortcut | – / | – / 1 |
| Layer | Type | Output | Kernel | Stride |
| 1 | Conv2D | 1 | ||
| 2 | BatchNorm | – | – | |
| 3 | ReLU | – | – | |
| 4 | Conv2D | 1 | ||
| 5 | BatchNorm | – | – | |
| 6 | ReLU | – | – |
| Setting | Architecture | RMSE [95% CI] | MAE [95% CI] | P95 AE [95% CI] | [95% CI] |
| EV-ICD P:R | ComplexCNN5 | 4.65 [3.52, 5.90] | 2.89 [2.47, 3.41] | 8.16 [6.55, 10.08] | 0.602 [0.493, 0.665] |
| PSRNet32 | 4.35 [3.01, 5.66] | 2.52 [2.03, 3.12] | 7.31 [5.39, 11.09] | 0.651 [0.579, 0.716] | |
| AmpRatioNet-FCN | 3.38 [2.75, 4.16] | 2.29 [1.97, 2.71] | 6.52 [5.57, 7.70] | 0.790 [0.702, 0.844] | |
| AmpRatioNet-RES | 2.15 [1.69, 2.71] | 1.39 [1.14, 1.69] | 4.53 [3.43, 5.78] | 0.915 [0.867, 0.943] | |
| AmpRatioNet-SE | 2.02 [1.57, 2.55] | 1.24 [1.01, 1.53] | 4.07 [3.12, 5.03] | 0.925 [0.887, 0.950] | |
| EV-ICD T:R | ComplexCNN5 | 4.58 [3.68, 5.49] | 2.71 [2.31, 3.15] | 8.25 [6.74, 9.77] | 0.897 [0.855, 0.929] |
| Whole | Class | Class | Gap | Runtime | |
| AmpRatioNet-SE | 0.0362 | 0.0213 | 0.0422 | 0.0209 | 8.2 s |
| ComplexCNN5 | 0.0577 | 0.0382 | 0.0660 | 0.0278 | 6.7 s |
| NeuroKit2 | 0.1758 | 0.0365 | 0.2297 | 0.1932 | 110.4 s |
| Pan-Tompkins | 0.1901 | 0.1266 | 0.2173 | 0.0907 | 122.8 s |
| Whole | Class | Class | Gap | Runtime | |
| AmpRatioNet-SE | 0.0279 | 0.0167 | 0.0323 | 0.0155 | 7.7 s |
| ComplexCNN5 | 0.0458 | 0.0335 | 0.0511 | 0.0177 | 6.1 s |
| NeuroKit2 | 0.1879 | 0.0300 | 0.2408 | 0.2108 | 110.7 s |
| Pan-Tompkins | 0.1996 | 0.1386 | 0.2252 | 0.0866 | 121.1 s |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | EV-ICD | S-ICD |
| ComplexCNN5 | 4.55 | 5.95 |
| PSRNet32 | 4.80 | 5.64 |
| PSRNet64 | 5.44 | 5.91 |
| EV-ICD | S-ICD | ||
| Variant | T:R | P:R | T:R |
| RES | 3.409 | 2.082 | 4.162 |
| Dilated | 3.109 | 2.237 | 3.838 |
| Inception | 3.579 | 2.248 | 4.314 |
| SE | 2.796 | 2.068 | 3.696 |
Electrocardiography
Electrocardiography studies the heart’s electrical signals to measure cardiac function and support diagnosis, monitoring, and research.
See all 111 papers