CAMEL: An ECG Language Model for Forecasting Cardiac Events

Neelay Velingker1, Alaia Solko-Breslin1, Mayank Keoliya1

  • 1University of Pennsylvania.

Arxiv
|March 11, 2026
PubMed

Insights

We introduce CAMEL, a novel ECG language model capable of forecasting future cardiac events by analyzing longer ECG signal durations. This breakthrough enables earlier intervention for cardiovascular conditions.

Area of Science:

  • Cardiology
  • Artificial Intelligence
  • Biomedical Engineering

Background:

  • Electrocardiograms (ECG) are vital for diagnosing heart conditions.
  • ECG language models (ELMs) show promise for ECG classification and report generation.
  • Current ELMs lack the ability to predict future cardiac events.

Purpose of the Study:

  • To develop the first ECG language model (ELM) with forecasting capabilities.
  • To enable prediction of future cardiac events for proactive intervention.
  • To introduce CAMEL, an ELM designed for longer ECG signal analysis.

Main Methods:

  • Developed CAMEL, an ELM featuring a specialized ECG encoder for cross-modal signal-text understanding.
  • Employed LoRA adaptation and a curriculum learning pipeline for training.
  • Included ECG classification, metrics calculation, and conversational reasoning in the training curriculum.

Main Results:

  • CAMEL achieved strong zero-shot performance across 6 tasks and 9 datasets.
  • Introduced ECGForecastBench, a new benchmark for arrhythmia forecasting.
  • CAMEL outperformed existing ELMs and fully supervised models on ECGBench and ECGForecastBench.

Conclusions:

  • CAMEL is the first ELM capable of forecasting future cardiac events.
  • The specialized ECG encoder facilitates cross-understanding of ECG signals and text.
  • CAMEL sets a new state-of-the-art in ECG analysis and prediction.

Related Concept Videos

Electrocardiogram01:29

Electrocardiogram

An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
7.3K
Correlation between ECG and Cardiac Cycle01:25

Correlation between ECG and Cardiac Cycle

The electrical signals recorded on an electrocardiogram (ECG) occur before the mechanical processes of contraction and relaxation during the 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...
14.0K
Electrocardiogram Fundamentals01:28

Electrocardiogram Fundamentals

Introduction
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...
1.8K
ECG Interpretation of Rhythms01:24

ECG Interpretation of Rhythms

An electrocardiogram (ECG)graphically represents the heart's electrical activity on ECG paper or a monitor.
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
16.8K