UniECG: Understanding and Generating ECG in One Unified Model
About
Electrocardiogram (ECG) interpretation is a fundamental skill in medical education, yet students often need more than static examples to connect waveform evidence with diagnostic reasoning. This paper presents UniECG as a step toward interactive ECG education. UniECG supports two complementary learning interactions: given an ECG signal or image, it generates an evidence-based explanation; given a textual learning objective, it generates a corresponding ECG signal example for case-based learning. The model follows a two-stage design. First, it learns grounded ECG explanation from ECG signal--image--text data. Second, it introduces special ECG generation tokens and aligns their hidden representations with a pretrained text-conditioned ECG diffusion model, enabling controllable signal-level ECG generation. We evaluate UniECG through grounded ECG explanation and generation-oriented qualitative analysis, examining its potential to support explanation and case-based learning. UniECG is intended as an educational aid and a research step toward interactive AI-assisted ECG learning, rather than a clinically validated diagnostic system.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Grounded ECG Interpretation | GEM (test) | Diagnosis Accuracy83.3 | 18 | |
| ECG Generation | MIMIC-ECG first 50,000 records IV (held-out) | FID79.43 | 2 |