Challenges in Deep Learning-Based Small Organ Segmentation: A Benchmarking Perspective for Medical Research with Limited Datasets

Phongsakon Mark Konrad, Andrei-Alexandru Popa, Yaser Sabzehmeidani, Liang Zhong, Elisa A. Liehn, Serkan AyvazarXiv 2025 · OpenReview

TL;DR

Benchmarking deep learning models for medical image segmentation on small datasets is surprisingly unstable, with model rankings shifting dramatically based on data splits and evaluation protocols. This study shows that "state-of-the-art" claims can be misleading, and that foundation models offer more robust generalization, especially under distribution shift, but task-specific architectures can catch up with sufficient data.

What Problem Does This Paper Address?

Accurate segmentation of small organs, like carotid artery structures in histopathology images, is crucial for understanding cardiovascular diseases. However, medical research often deals with very limited datasets. The standard practice of benchmarking deep learning models to find the "best" one is problematic in these low-data scenarios. This paper investigates how unstable these benchmarks are, questioning whether current rankings truly reflect clinical utility and exploring the impact of various factors like data splits, augmentation, and model architecture on these rankings.

Methods

The authors conducted a comprehensive benchmarking study of ten deep learning segmentation models, including classical CNNs, modern CNNs, a Vision Transformer, and foundation models. They employed rigorous hyperparameter optimization using Bayesian methods and evaluated models using multiple cross-validation strategies (Leave-One-Out and 3-Fold). Crucially, they performed extensive ablation studies to quantify the impact of data augmentation, random seeds, and input resolution on model performance and rankings. They also introduced a multi-modal Explainable AI (XAI) framework to analyze model behavior beyond simple performance metrics. To assess generalization, they used a separate, out-of-distribution dataset and analyzed model performance across varying sample sizes.

Datasets

  • Primary Dataset (DS1): Nine high-resolution histological images of injured carotid arteries from mice. This dataset was intentionally small (N=9) to reflect real-world clinical research scenarios.
  • Generalization Dataset (DS2): 153 TIF images from a separate cohort of mice, with different tissue preparations and magnifications, representing a genuine out-of-distribution challenge. This dataset was used for evaluating generalization and in-distribution learning curves.

Key Insights and Ideas

  • Benchmark instability is the norm, not the exception: Model rankings are highly sensitive to data splits, cross-validation protocols, and even hyperparameter choices. This means declaring a "best" model based on a single benchmark can be misleading.
  • Foundation models offer robustness, but not always superiority: While foundation models (like SAM and MedSAM) generally maintain performance under distribution shift and with limited data, task-specific architectures can achieve comparable or even better results when trained on sufficient in-distribution data.
  • Pre-training diversity matters for generalization: Foundation models' advantage seems to stem from their diverse pre-training, which imbues them with robustness to domain shifts, rather than inherent architectural superiority.
  • Low-data regimes amplify variance: The small sample sizes common in medical research exacerbate the impact of various sources of variance, including data augmentation, random seeds, and hyperparameter tuning.
  • Uncertainty-aware evaluation is crucial: Simple performance metrics can be deceptive. Analyzing model uncertainty, especially at tissue boundaries, provides a more reliable indicator of true generalization capability.

Key Results

  • Under Leave-One-Out Cross-Validation (LOOCV) on DS1, MedSAM emerged as the top performer with a Macro Dice Score (DSC) of 0.694, followed by SegFormer (0.576).
  • Classical architectures (FCN, SegNet) performed poorly, achieving DSC scores below 0.15.
  • Despite rigorous optimization, model rankings showed substantial instability, with confidence intervals for top models overlapping significantly.
  • On the out-of-distribution DS2 dataset, foundation models maintained performance, while classical architectures failed to generalize.
  • In-distribution training on DS2 showed that DeepLabV3+ and UNet led at small sample sizes (N=9), a different hierarchy than observed on DS1.
  • Rankings stabilized only when at least 50-100 samples were used for training.
  • SegFormer demonstrated a strong performance-efficiency trade-off, achieving competitive results with significantly fewer parameters.
  • Boundary-sensitive metrics (HD95, ASSD) revealed that SegFormer achieved the best boundary accuracy, highlighting the importance of considering multiple evaluation dimensions.

