HEART: Hierarchical Expert Adaptive Refinement Transformer for ECG Representation Learning

Junho Song, Jong-Hwan Jang, Joon-Myoung Kwon, Yong-Yeon Jo
11/23/2026
cs.LGcs.AI
transformer-attentionmoe

No confident code implementation found for this paper.

Abstract

Learning robust representations from electrocardiograms (ECGs) is challenging because repeated cardiac cycles coexist with subtle and sparse diagnostic cues in local morphology and rhythm-level context. Existing ECG foundation models commonly rely on Transformerbased patch encoders with uniformly shared dense refinement pathways, limiting adaptive processing across heterogeneous ECG tokens.

Show full abstract

We propose HEART (Hierarchical Expert Adaptive Refinement Transformer), an ECG foundation model that introduces stage-specific conditional expert refinement during self-supervised pre-training. HEART places a local-level MoE over patch-level representations before temporal contextualization and a global-level MoE over context-integrated token representations after self-attention. Token-level Top-1 routing allows different patches or contextual tokens within the same ECG to follow different expert pathways. On public ECG benchmarks, HEART achieves strong performance under both linear probing and fine-tuning, with particularly large frozen-encoder gains on PTB-XL Form and Rhythm (+6.76 AUROC points each over the strongest protocol-reproduced baseline). Routing analyses provide qualitative evidence of complementary local and global expert specialization. We release our code and pretrained models at https://anonymous.4open.science/r/HEART-5E9F.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{song2026heart,
  title  = {HEART: Hierarchical Expert Adaptive Refinement Transformer for ECG Representation Learning},
  author = {Junho Song and Jong-Hwan Jang and Joon-Myoung Kwon and Yong-Yeon Jo},
  year   = {2026},
  eprint = {2611.30298},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.30298v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.30298.svg)](https://codeofpaper.com/paper/2611.30298)

Discussion