potentialpaper

DeepArrhythmia: Segment-Contextualized ECG Arrhythmia Classification via Selective Evidence Acquisition

Jiahui Li, Ruili Fang, Zishuai Liu, WenZhan Song, Jin Lu, Fei Dou

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. DeepArrhythmia classifies ECG beats using 10-second rhythm context and selective physiological evidence, improving accuracy, interpretability, and efficiency across four arrhythmia datasets.

Abstract. Beat-level Electrocardiography (ECG) arrhythmia detection aims to assign an arrhythmia class to each beat in a recording, yet many existing systems treat beats as isolated local instances. This is limiting because beat labels often depend on multi-beat rhythm context, including timing, compensatory pauses, and beat-to-beat morphological consistency. We present DeepArrhythmia\textbf{DeepArrhythmia}, a tool-grounded multimodal framework for segment-contextualized beat-level ECG arrhythmia classification. Given a multi-beat ECG segment, DeepArrhythmia combines the raw ECG signal and a rendered waveform image, localizes R peaks to identify beat instances, and produces structured beat-level predictions. The framework decouples physiological measurement from evidence integration using specialized tools for beat localization, numerical rhythm--morphology extraction, and morphology-focused textual analysis. DeepArrhythmia uses segment-level confidence to route between minimal and rich evidence states, since richer physiological evidence is not uniformly useful. This agentic design integrates rhythm context, explicit physiological grounding, and selective evidence acquisition for decision making.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Four knowledgeable reviewers evaluated this paper, yielding two accept and two borderline accept recommendations. The reviewers are generally positive, viewing the noted weaknesses as addressable limitations rather than barriers to publication. They agree that the paper tackles a clinically meaningful problem with a sound framework, strong motivation, and a thorough empirical evaluation.

Key strengths include a clinically motivated setup treating beat-level arrhythmia classification as a segment-contextualized prediction problem, and an interpretable architecture that decouples physiological measurement from evidence integration. Reviewers also praised the confidence-guided evidence acquisition mechanism for its computational efficiency, alongside comprehensive experiments featuring solid ablations and clear comparisons against non-agentic baselines.

While the reviewers noted that the technical novelty stems from integrating existing components rather than introducing a radically new algorithm, they found this to be an acceptable contribution. However, the authors must address specific technical concerns regarding robustness to peak-detection errors and noise, the calibration and threshold stability of the routing mechanism, cross-dataset transfer performance, and the exact role of the Morphology Analyzer.

The author response should focus heavily on these robustness and generalization questions, particularly routing calibration and cross-dataset behavior. Satisfactory clarifications on these points will keep this paper on its positive trajectory toward acceptance.

Note to Authors: The paper 'A real-time QRS detection algorithm' by Jiapu Pan and Willis J. Tompkins is a seminal paper published in IEEE Transactions on Biomedical Engineering in 1985 (Volume BME-32, Issue 3, pages 230–236). The citation incorrectly lists the publication year as 2007 and the volume as 54. Please fix the discrepancy.

Final justification

The authors addressed the key concerns raised during review through additional experiments and clarifications. The rebuttal improved confidence in the robustness of the Morphology Analyzer, the fairness of the VLM comparisons, and the stability of the confidence-guided routing mechanism. My original reservation remains: the primary contribution is an effective integration of existing components rather than a fundamentally new algorithmic advance. However, the work is technically sound overall, practically relevant, and supported by a sufficient empirical evaluation.

Area Chair UboE · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Four knowledgeable reviewers evaluated this paper, yielding two accept and two borderline accept recommendations. The reviewers are generally positive, viewing the noted weaknesses as addressable limitations rather than barriers to publication. They agree that the paper tackles a clinically meaningful problem with a sound framework, strong motivation, and a thorough empirical evaluation.

Key strengths include a clinically motivated setup treating beat-level arrhythmia classification as a segment-contextualized prediction problem, and an interpretable architecture that decouples physiological measurement from evidence integration. Reviewers also praised the confidence-guided evidence acquisition mechanism for its computational efficiency, alongside comprehensive experiments featuring solid ablations and clear comparisons against non-agentic baselines.

While the reviewers noted that the technical novelty stems from integrating existing components rather than introducing a radically new algorithm, they found this to be an acceptable contribution. However, the authors must address specific technical concerns regarding robustness to peak-detection errors and noise, the calibration and threshold stability of the routing mechanism, cross-dataset transfer performance, and the exact role of the Morphology Analyzer.

The author response should focus heavily on these robustness and generalization questions, particularly routing calibration and cross-dataset behavior. Satisfactory clarifications on these points will keep this paper on its positive trajectory toward acceptance.

Note to Authors: The paper 'A real-time QRS detection algorithm' by Jiapu Pan and Willis J. Tompkins is a seminal paper published in IEEE Transactions on Biomedical Engineering in 1985 (Volume BME-32, Issue 3, pages 230–236). The citation incorrectly lists the publication year as 2007 and the volume as 54. Please fix the discrepancy.

Final justification

The authors addressed the key concerns raised during review through additional experiments and clarifications. The rebuttal improved confidence in the robustness of the Morphology Analyzer, the fairness of the VLM comparisons, and the stability of the confidence-guided routing mechanism. My original reservation remains: the primary contribution is an effective integration of existing components rather than a fundamentally new algorithmic advance. However, the work is technically sound overall, practically relevant, and supported by a sufficient empirical evaluation.

2 comments
Authors · CommentOpenReview ↗

Response to the Area Chair: Robustness, Calibration, Cross-Dataset Transfer, and the Morphology Analyzer

Response to the Area Chair

We thank the AC for the clear synthesis and guidance. We have conducted new experiments addressing each of the four highlighted concerns; details appear in our per-reviewer responses and the revised appendices.

Setup and definitions.

Datasets. All experiments use the four beat-annotated datasets of the paper — MIT-BIH Arrhythmia, MIT-BIH Supraventricular (MIT-BIH-SUP), INCART, and VitalDB — under the AAMI four-class space (N, S, V, F; VitalDB contains no F beats) with subject-disjoint splits. The perturbation and noise studies use a fixed 400-segment MIT-BIH subset (100 all-normal plus 100 each containing S, V, and F beats) so that abnormal beats are adequately represented.

Models. DeepArrhythmia comprises a Qwen3.5-4B backbone with a frozen ECG-CoCa signal encoder; the perturbation and noise studies use the rich-evidence variant, the cross-dataset matrix the threshold-induced routed variant. Baselines are the 1D ResNet and the SVM, each trained per dataset on identical splits.

Metrics. Micro-F1 is computed over the four classes at beat level; Macro-F1 is the unweighted mean of per-class F1 and therefore reflects the rare classes. ΔF1 = F1_clean − F1_stress on the non-interfered (collateral) beats of a perturbed segment, so positive values denote degradation. ECE is the sample-weighted mean gap between confidence and accuracy over ten equal-width confidence bins.

Noise and SNR. SNR is 10 log10(signal power / noise power), applied per segment and per lead; equivalently, the noise RMS is approximately 6%, 13%, 25%, and 50% of the signal RMS at 24, 18, 12, and 6 dB. Gaussian noise is i.i.d. and zero-mean, modelling measurement noise and corrupting high-frequency detail (P/T waves, fine QRS shape); baseline wander is a low-frequency drift (three cosines at 0.15–0.5 Hz with random phases) modelling respiration and electrode motion, which displaces the isoelectric line while preserving morphology. Each disturbance is injected into the raw two-lead signal and propagated through the entire input pipeline — signal re-encoded, waveform image re-rendered, and amplitude/HOS/myMorph descriptors re-extracted — so that no modality retains a clean copy. R-peak anchors and RR intervals are held fixed, isolating signal quality from peak-detection error.

1. Robustness to peak-detection errors and noise.

