LAF-ECG: Multi-Resolution Lead-Aware Fusion of Time-Series and Language Foundation Models for ECG Classification

Kiana Taktehrani, Maryam Hosseini, Amir Keynia, Aram Montazami, Arash Mohammadi
11/22/2026
cs.LG

Official code: kkianamm/LAF-ECG (1 star, Python, last commit 2026-10-06).

Abstract

Automated electrocardiogram (ECG) interpretation has advanced substantially with deep learning, yet many methods remain task-specific and label-dependent. Large language models (LLMs) and time-series foundation models (TSFMs) offer complementary pretrained representations, but integrating them is challenging because of mismatched feature spaces and the lead- and scale-dependent structure of ECG signals.

Show full abstract

We propose LAF-ECG (Lead-Aware Foundation Fusion for ECG), a dual-foundation framework that extends MedTsLLM with a lead-aware interface to a frozen TSFM backbone while retaining its reprogramming pathway. The proposed framework captures multi-resolution temporal context, fuses temporal and language-aligned ECG representations through adaptive residual integration, and employs branch-specific supervision with cross-branch alignment. LAF-ECG achieves 71.10% accuracy and 62.43% macro-F1 on PTB-XL, and 89.73% accuracy and 65.94% macro-F1 on Chapman-Shaoxing, outperforming MedTsLLM on both datasets. These results highlight the value of preserving lead-specific temporal structure when combining temporal and language foundation representations for ECG classification. The code is publicly available at https://github.com/kkianamm/LAF-ECG.

View on arXivView PDF

Code Implementations(1)

kkianamm/LAF-ECGOfficial100%
10PythonAug 20, 20261 months ago

Similar Papers

Cite this paper

@article{taktehrani2026lafecg,
  title  = {LAF-ECG: Multi-Resolution Lead-Aware Fusion of Time-Series and Language Foundation Models for ECG Classification},
  author = {Kiana Taktehrani and Maryam Hosseini and Amir Keynia and Aram Montazami and Arash Mohammadi},
  year   = {2026},
  eprint = {2611.29721},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.29721v1}
}

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.29721.svg)](https://codeofpaper.com/paper/2611.29721)

Discussion