Shape-Aware Meta-learning for Generalizing Prostate MRI Segmentation to Unseen Domains

Quande Liu, Qi Dou, Pheng-Ann Heng

Introduction

Deep learning models for medical imaging often encounter a "performance cliff" when deployed in new clinical environments. A model trained on data from one hospital may fail at another due to variations in MRI scanner manufacturers (e.g., Siemens vs. Philips) or imaging protocols—a phenomenon known as domain shift. While Domain Adaptation techniques exist, they typically require collecting and retuning data from the new site, which is often impractical in real-world clinical settings.

To address this, researchers have developed the Shape-aware Meta-learning (SAML) framework. Unlike standard approaches, SAML focuses on Domain Generalization (DG), aiming to train a model on a limited set of source domains so that it performs accurately on any unseen hospital data immediately. By integrating geometric priors—specifically shape compactness and boundary smoothness—the model learns to prioritize anatomical constants over site-specific imaging noise.

Methodology

The SAML framework utilizes three core strategies to ensure robust generalization:

  1. Gradient-based Meta-learning: The training process simulates domain shift by partitioning available data into "meta-train" and "meta-test" sets. The model is updated on the meta-train set, and the effectiveness of that update is evaluated on the unseen meta-test set. This meta-optimization loop encourages the model to learn features that are inherently robust across different environments.
  2. Shape Compactness Constraint ($L_{compact}$): To prevent the "fragmented" segmentations common in domain shift scenarios, the authors introduced a loss function based on the Iso-Perimetric Quotient. By penalizing jagged perimeters relative to area ($P^2/4\pi A$), the model is forced to produce solid, anatomically plausible "blobs."
  3. Shape Smoothness Enhancement ($L_{smooth}$): Using contrastive learning, the model generates mathematical signatures (embeddings) for prostate boundaries that remain consistent across scanners while staying distinct from the background. This allows the model to act as a "boundary specialist," resistant to varying contrast levels.
The SAML framework integrates gradient-based meta-learning with explicit shape compactness and smoothness constraints to improve generalization.

Experimental Setup

The study benchmarked SAML using T2-weighted MRI data from six diverse institutions (Sites A-F), including RUNMC, BMC, HCRUDB, UCL, BIDMC, and HK. These sites provided a rigorous test for generalization, featuring variations in magnetic field strength (1.5T vs. 3T), spatial resolution, and the presence or absence of endorectal coils.

Results and Discussion

SAML was evaluated using a "leave-one-domain-out" strategy. The method achieved a state-of-the-art average Dice score of 87.67%, outperforming established methods such as BigAug (86.21%) and MASF (86.55%). Furthermore, it significantly improved boundary precision, reducing the Average Surface Distance (ASD) to 1.58mm compared to the 2.18mm baseline.

Qualitative comparison showing that SAML (Ours) maintains smooth, anatomically correct prostate shapes compared to the fragmented or "leaky" results of baseline methods.

Qualitative analysis confirms that while baseline models often produce "leaky" or incomplete masks on unseen scanners, SAML maintains a consistent, smooth prostate geometry. Interestingly, the SAML model occasionally outperformed "Intra-site" models (trained only on local data), suggesting that exposure to a wide variety of constrained, shifted data is more beneficial than training on a small, perfectly matched dataset.

Conclusion

SAML demonstrates that anatomical geometry is a powerful prior for medical image segmentation. By embedding compactness and smoothness into the meta-learning loop, the framework successfully mitigates the impact of imaging variables. Future work may explore extending this 2D architecture to 3D to capture more spatial context and adapting the shape constraints for more complex, branching anatomical structures like vascular networks.

Summary updated

BibTeX
@inproceedings{liu2020shape,
  author = {Quande Liu and Qi Dou and Pheng-Ann Heng},
  title = {{Shape-Aware Meta-learning for Generalizing Prostate MRI Segmentation to Unseen Domains}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2020},
  url = {https://openreview.net/forum?id=4zltuztW2T},
}
Figure