All three detector failure modes are now covered: missed and mislocalized peaks were reported previously, and we add spurious (extra) peaks. Collateral degradation is graceful in every case and concentrates on the timing-dependent S class (ΔF1: mask 0.019, mislocalize 0.136, extra 0.302), while the normal class remains stable (ΔF1 ≤ 0.028). The noise study shows the same qualitative behaviour: baseline wander is almost entirely absorbed (Micro-F1 −0.5 points at 6 dB), and Gaussian noise is tolerated to 12 dB, declining by 2.8 Micro-F1 points only at 6 dB, with the loss confined to morphology-dependent classes (V-class F1 0.848 → 0.755) while the rhythm-anchored N class holds (0.916 → 0.899).

(a) Collateral ΔF1 under R-peak perturbations:

Class Mask Mislocalize Extra
N 0.004 0.014 0.028
S 0.019 0.136 0.302
V 0.043 0.025 0.072
F 0.056 0.033 0.050

(b) Signal-level noise:

SNR Gaussian Micro Gaussian Macro Wander Micro Wander Macro
Clean 0.8482 0.5609 0.8482 0.5609
24 dB 0.8456 0.5529 0.8480 0.5632
18 dB 0.8487 0.5638 0.8467 0.5569
12 dB 0.8409 0.5408 0.8435 0.5478
6 dB 0.8204 0.4872 0.8431 0.5413

2. Routing calibration and threshold stability.

The routing score — the mean per-beat maximum class posterior — is well calibrated in-domain on all four datasets, with binned accuracy tracking confidence closely. Performance forms a wide plateau in the threshold rather than a narrow optimum: since confidence concentrates near 1, all routing occurs within τ ∈ [0.98, 1.0], and sweeping that entire interval changes Micro-F1 by at most 1.4 points on any dataset, the endpoints recovering the Minimal- and Rich-specialization rows of Table 1 with no discontinuity between them.

Dataset ECE Micro-F1 over τ ∈ [0.98, 1.0] Span
MIT-BIH 0.058 0.9498–0.9524 0.3 pt
MIT-BIH-SUP 0.029 0.9509–0.9530 0.2 pt
INCART 0.024 0.9746–0.9807 0.6 pt
VitalDB 0.042 0.9116–0.9255 1.4 pt
Authors · CommentOpenReview ↗

# Response to the Area Chair (Part 2 of 2)

3. Cross-dataset transfer.

The submission already reports a full 4×4 matrix (Appendix I), in which each source-trained model is evaluated on every target test split with nothing from the target used for training, tuning, normalization, or threshold selection (each pair on a 10% sample of the target test set, fixed seed, for computational efficiency). We now apply the identical protocol to the baselines, yielding two findings.

First, transfer is strong when the source distribution is informative. Trained on MIT-BIH-SUP or INCART — the sources richest in arrhythmia content — DeepArrhythmia transfers close to in-domain level (MIT-BIH-SUP → MIT-BIH 0.9351, → INCART 0.8711; INCART → MIT-BIH 0.9243, → MIT-BIH-SUP 0.8942), averaging 0.824 over these six transfers against 0.811 for the SVM and 0.459 for the 1D ResNet, which fails precisely from these sources (MIT-BIH-SUP → MIT-BIH 0.0743). Second, over all twelve off-diagonal transfers DeepArrhythmia degrades least (mean Micro-F1 0.698 vs 0.457 for the ResNet), and the failure modes differ in kind: the SVM systematically collapses to majority-class prediction off-diagonal, forfeiting abnormal-beat detection entirely (Macro-F1 0.649 → 0.294), whereas DeepArrhythmia continues to detect abnormal beats on most transfers, its worst case confined to the VitalDB-trained direction. Limited transfer is thus attributable to domain shift shared by all beat-level methods — differing sampling rates, leads, devices, and class priors, with VitalDB the principal outlier in both directions — rather than to four independently fitted models.

Separately, addressing the concern regarding statistical significance, we add 95% bootstrap confidence intervals on in-domain MIT-BIH Macro-F1: DeepArrhythmia 0.593 [0.583, 0.603], SVM 0.523 [0.516, 0.530], and ResNet 0.362 [0.356, 0.367], all non-overlapping.

DeepArrhythmia (Micro-F1; diagonal = in-domain, in bold):

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.9521 0.9272 0.5540 0.5514
MIT-BIH-SUP 0.9351 0.9527 0.8711 0.6482
INCART 0.9243 0.8942 0.9791 0.6735
VitalDB 0.5835 0.0935 0.7214 0.9023

1D ResNet:

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.7596 0.8911 0.8635 0.6714
MIT-BIH-SUP 0.0743 0.8135 0.4786 0.5827
INCART 0.4199 0.6787 0.8693 0.5204
VitalDB 0.1012 0.0759 0.1299 0.7859

SVM:

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.9366 0.8886 0.9384 0.6735
MIT-BIH-SUP 0.8827 0.9374 0.8624 0.6735
INCART 0.8825 0.8886 0.9845 0.6735
VitalDB 0.8827 0.4505 0.8624 0.7501

4. Role of the Morphology Analyzer.

Its contribution to accuracy is complementary rather than load-bearing: removed (numerical features only), DeepArrhythmia still exceeds every external baseline (Macro-F1 0.5694 vs 0.523 for the SVM), and the analyzer adds a further 2.4 points. Its principal value is interpretability: whereas the baselines emit only a class label, the analyzer accompanies each decision with clinician-readable, auditable morphological evidence — QRS width, P-wave behaviour, RR regularity — that cardiologists rate as clinically valid (Table 4). This evidence is causal rather than decorative: disrupting the exact cue an explanation references reduces accuracy from 92.5% to 1.9% (Table 13), which likewise addresses the label-leakage concern, alongside split-safe distillation and label-free inference. Such interpretability is essential for decision support and renders even error cases inspectable, which no baseline affords.

On novelty.

We have revised the framing accordingly and do not claim novelty for peak detection, feature extraction, morphology analysis, multimodal fusion, or confidence thresholding in isolation. Our contribution is framework-level and comprises three coupled elements: (1) formulating beat-level classification as peak-aligned prediction within a multi-beat context segment; (2) separating physiological evidence acquisition from multimodal evidence integration through explicit beat-anchor, numerical-feature, and morphology-text interfaces; and (3) training minimal- and rich-evidence agents followed by threshold-induced routed supervised fine-tuning, so that the model learns when additional physiological evidence is worth acquiring rather than applying every tool uniformly.

All new results have been incorporated into the revised appendices, and we would be glad to provide any further analysis the AC or reviewers consider useful.

Reviewer QwMtOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors present DeepArrhythmia. DeepArrhythmia improves beat-level arrhythmia classification by predicting each R-peak-aligned beat inside a longer ECG segment instead of looking at isolated beat crops. This lets the model use both the shape of the beat itself and the surrounding rhythm context. It also uses agents with tools to extract useful evidence, such as detected peaks, rhythm measurements, morphology measurements, and short textual descriptions, making the prediction process easier to interpret. Finally, it does not use all extra evidence for every case; instead, it uses confidence to decide when more evidence is needed, helping difficult cases while avoiding unnecessary noise or cost for easier ones.

Strengths and weaknesses

Strengths

  • The authors address an important problem in utilizing AI for arrhythmia detection.
  • DeepArrhythmia is a novel framework that provides interpretability by using the outputs from multiple modular tools to ground its final prediction.
  • The method is technically sound and validated with comprehensive experiments.
  • The figure and paper is easy to follow.
  • The experiments on augmented and perturbations of the data are well appreciated.

Weaknesses

  • As the authors have acknowledged, the pipeline seems to be heavily influenced by the data: 1) has poor cross-dataset generalization and 2) poor generalization to rare classes. A question I have here then is how does DeepArrhythmia compare in these 2 limitations with other baselines? It would be important to see this comparison.
  • The pipeline seems to be quite expensive and hand-engineered, compared to other baselines such as SVM, which are much simpler and competitive in performance.
  • I am curious on how the performance of DeepArrhythmia compares to other baseline models under balanced class distributions for both training and testing. This would give more insight on DeepArrhythmia's performance compared to other baselines.
  • As the performances are not overwhelmingly better than previous baselines as well as quite volatile across each dataset, it would be important to see the statistical significance of the results.
