An early evaluation of MedSigLIP in thyroid cytology: a comparative frozen-encoder benchmark against ImageNet-pretrained encoders
Authors:
Open Access
- 10 April 2026
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Endocrinology
- Vol. 17, 1800630
Abstract
Background: Fine-needle aspiration biopsy (FNAB) cytology is central to thyroid nodule evaluation, yet reliable differentiation across Bethesda categories remains challenging, particularly for the indeterminate Bethesda V (Suspicious for Malignancy) class. While transfer learning with ImageNet-pretrained models is a standard approach, it remains unclear whether emerging domain-specific medical foundation models offer superior performance compared to general purpose baselines in this specialized domain. Methods: We benchmarked four frozen visual encoders—ResNet50, EfficientNet-B0, ViT-Base (ImageNet pretrained), and MedSigLIP (medical image–text pretrained)—on the ThyroidEffi 1.0 dataset (N = 1,804), comprising Bethesda II (Benign), Bethesda V (Suspicious), and Bethesda VI (Malignant) cases. A unified evaluation protocol was employed using five-fold stratified cross-validation with a lightweight multilayer perceptron head. Performance was assessed using macro-F1, balanced accuracy, Expected Calibration Error (ECE), and McNemar’s test for statistical significance. Results: EfficientNet achieved the highest macro-F1 (0.845 ± 0.021), followed closely by MedSigLIP (0.836 ± 0.019), ResNet50 (0.829 ± 0.015), and ViT (0.817 ± 0.020). Pairwise statistical testing revealed that while EfficientNet significantly outperformed ViT (p < 0.05), the difference between EfficientNet and MedSigLIP was not statistically significant after multiple comparison correction. Notably, MedSigLIP demonstrated superior reliability attributes, achieving the highest recall for the challenging Suspicious class (0.808) and the best model calibration score (ECE = 0.025) compared to the general-purpose encoders (ECE: 0.044–0.082). Conclusions: While domain-specific medical pretraining (MedSigLIP) did not yield a statistically significant advantage in aggregate classification accuracy compared to the best ImageNet-based model (EfficientNet), it provided superior calibration and sensitivity for borderline cases. These findings suggest that in thyroid cytology clinical workflow support, encoder selection should be guided by a joint view of discrimination and safety—particularly calibration and Bethesda V sensitivity—rather than aggregate accuracy alone, enabling threshold-based triage and selective expert review. In particular, well-calibrated models such as MedSigLIP suggest a potential benefit in reducing overconfident misclassification in borderline Bethesda V cases, pending prospective validation in real-world triage workflows.Keywords
This publication has 29 references indexed in Scilit:
- A Comprehensive Framework for Uncertainty Quantification of Voxel‐Wise Supervised Deep Learning Models in IVIM MRINMR in Biomedicine, 2026
- Reliable leukemia detection via transfer-enhanced Bayesian CNNsComputers in Biology and Medicine, 2026
- Sonographic and pathologic features of malignant hot thyroid nodules: A multi-institutional studySurgery, 2025
- The impact of uncertainty estimation on radiomic segmentation reproducibility and scan–rescan repeatability in kidney MRIMedical Physics, 2025
- Subclassifying "Atypia of Undetermined Significance (AUS)" Category in the 2023 Bethesda System for Thyroid Cytopathology: Analyzing K-TIRADS, BRAF V600E Mutation, and Risk of MalignancyEndocrine Pathology, 2025
- Evaluating local thyroid cytopathology practices by molecular quality metrics: A multi‐institutional study on 4651 FNAs with a focus on the role of the interventional cytopathologistCancer Cytopathology, 2023
- Application of a machine learning algorithm to predict malignancy in thyroid cytopathologyCancer Cytopathology, 2020
- Trends in Thyroid Cancer Incidence and Mortality in the United States, 1974-2013JAMA, 2017
- An Introduction to the Bootstrap1993
- Note on the Sampling Error of the Difference Between Correlated Proportions or PercentagesPsychometrika, 1947