15 Oct 2026 · Paper notes · 5 min read

EnECG: one ECG, five tasks, and a mixture of experts

Instead of training one huge ECG model, EnECG freezes five existing models, adds small LoRA-tuned layers, and lets a gate decide which model to trust for each ECG.

Abstract

EnECG (accepted to AMIA 2025) targets hospitals with limited compute. It keeps five pretrained models frozen (TimesNet, DLinear, MOMENT, TEMPO, ECG-FM), attaches a small feed-forward output layer to each, tunes those with LoRA, and uses a Mixture of Experts gate to weight their outputs. On MIMIC-IV-ECG it beats the fine-tuned baselines on RR interval, age, potassium and arrhythmia, and ties the best on sex.

Video resources

Related ECG learning videos, embedded for playback on this page.

Why I picked this

Most ECG papers solve one task. This one asks a more practical question: can one system handle several tasks without retraining giant models every time?

The problem

Two things get in the way:

How it works

  1. Data. MIMIC-IV-ECG: 800,035 ECGs from 161,352 patients, 12 leads, 10 s at 500 Hz. Each run samples 10,000 patients, split 70/20/10, repeated three times.
  2. Five tasks. RR interval and age (regression), sex and potassium abnormality (binary, only 3% abnormal), and 15-label arrhythmia detection.
  3. Frozen experts. Each base model is frozen, gets a feed-forward output layer, and that layer is tuned with LoRA.
  4. Gate. A Mixture of Experts looks at a subset of leads and outputs weights. The final prediction is the weighted sum of the expert logits.

Results

Task (metric)Best fine-tuned baselineEnECG
RR interval (MAE, lower is better)141.5 (TEMPO)87.69
Age (MAE, lower is better)13.41 (MOMENT)12.97
Sex (F1)0.69 (MOMENT)0.69
Potassium abnormality (F1)0.50 (TEMPO)0.53
Arrhythmia, 15 classes (accuracy)0.66 (MOMENT)0.76

From the paper's Table 2. The RR gain is about 38% over TEMPO.

My reading notes

Zero-shot is useless here

Without fine-tuning, all five models are off by about 62 on age (Table 1). Fine-tuning is not optional.

Where EnECG does not win

On arrhythmia, a different ensemble method (the paper's "Tuning" baseline) scores 0.78 vs EnECG's 0.76. On sex it only ties MOMENT.

A speed claim to double-check

The paper says throughput above 10 samples per second means about 0.1 s per ECG, but that number sits in the training-efficiency figure. I would measure inference myself.

A question I have

The saliency maps for the RR task highlight the PR interval, ST segment and QRS. I would like to understand why.

Biggest lesson: different models are good at different ECG tasks, so a learned gate beats a fixed average.

What's next

Only 10,000 of 161,352 patients were used per run. The authors plan adaptive ensembles and dynamic expert selection. I would test the full dataset.

Paper: Xu et al., EnECG, arXiv 2511.22935.

Research interpretation

EnECG treats ECG analysis as a family of related tasks rather than one label-prediction problem. Specialist models can capture different signal characteristics; a gating network learns how to weight their outputs for a given task or input. Low-Rank Adaptation (LoRA) is used as a parameter-efficient adaptation strategy, limiting how much of each model needs to be updated.

Why this matters

Questions for a careful reading

Check the datasets and task definitions, external validation, per-task metrics, expert ablations, calibration, computational cost, and whether patient-level splits prevent leakage. The preprint's results are research evidence, not proof of clinical readiness.

Primary sources

💬 Comments

Share a thought. Your name and comment will be public. Please be kind and keep personal details private.

Loading comments…

Say hello ✉

Questions, feedback or just a kind word? Email contact@ranjeetpandey.xyz or send a message below.

Email directly
↑ Back to top