Limitations and Future Work

  • Single Random Seed: The study used a single random seed for reproducibility, which doesn't capture variance from different random initializations. However, the authors argue that the small dataset size introduces substantial variance through data splits themselves, even with controlled randomness.
  • Hyperparameter Transferability: The DS2 experiments reused hyperparameters optimized on DS1, which might favor architectures with better hyperparameter transferability rather than pure architectural capacity. This reflects a realistic deployment scenario but could influence rankings.
  • Future Work: The authors advocate for uncertainty-aware evaluation in low-data clinical research. They also suggest that practitioners should prioritize robustness under distribution shift, evaluate models across varying sample sizes, use independent test sets for domain-specific validation, and conduct cross-dataset validation, as rankings are not universally transferable.

Summary updated

Abstract

Accurate segmentation of carotid artery structures in histopathological images is vital for cardiovascular disease research. This study systematically evaluates ten deep learning segmentation models including classical architectures, modern CNNs, a Vision Transformer, and foundation models, on a limited dataset of nine cardiovascular histology images. We conducted ablation studies on data augmentation, input resolution, and random seed stability to quantify sources of variance. Evaluation on an independent generalization dataset ($N=153$) under distribution shift reveals that foundation models maintain performance while classical architectures fail, and that rankings change substantially between in-distribution and out-of-distribution settings. Training on the second dataset at varying sample sizes reveals dataset-specific ranking hierarchies confirming that model rankings are not generalizable across datasets. Despite rigorous Bayesian hyperparameter optimization, model performance remains highly sensitive to data splits. The bootstrap analysis reveals substantially overlapping confidence intervals among top models, with differences driven more by statistical noise than algorithmic superiority. This instability exposes limitations of standard benchmarking in low-data clinical settings and challenges assumptions that performance rankings reflect clinical utility. We advocate for uncertainty-aware evaluation in low-data clinical research scenarios from two perspectives. First, the scenario is not niche and is rather widely spread; and second, it enables pursuing or discontinuing research tracks with limited datasets from incipient stages of observations.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Carotid artery histopathological segmentation (9-image dataset)MedSAM+UNetDice (Macro)0.710Medical Image Segmentation · selection=best single run from 1,000-run hyperparameter sweep · dataset-size=9 images
Source quote
L333: Dice (Macro) │ \textcolor{transformercolor}{MedSAM+UNet} │ 0.710 │ 0.000 │ 0.710
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
Carotid artery histopathological segmentation (9-image dataset)SegFormer baselineMacro-Dice score0.821Medical Image Segmentation · evaluation=LOOCV · dataset-size=9 images
Source quote
L393: SegFormer │ 0.821 │ {[0.764, 0.869]} │ 0.780 │ {[0.656, 0.854]}
Carotid artery histopathological segmentation (9-image dataset)DeepLabV3+ baselineMacro-Dice score0.796Medical Image Segmentation · evaluation=LOOCV · dataset-size=9 images
Source quote
L392: DeepLabV3+ │ 0.796 │ {[0.752, 0.836]} │ 0.785 │ {[0.708, 0.837]}
BibTeX
@misc{konrad2025challenges,
  author = {Phongsakon Mark Konrad and Andrei-Alexandru Popa and Yaser Sabzehmeidani and Liang Zhong and Elisa A. Liehn and Serkan Ayvaz},
  title = {{Challenges in Deep Learning-Based Small Organ Segmentation: A Benchmarking Perspective for Medical Research with Limited Datasets}},
  year = {2025},
  eprint = {2509.05892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.05892},
}
Figure