Questions
  • For the faithfulness evaluation (Appendix M), what was the dataset and the distribution used to conduct the experiment?
  • Why have the authors not tried on perhaps two of the most famous ECG datasets, PTB-XL and MIMIC-IV ECG? I would hope to see performances on at least PTB-XL, as MIMIC-IV ECG is quite large. I am curious on why the authors chose not to include these two datasets.
Limitations

yes

Final justification

The authors have sufficiently added relevant experiments and answered my questions. I have adjusted my review accordingly.

Formatting concerns

na

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1 — Comparison with baselines on cross-dataset and rare-class generalization.

We add both comparisons under an identical protocol. Cross-dataset: averaged over the 12 off-diagonal train/test transfers, DeepArrhythmia degrades far less than the baselines (mean Micro-F1 0.70 vs 0.46 for the 1D ResNet). Its failure mode also differs from the SVM's: the SVM systematically collapses to the majority (normal) class off-diagonal, losing all abnormal-beat detection (Macro-F1 0.65 → 0.29), whereas DeepArrhythmia retains abnormal detection on most transfers; its worst case is confined to the VitalDB-trained direction (the most dissimilar acquisition), where it over-predicts a single abnormal class — the same VitalDB outlier degrades all methods. Rare classes: per-class F1 (Table 12) shows DeepArrhythmia is highest on every abnormal class on MIT-BIH (S 0.392 vs SVM 0.206 vs ResNet 0.073; F 0.066 vs 0.025 vs 0.040). Crucially, because DeepArrhythmia grounds each decision in explicit peak, rhythm, and morphology evidence, these failures are diagnosable — one can inspect the numerical features and textual morphology behind a wrong prediction — whereas the SVM and ResNet offer no such insight.

W2 — Cost / hand-engineering vs. a simple SVM.

The SVM is simpler and in-domain competitive, but it is a black box that does not generalize: it collapses to majority-class prediction under cross-dataset shift (see W1) and, by construction, produces only a class label with no supporting evidence. DeepArrhythmia's additional cost buys three things a simple classifier cannot provide. (i) Interpretability: every prediction is grounded in explicit, auditable evidence — detected peaks, numerical rhythm/morphology measurements, and a textual morphology analysis — and this evidence is verified to be causally used, not decorative: an evidence-deletion test (Table 13) shows that disrupting the exact cue an explanation cites collapses accuracy from 92.5% to 1.9%, and cardiologists rate the analyses as clinically valid (Table 4). This auditability is essential for a clinical decision-support setting and makes even error cases inspectable. (ii) Better cross-dataset robustness (W1). (iii) Efficiency via confidence-guided routing, which invokes the expensive tools on only a minority of segments. We also note the method's accuracy does not depend on the heaviest component: even without the Morphology Analyzer (numerical features only), DeepArrhythmia already exceeds the SVM (Macro-F1 0.5694 vs 0.523).

W3 — Performance under a balanced class distribution.

Macro-F1, our primary metric, already weights all classes equally. Adding a balanced metric (balanced accuracy = mean per-class recall) on MIT-BIH gives DeepArrhythmia 0.568 vs SVM 0.516 vs 1D ResNet 0.449, so the ordering is preserved under class-balanced evaluation. (Balanced re-training would require retraining all models; we are happy to add it if preferred.)

W4 — Statistical significance.

We add 95% bootstrap confidence intervals on MIT-BIH Macro-F1: DeepArrhythmia 0.593 [0.583, 0.603], SVM 0.523 [0.516, 0.530], 1D ResNet 0.362 [0.356, 0.367]. The intervals are non-overlapping, so DeepArrhythmia's improvement is statistically significant; the ML/DL baselines in Table 1 are additionally averaged over three seeds.

Q1 — Dataset/distribution used for the faithfulness evaluation (Appendix M).

The evidence-deletion test (Table 13) is conducted on the MIT-BIH test set, on 160 beats whose explanations cite a specific morphological cue, stratified by cue type (QRS 53, P-wave 54, RR 53). We will state this explicitly in the revision.

Q2 — Why not PTB-XL and MIMIC-IV ECG?

These are excellent resources but target a different task: they provide record-level, 12-lead diagnostic-statement labels, not the per-beat AAMI (N/S/V/F) annotations required for beat-level arrhythmia classification. The four datasets we use were chosen precisely because they carry beat-level annotations under subject-disjoint splits. The framework's components do transfer to record-level 12-lead classification (we apply them to PTB-XL superclasses in related work), but that is outside the beat-level scope of this paper.

Authors · CommentOpenReview ↗

Supplement to W1: Comparison with Baselines on Cross-Dataset and Rare-Class Generalization

Supplement to W1: Comparison with Baselines on Cross-Dataset and Rare-Class Generalization

Cross-dataset setting. Every (source, target) pair is evaluated: the model trained on the source dataset is applied to the target dataset's subject-disjoint test split, giving a full 4×4 matrix. For computational efficiency each pair is evaluated on a 10% sample of the target test set (fixed seed) for DeepArrhythmia with threshold-induced routing; the baselines are far cheaper and are run on the same sample or the full target split. The diagonal is the in-domain setting and reproduces the corresponding Table 1 numbers for all three methods, which validates the protocol.

DeepArrhythmia (Micro-F1; diagonal = in-domain, in bold):

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.9521 0.9272 0.5540 0.5514
MIT-BIH-SUP 0.9351 0.9527 0.8711 0.6482
INCART 0.9243 0.8942 0.9791 0.6735
VitalDB 0.5835 0.0935 0.7214 0.9023

1D ResNet:

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.7596 0.8911 0.8635 0.6714
MIT-BIH-SUP 0.0743 0.8135 0.4786 0.5827
INCART 0.4199 0.6787 0.8693 0.5204
VitalDB 0.1012 0.0759 0.1299 0.7859

SVM:

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.9366 0.8886 0.9384 0.6735
MIT-BIH-SUP 0.8827 0.9374 0.8624 0.6735
INCART 0.8825 0.8886 0.9845 0.6735
VitalDB 0.8827 0.4505 0.8624 0.7501

Transfer is strong when the source dataset is informative. What governs transfer is the quality of the training distribution rather than the framework. Trained on MIT-BIH Supraventricular or INCART — the two sources with the richest arrhythmia content — DeepArrhythmia transfers close to in-domain level (MIT-BIH-SUP → MIT-BIH 0.9351, → INCART 0.8711; INCART → MIT-BIH 0.9243, → MIT-BIH-SUP 0.8942). Averaged over the six transfers from these two sources it attains mean Micro-F1 0.824, above the SVM (0.811) and far above the 1D ResNet (0.459), which fails badly from exactly these sources (MIT-BIH-SUP → MIT-BIH 0.0743). The SVM's figure is moreover inflated by its off-diagonal collapse to majority-class prediction (Macro-F1 0.649 → 0.294), whereas DeepArrhythmia keeps detecting abnormal beats. The residual gap is concentrated on transfers into and out of VitalDB, whose monitor, lead configuration, sampling rate and population differ most, and which degrades all three methods; over all twelve off-diagonal transfers DeepArrhythmia retains mean Micro-F1 0.698 versus 0.457 for the 1D ResNet.

Rare-class setting. All three methods are evaluated on the identical MIT-BIH DS2 subject-disjoint test split (about 50k beats) with the same AAMI four-class label space. The split is extremely imbalanced — about 44k N, 2k S, 3.2k V and only 388 F beats — which is what makes the minority classes hard for every method.

Class DeepArrhythmia SVM 1D ResNet
N 0.974 0.967 0.858
S 0.392 0.206 0.073
V 0.940 0.894 0.475
F 0.066 0.025 0.040
Macro-F1 0.593 0.523 0.362

Rare-class results. Weak performance on the rare classes is a property of the task, not of our framework: all three methods struggle on S and especially F. Under identical conditions, however, DeepArrhythmia attains the highest F1 on every class, including the two rare ones (S 0.392 vs 0.206 / 0.073; F 0.066 vs 0.025 / 0.040), and the best Macro-F1 (0.593 vs 0.523 / 0.362). Both limitations raised by the reviewer are therefore shared by the baselines, and our framework degrades the least; because its decisions are grounded in explicit peak, rhythm and morphology evidence, its errors also remain inspectable, unlike those of the SVM and ResNet.

