Echo-Path: Pathology-Conditioned Echo Video Generation

Kabir Hamzah Muhammad, Marawan Elbatel, Yi Qin, Xiaomeng Li

TL;DR

Echo-Path is a novel generative framework that synthesizes highly realistic echocardiogram (ultrasound) videos conditioned on specific cardiac pathologies, such as Atrial Septal Defect (ASD) and Pulmonary Arterial Hypertension (PAH). By using these AI-generated videos to augment limited real-world datasets, the framework improves the diagnostic accuracy of downstream AI classifiers by 7% to 8%, offering a powerful solution to data scarcity and privacy constraints in medical imaging.

What Problem Does This Paper Address?

Echocardiography (echo) is the cornerstone of cardiac imaging due to its non-invasive, real-time nature. However, training deep learning models to automatically detect cardiac abnormalities requires massive amounts of well-labeled data. For rare or congenital conditions—like Atrial Septal Defect (ASD, a hole in the heart's wall) or Pulmonary Arterial Hypertension (PAH)—high-quality data is incredibly scarce. Compounding this issue are strict patient privacy regulations that prevent easy data sharing between institutions.

While generative models like Diffusion Models have recently been used to synthesize realistic echo videos, prior methods typically condition generation on continuous metrics (like ejection fraction) or require dense annotations (like segmentation masks). They fail to explicitly model discrete, complex structural and motion abnormalities characteristic of specific diseases. Echo-Path fills this gap by generating video sequences directly controlled by disease class labels.

Methods

Echo-Path introduces a multi-stage, pathology-conditioned latent diffusion pipeline designed to control both anatomical structure and cardiac motion dynamics.

Fig. 1. Schematic of the Echo-Path class-conditioned video generation framework. Green arrows denote training flows and red arrows indicate the inference pipeline.

The pipeline consists of the following core components:

  1. Latent Space Projection: To maximize computational efficiency, all video frames are first compressed into a low-dimensional latent space using a pre-trained Variational Autoencoder (VAE).
  2. Latent Image Diffusion Model (LIDM): A 2D diffusion model generates a single, highly detailed representative initial frame ($z_{heart}$) of the heart. This generation is conditioned on specific pathology labels (e.g., ASD, PAH, or their healthy counterparts) via cross-attention mechanisms.
  3. Privacy Filtering: The generated initial frame passes through a re-identification (ReId) model to ensure it does not closely mirror any real patient data from the training set, preserving patient anonymity.
  4. Latent Video Diffusion Model (LVDM): Taking the privacy-compliant initial frame and the pathology label as inputs, the LVDM generates a coherent 64-frame video sequence in the latent space, capturing disease-specific motion patterns (such as right ventricular dilation).
  5. Autoregressive Sampling: Standard video diffusion models are constrained to fixed lengths. To generate long-form, temporally smooth videos spanning multiple heartbeats, Echo-Path implements a blockwise autoregressive strategy, where each new video block is conditioned on the final frame of the preceding block.

Datasets

The authors validated Echo-Path using two benchmark echocardiography datasets:

  • Cardiac-ASD: Contains 207 apical-4-chamber (A4C) view videos labeled as ASD vs. Non-ASD.
  • Cardiac-PAH: Contains 448 videos labeled as PAH vs. Non-PAH.

All video studies were converted to 2D frame sequences, resampled to 32 frames per second, and resized to $112 \times 112$ pixels.

Key Insights and Ideas

  • Clinical Marker Fidelity: Rather than just creating visually appealing textures, the diffusion model successfully learns to manifest actual clinical markers of disease. For instance, synthetic ASD videos show an enlarged right atrium and a visible septal defect, while PAH videos display a bowed interventricular septum.
  • Classifier-Free Guidance (CFG) for Pathology: By adjusting the guidance scale ($w$) during inference, the authors demonstrated that stronger guidance ($w=5$) steers the model to emphasize subtle, disease-specific structural and motion cues, which are vital for training downstream diagnostic models.
  • Data Augmentation over Model Complexity: A simple ResNet classifier trained on a mix of real and Echo-Path-augmented data can outperform highly complex, specialized architectures (like CardiacNet) trained purely on limited real data. This highlights that solving data scarcity at the source can be more effective than engineering more complex model architectures.

Key Results

The authors evaluated Echo-Path both on the visual quality of the videos and their utility in training AI classifiers.

Video Quality

Echo-Path achieved significantly lower Fréchet Video Distance ($\text{FVD}_{16}$) scores compared to the state-of-the-art EchoNet-Synthetic ("Echosyn") baseline, indicating superior temporal coherence and realism. For PAH under strong guidance, Echo-Path lowered the FVD by 7.6% (143.42 vs. 155.26).

Fig. 2. Example frames from class-conditioned synthetic echo videos (ASD and PAH).

Diagnostic Performance Boost

When synthetic videos were used to augment the real training datasets, the classification performance on real, unseen test data improved dramatically:

  • ASD Detection: Accuracy jumped from 84.8% (baseline) to 91.8% with Echo-Path augmentation, even beating the specialized CardiacNet model (89.6%).
  • PAH Detection: Accuracy increased from 78.3% to 86.3%.
Fig. 3. Classification results on real test data when training on synthetic videos with real validation set (orig val) and with synthetic validation set (synth val). We compare classifiers trained on EchoNet-Synthetic vs. Echo-Path generated data.

Limitations and Future Work

Despite the impressive performance gains, the authors noted a persistent domain gap between synthetic and real data, particularly for complex conditions like PAH. Classifiers trained purely on synthetic PAH data struggled to generalize perfectly to real-world severe cases, suggesting that the generative model may still miss subtle variations in cardiac geometry.

Additionally, the current framework is limited to a single echocardiographic view (apical-4-chamber) and evaluates only two conditions. Future work will focus on scaling the framework to support multi-view echocardiograms and a broader spectrum of cardiovascular diseases.

Summary updated

BibTeX
@inproceedings{muhammad2025echo,
  author = {Kabir Hamzah Muhammad and Marawan Elbatel and Yi Qin and Xiaomeng Li},
  title = {{Echo-Path: Pathology-Conditioned Echo Video Generation}},
  booktitle = {AMAI @ MICCAI},
  year = {2025},
  doi = {10.1007/978-3-032-09569-5\_27},
}
Figure