Related Experiment Videos
Zero-shot classification of ECG signals using CLIP-based models
Navmeet Jassal1, Konstantin Egorov2, Semen Budennyy3
1Department of Computer Science, National Research University Higher School of Economics, Saint Petersburg, 190121, Russia. navmeetjassal@gmail.com.
Abstract:
In this study, we present a comprehensive evaluation of Contrastive Language-Image Pre-training (CLIP) for zero-shot electrocardiogram (ECG) classification across multiple datasets and diagnostic classes. Traditional ECG classification models require significant labeled training data for every diagnostic class, limiting their adaptability to new or unseen classes. To address this limitation, we trained and evaluated 24 CLIP-based models, composed of one image encoder (CNN Base, CNN V2, CNN V3, RNN, ISIBrno) and one text encoder (BioBERT, Bio+ClinicalBERT, bert-case-uncased) on 27 seen classes on three datasets (PTB-XL, Ningbo, and Gerogia) and evaluated zero-shot classification performance on 11 unseen classes. We investigate the impact of training dataset size, encoder architectures, and pretraining effects on both in-distribution and out-of-distribution generalization performance. Our experiments included internal evaluation (Experiment A) and external validation on two independent datasets (SPH and CODE-15%, Experiment B). The top-performing models achieves a macro-averaged ROC-AUC of 0.70 for zero-shot out-of-distribution classification, 0.70 for zero-shot in-distribution classification, and 0.83 for out-of-distribution classification with classic training. These results demonstrate that CLIP-based models can meaningfully classify ECG conditions beyond the scope of their training, offering a flexible alternative to current ECG diagnostic systems where clinical needs are constantly evolving.
Related Concept Videos
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Clipper Circuit
The operation of a clipper circuit can be exemplified by analyzing a dual-clipper configuration setup that integrates two ideal diodes, each paired with a biasing...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin to...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...