Reviewer tYLhOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes DeepArrhythmia, a novel integrated framework for beat-level ECG arrhythmia classification that incorporates multi-beat rhythm context. By combining multiple sources of evidence—raw waveforms, rendered images, numerical features, and textual explanations—it leverages additional information for challenging cases. None of these components represents a breakthrough innovation on its own, but each is thoughtfully adapted to the ECG domain and together they contribute steady, incremental accuracy improvements, as demonstrated by the careful and comprehensive experimental results. Evaluation on four ECG datasets under subject-disjoint splits demonstrates consistent improvement over conventional ML, deep learning, and VLM baselines.

Strengths and weaknesses

None of the proposed components represents a breakthrough innovation on its own, but each is thoughtfully adapted to the ECG domain and together they contribute steady, incremental accuracy improvements, as demonstrated by the careful and comprehensive experimental results. Evaluation on four ECG datasets under subject-disjoint splits demonstrates consistent improvement over conventional ML, deep learning, and VLM baselines.

The experimental evaluation is comprehensive and methodologically rigorous. The ablation study clearly demonstrates the extent to which each component contributes to performance improvement.

Questions
  1. The rendered ECG image is derived from the raw time-series signal and therefore carries no independent information. Nevertheless, what might explain the observed minor improvement in accuracy when the image modality is included as an input?
  2. The use of a 10-second segment length appears to be motivated by practical or operational constraints, but if it were possible to use even longer segments, would classification performance further improve?
  3. Which components of the proposed framework could be applied to physiological signals other than ECG? For what types of biosignal processing tasks might this approach provide similar benefits?
Limitations

The authors discuss limitations in Section 5 and Appendix T. In particular, robustness to noise is practically important, but the paper does not include any evaluation of performance degradation caused by the addition of noise.

Formatting concerns

No issues identified.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

L — No evaluation of performance degradation under added noise.

We agree this was missing and have added a signal-level noise study. Gaussian noise and baseline wander are injected into the raw signal at 24/18/12/6 dB, and each corrupted signal is propagated through the entire input pipeline — re-encoded by the ECG-CoCa encoder, the waveform image re-rendered from it, and the amplitude/HOS/myMorph features re-extracted from it — so no modality retains a clean copy. R-peaks are held fixed to isolate signal quality from peak-detection error (studied separately).

Degradation is graceful and never a collapse. Baseline wander is almost entirely absorbed: at 6 dB Micro-F1 falls only from 0.848 to 0.843 and Macro-F1 from 0.561 to 0.541, since median-filter baseline removal suppresses low-frequency drift while morphology is preserved. Gaussian noise is harsher but well tolerated down to 12 dB (within one Micro-F1 point of clean), with a clear decline only at the extreme 6 dB level (Micro-F1 −2.8, Macro-F1 −7.4 points). The loss is concentrated on morphology-dependent classes — V-class F1 drops 0.848 → 0.755 at Gaussian 6 dB and the minority S/F classes decline — while the rhythm-anchored N class stays stable (0.916 → 0.899), consistent with noise corrupting morphological evidence but not the RR/peak anchors. Full tables and SNR curves are added to the revised appendix.

Q1. The rendered image is derived from the raw signal and carries no independent information — what explains the accuracy gain from adding the image modality?

The reviewer is right that the image is information-theoretically redundant; its benefit is a complementary representation rather than new information. Rendering the 1-D signal as a 2-D waveform lets a pretrained vision encoder apply spatial inductive biases (local receptive fields, translation invariance) that are well matched to reading QRS shape and P-wave morphology, whereas our numerical features summarize the signal into scalar descriptors that can under-express these subtle cues. Removing the image lowers MIT-BIH Macro-F1 from 0.5929 to 0.5394 (Table 2).

A per-beat analysis of where the image helps makes this concrete. The beats the image recovers are overwhelmingly abnormal beats that the numerical-only model misclassifies as normal — chiefly supraventricular (S) beats: 138 of the 143 recovered S beats were labelled N without the image. These are premature beats (normalized pre-RR ≈ 0.71) with a near-normal QRS, so the RR timing feature alone is insufficient to separate them from normal, and the rendered waveform supplies the complementary morphological view (P-wave presence and subtle QRS shape) needed to tip the decision. In other words, the image does not add information but exposes, through a spatial representation and vision priors, morphology that the scalar features compress away — precisely the cases (near-normal S beats) where our motivation (morphology-in-context) is most binding.

Q2. Would longer segments than 10 s further improve performance?

Yes, within limits — this is our context-length ablation (Appendix N / Fig. 8a). Increasing the window from 1,800 samples (5 s) to 3,600 (10 s) raises Macro-F1 from 0.5924 to 0.5929 and Micro-F1 from 0.9403 to 0.9501, and extending to 5,000 samples improves them further to 0.6235 / 0.9512, confirming that longer rhythm context helps, especially for class-balanced (Macro) performance. The 10-second window is a practical operating point (clinical convention, bounded model context and compute), but the trend indicates that additional context yields further, gradually diminishing gains.

Q3. Which components transfer to non-ECG biosignals, and for what tasks?

Most of the framework is signal-agnostic. The peak detector, the numerical rhythm/morphology feature extractor, and the image-based morphology analyzer all operate on the generic notion of fiducial points and their local context, and thus transfer directly to other quasi-periodic signals — systolic peaks in PPG, J-peaks in BCG, pulse onsets in arterial blood pressure. The confidence-guided selective evidence acquisition is a task-agnostic meta-strategy applicable whenever auxiliary evidence has non-uniform utility. Only the ECG-CoCa encoder is modality-specific, occupying a generic slot that can be swapped for a PPG/BCG/EEG encoder. The approach is therefore well suited to event- or beat-level classification on pulsatile signals — e.g., PPG-based arrhythmia/AF screening, BCG cardiac monitoring, and sleep/apnea or stress inference — particularly where precise event localization, heterogeneous evidence quality, and interpretability all matter.

Authors · CommentOpenReview ↗

Supplement to L: Noise Study — Setup and Results

Supplement to L: Noise study — setup and Results

Dataset. The study is run on MIT-BIH, using the same 400-segment evaluation subset as the peak-perturbation study of Appendix O (100 all-normal segments and 100 each containing S, V and F beats; 5,374 beats in total), with the rich-evidence model. All nine conditions (clean plus two noise types at four SNRs) are evaluated on this identical beat set, so differences across conditions are attributable to noise alone.

Signal-to-noise ratio. SNR is defined from mean-square powers as 10 log10(signal power / noise power), and the noise is scaled per segment and per lead accordingly. Equivalently, the noise RMS is roughly 6%, 13%, 25% and 50% of the signal RMS at 24, 18, 12 and 6 dB, so 6 dB is a severe corruption.

Noise models. Additive Gaussian noise is i.i.d. zero-mean Gaussian per sample, modelling thermal/electronic and general measurement noise; being broadband it corrupts high-frequency detail such as P/T waves and fine QRS shape. Baseline wander is a low-frequency drift, generated as a sum of three cosines with frequencies drawn uniformly from 0.15–0.5 Hz and random phases, modelling respiration and electrode motion; it displaces the isoelectric line but largely preserves beat morphology. Each disturbance is added to the raw two-lead segment and propagated through the entire input pipeline — the corrupted signal is re-encoded, the waveform image re-rendered from it, and the amplitude/HOS/myMorph descriptors re-extracted from it — so no modality keeps a clean copy. R-peak anchors and RR intervals are held fixed to isolate signal quality from peak-detection error.

SNR Gaussian Micro-F1 Gaussian Macro-F1 Wander Micro-F1 Wander Macro-F1
Clean 0.8482 0.5609 0.8482 0.5609
24 dB 0.8456 0.5529 0.8480 0.5632
18 dB 0.8487 0.5638 0.8467 0.5569
12 dB 0.8409 0.5408 0.8435 0.5478
6 dB 0.8204 0.4872 0.8431 0.5413

Results. Degradation is graceful and never a collapse. Baseline wander is almost entirely absorbed (at 6 dB Micro-F1 -0.5 and Macro-F1 -2.0 points). Gaussian noise attacks morphology directly and is harsher, yet accuracy is essentially unchanged down to 12 dB and declines noticeably only at 6 dB (Micro-F1 -2.8, Macro-F1 -7.4 points), with the loss concentrated on morphology-dependent classes (V-class F1 0.848 → 0.755) while the rhythm-anchored N class remains stable (0.916 → 0.899).

Reviewer tYLh · CommentOpenReview ↗

Response to authors

Thank you for the response to my questions. The proposed method appears to have good noise resilience. I continue to support Accept of this paper.

Reviewer 9zQPOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces an agentic frame work for beat-level ECG arrhythmia classification. It is able to route based on confidence values from an upstream model to dynamically call tools to get more evidence and make better predictions. The results are strong on 4 public datasets, across performance and cost.

Strengths and weaknesses

Strengths: The paper proposes a reasonable agent framework to address some limitations of existing methods. The paper considers computation cost and proposes a well-thought-out and effective routing mechanism. The ablations are also great for showing how much each piece of evidence contributes to the final result. I appreciate the non-agentic baseline comparison. This makes the contribution more convincing.

Weaknesses: The tools suffer from a lack of robustness to noise and boundary cutoffs. The method uses a fixed 10-second window, but the whole motivation of the paper (Figure 1) is that you need surrounding rhythm context to classify beats correctly. There's also no cross-dataset evaluation. Four datasets are used, but each one is trained and tested separately. there's no experiment checking whether a model trained on one dataset actually transfers to another. That makes it hard to tell if this is one generalizable method or four separately-fit models that happen to work well on their own data. The threshold used for routing needs to be decided for each dataset. How important is this threshold? I often find it unrealistic for real-world use to expect confidence thresholds to hold up. This is mentioned in the limitations, but I think some simple evidence that the framework still provides good performance at a less optimal threshold can help practitioners.

Questions

Is the routing threshold robust to noise? Can you showcase the framework performance on a less optimal threshold? Maybe

Is there a way to address the boundary issue? Maybe via agent memory or a sliding window approach? What are the reasons for not doing this?

Is it possible to generate synthetic data for the rarer cases that the model performs poorly on?

Limitations

yes

Final justification

The authors have addressed most of my concerns.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for these constructive suggestions. All four points are now supported by new experiments, and we clarify one item that we believe was missed in the appendix.

W1 / Q1 — Robustness to noise, and performance at a less-optimal threshold.

We add a signal-noise study: additive Gaussian noise and baseline wander are injected into the raw signal at 24/18/12/6 dB, and the corrupted signal is propagated through the whole pipeline (re-encoded, image re-rendered, morphology features re-extracted). Degradation is graceful, never a collapse: baseline wander is almost fully absorbed (Micro-F1 0.848 → 0.843 at 6 dB), and Gaussian noise leaves accuracy essentially unchanged down to 12 dB, with only a −2.8 pt Micro-F1 drop at the extreme 6 dB. The loss concentrates on morphology-dependent classes (V 0.848 → 0.755 at 6 dB) while the rhythm-anchored N class stays stable (0.916 → 0.899), consistent with noise corrupting morphological evidence but not the RR/peak anchors.

On the threshold, performance sits on a wide plateau rather than a narrow optimum. Since segment confidence concentrates near 1, all routing occurs in τ ∈ [0.98, 1.0]; sweeping that entire range changes Micro-F1 by at most 1.4 points (MIT-BIH 0.9498–0.9524, MIT-BIH-SUP 0.9509–0.9530, INCART 0.9746–0.9807, VitalDB 0.9116–0.9255), with the endpoints reproducing the Minimal- and Rich-specialization rows of Table 1 and no discontinuity in between. A clearly mis-specified threshold therefore costs a fraction of a point, not a failure. Noise also pushes routing in the safe direction: it lowers confidence, so a fixed threshold acquires rich evidence more often exactly when the input is degraded.

W2 / Q2 — The fixed 10-second window and boundary beats; sliding window / agent memory.

We agree this is the right test of our own motivation, and we now quantify it. Boundary beats (first/last in a window) are only marginally harder overall — Micro-F1 0.9435 vs 0.9521 for interior beats, with the dominant N class essentially unaffected (0.970 vs 0.975) — and the gap is confined to the abnormal classes that depend on surrounding context. We then re-classify each abnormal boundary beat inside a window re-centered on it, which emulates overlapping (sliding-window) inference:

Beat position Acc. Macro-F1 S V F
Boundary (original) 0.606 0.466 0.445 0.915 0.038
Interior (reference) 0.683 0.507 0.490 0.961 0.072
Re-centered (sliding) 0.694 0.584 0.531 0.966 0.254

Re-centering recovers the gap and matches interior-beat performance (+8.9 pt accuracy, +11.8 pt Macro-F1; 131 of 867 beats corrected vs 54 regressed), with the largest gain on the context-dependent fusion class (0.038 → 0.254). We used non-overlapping windows in the main results for training and inference efficiency (overlap multiplies compute per beat) and because the shift-based re-anchoring augmentation already keeps the boundary deficit small; the result above shows overlapping inference is a cheap and effective remedy for the residual gap, which we now state explicitly.

W3 — Cross-dataset evaluation.

We would like to clarify that the submission does include a full 4×4 cross-dataset evaluation (Appendix I): every dataset's model is evaluated on every other dataset's test split. In-domain Micro-F1 is 0.95–0.98, transfer among MIT-BIH, MIT-BIH-SUP, and INCART is strong (e.g., MIT-BIH-SUP → INCART 0.871, INCART → MIT-BIH 0.924), and the gap concentrates on transfers involving VitalDB (MIT-BIH → VitalDB 0.551; VitalDB → MIT-BIH-SUP 0.094), which differs most in acquisition device, lead configuration, and sampling rate.

Following this concern we additionally ran the identical protocol on two baselines. Averaged over the twelve off-diagonal transfers, DeepArrhythmia degrades far less (mean Micro-F1 0.70) than the 1D ResNet (0.46), and the feature-based SVM systematically collapses to majority-class (normal) prediction off-diagonal, losing all abnormal-beat detection (Macro-F1 0.65 → 0.29). Limited cross-dataset transfer is therefore a property of the domain shift shared by all beat-level methods rather than an artifact of four separately-fit models, and our framework is the most robust of the three. Because its decisions are grounded in explicit peak, rhythm, and morphology evidence, its transfer failures are also inspectable, unlike those of the baselines.

Q3 — Synthetic data for the rare classes.

We already perform data-level synthesis for rare classes: the shift-based re-anchoring augmentation resamples each non-normal class toward the majority count, synthesizing many within-window position variants of S/V/F beats. Its ablation confirms it is critical — removing it drops MIT-BIH Micro-F1 from 0.9501 to 0.9120, with the loss concentrated on minority classes (Table 2). For fusion beats specifically, the bottleneck is not only scarcity but morphological ambiguity: F is a variable blend of a normal and a ventricular complex, and the confusion matrix shows F collapsing to N (91%) rather than being confused among abnormal classes, so position-based or naive oversampling has limited headroom. Generative synthesis of realistic fusion morphology (e.g., diffusion-based waveform generation) is a promising direction we now note as future work.

Authors · CommentOpenReview ↗

Supplementary Results for W1/Q1, W3

Supplement to W1/Q1: Noise robustness

Setup. MIT-BIH, evaluated on the same 400-segment subset as the peak-perturbation study (100 all-normal + 100 each containing S/V/F), with the rich-evidence variant (Qwen3.5-4B + frozen ECG-CoCa encoder). All nine conditions share this beat set. The subset is class-enriched, hence the clean reference (Micro-F1 0.8482) sits below the 0.9501 of Table 1 for the same model, while Macro-F1 (0.5609 vs 0.5929) is close.

