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