arXiv:2610.07711cs.CVOct 2026

Manuscript Offprint

arXiv:2610.07711

Comprehensive Evaluation and Fine-Tuning of Foundational Cell Nuclei Segmentation Models in Renal Pathology

Ruijie Wu, Junlin Guo, Ruining Deng, Yu Wang, Shilin Zhao, Haichun Yang, Yuankai Huo

ABSTRACT

Accurate nuclei instance segmentation is essential for quantitative renal pathology, yet general-purpose AI foundation models often struggle with renal tissue due to low contrast, densely packed nuclei, complex morphology, and strong background staining. Consequently, domain-specific fine-tuning is often necessary to bridge the gap between general-purpose segmentation capability and reliable performance in focused pathology applications. In our prior SPIE Medical Imaging studies, we demonstrated a substantial performance gap when applying multiple general-purpose cell segmentation foundation models to renal pathology. In our other study, we further showed that fine-tuning with well-segmented “Easy” cases and model-failure “Hard” cases could substantially improve segmentation performance. However, an important piece remained unresolved: whether annotating the much larger and more time-consuming set of intermediate-difficulty cases provides additional value beyond Easy and Hard examples. In this study, we complete this evaluation by introducing a “Medium”-difficulty cohort and systematically assessing its contribution to model adaptation. Specifically, we extended our human-in-the-loop framework by combining 5,901 foundation-model-generated pseudo-labels from well-segmented cases (Easy), 860 newly expert-annotated unresolved challenging cases (Medium), and 198 expert-annotated cases that were jointly identified as failures by the foundation models in our prior study (Hard). We additionally incorporated recently developed general-purpose cell segmentation models to evaluate the performance of current state-of-the-art approaches. Together, these annotations spanning multiple levels of segmentation difficulty enabled a systematic evaluation of seven single-source and mixed-source fine-tuning strategies across nine cell segmentation model configurations. The segmentation results demonstrate that annotations across different levels of segmentation difficulty can effectively support domain adaptation, while also revealing that the optimal composition of fine-tuning data remains model dependent. The code and resources used in this study are publicly available at https://github.com/hrlblab/AFM_kidney_cells/tree/main/stage4_paper.

Keywords: cell nuclei instance segmentation, renal pathology, foundation models, human-in-the-loop, fine-tuning, domain adaptation

1. INTRODUCTION

Renal pathology presents a particularly demanding setting for cell nuclei instance segmentation. Although general-purpose cell segmentation models have improved considerably, their performance remains inconsistent in kidney-specific regions that differ from the images used for pretraining, and architectural advances alone do not guarantee that difficult kidney nuclei will be adequately segmented. Samples with low contrast, unusual

Further author information: (Send correspondence to Yuankai Huo)

E-mail: yuankai.huo@vanderbilt.edu morphology, dense nuclear distributions, or strong background staining may remain unresolved even after applying newer models. 1−3^{1-3} These limitations motivate domain-specific adaptation of general-purpose segmentation models using kidney-specific supervision.

Our previous studies 1−3^{1-3} progressively identified this domain gap and explored two complementary directions for addressing it: human-in-the-loop data enrichment and advances in general-purpose cell segmentation models. In our prior study (2024), 1^{1} Cellpose, 4^{4} StarDist, 5^{5} and CellViT 6^{6} were evaluated on approximately 8,800 kidney pathology image patches; even the best-performing model, CellViT, adequately segmented 63.6% of images, leaving approximately 37% insufficiently resolved. In 2025, a human-in-the-loop data-enrichment strategy using scalable Easy pseudo-labels and 198 expert-annotated Hard cases improved all three models on kidney pathology instance segmentation. 2^{2} More recently, newly released models converted 1,301 of 2,091 previously challenging patches to Good-quality predictions, while 782 remained Medium and eight remained Bad; across the full evaluation set, 1,079 Medium-quality patches remained and formed the candidate pool for annotation. 3^{3} These remaining Medium cases represented a substantially larger unresolved cohort than the 198 previously annotated Hard cases. Unlike scalable Easy pseudo-labels and the relatively small set of consensus Hard failures, incorporating these Medium cases would require substantial additional expert annotation, while the benefit of this annotation effort remained unclear. Therefore, a key question arises: Does expert annotation of the remaining Medium-rated cases provide additional value beyond existing Easy pseudo-labels and Hard expert annotations, and is this benefit consistent across different segmentation models?

Motivated by this remaining gap, we extend our previous human-in-the-loop framework by introducing expert-annotated Medium cases, enabling a systematic evaluation across Easy, Medium, and Hard annotation sources. We use 5,901 foundation-model-generated pseudo-labels from well-segmented cases as Easy data and 198 prior expert-annotated consensus failure cases as Hard data. 2^{2} Pathology experts selected and annotated 860 challenging patches from a pool of 1,079 previously unresolved Medium-quality image patches (Fig. 1A). Together, these annotation sources were used to evaluate whether incorporating Medium annotations provides additional value beyond the previously established Easy + Hard fine-tuning strategy for kidney nuclei instance segmentation. 2,3^{2,3} We fine-tuned and evaluated nine cell segmentation model configurations released from 2022 to 2026, including Cellpose 3.0, Cellpose-SAM, Cellpose-DINO, StarDist, CellViT (HIPT and SAM), CellViT++ (Virchow), LSP-DETR, and PathoSAM 5−13^{5-13} (Fig. 1B). Each model was fine-tuned using seven single-source and mixed-source strategies across Easy, Medium, and Hard annotation sources, resulting in 63 fine-tuning experiments (Fig. 1C). The overall framework for this study is shown in Fig. 1.

The main contributions of our study are as follows:

• Expert annotation of previously unresolved Medium patches: We extend human-in-the-loop enrichment beyond Easy pseudo-labels and Hard failure cases by selecting and annotating Medium-quality patches that remained insufficiently segmented after successive model evaluations.

• Import recent cell nuclei segmentation models released in 2025–2026: We systematically evaluate nine cell segmentation model configurations under the same annotation enrichment framework and show that the optimal composition of Easy, Medium, and Hard annotations varies across models.

• Fine-tuning with different combinations of Easy, Medium and Hard datasets: We systematically evaluate Easy pseudo-labels, Medium annotations, and Hard expert annotations, both separately and in different combinations, to determine whether Medium annotations provide additional benefits when combined with large-scale pseudo-labels, challenging expert-labeled data, or both.