ResearchTranslational Vision Science & Technology · Feb 17, 2026

Uncertainty-Aware Training for Ophthalmic Segmentation Using MedSAM

Clark CW, Kinder S, Nebbia G, Veturi YA, McNamara S, Manoharan N, et al
OphthalmologyAdult
Read the full paper free at PubMed Central ↗

Abstract

Purpose Uncertainty quantification (UQ) has been applied to deep learning (DL) models to enhance not only their interpretability, but to guide model learning. This work presents Uncertainty-Aware Training (UAT), which generates uncertainty maps at train time and augments the loss function with them to allow the models to concentrate on areas of high uncertainty during learning. By highlighting uncertain pixels as requiring more scrutiny, model performance is enhanced on three ophthalmic segmentation tasks. Methods We applied UAT to three ophthalmic segmentation, or pixel-level classification, tasks: geographic atrophy (GA), optic cup (OC), and foveal avascular zone (FAZ). UAT weighs the loss function binary cross-entropy according to uncertainty, forcing the model to focus on ambiguous areas. We experimented with output-based UQ methods, such as entropy, and post -hoc techniques like conformal prediction. UAT was evaluated on a state-of-the-art foundational model fine-tuned for these specific segmentation tasks. Results The addition of an entropy-weighing map at loss calculation time consistently improved model performance across all three datasets, with conformal prediction using the Least Ambiguous Set-Valued Classifier version also achieving higher overall performance for GA and OC segmentation. The easy-to-integrate implementation of UAT proved feasible without significant training structure modifications. Conclusions UAT enhances DL model performance and interpretability by focusing on uncertainty in addition to error, improving segmentation accuracy. Translational relevance UAT uses interpretable uncertainty maps to enhance DL segmentation performance. Its lightweight integration makes it practical for adoption and leads to improved model performance on ophthalmic segmentation tasks.

More on this topic

AI in medicine

Subject terms

Humans; Uncertainty; Deep Learning; Geographic Atrophy; Algorithms; Image Processing, Computer-Assisted

DOI: 10.1167/tvst.15.2.19 · PubMed: 41700793

Cite this article

Clark CW, Kinder S, Nebbia G, et al. Uncertainty-Aware Training for Ophthalmic Segmentation Using MedSAM. Transl Vis Sci Technol. 2026;15(2):19. doi:10.1167/tvst.15.2.19

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Ophthalmology studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · Transl Vis Sci Technol · Jan 15, 2026 · Ophthalmology, Digital Health & AI

Comparing Interactive Machine Learning and Unassisted Segmentation of Geographic Atrophy From Fundus Autofluorescence

Research · Transl Vis Sci Technol · Oct 7, 2026 · Ophthalmology

Time Series Segmentation in Adaptive Optics Ophthalmoscopy With Application to Flicker-Induced Vasodilation

Research · Transl Vis Sci Technol · Mar 24, 2026 · Ophthalmology

Collaborative Multiscale and Wavelet-Based Fusion Network for Leakage Area Semantic Segmentation of Ultrawide Field Fluorescein Angiography

Randomized trial n = 280 · Invest Ophthalmol Vis Sci · Jul 19, 2024 · Ophthalmology, Digital Health & AI

Thinning of photoreceptor and outer nuclear layers precedes outer plexiform layer subsidence in intermediate AMD

Secondary analysis of a trial n = 197 · Br J Ophthalmol · Mar 20, 2024 · Ophthalmology

Monthly pegcetacoplan treatment was associated with slower geographic atrophy growth and retinal pigment epithelium loss