Papers › MEIT: Multi-Modal Electrocardiogram Instruction Tuning on Large Language Models for...

MEIT: Multi-Modal Electrocardiogram Instruction Tuning on Large Language Models for Report Generation

7 Mar 2024arXiv:2403.04945archive 2025-07-28

Zhongwei Wan, Che Liu, Xin Wang, Chaofan Tao, Hui Shen, Zhenwu Peng, Jie Fu, Rossella Arcucci, Huaxiu Yao, Mi Zhang

Electrocardiogram (ECG) is the primary non-invasive diagnostic tool for monitoring cardiac conditions and is crucial in assisting clinicians. Recent studies have concentrated on classifying cardiac conditions using ECG data but have overlooked ECG report generation, which is time-consuming and requires clinical expertise. To automate ECG report generation and ensure its versatility, we propose the Multimodal ECG Instruction Tuning (MEIT) framework, the first attempt to tackle ECG report generation with LLMs and multimodal instructions. To facilitate future research, we establish a benchmark to evaluate MEIT with various LLMs backbones across two large-scale ECG datasets. Our approach uniquely aligns the representations of the ECG signal and the report, and we conduct extensive experiments to benchmark MEIT with nine open-source LLMs using more than 800,000 ECG reports. MEIT's results underscore the superior performance of instruction-tuned LLMs, showcasing their proficiency in quality report generation, zero-shot capabilities, and resilience to signal perturbation. These findings emphasize the efficacy of our MEIT framework and its potential for real-world clinical application.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.04945")

Code

Syntology Ran 13 of 17 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

aiot-mlsys-lab/meit officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 13 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
2ran · fixture could not drive it
9ran
4unverified

Licence: 17 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from aiot-mlsys-lab/meit. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

repeat_kv aiot-mlsys-lab/meit/ECG_LLMs/modeling_ecg_llama.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 3c76e52815c5401d · report
apply_rotary_pos_emb aiot-mlsys-lab/meit/ECG_LLMs/modeling_ecg_llama.py official repository ran · fixture could not drive it no licence file found · pointer only · 0fe82a947dc39b42 · report
build_alibi_tensor aiot-mlsys-lab/meit/ECG_LLMs/models/modeling_ecg_bloom.py official repository ran no licence file found · pointer only · 006ce061f56fa6b5 · report
create_sinusoidal_positions aiot-mlsys-lab/meit/ECG_LLMs/models/modeling_ecg_gpt_j.py official repository ran fingerprinted no licence file found · pointer only · dd26c6cbc300bf99 · report
dropout_add aiot-mlsys-lab/meit/ECG_LLMs/models/modeling_ecg_bloom.py official repository ran no licence file found · pointer only · 5eff112fe5b7811c · report
encode_with_messages_format aiot-mlsys-lab/meit/ECG_LLMs/ds_configs/finetune_ecgllm_with_lora_mimic.py official repository ran no licence file found · pointer only · 70e6efcabc56da63 · report
encode_with_prompt_completion_format aiot-mlsys-lab/meit/ECG_LLMs/finetune_ecgllm_with_lora_mimic_without_IT.py official repository ran · our draft was wrong no licence file found · pointer only · 88b8bf1223d522a4 · report
format_func aiot-mlsys-lab/meit/ECG_LLMs/draw_figures/plot_loss.py official repository ran no licence file found · pointer only · 2eb0fa9c56686ed4 · report
get_embed_positions aiot-mlsys-lab/meit/ECG_LLMs/models/modeling_ecg_gpt_j.py official repository ran no licence file found · pointer only · 9e9cdbf9e14e72cd · report
get_reference_reports_val_set aiot-mlsys-lab/meit/ECG_LLMs/eval_metrics.py official repository ran no licence file found · pointer only · c588bbb6dcb102c3 · report
get_state_dict aiot-mlsys-lab/meit/ECG_LLMs/finetune_ecgllm_with_lora_mimic_without_IT.py official repository ran no licence file found · pointer only · df542a35e1c20625 · report
rotate_every_two aiot-mlsys-lab/meit/ECG_LLMs/models/modeling_ecg_gpt_j.py official repository ran fingerprinted no licence file found · pointer only · be7c0ed30787664f · report
rotate_half aiot-mlsys-lab/meit/ECG_LLMs/modeling_ecg_llama.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · e03d53ba9d4f9ae5 · report
bloom_gelu_forward aiot-mlsys-lab/meit/ECG_LLMs/models/modeling_ecg_bloom.py official repository unverified no licence file found · pointer only · bb7fe7f66a1d9f08 · report
encode_with_messages_format aiot-mlsys-lab/meit/ECG_LLMs/finetune_ecgllm_with_lora_mimic_without_IT.py official repository unverified no licence file found · pointer only · 0965c5d99ff0f81d · report
encode_with_messages_format aiot-mlsys-lab/meit/ECG_LLMs/finetune_ecgllm_with_lora_ptbxl.py official repository unverified no licence file found · pointer only · 10deefcbaed6584f · report
get_meteor_score aiot-mlsys-lab/meit/ECG_LLMs/eval_metrics.py official repository unverified no licence file found · pointer only · 1c2dfbdd38bfe7a1 · report

Tasks

Diagnostic

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections