Promptable segmentation foundation models transfer well across segmentation tasks, but their usefulness as image-level diagnostic representations remains unclear. We evaluate whether SAM2/Hiera-based encoders can serve as frozen embeddings for skin-lesion classification. The original SAM2 encoder and a medically fine-tuned MedSAM2 encoder are compared with DINOv2 across multiple dermatology datasets using a common frozen-feature protocol and lightweight downstream classifiers. SAM2-derived embeddings transfer partially to diagnosis, and the medically fine-tuned MedSAM2 improves over the original SAM2 encoder on average. However, DINOv2 achieves the strongest average macro-F1 and obtains the highest point estimate on all evaluated datasets. These results suggest that medical segmentation fine-tuning can improve representation transfer, but segmentation-oriented pretraining does not necessarily yield the most discriminative embeddings for skin-lesion classification.
翻译:暂无翻译