CellSeg1: Robust Cell Segmentation with One Training Image
Peilin Zhou, Bo Du, Yongchao Xu
TL;DR
CellSeg1 tackles the annotation bottleneck in cell segmentation by harnessing the Segment Anything Model (SAM) with Low-Rank Adaptation (LoRA) to enable robust segmentation from a single, carefully annotated image. The method achieves an average $mAP_{0.5}$ of $0.81$ across 19 diverse datasets and demonstrates strong cross-dataset generalization, notably on TissueNet, while requiring only a few dozen annotations. A key finding is that annotation quality outweighs quantity, with densely packed, multi-scale cells in a single image sufficing for competitive performance. The approach emphasizes practical accessibility, achieving high performance on consumer hardware with a user-friendly GUI and a streamlined training/inference pipeline, offering a pragmatic alternative to universal, data-hungry segmentation models.
Abstract
Recent trends in cell segmentation have shifted towards universal models to handle diverse cell morphologies and imaging modalities. However, for continuously emerging cell types and imaging techniques, these models still require hundreds or thousands of annotated cells for fine-tuning. We introduce CellSeg1, a practical solution for segmenting cells of arbitrary morphology and modality with a few dozen cell annotations in 1 image. By adopting Low-Rank Adaptation of the Segment Anything Model (SAM), we achieve robust cell segmentation. Tested on 19 diverse cell datasets, CellSeg1 trained on 1 image achieved 0.81 average mAP at 0.5 IoU, performing comparably to existing models trained on over 500 images. It also demonstrated superior generalization in cross-dataset tests on TissueNet. We found that high-quality annotation of a few dozen densely packed cells of varied sizes is key to effective segmentation. CellSeg1 provides an efficient solution for cell segmentation with minimal annotation effort.
