Semi-supervised TEE Segmentation via Interacting with SAM Equipped with Noise-Resilient Prompting

Sen Deng, Yidan Feng, Haoneng Lin, Yiting Fan, Alex Pui-Wai Lee, Xiaowei Hu, Jing Qin

Introduction

Segmenting the Left Atrial Appendage (LAA) from Transesophageal Echocardiogram (TEE) images is a critical step in clinical procedures such as LAA occlusion, which is used to prevent strokes in patients with atrial fibrillation. However, LAA segmentation is notoriously difficult due to a "triple threat" of challenges: poor image quality characterized by speckle noise and acoustic shadows, high anatomical variability between patients, and a severe scarcity of expert-annotated data.

While Semi-Supervised Learning (SSL) offers a path forward by utilizing large amounts of unlabeled data, traditional SSL models often fall into a "distribution mismatch" trap. When the initial small labeled set is not perfectly representative of the broader population, the model develops an internal bias. This leads to the generation of inaccurate pseudo-labels for unlabeled data, creating a self-reinforcing cycle of error.

Methodology

To overcome these limitations, we propose a framework that introduces the Segment Anything Model (SAM)—a large-scale foundation model—into a Teacher-Student SSL architecture. SAM acts as an "external expert" with broad geometric knowledge that is independent of the specific biases present in small TEE training sets.

SAM-Powered Pseudo Label Generator (PLG)

Instead of relying solely on the Teacher model to generate pseudo-labels, our system facilitates an interaction between the Teacher and SAM. This ensures that the generated labels benefit from SAM's robust zero-shot segmentation capabilities, effectively regularizing the learning process.

Self-Reconstruction and Noise-Resilient Prompting

Because SAM was trained primarily on natural images, it often struggles with the heavy speckle noise found in ultrasound. We address this through two key innovations:

  1. Self-Reconstruction Mechanism (SRM): An inner loop learns to reconstruct a "cleaner" version of the noisy TEE image, helping the model identify clearer anatomical boundaries.
  2. Noise-Resilient Prompting: SAM requires prompts (points or boxes) to function. To ensure reliability, our system identifies high-confidence points that appear consistently in both the original noisy image and the reconstructed "clean" view.
Figure 1: Illustration of the noise-resilient prompting mechanism, showing high-confidence points (stars) used to guide SAM despite image noise.

Self-Perturbation for Feature-Level Augmentation (SPFA)

To further enhance robustness, we inject features from the noisy input into the features of the reconstructed image during training. This forces the Student model to learn features that are invariant to noise, leading to more stable segmentations in real-world clinical scenarios.

Experimental Results

The framework was evaluated on an in-house TEE dataset of 100 patients. Experiments were conducted using labeled data ratios of 20% and 50% to simulate data-scarce environments.

Our method consistently outperformed state-of-the-art (SOTA) semi-supervised models (such as ST++, UM, and UCMT) across all metrics. With only 20% labeled data, the model achieved a Dice score of 0.8604, significantly higher than the 0.8453 achieved by the next best model. Furthermore, the Average Surface Distance (ASD) was reduced to 1.65, indicating much tighter and more anatomically accurate boundaries.

Figure 4: Qualitative and quantitative comparison. (a) shows the Teacher model's output, (b) shows SAM with our prompting, and the bar chart (bottom right) highlights the Dice score improvements over the baseline.

Qualitative analysis confirms that our approach produces fewer outliers and better captures the complex, "hook-like" anatomy of the LAA compared to vanilla SSL approaches, which often struggle with artifacts and speckle noise.

Conclusion

By leveraging foundation models like SAM as external experts and integrating noise-resilient prompting, we have developed a robust framework for semi-supervised medical image segmentation. This approach effectively mitigates distribution bias and handles the inherent noise of ultrasound imaging. Future work will focus on extending this strategy to 3D volumetric TEE data and validating the model across multi-center datasets to ensure universal generalizability.

Summary updated

BibTeX
@inproceedings{deng2024semi,
  author = {Sen Deng and Yidan Feng and Haoneng Lin and Yiting Fan and Alex Pui-Wai Lee and Xiaowei Hu and Jing Qin},
  title = {{Semi-supervised TEE Segmentation via Interacting with SAM Equipped with Noise-Resilient Prompting}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.29060},
}
Figure