Few-Shot Medical Image Segmentation via a Region-Enhanced Prototypical Transformer

Yazhou Zhu, Shidong Wang, Tong Xin, Haofeng Zhang

TL;DR

The Region-enhanced Prototypical Transformer (RPT) tackles the challenge of segmenting medical images when only a handful of annotated examples are available. By breaking down organ "prototypes" into smaller regional pieces and using a specialized transformer to filter out noise, RPT significantly outperforms previous methods in handling the natural variability of human anatomy across different patients.

What Problem Does This Paper Address?

Deep learning has revolutionized medical image segmentation (identifying organs or tumors in scans), but it usually requires thousands of hand-annotated images—a "luxury" that is expensive and time-consuming to obtain. Few-Shot Medical Image Segmentation (FSMS) aims to learn from just one or two examples.

However, FSMS faces a major hurdle: intra-class diversity. A liver in one patient might look very different from a liver in another due to different scanning protocols, disease states (like lesions), or simple anatomical variation. Standard methods use a single "global prototype" (an average feature vector) to represent an organ, but this average is often too "blurry" or biased to capture the specific details needed for accurate segmentation in a new patient.

Methods

The authors introduce the Region-enhanced Prototypical Transformer (RPT), which moves away from a "one-size-fits-all" prototype. Its architecture consists of three main innovations:

  1. Regional Prototype Generation (RPG): Instead of one global average for an organ, the model uses Voronoi-based partitioning to subdivide the organ into several smaller regions (e.g., 10 regions). This allows the model to capture local textures and shapes more precisely.
  2. Bias-alleviated Transformer (BaT) Blocks: These blocks are the "brain" of the system. They use a Search and Filter (S&F) mechanism to compare the support regions to the query image. If a specific region in the support image (like a diseased area) doesn't match the query, the filter "weeds it out" using a learnable threshold.
  3. Iterative Refinement: By stacking multiple BaT blocks, the model iteratively cleans and updates these prototypes, eventually producing a rectified global prototype that is much more accurate for the specific query image at hand.

The model uses a ResNet-101 backbone (pretrained on MS-COCO) and a hybrid loss function combining Binary Cross-Entropy, Dice loss, and Boundary loss to ensure the segmentation edges are sharp.

Datasets

The researchers evaluated RPT on three diverse, publicly available medical datasets:

  • Abd-MRI: Abdominal MRI scans (focusing on liver, spleen, and kidneys).
  • Abd-CT: Abdominal CT scans (same organs as above).
  • Card-MRI: Cardiac MRI scans (focusing on heart ventricles and myocardium).

They tested the model under two settings: Setting 1 (where test classes might have appeared in the background during training) and Setting 2 (a stricter "unseen" test where training images containing test classes were completely removed).

Key Insights and Ideas

  • Local is Better than Global: The "aha moment" here is that medical organs are too complex for a single feature vector. By breaking the organ into regions, the model can find "compatible" parts between two different patients even if the overall shapes differ.
  • Self-Selection is Key: Not all information in a support image is helpful. The "Search and Filter" mechanism acts like a smart editor, discarding biased or noisy information (like a lesion present in the support but not the query) before making a prediction.
  • Backbone Matters: Interestingly, the authors found that a ResNet-101 backbone pretrained on general images (MS-COCO) performed better than a ResNet-50 pretrained on ImageNet, likely due to the deeper architecture's ability to capture more complex spatial features.

Key Results

RPT achieved state-of-the-art (SOTA) results across the board:

  • Significant Accuracy Gains: On the Abd-CT dataset (Setting 1), RPT achieved a Mean Dice score of 77.83%, which is 3.31% higher than the previous best method (AAS-DCL).
  • Robustness: In the more difficult Setting 2, RPT maintained a high performance (e.g., 79.04% on Abd-MRI), proving it generalizes well to entirely new organ types.
  • Qualitative Superiority: Visual results show that RPT produces much cleaner boundaries and fewer "false positive" spots compared to previous models like PANet or ADNet.

Limitations and Future Work

While the paper demonstrates strong results, a few areas remain for exploration:

  • Computational Complexity: The paper mentions stacking three BaT blocks for optimal results, but it doesn't deeply analyze the trade-off between this iterative processing and real-time inference speed in a clinical setting.
  • 3D vs. 2D: The model processes 2D slices. While it uses 3D supervoxels for supervision, extending the transformer architecture to natively handle full 3D volumes could potentially capture even more anatomical context.
  • Extreme Cases: The performance on very small or highly irregular structures (like specific small lesions) wasn't the primary focus and might require further tuning of the regional subdivision strategy.

Summary updated

BibTeX
@inproceedings{zhu2023few,
  author = {Yazhou Zhu and Shidong Wang and Tong Xin and Haofeng Zhang},
  title = {{Few-Shot Medical Image Segmentation via a Region-Enhanced Prototypical Transformer}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  doi = {10.1007/978-3-031-43901-8\_26},
}
Figure