Noise. SNR is 10 log10(signal power / noise power), applied per segment and lead; the noise RMS is about 6%, 13%, 25% and 50% of the signal RMS at 24, 18, 12 and 6 dB. Gaussian noise is broadband and corrupts P/T-wave and fine QRS shape; baseline wander is low-frequency drift (three random cosines, 0.15–0.5 Hz) that displaces the baseline but preserves morphology. Noise is added to the raw two-lead segment and propagated through the entire pipeline — signal re-encoded, image re-rendered, amplitude/HOS/myMorph re-extracted — so no modality keeps a clean copy; R-peaks and RR are fixed, isolating signal quality from peak-detection error.

SNR Gauss. Micro Gauss. Macro Wander Micro Wander Macro
Clean 0.8482 0.5609 0.8482 0.5609
24 dB 0.8456 0.5529 0.8480 0.5632
18 dB 0.8487 0.5638 0.8467 0.5569
12 dB 0.8409 0.5408 0.8435 0.5478
6 dB 0.8204 0.4872 0.8431 0.5413

Results. Degradation is graceful, never a collapse. Baseline wander is nearly absorbed (6 dB: Micro -0.5, Macro -2.0 pt) since median-filter baseline removal suppresses drift while morphology survives. Gaussian noise attacks morphology directly: accuracy is unchanged down to 12 dB and drops only at 6 dB (Micro -2.8, Macro -7.4 pt), concentrated on morphology-dependent classes (V 0.848 → 0.755) while the rhythm-anchored N stays stable (0.916 → 0.899). Noise also lowers confidence, so a fixed threshold routes degraded segments to rich evidence more often — the mechanism fails safe.

Supplement to W3: Cross-dataset evaluation

Setup. Four beat-annotated datasets with subject-disjoint splits (MIT-BIH, MIT-BIH-SUP, INCART, VitalDB), AAMI four-class space (VitalDB has no F). For each (source, target) pair the source-trained model is applied to the target's test split; nothing from the target is used for training, tuning, normalization, or threshold selection. For efficiency each pair uses a 10% sample of the target test set (fixed seed) for DeepArrhythmia with threshold-induced routing; the cheaper baselines use the same sample or the full split. DeepArrhythmia keeps its per-dataset checkpoint and routing policy; the 1D ResNet uses the source's normalization statistics; the SVM uses its source-fitted scaler. Diagonals reproduce Table 1, checking the protocol.

DeepArrhythmia (Micro-F1; diagonal = in-domain):

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.9521 0.9272 0.5540 0.5514
MIT-BIH-SUP 0.9351 0.9527 0.8711 0.6482
INCART 0.9243 0.8942 0.9791 0.6735
VitalDB 0.5835 0.0935 0.7214 0.9023

1D ResNet:

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.7596 0.8911 0.8635 0.6714
MIT-BIH-SUP 0.0743 0.8135 0.4786 0.5827
INCART 0.4199 0.6787 0.8693 0.5204
VitalDB 0.1012 0.0759 0.1299 0.7859

SVM:

Train \ Test MIT-BIH MIT-BIH-SUP INCART VitalDB
MIT-BIH 0.9366 0.8886 0.9384 0.6735
MIT-BIH-SUP 0.8827 0.9374 0.8624 0.6735
INCART 0.8825 0.8886 0.9845 0.6735
VitalDB 0.8827 0.4505 0.8624 0.7501

Transfer is strong from informative sources. Trained on MIT-BIH-SUP or INCART — the sources richest in arrhythmia — DeepArrhythmia transfers close to in-domain level (SUP → MIT-BIH 0.9351, → INCART 0.8711; INCART → MIT-BIH 0.9243, → SUP 0.8942). Averaged over these six transfers it reaches 0.824, above the SVM (0.811) and far above the ResNet (0.459), which fails from exactly these sources (SUP → MIT-BIH 0.0743). The SVM's figure is inflated by off-diagonal collapse to majority-class prediction (Macro-F1 0.649 → 0.294), whereas DeepArrhythmia keeps detecting abnormal beats.

The gap is concentrated on VitalDB. Transfers into and out of VitalDB account for essentially all degradation (MIT-BIH → VitalDB 0.5514; VitalDB → SUP 0.0935), expected given its different monitor, lead, sampling rate and population; all three methods suffer there. Over the twelve off-diagonal transfers DeepArrhythmia retains mean Micro-F1 0.698 vs 0.457 for the ResNet, so limited transfer reflects domain shift shared by all beat-level methods — and given an informative training distribution the framework generalizes well.

Reviewer 9zQP · CommentOpenReview ↗

response to authors

Thank you for the detailed response. I will raise my score as most of my concerns have been adequately addressed.

Reviewer M61LOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes DeepArrhythmia, a tool-grounded multimodal framework for beat-level ECG arrhythmia classification. The key idea is that beat-level arrhythmia classification should not be treated as isolated beat classification, because labels such as supraventricular ectopic beats and ventricular ectopic beats often require multi-beat rhythm context, compensatory pauses, and beat-to-beat morphology consistency.

DeepArrhythmia processes a 10-second ECG segment using both raw ECG signals and rendered ECG waveform images. It first uses a Peak Detector to localize R peaks and define beat anchors. Then, under a minimal evidence state, the model predicts beat-level labels using the signal, image, and detected beat anchors. If the segment-level confidence is below a dataset-specific threshold, the model selectively invokes additional tools: a Feature Extractor for numerical rhythm–morphology measurements and a Morphology Analyzer for textual morphology evidence. The final output is a structured peak-aligned sequence of beat labels under the AAMI label set {N, S, V, F}. The method is evaluated on MIT-BIH Arrhythmia, MIT-BIH Supraventricular, INCART, and VitalDB Arrhythmia datasets under subject-disjoint splits. The paper reports strong Macro-F1 and Micro-F1 performance compared with conventional machine learning methods, deep learning classifiers, general-purpose VLMs, ECG-oriented VLMs, and matched non-agentic fusion baselines.

Strengths and weaknesses
  1. Clinically meaningful problem formulation. This work addresses the central challenge of beat-level ECG arrhythmia classification under segment-level rhythm context. The paper correctly emphasizes that arrhythmia labels often depend on more than isolated beat morphology, especially for distinguishing VEB and SVEB.
  2. Clear motivation for segment-contextualized prediction. The introduction gives a convincing explanation of why local beat crops are insufficient. The discussion of premature beats, compensatory pauses, and contextual morphology is clinically intuitive and well aligned with real ECG interpretation.
  3. Useful tool-grounded design. The separation between physiological measurement and evidence integration is a strong design choice. The Peak Detector, Feature Extractor, and Morphology Analyzer provide structured intermediate evidence, making the model more auditable than a purely end-to-end black-box classifier.
  4. Adaptive evidence acquisition is practically relevant. The confidence-guided routing mechanism is appealing because additional physiological evidence is not always useful. The paper explicitly considers the trade-off between performance, computational cost, and the risk of noisy auxiliary evidence.
Questions
  1. How robust is DeepArrhythmia to R-peak detection errors? Can the authors report performance under artificially perturbed, missed, or extra R-peak anchors?
  2. How often does the routed model select the rich-evidence path on each dataset, and how does this correlate with segment difficulty, noise level, or arrhythmia class?
  3. How well calibrated are the confidence scores used for routing? Did the authors evaluate ECE, reliability diagrams, or calibration under domain shift?
  4. Since the Morphology Analyzer is trained with label-conditioned teacher distillation, how do the authors ensure that it provides morphology evidence rather than implicit label leakage?
  5. Would the method still outperform baselines if the Morphology Analyzer were removed entirely and only numerical features were used?
  6. How sensitive is performance to the selected routing threshold? Is there a wide plateau or a narrow optimum?
  7. Can the authors provide per-class F1, especially for S, V, and F classes, rather than only Macro-F1 and Micro-F1?
  8. What are the most common failure modes on fusion beats and supraventricular ectopic beats?
  9. How does DeepArrhythmia perform under cross-dataset evaluation, and what are the main reasons for the observed generalization gap?
  10. Is the system intended for offline Holter-style analysis, bedside monitoring, or real-time arrhythmia detection? The deployment scenario should be clarified.
Limitations
  1. The novelty is mostly system integration rather than a fundamentally new algorithm. The main components—peak detection, feature extraction, morphology analysis, multimodal fusion, and confidence routing—are individually familiar. The novelty lies in their integration. This is still useful, but the paper should avoid overstating the algorithmic contribution.
  2. The Morphology Analyzer depends on teacher distillation and may introduce hidden label priors. The Morphology Analyzer is trained using label-conditioned teacher distillation, even though it is used without labels at inference time. This raises concerns that the analyzer may inherit diagnostic priors from the teacher rather than only describing morphology.
  3. Fairness of comparisons with VLM baselines is imperfect. The authors append Peak Detector and Feature Extractor outputs to language-model baselines, but exclude the Morphology Analyzer because it is dataset-specific. This is reasonable, but it also means DeepArrhythmia has access to an additional trained evidence source that other VLM baselines do not. The comparison therefore mixes framework advantages with dataset-specific tool specialization.
  4. Routing policy is relatively simple. The confidence-guided routing is based on average beat-level max softmax probability. This is a pragmatic design, but confidence can be poorly calibrated, especially under domain shift, noisy recordings, rare rhythms, and different acquisition devices.
  5. Threshold selection may overfit dataset-specific validation behavior. The dataset-specific threshold is selected on a held-out route-induction split. While this is acceptable, the method may be sensitive to validation distribution and may not transfer well to new hospitals or devices.
Final justification

I maintain my score of 5.

The rebuttal successfully addressed most of my technical concerns. In particular, the authors provided additional evidence supporting the faithfulness of the Morphology Analyzer, clarified the fairness of comparisons with VLM baselines, and demonstrated the robustness of the confidence-guided routing mechanism. These responses increased my confidence in the correctness and practical value of the proposed framework.

However, my main reservation remains unchanged: the primary contribution is a well-designed integration of existing components (peak detection, feature extraction, morphology analysis, multimodal fusion, and confidence routing), rather than a fundamentally new algorithmic innovation. In addition, although cross-dataset analysis is provided, broader external validation remains limited.

Therefore, I believe the paper is technically solid and valuable as a system-oriented contribution, but the current evidence does not justify a stronger recommendation. I maintain my rating of 5.

Formatting concerns

The paper is generally well organized and technically clear.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

L1 — Novelty is mostly system integration.

We agree and have revised the framing. We do not claim a new primitive; our contribution is the reformulation of beat-level classification as segment-contextualized, peak-aligned prediction, plus the confidence-gated acquisition policy — the one new mechanism, deciding when evidence is worth acquiring rather than applying every tool uniformly. Language suggesting an algorithmic breakthrough has been removed.

L2 — The Morphology Analyzer may inherit priors from the label-conditioned teacher.

See Q4: distillation is split-safe (training subjects only), no label is given at inference, and the output is morphology text rather than a class token. The evidence-deletion test (Table 13) shows predictions depend causally on the cited cue (accuracy 92.5% → 1.9% when it is disrupted). And even if some prior were inherited, it is not carrying the result — removing the analyzer entirely still beats every baseline (Q5).

L3 — Fairness of comparison with VLM baselines.

Two existing controls address this in both directions. The matched non-agentic fusion baseline receives the full evidence set including morphology and still underperforms (Macro/Micro-F1 0.567/0.937 vs 0.593/0.950). Conversely, restricted to exactly the evidence the VLM baselines receive, DeepArrhythmia still exceeds all of them (0.5694 vs SVM 0.523, Gemini-3.1 0.410; Q5). The advantage therefore does not rest on dataset-specific tool specialization; we will make both controls more prominent.

L4 — The routing policy is simple and confidence may be poorly calibrated.

The simplicity is deliberate and competitive. Confidence is well calibrated in-domain (ECE 0.058/0.029/0.024/0.042; Q3), and against a stochastic entropy router and a learned router the simple threshold matches or exceeds both (Macro-F1 MIT-BIH 0.593 vs 0.592/0.586; INCART 0.629 vs 0.628/0.622; VitalDB 0.892 vs 0.886/0.894). Under noise it also fails safe: lower confidence means more evidence is acquired. We agree calibration need not transfer across devices, and note uncertainty-aware or conformal routing as the next step.

L5 — Threshold selection may overfit the validation distribution.

τ is selected on a held-out route-induction split from training subjects only and fixed before test-time evaluation, so it never sees the test distribution. More importantly its precision barely matters: over the entire operative range τ ∈ [0.98, 1.0], Micro-F1 varies by ≤1.4 points with no discontinuity (Q6), so a transferred or mis-set threshold costs a fraction of a point rather than failing. Validation across hospitals is not demonstrated here; label-free threshold setting (a fixed confidence percentile) and multi-center validation are future work.

Q1. How robust is DeepArrhythmia to R-peak detection errors (missed / mislocalized / extra anchors)?

We now cover all three detector failure modes. Missed (masking) and mislocalized (6–30-sample shift) were in Table 14; the revision adds extra/spurious peaks. Class-wise collateral ΔF1 (F1_clean − F1_stress):

Class Mask Mislocalize Extra
N 0.004 0.014 0.028
S 0.019 0.136 0.302
V 0.043 0.025 0.072
F 0.056 0.033 0.050

Degradation is graceful and concentrated on the timing-dependent S class; N stays stable. Spurious anchors (no ground-truth beat) are labelled N only 34.6% of the time and arrhythmic 63.4%, i.e., false detections are not robustly rejected — motivating tighter detector–classifier coupling.

Q2. How often is the rich-evidence path selected, and how does it correlate with difficulty, noise, or arrhythmia class?

Using each dataset's threshold (C_seg < τ_d):

Dataset Rich (all) Normal-only Abnormal
MIT-BIH 47.4% 32.2% 72.0%
MIT-BIH-SUP 43.4% 17.3% 70.0%
INCART 31.3% 9.1% 48.1%
VitalDB 17.1% 8.2% 27.4%

Class: arrhythmia-containing segments trigger the rich path 2.2–5.3× more than normal-only. Difficulty: rich concentrates on the lowest-confidence quartile, where the minimal model is least accurate (0.81–0.91 vs 0.97–1.00). Datasets: lowest on VitalDB, where rich evidence is least helpful — the router correctly acquires it least where it does not help. Noise: not routed directly, but noise lowers confidence, so the mechanism would acquire rich more often.

Q3. How well calibrated are the routing confidence scores (ECE / reliability / domain shift)?

The segment confidence (mean per-beat max-softmax) is well calibrated in-domain: ECE = 0.058 (MIT-BIH), 0.029 (SUP), 0.024 (INCART), 0.042 (VitalDB). Binned accuracy tracks confidence closely (mild mid-range under-confidence, slight over-confidence near 1.0), consistent with Fig. 6 (confidence vs Micro-F1). Under cross-dataset shift accuracy drops and calibration is not guaranteed to transfer, which is why we re-select the threshold per dataset rather than using a single global scale.

Q4. Since the Morphology Analyzer is trained with label-conditioned distillation, how do you ensure it gives morphology rather than implicit label leakage?

By design: distillation is split-safe (training subjects only, subject-disjoint from test); no ground-truth label at inference; the output is textual morphology (QRS width, P-wave, RR regularity), not a class token. Empirically, the faithfulness / evidence-deletion test (Table 13) rules out leakage: disrupting the exact cue an explanation cites collapses accuracy to 1.88% overall vs 92.50% for control perturbations of unrelated regions (QRS 1.9/96.2, P-wave 1.9/90.7, RR 1.9/90.6). Cardiologists also rate the label-free analyses as clinically valid morphology (Table 4).

Q5. Would the method still beat baselines with the Morphology Analyzer removed (numerical features only)?

Yes — this is the "w/o Morphology Analyzer" ablation (Table 2), retaining signal, image, peaks, and numerical features. On MIT-BIH it reaches Macro-F1 0.5694 / Micro-F1 0.9433, still above every external baseline (SVM 0.523/0.934; best deep xECG/TCN ≈0.44/0.89; best VLM Gemini 0.410/0.878). The Morphology Analyzer adds a further +2.4 Macro-F1 (→0.5929) — a complementary boost, not the source of the edge.

Q6. How sensitive is performance to the routing threshold — plateau or narrow optimum?

A wide plateau. Confidence concentrates near 1, so all routing occurs in τ ∈ [0.98, 1.0]; over this whole range Micro-F1 varies ≤1.4 pt: MIT-BIH 0.9498–0.9524, SUP 0.9509–0.9530, INCART 0.9746–0.9807, VitalDB 0.9116–0.9255. Endpoints reproduce the Minimal- and Rich-specialization rows of Table 1, with no discontinuity, so a mis-set threshold costs at most a fraction of a point rather than collapsing.

Q7. Can you provide per-class F1 for S, V, and F?

Reported per-dataset in Table 12 (with precision/recall and the SVM reference); DeepArrhythmia F1:

Dataset N S V F
MIT-BIH 0.974 0.392 0.940 0.066
MIT-BIH-SUP 0.981 0.673 0.804 –
INCART 0.991 0.812 0.937 0.099
VitalDB 0.940 0.853 0.783 –

("–": <5 beats.) V is robust (0.78–0.94); S is dataset-dependent (0.392–0.853); F is hardest (rarity + morphological heterogeneity).

Q8. What are the most common failure modes on fusion (F) and supraventricular (S) beats?

Both collapse toward N (Fig. 7). S→N: 1151/1833 (63%; 33% correct) — S preserves a near-normal QRS and is distinguished mainly by timing/P-wave, a subtle cue. F→N: 353/388 (91%; 5%→V) — a fusion beat is a normal⊕ventricular blend, so under uncertainty it collapses to the dominant N (occasionally its ventricular parent V). Errors are misses toward N, not confusion among abnormal classes — consistent with the class imbalance and these beats' reliance on context.

Q9. How does DeepArrhythmia perform cross-dataset, and what causes the generalization gap?

We report a full 4×4 matrix (Table 11): in-domain Micro-F1 0.95–0.98, strong transfer among MIT-BIH/SUP/INCART (e.g., SUP→INCART 0.871), the gap concentrated on VitalDB (MIT-BIH→VitalDB 0.551; VitalDB→SUP 0.094). Causes are acquisition/population shift, not the framework: differing sampling rates and leads (360 Hz MLII/V5 vs 257 Hz vs a different monitor), differing class priors, and VitalDB's markedly different acquisition. The gap is shared by all methods and DeepArrhythmia degrades least: over the 12 off-diagonal transfers its mean Micro-F1 is 0.70 vs 0.46 for the 1D ResNet, while the SVM collapses to majority-class off-diagonal (Macro-F1 0.65→0.29).

Q10. Is the system intended for offline Holter analysis, bedside monitoring, or real-time detection?

DeepArrhythmia targets offline / retrospective analysis and clinical decision support (Holter review, second-read of flagged segments), where beat-level accuracy and auditable interpretability matter; as an LLM-with-tools agent it is not intended for hard real-time on-device alarming (cost/latency in Table 3). Confidence-guided routing invokes the expensive tools only on low-confidence segments, keeping batch throughput efficient; at the bedside it is best used

Authors · CommentOpenReview ↗

Supplementary results for L5, Q3, and Q6

Supplement to L5: Threshold selection and transfer

Selection. Each τd\tau_d is selected on a held-out route-induction split D2\mathcal{D}_2 drawn from training subjects only and fixed before any test-time evaluation, so it never observes the test distribution. All selected values fall in a narrow band, τd∈[0.9809,0.9935]\tau_d \in [0.9809, 0.9935], inside the operative range [0.98,1.0][0.98, 1.0] swept in Q6.

Dataset Selected τd\tau_d Micro-F1 over τ∈[0.98,1.0]\tau \in [0.98,1.0] Worst-case loss
MIT-BIH 0.9905 0.9498–0.9524 ≤\leq 0.3 pt
MIT-BIH Supraventricular 0.9809 0.9509–0.9530 ≤\leq 0.2 pt
INCART 0.9935 0.9746–0.9807 ≤\leq 0.6 pt
VitalDB 0.9852 0.9116–0.9255 ≤\leq 1.4 pt

Robustness. Since every τd\tau_d lies inside the swept interval, any threshold in [0.98,1.0][0.98, 1.0] — including one selected on a different dataset — perturbs Micro-F1 by at most that dataset's own sweep span (last column). Cross-cohort transfer therefore incurs a sub-point cost rather than a failure mode, and the same bound limits the impact of residual mis-calibration.


Supplement to Q3: Calibration protocol and results

Protocol. Confidence is c=max⁡ypyc = \max_y p_y over the posterior on {N,S,V,F}\{\mathrm{N}, \mathrm{S}, \mathrm{V}, \mathrm{F}\} at the label-generation position, with y^=arg⁡max⁡ypy\hat{y} = \arg\max_y p_y; the routing score CsegC_{\mathrm{seg}} is the mean beat confidence. On the minimal-evidence predictions of each subject-disjoint test split we bin all beats into M=10M = 10 equal-width confidence bins and report

ECE=∑m=1M∣Bm∣N∣acc(Bm)−conf(Bm)∣,MCE=max⁡m: ∣Bm∣>0∣acc(Bm)−conf(Bm)∣,\mathrm{ECE} = \sum_{m=1}^{M} \frac{|B_m|}{N} \bigl|\mathrm{acc}(B_m) - \mathrm{conf}(B_m)\bigr|, \qquad \mathrm{MCE} = \max_{m:\, |B_m| > 0} \bigl|\mathrm{acc}(B_m) - \mathrm{conf}(B_m)\bigr|,

so that sample-weighted ECE reflects a typical beat while MCE reports the worst bin irrespective of size.

Dataset ECE MCE
MIT-BIH 0.058 0.121
MIT-BIH Supraventricular 0.029 0.117
INCART 0.024 0.155
VitalDB 0.042 0.164

Results. ECE is low throughout (0.0240.024–0.0580.058): the reliability curve tracks the diagonal at the high-confidence end, where the large majority of beats lie. The larger MCE (0.1170.117–0.1640.164) is driven by sparsely populated mid-confidence bins with mild over-confidence — benign for routing, which requires only that the score order segments by difficulty. This is confirmed by the monotone CsegC_{\mathrm{seg}}–Micro-F1 relationship (Fig. 6) and by rich evidence being acquired predominantly in the lowest-confidence quartile.


Supplement to Q6: Threshold-sensitivity protocol and results

Protocol. For each τ\tau we apply the paper's policy unchanged: a segment is answered from the minimal-evidence prediction if Cseg≥τC_{\mathrm{seg}} \geq \tau and from the rich-evidence prediction otherwise. The sweep thus traces the full policy family between the pure minimal (τ→0\tau \to 0) and pure rich (τ→1\tau \to 1) models, with endpoints recovering the Minimal- and Rich-specialization rows of Table 1 as verified (MIT-BIH 0.9179→0.95040.9179 \to 0.9504; VitalDB 0.9237→0.91160.9237 \to 0.9116). Since CsegC_{\mathrm{seg}} concentrates near 11, essentially no segment reroutes outside τ∈[0.98,1.0]\tau \in [0.98, 1.0], which we report as the operative range (identical beat set per dataset throughout).

Dataset Micro-F1 over τ∈[0.98,1.0]\tau \in [0.98,1.0] Span
MIT-BIH 0.9498–0.9524 0.3 pt
MIT-BIH Supraventricular 0.9509–0.9530 0.2 pt
INCART 0.9746–0.9807 0.6 pt
VitalDB 0.9116–0.9255 1.4 pt

Results. Micro-F1 varies by at most 1.41.4 points across the operative range, and the curves are smooth — a wide plateau rather than a narrow optimum — so a mis-specified or transferred threshold costs a fraction of a point rather than causing failure. The sweep further shows that the direction of benefit is dataset-dependent: rich evidence improves MIT-BIH, MIT-BIH Supraventricular and INCART as τ→1\tau \to 1 but degrades VitalDB, which peaks near the minimal-evidence end. No fixed acquisition policy is therefore optimal across datasets — motivating confidence-gated routing — while the flatness of each curve makes the policy insensitive to the exact threshold.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…