ECG-RAMBA: Zero-Shot ECG Generalization by Morphology-Rhythm Disentanglement and Long-Range Modeling
Hai Duong Nguyen, Xuan-The Tran

TL;DR
ECG-RAMBA introduces a novel framework that disentangles morphology and rhythm in ECG signals, enhancing zero-shot generalization across datasets through context-aware fusion and long-range modeling.
Contribution
The paper presents ECG-RAMBA, a new approach that separates and combines ECG morphology and rhythm features, improving cross-dataset robustness without test-time adaptation.
Findings
Achieves macro ROC-AUC of approximately 0.85 on Chapman--Shaoxing dataset.
Attains PR-AUC of 0.708 for atrial fibrillation detection on CPSC-2021 in zero-shot transfer.
Demonstrates consistent cross-dataset performance and robustness to distribution shifts.
Abstract
Deep learning has achieved strong performance for electrocardiogram (ECG) classification within individual datasets, yet dependable generalization across heterogeneous acquisition settings remains a major obstacle to clinical deployment and longitudinal monitoring. A key limitation of many model architectures is the implicit entanglement of morphological waveform patterns and rhythm dynamics, which can promote shortcut learning and amplify sensitivity to distribution shifts. We propose ECG-RAMBA, a framework that separates morphology and rhythm and then re-integrates them through context-aware fusion. ECG-RAMBA combines: (i) deterministic morphological features extracted by MiniRocket, (ii) global rhythm descriptors computed from heart-rate variability (HRV), and (iii) long-range contextual modeling via a bi-directional Mamba backbone. To improve sensitivity to transient abnormalities…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsECG Monitoring and Analysis · Atrial Fibrillation Management and Outcomes · Cardiac electrophysiology and arrhythmias
