Ophthalmology Science (Mar 2025)

Differentiating Choroidal Melanomas and Nevi Using a Self-Supervised Deep Learning Model Applied to Clinical Fundoscopy Images

  • Max Jackson, MPhys,
  • Helen Kalirai, BSc, PhD,
  • Rumana N. Hussain, MBBS, MD,
  • Heinrich Heimann, MD, PhD,
  • Yalin Zheng, MEng, PhD,
  • Sarah E. Coupland, MBBS, PhD

Journal volume & issue
Vol. 5, no. 2
p. 100647

Abstract

Read online

Purpose: Testing the validity of a self-supervised deep learning (DL) model, RETFound, for use on posterior uveal (choroidal) melanoma (UM) and nevus differentiation. Design: Case-control study. Subjects: Ultrawidefield fundoscopy images, both color and autofluorescence, were used for this study, obtained from 4255 patients seen at the Liverpool Ocular Oncology Center between 1995 and 2020. Methods: After excluding poor-quality images, a total of 18 510 UM, 8671 nevi, and 1192 healthy eye images were analyzed. RETFound, a self-supervised DL model for fundus images, was fine-tuned initially for binary classification of UM versus nevi and then retuned for tertiary classification including the healthy eyes. Main Outcome Measures: The performance metrics used to evaluate the model were: area under the receiver operating characteristic curve (AUROC), accuracy, specificity, sensitivity, F1-score, and Matthew’s correlation coefficient. Results: For the binary classification task, the model achieved an accuracy of 0.83 and an AUROC of 0.90 demonstrating good performance for UM versus nevi differentiation. Similarly, for the tertiary classification task, the model showed a mean accuracy of 0.82 and an AUROC of 0.92. Conclusions: Our findings demonstrate the feasibility of using a self-supervised DL model for differentiation between UM and nevi with high accuracy, in a large cohort with imbalances between images derived from a single center. Validation studies on similarly sized external cohorts are planned to test our model’s potential, considering variation of images of choroidal melanoma and nevi in the clinical setting. Financial Disclosure(s): Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.

Keywords