AICLAug 21, 2025

DiagECG: An LLM-Driven Framework for Diagnostic Reasoning via Discretized ECG Tokenization

arXiv:2508.15338v11 citations
Originality Incremental advance
AI Analysis

This addresses the challenge of limited generalization and reasoning in automated cardiovascular diagnostics for medical applications, representing a novel integration approach rather than a fundamental breakthrough.

The researchers tackled the problem of automated electrocardiography analysis by developing DiagECG, a framework that enables large language models to process ECG signals for clinical text generation, achieving strong performance across tasks while maintaining generalization to out-of-distribution settings.

Electrocardiography plays a central role in cardiovascular diagnostics, yet existing automated approaches often struggle to generalize across clinical tasks and offer limited support for open-ended reasoning. We present DiagECG, a novel framework that integrates time-series and language modeling by enabling large language models to process 12-lead ECG signals for clinical text generation tasks. Our approach discretizes continuous ECG embeddings into symbolic tokens using a lead-independent encoder and quantization module. These tokens are then used to extend the vocabulary of LLM, allowing the model to handle both ECG and natural language inputs in a unified manner. To bridge the modality gap, we pretrain the model on an autoregressive ECG forecasting task, enabling the LLM to model temporal dynamics using its native language modeling capabilities. Finally, we perform instruction tuning on both ECG question answering and diagnostic report generation. Without modifying the core model, DiagECG achieves strong performance across tasks while maintaining generalization to out-of-distribution settings. Extensive experiments demonstrate the effectiveness of each component and highlight the potential of integrating symbolic ECG representations into LLMs for medical reasoning.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes