One-shot and Partially-Supervised Cell Image Segmentation Using Small Visual Prompt

Sota Kato, Kazuhiro HottaWorkshops @ CVPR 2023 · DOI

Introduction

Deep learning has significantly advanced medical and biological image analysis. However, semantic segmentation—the pixel-level labeling of images—remains a major bottleneck due to its high "data hunger." In biological contexts, annotating high-resolution microscopy images is an expensive, time-consuming task requiring specialized expertise.

This paper addresses this challenge by introducing a framework for segmenting microscopic cell images using extremely limited data. The authors propose two primary scenarios: one-shot segmentation, which utilizes a single labeled example, and partially-supervised segmentation, where only a small patch within an image is labeled. By leveraging domain-specific pre-training and a novel attention-based "visual prompt" mechanism, the proposed method achieves accuracy comparable to models trained on fully annotated datasets.

Methodology

The framework is built upon a two-pronged strategy designed to maximize the utility of minimal domain-specific data.

1. Domain-Specific Pre-training

Unlike traditional few-shot methods that rely on generic ImageNet weights, this approach pre-trains a U-Net architecture exclusively on diverse cell image datasets. This ensures the model develops an inherent understanding of the geometric and textural properties unique to biological structures, which differ significantly from natural objects.

2. The Visual Prompt and Attention Mechanism

The core innovation is the use of Visual Prompts. To segment a target image, the model receives a "prompt pair" consisting of a small image patch and its corresponding label.

Overview of the proposed framework for one-shot and partially-supervised segmentation.

As shown in the architecture, the model extracts features from both the target image and the prompt. An attention map then calculates the similarity between every pixel in the target image and the features identified in the prompt. This mechanism essentially allows the prompt to "teach" the model where similar structures (like cell membranes) exist in the new, unlabeled image.

Detailed architecture of the attention-based visual prompt mechanism.

3. Learning Strategies

  • One-shot: The model segments an entire dataset based on a single labeled training sample.
  • Partially-supervised: When only a small region of an image is labeled, the model uses that region as a prompt to generate "pseudo-labels" for the remainder of the image. A final network is then trained using these generated labels.

Experimental Setup and Datasets

The method was evaluated on three distinct microscopic datasets focusing on binary segmentation (e.g., membrane vs. background):

  • ISBI2012: 2D electron microscopy of neural tissue.
  • ssTEM: Serial sectioning transmission electron microscopy.
  • iRPE: Absorbance microscopy of human retinal pigment epithelial cells.

Key Insights and Results

The Fractal Advantage

A key observation of this research is the "fractal structure" of cell images. Because biological patterns repeat across an image, a small visual prompt contains sufficient structural information to identify similar features globally. This makes visual prompts significantly more effective for microscopy than text-based prompts, which struggle with abstract biological textures.

Performance Metrics

  • One-shot Success: On the ISBI2012 dataset, the method achieved a Dice Score Coefficient (DSC) of 81.25%, outperforming existing few-shot methods like OSLSM (78.67%).
  • Closing the Supervision Gap: In partially-supervised settings, the model reached a DSC within 1.00% of fully supervised models. For the ssTEM dataset, the partial-label model achieved 90.53% DSC, compared to 91.60% for the full-label version.
  • Impact of Pre-training: Utilizing domain-specific pre-training improved average DSC by 2.5% to 6.7% compared to using natural image weights.

Conclusion and Future Work

The proposed visual prompt framework demonstrates that high-quality cell segmentation is possible with minimal annotation. While currently limited to binary segmentation, the results suggest a powerful path forward for reducing the manual labor required in biological research. Future work will explore multi-class segmentation (distinguishing between organelles) and the potential for zero-shot learning, where models can segment entirely new cell types without additional training.

Summary updated

BibTeX
@inproceedings{kato2023one,
  author = {Sota Kato and Kazuhiro Hotta},
  title = {{One-shot and Partially-Supervised Cell Image Segmentation Using Small Visual Prompt}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
  doi = {10.1109/cvprw59228.2023.00452},
}
Figure