Abstract
The development of robust artificial intelligence models for echocardiography has been limited by the availability of annotated clinical data. Here, to address this challenge and improve the performance of cardiac imaging models, we developed EchoCLIP, a vision-language foundation model for echocardiography, that learns the relationship between cardiac ultrasound images and the interpretations of expert cardiologists across a wide range of patients and indications for imaging. After training on 1,032,975 cardiac ultrasound videos and corresponding expert text, EchoCLIP performs well on a diverse range of benchmarks for cardiac image interpretation, despite not having been explicitly trained for individual interpretation tasks. EchoCLIP can assess cardiac function (mean absolute error of 7.1% when predicting left ventricular ejection fraction in an external validation dataset) and identify implanted intracardiac devices (area under the curve (AUC) of 0.84, 0.92 and 0.97 for pacemakers, percutaneous mitral valve repair and artificial aortic valves, respectively). We also developed a long-context variant (EchoCLIP-R) using a custom tokenizer based on common echocardiography concepts. EchoCLIP-R accurately identified unique patients across multiple videos (AUC of 0.86), identified clinical transitions such as heart transplants (AUC of 0.79) and cardiac surgery (AUC 0.77) and enabled robust image-to-text search (mean cross-modal retrieval rank in the top 1% of candidate text reports). These capabilities represent a substantial step toward understanding and applying foundation models in cardiovascular imaging for preliminary interpretation of echocardiographic findings.
Introduction
Echocardiography is the primary non-invasive tool for evaluating cardiac health. However, traditional AI development for this modality requires extensive, task-specific expert labeling—a process that is both costly and time-consuming. While vision-language foundation models like CLIP have transformed general computer vision, their application to the complex, motion-heavy domain of cardiac ultrasound has remained a challenge due to the specialized nature of the data.
EchoCLIP addresses this by learning directly from over one million echocardiogram videos and their corresponding expert clinical reports. This approach enables a versatile, general-purpose model capable of performing diverse clinical tasks without explicit task-specific training.
Methods: Contrastive Learning and Domain-Specific Tokenization
EchoCLIP utilizes a self-supervised contrastive learning framework consisting of a ConvNeXt-Base image encoder and a decoder-only transformer text encoder. The model is trained to align visual features from ultrasound frames with semantic information in cardiologist reports.
A significant challenge in medical NLP is the length and repetitive nature of clinical reports, which often exceed the context limits of standard tokenizers. To overcome this, the researchers developed EchoCLIP-R, which employs a custom "template tokenizer." By using regular expressions to compress common cardiovascular concepts (e.g., "Moderate left ventricular hypertrophy") into single tokens, report lengths were reduced by approximately 9x. This allows the model to process entire clinical narratives, facilitating complex tasks like cross-modal retrieval and patient trajectory tracking.
Results
Despite no task-specific fine-tuning, EchoCLIP demonstrates strong performance across several critical diagnostic benchmarks.
Zero-Shot Cardiac Assessment
The model accurately predicts Left Ventricular Ejection Fraction (LVEF), a key metric of heart function. On an external validation dataset from Stanford Healthcare (EchoNet-Dynamic), EchoCLIP achieved a Mean Absolute Error (MAE) of 7.1%, comparable to models trained specifically for LVEF regression.
Device Identification and Patient Tracking
EchoCLIP excels at identifying implanted cardiac devices. It achieved high Area Under the Curve (AUC) scores for detecting MitraClips (0.97), TAVR valves (0.92), and pacemakers (0.84). Furthermore, the model's embeddings are sensitive enough to track patient health over time; it can identify unique patients across different studies (AUC 0.86) and detect major clinical transitions, such as heart transplants or surgeries, by measuring shifts in embedding similarity.
Discussion and Future Directions
While EchoCLIP represents a major advancement, it currently relies on individual frames rather than full video sequences, potentially missing temporal dynamics. It is also limited to the apical-four-chamber view. Future iterations aim to incorporate multi-view data and full video encoders to further enhance diagnostic accuracy and enable automated report generation.
Summary updated