Adaptive expert routing at both local (patch) and global (context) levels enables ECG models to specialize in different cardiac patterns, delivering 6-7 point AUROC improvements on diagnostic tasks compared to uniform processing approaches.
HEART is an ECG foundation model that uses hierarchical mixture-of-experts layers to adaptively process different parts of electrocardiogram signals. Unlike standard transformers that treat all ECG patches uniformly, HEART routes different cardiac features through specialized expert pathways, achieving significant improvements on ECG classification benchmarks.