ECG-LLM -- training and evaluation of domain-specific large language models for electrocardiography
Ahrens, Lara, Haverkamp, Wilhelm, Strodthoff, Nils
–arXiv.org Artificial Intelligence
However, optimal adaptation strategies, evaluation methodologies, and performance relative to general-purpose LLMs remain poorly characterized. We investigated these questions in electrocardiography, an important area of cardiovascular medicine, by finetuning open-weight models on domain-specific literature and implementing a multi-layered evaluation framework comparing finetuned models, retrieval-augmented generation (RAG), and Claude Sonnet 3.7 as a representative general-purpose model. Finetuned Llama 3.1 70B achieved superior performance on multiple-choice evaluations and automatic text metrics, ranking second to Claude 3.7 in LLM-as-a-judge assessments. Human expert evaluation favored Claude 3.7 and RAG approaches for complex queries. Finetuned models significantly outperformed their base counterparts across nearly all evaluation modes. Our findings reveal substantial performance heterogeneity across evaluation methodologies, underscoring assessment complexity. Nevertheless, domain-specific adaptation through finetuning and RAG achieves competitive performance with proprietary models, supporting the viability of privacy-preserving, locally deployable clinical solutions.
arXiv.org Artificial Intelligence
Oct-22-2025
- Country:
- Asia > Middle East
- Jordan (0.04)
- Europe
- Germany
- Berlin (0.04)
- Lower Saxony > Oldenburg (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Germany
- North America
- Canada > Ontario
- Toronto (0.04)
- United States > Florida
- Miami-Dade County > Miami (0.04)
- Canada > Ontario
- Asia > Middle East
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Technology: