LEAP-LLM: Preserving lead-time structure for question-conditioned ECG interpretation
Aakash Agarwal, Yidan Shen, Xin Fu, Renjie Hu
Key points
From the paper's conclusion- Together, they provide the LLM with compact, question-relevant ECG information while preserving lead and temporal structure.
Abstract
The electrocardiogram (ECG) records cardiac electrical activity across multiple leads and is used for detecting cardiac abnormalities. Recent ECG-language models enable large language models (LLMs) to interpret cardiac signals and answer clinically relevant questions. However, existing ECG-language models typically encode the ECG independently of the clinical question, forcing the ECG representation to retain broad and potentially irrelevant signal information. Moreover, these models often aggregate information across leads which can obscure lead-specific details needed for a particular question. To tackle these limitations, we introduce LEAP-LLM, an ECG-LLM architecture for Lead-aware ECG Alignment with Prompt conditioning. LEAP-LLM uses the clinical question to guide ECG feature extraction while preserving explicit lead and temporal structure. Task-trained instruction representations distill information from the question and guide two complementary branches. The Lead branch captures question-relevant temporal patterns within each ECG lead, while the Temporal branch summarizes relevant information across leads at each temporal position. Together, they provide the LLM with compact, question-relevant ECG information while preserving lead and temporal structure. LEAP-LLM reduces modality-token count by 89.0% and prefill FLOPs by 7.2x on average relative to other ECG-LLMs baselines. Across four ECG benchmarks, LEAP-LLM achieves better performance, including a 3.4-percentage-point improvement in G12EC over the strongest prior ECG-specific method. We further show that the model adaptively emphasizes the clinically relevant anatomical lead groups for different cardiac abnormalities, with lead importance patterns consistent with established diagnostic knowledge, providing interpretable evidence that the predictions are supported by clinically meaningful ECG structure.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MedTimeQ: Query-guided fusion of time-series foundation models and LLMs for multi-lead ECG classificationarXiv · 2026
- Multimodal large language models demonstrate consistently low accuracy for 12-lead electrocardiogram interpretation: a 599-case benchmark studyEuropean Heart Journal · 2026
- LAF-ECG: Multi-Resolution Lead-Aware Fusion of Time-Series and Language Foundation Models for ECG ClassificationarXiv · 2026
- IECG: Weakly-Supervised Interpretability-Enhancing Foundation Model for ElectrocardiogramarXiv · 2026
- ECGQuest: Benchmarking and Fine-Tuning Language Models for ElectrocardiographyarXiv · 2026
- ECGJev: Question-Conditioned Option Scoring for 12-Lead ECG InterpretationarXiv · 2026