Prompt-driven Universal Model for View-Agnostic Echocardiography Analysis

Sekeun Kim, Hui Ren, Peng Guo, Abder-Rahman Ali, Patrick Zhang, Kyungsang Kim, Xiang Li, Quanzheng LiarXiv 2024

Abstract

Echocardiography segmentation is a critical yet labor-intensive task in cardiology, complicated by the variety of standard ultrasound views. Traditional automated methods are view-specific, requiring multiple models for a comprehensive study. This paper introduces a prompt-driven universal model that performs view-agnostic analysis. By employing a dynamic prompt-matching mechanism and aligning medical-specific language embeddings with pixel data, the proposed method overcomes domain shifts between views. Experimental results across three standard views demonstrate that this approach outperforms existing universal models and rivals specialized view-specific architectures.

Introduction

Echocardiography is the primary modality for cardiac imaging, requiring sonographers to capture several standard views—such as Apical 4-Chamber (A4C), Apical 2-Chamber (A2C), and Parasternal Short-Axis (PSAX)—to assess heart health. Current AI segmentation tools are typically "specialists," trained for a single specific view. This necessitates manual view sorting or the deployment of multiple models, which is inefficient. Training a single "generalist" model often fails due to "domain shift," where the drastic visual differences between views confuse the model.

Methodology

The researchers propose a Prompt-driven Universal Model designed to handle multi-view data through two primary innovations:

1. Dynamic Prompt Matching

Instead of a static architecture, the model utilizes a "prompt pool" of learnable keys and values. A frozen vision backbone (based on the Segment Anything Model, or SAM) queries this pool for each input frame. By matching the input to the most relevant view-specific prompts, the model dynamically adapts its internal parameters to the specific view being analyzed.

2. Pixel-Text Dense Alignment

Recognizing that general-purpose vision-language models like CLIP lack medical specificity, the authors utilize ClinicalBERT to generate text embeddings (e.g., "An echocardiography of the left ventricle"). These embeddings are aligned with image pixels to create "score maps," providing a powerful anatomical prior that guides the segmentation process.

Architecture of the proposed prompt-driven universal model, highlighting the prompt matching and pixel-text alignment components.

Experimental Setup

The model was evaluated on three major public datasets totaling nearly 15,000 scans:

  • CAMUS: Provides A2C and A4C views.
  • EchoNet-Pediatric: Includes A4C and PSAX views.
  • EchoNet-Dynamic: A large-scale dataset of A4C views.

Results and Discussion

The performance was measured using the Dice Similarity Coefficient (DSC). The universal model not only outperformed existing state-of-the-art (SOTA) universal methods like DoDNet and UniSeg but also achieved results comparable to or better than specialized view-specific models.

Quantitative comparison of the proposed method against view-specific and view-integrated baselines across different datasets and views.

Key Findings

  • Cross-View Learning: The universal model often exceeded the performance of models trained on only one view. For instance, on the CAMUS dataset, it achieved a DSC of 93.7%, suggesting that learning features across different views provides beneficial "cross-pollination" of geometric information.
  • Importance of Medical Language: Ablation studies revealed that removing the text-encoder path led to a significant performance drop (from 89.6% to 85.6% mean DSC), underscoring the value of medical-specific language priors over standard one-hot encoding.
  • Implicit View Recognition: The prompt-matching system effectively serves as an internal view classifier, allowing the model to recognize and adapt to the view without an explicit, separate classification step in the pipeline.

Conclusion

This work presents a significant step toward automated, view-agnostic echocardiography analysis. By integrating dynamic prompt matching and medical language alignment, the model streamlines clinical workflows and maintains high accuracy across diverse ultrasound views. While challenges remain in distinguishing nearly identical views like A2C and A4C, the approach offers a scalable path toward comprehensive, automated cardiac assessment.

Summary updated

BibTeX
@misc{kim2024prompt,
  author = {Sekeun Kim and Hui Ren and Peng Guo and Abder-Rahman Ali and Patrick Zhang and Kyungsang Kim and Xiang Li and Quanzheng Li},
  title = {{Prompt-driven Universal Model for View-Agnostic Echocardiography Analysis}},
  year = {2024},
  eprint = {2404.05916},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.05916},
}
Figure