TL;DR
Reading a heart ultrasound is like looking through frosted glass—textures blur together, and pixel-level labels for rare structures barely exist. Instead of relying on fuzzy text prompts or manual bounding boxes, Echo-SAM teaches a foundation model basic human anatomy via a medical knowledge graph. By finding familiar heart chambers first and using spatial geometry to deduce where unseen structures must be, it boosts zero-shot segmentation accuracy by up to 50% over existing foundation models.
What Problem Does This Paper Address?
Echocardiography (heart ultrasound) is cheap, radiation-free, and essential for cardiology, yet notoriously noisy. Because pixel-by-pixel labeling requires scarce specialist time, public datasets mostly annotate the Left Ventricle (LV) while ignoring thinner, low-contrast structures like valves, septa, or the myocardium (heart muscle).
To segment these unannotated ("unseen") structures, researchers have turned to vision-language foundation models like SAM (Segment Anything Model) and its medical cousins. However, these models have two glaring blind spots in true zero-shot settings:
- Box-prompted models typically cheat during testing by using bounding boxes derived from ground-truth labels—information you obviously don't have in the wild.
- Text-prompted models treat anatomical terms as a flat bag of words. Knowing the text embedding for "mitral valve" doesn't help when all ultrasound tissue looks like grey static. Clinicians don't find ambiguous structures by texture alone; they use spatial topology—knowing, for instance, that the mitral valve must sit between the left atrium and left ventricle.
Methods
Built on top of SAM3 (with a ViT-L/14 backbone), Echo-SAM turns static textbook anatomy into dynamic, image-specific spatial reasoning.
Here is how the pipeline bridges clinical knowledge and pixels:
- Medical Knowledge Graph: The authors construct a graph from standard cardiology guidelines (15 structures, 42 edges). Nodes represent structures, while learnable edges represent typed spatial relations like adjacency, enclosure (surrounding), and separation.
- Knowledge-Grounded GNN Fusion: First, the model locates "seen" structures (those it was trained on) to act as anatomical anchors. A Graph Neural Network (GNN) passes messages from these visual anchors to unseen target nodes. This does two things: it enriches the text prompt fed into SAM's decoder, and it calculates relation relevance weights (deciding which neighbor relationships matter most in the current view).
- Topology-to-Geometry Mapping: Rather than outputting rigid pixel coordinates, Echo-SAM translates graph relations into geometric support proposals relative to the anchors: junction scores (for tissue bridges between anchors), annular scores (dilated rings around a central chamber), and partition scores (boundaries separating two chambers).
- Latent Geometry & Pseudo-Labels: Hearts vary in size and wall thickness. Echo-SAM models scale, thickness, and offset as latent random variables rather than fixed templates, averaging over them to score plausible locations. During training, high-scoring proposals act as pseudo-labels to supervise unseen structures without ever touching ground-truth labels.
Datasets
No new datasets were introduced; instead, the authors use five public echocardiography benchmarks to test cross-dataset, adult-to-pediatric, and zero-shot generalization:
- CardiacUDA: 314 apical four-chamber (A4C) videos. Used for zero-shot training using only Left Atrium (LA), Right Atrium (RA), and Right Ventricle (RV) labels.
- CAMUS: 500 patients (A4C and A2C views) with LV, LA, and Myocardium (Myo) labels.
- HMC-QU: 109 A4C frames focused on myocardial infarction (Myo labels).
- EchoNet-Dynamic: 10,030 adult A4C videos (LV labels).
- EchoNet-Pediatric: 7,643 pediatric videos across A4C and parasternal short-axis views (LV labels).
Key Insights and Ideas
- Topology beats texture in ultrasound: When oracle bounding boxes are removed in zero-shot testing, standard foundation models collapse because ultrasound textures are too ambiguous. Grounding unseen targets to visible neighbors solves the "where to look" problem.
- Graphs and geometry are mutually reinforcing: In ablation studies, using geometric support proposals alone jumped CAMUS Myo Dice scores from 13.51% (vanilla SAM3) to 47.35%. Adding GNN prompt fusion pushed it to 60.24%—proving that explicit spatial math and neural feature grounding complement each other.
- Visual updates matter more than text: Updating the knowledge graph during training with visual features from seen structures yielded much higher gains than updating with text descriptions alone, though combining both worked best.
Key Results
In the strict zero-shot protocol (trained on CardiacUDA LA/RA/RV; zero exposure to LV or Myo labels, and no ground-truth box prompts allowed):
- Unseen Left Ventricle (LV): Echo-SAM achieved 65.72% Dice on CardiacUDA (a +50.42% absolute jump over the next best baseline, MedSAM at 15.30%), 49.39% on CAMUS, 57.40% on EchoNet-Dynamic, and 58.99% on EchoNet-Pediatric (demonstrating strong adult-to-pediatric transfer).
- Unseen Myocardium (Myo): Despite Myo being a thin, low-contrast ring, Echo-SAM scored 60.24% Dice on CAMUS and 57.09% on HMC-QU, outperforming competing methods by over 42% while slashing boundary error (HD95) from >62 pixels down to 7.65 and 5.94 pixels.
- Fully Supervised Bonus: Even when trained normally on all labels, anatomical context helps—Echo-SAM beat specialized closed-set trackers and prompt models, hitting 95.41% Dice on CAMUS and 94.02% on EchoNet-Dynamic.
Limitations and Future Work
- View & Label Constraints: While the graph architecture is view-agnostic, quantitative evaluation was primarily restricted to the Apical Four-Chamber (A4C) view and major chambers/myocardium, simply because public datasets lack dense multi-structure annotations in other views.
- Dependency Bottleneck: Unseen structures can only get pseudo-label supervision if their connected anchor structures are visible and successfully localized first.
- Future Directions: The authors plan to incorporate temporal reasoning (tracking anatomy across video frames), model pathology-conditioned relations (accounting for how severe heart disease warps normal spatial anatomy), and expand evaluation across diverse ultrasound views.
Summary updated