Retrieval-Augmented Generation for Electrocardiogram-Language Models
On the map: Retrieval-augmented generation → Medical and biomedical RAG
Abstract (arXiv)
Interest in generative Electrocardiogram-Language Models (ELMs) is growing, as they can produce textual responses conditioned on ECG signals and textual queries. Unlike traditional classifiers that output label probabilities, ELMs are more versatile, supporting domain-specific tasks (e.g., waveform analysis, diagnosis, prognosis) as well as general tasks (e.g., open-ended questions, dialogue). Retrieval-Augmented Generation (RAG), widely used in Large Language Models (LLMs) to ground LLM outputs in retrieved knowledge, helps reduce hallucinations and improve natural language generation (NLG). However, despite its promise, no open-source implementation or systematic study of RAG pipeline design for ELMs currently exists. To address this gap, we present the first open-source RAG pipeline for ELMs, along with baselines and ablation studies for NLG. Experiments on three public datasets show that ELMs with RAG consistently improves performance over non-RAG baselines and highlights key ELM design considerations. Our code is available at: https://github.com/willxxy/ECG-Bench.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Medical and biomedical RAG, one of 15 directions in Retrieval-augmented generation. Builds on 16 of its 21 references that are in the map. First posted on arXiv 30 Sep 2025.
Builds on
16 of 21 references.
References · 16
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Visual Instruction Tuningcited by 7,792
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2024The Faiss librarycited by 370
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 200
- 2023ECG-QA: A Comprehensive Question Answering Dataset Combined With Electrocardiogramcited by 52
- 2024ECG-Chat: A Large ECG-Language Model for Cardiac Disease Diagnosiscited by 37
- 2023Transfer Knowledge from Natural Language to Electrocardiography: Can We Detect Cardiovascular Disease Through Language Models?cited by 21
4 more
- 2025Q-Heart: ECG Question Answering via Knowledge-Informed Multimodal LLMscited by 11
- 2024ECG-Byte: A Tokenizer for End-to-End Generative Electrocardiogram Language Modelingcited by 9
- 2025Emulating Retrieval Augmented Generation via Prompt Engineering for Enhanced Long Context Comprehension in LLMscited by 9
- 2025Signal, Image, or Symbolic: Exploring the Best Input Representation for Electrocardiogram-Language Models Through a Unified Frameworkcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026ELF: A Family of Encoder-Free ECG-Language Modelscited by 0
- 2026Large language models in medical time series analysiscited by 0
- 2026Large language models in medical time series analysis7 Sep 2026
- 2026ELF: A Family of Encoder-Free ECG-Language Models5 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025ALFRED: Ask a Large-language model For Reliable ECG Diagnosis
- 2025ECG-LLM -- training and evaluation of domain-specific large language models for electrocardiography
- 2024Electrocardiogram Report Generation and Question Answering via Retrieval-Augmented Self-Supervised Modeling
- 2024Development and Testing of Retrieval Augmented Generation in Large Language Models -- A Case Study Report
- 2026ECGQuest: Benchmarking and Fine-Tuning Language Models for Electrocardiography
- 2025Retrieval-Augmented Generation in Medicine: A Scoping Review of Technical Implementations, Clinical Applications, and Ethical Considerations
- 2025HeartLLM: Discretized ECG Tokenization for LLM-Based Diagnostic Reasoning
- 2026Pursuing Best Industrial Practices for Retrieval-Augmented Generation in the Medical Domain