Manuscript Offprint

arXiv:2611.02041

ECGJev: Question-Conditioned Option Scoring for 12-Lead ECG Interpretation

Zhuoyuan Li, Xidong Wu, Hanyu Cui, Jiansong Gao, Rongrong Fu, Mingke Yan, Haotian Tang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

Clinical interpretation of a 12-lead electrocardiogram (ECG) often requires answering targeted diagnostic questions with clear, quantifiable decisions. We introduce ECGJev, the first ECG framework built on a decision decoder, a pretrained language model trained to return a probability for every listed option. A question-conditioned bridge compresses frozen waveform and spectrogram features into 16 ECG tokens, and a two-stage procedure adapts the bridge and low-rank adapters on the decoder's native option readout using diagnostic labels alone, scoring all options for a question in one forward pass. Evaluated across four ECG benchmarks, ECGJev achieves the highest macro-F1 on CPSC2018 (80.46%), PTB-XL (71.68%) and Chapman (96.86%), and generalizes competitively to the small-sample PTB cohort. Concept probes and perturbation analyses further show that its predictions rely directly on the ECG input, remain stable under option-order and wording variations, and transfer zero-shot to unseen waveform concepts. Our code is available at https://github.com/zhuoyuanli-lab/ECGJev.

Index Terms— ECG interpretation, spectrogram images, question conditioning, decision models

1. INTRODUCTION

Interpreting a 12-lead electrocardiogram (ECG) relates beat timing, conduction intervals and wave morphology [1], motivating multiscale gating, lightweight and noise-routed models [2, 3, 4, 5] and foundation encoders [6, 7].

A spectrogram complements the waveform with local frequency content laid out for an image encoder; TSRNet [8] combined both views for anomaly detection, yet adapting them as the queried finding changes remains open.

Language offers a flexible way to specify that finding. While classification heads on foundation encoders [7, 9] score fixed label sets in one pass, they lock the output space and cannot interpret textual criteria or unseen queries; ECG-language encoders [10, 11] match global descriptions without question-specific token selection. Conversely, generative

ECG-LLMs [12, 13, 14, 15] accept open questions, but detour structured judgments through free-text generation—requiring post-hoc parsing while exposing predictions to vocabulary-wide competition and prompt biases.

We instead formulate direct option scoring via a pretrained decision model. StartLux-Decision [16] trains language models directly to output probability distributions over lettered options rather than free text, providing a typed decision primitive adaptable from diagnostic labels alone. Prior ECG models have not explored this paradigm. Passing hundreds of signal and spectral tokens to the decoder while isolating query-relevant evidence—e.g., RR regularity vs. conduction intervals—motivates conditioning compression on the query before option scoring [17].

ECGJev (Fig. 1) makes three contributions. (1) To our knowledge, it is the first ECG model built on a decision decoder: compressed ECG tokens enter a pretrained decision model whose native option readout is optimized directly from diagnostic labels, aligning training with inference. By decoupling displayed option letters from clinical option meanings under randomized option-order adaptation, it suppresses lexical token priors and position bias for unbiased diagnostic judgment. (2) We design a lightweight question-conditioned multimodal bridge that fuses frozen waveform and spectrogram features into 16 ECG tokens with low-rank decoder adapters (13.40M trainable parameters on CPSC2018) and no free-text supervision. (3) Across four benchmarks, ECGJev outperforms both foundation-encoder heads and generative ECG-LLMs on CPSC2018, PTB-XL and Chapman, delivering decisive option probabilities, option-order invariance, and zero-shot transfer to waveform concepts.

References (26)