ECG-aBcDe: Overcoming model dependence, encoding ECG into a universal language for any large language model.

Journal: Computers in biology and medicine
Published Date:

Abstract

Large Language Models (LLMs) hold significant promise for electrocardiogram (ECG) analysis, yet challenges remain regarding transferability, time-scale information learning, and interpretability. Current methods suffer from model-specific ECG encoders, hindering transfer across LLMs. Furthermore, LLMs struggle to capture crucial time-scale information inherent in ECGs due to Transformer limitations. And their black-box nature limits clinical adoption. To address these limitations, we introduce ECG-aBcDe, a novel ECG encoding method that transforms ECG signals into a universal ECG language readily interpretable by any LLM. By constructing a hybrid dataset of ECG language and natural language, ECG-aBcDe enables direct fine-tuning of pre-trained LLMs without architectural modifications, achieving "construct once, use anywhere" capability. Moreover, the bidirectional convertibility between ECG and ECG language of ECG-aBcDe allows for extracting attention heatmaps from ECG signals, significantly enhancing interpretability. Finally, ECG-aBcDe explicitly represents time-scale information, mitigating Transformer limitations. This work presents a new paradigm for integrating ECG analysis with LLMs. Compared with existing methods, our approach achieves competitive Rouge-L and Meteor scores and significantly outperforms them on Bleu-4, reaching 42.58 and 30.76, which demonstrates the effectiveness and feasibility of the proposed paradigm. The proposed ECG-aBcDe method enhances the temporal modeling capability and interpretability of LLMs in ECG analysis, providing a robust foundation for future clinical decision support systems.

Authors

Keywords

No keywords available for this article.