Comparison of Foundation and Supervised Learning-Based Models for Detection of Referable Glaucoma from Fundus Photographs

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 46,767 characters · extracted from preprint-html · click to expand
Comparison of Foundation and Supervised Learning-Based Models for Detection of Referable Glaucoma from Fundus Photographs | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Comparison of Foundation and Supervised Learning-Based Models for Detection of Referable Glaucoma from Fundus Photographs Kyle Bolo , Tran Huy Nguyen , Sreenidhi Iyengar , Zhiwei Li , Van Nguyen , Brandon J. Wong , Jiun L. Do , Jose-Luis Ambite , Carl Kesselman , Lauren P. Daskivich , Benjamin Y. Xu doi: https://doi.org/10.1101/2025.08.21.25334170 Kyle Bolo 1 Roski Eye Institute, Keck School of Medicine, University of Southern California , Los Angeles, CA, USA MD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Tran Huy Nguyen 2 Department of Computer Science, Viterbi School of Engineering, University of Southern California , Los Angeles, CA, USA MS Find this author on Google Scholar Find this author on PubMed Search for this author on this site Sreenidhi Iyengar 2 Department of Computer Science, Viterbi School of Engineering, University of Southern California , Los Angeles, CA, USA MS Find this author on Google Scholar Find this author on PubMed Search for this author on this site Zhiwei Li 3 Department of Industrial and Systems Engineering, Viterbi School of Engineering, University of Southern California , Los Angeles, CA, USA MS Find this author on Google Scholar Find this author on PubMed Search for this author on this site Van Nguyen 1 Roski Eye Institute, Keck School of Medicine, University of Southern California , Los Angeles, CA, USA MD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Brandon J. Wong 1 Roski Eye Institute, Keck School of Medicine, University of Southern California , Los Angeles, CA, USA 5 Department of Ophthalmology, Los Angeles General Medical Center , Los Angeles, California MD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jiun L. Do 1 Roski Eye Institute, Keck School of Medicine, University of Southern California , Los Angeles, CA, USA 5 Department of Ophthalmology, Los Angeles General Medical Center , Los Angeles, California MD, PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jose-Luis Ambite 4 Information Sciences Institute, Viterbi School of Engineering, University of Southern California , Marina del Rey, CA, USA PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Carl Kesselman 4 Information Sciences Institute, Viterbi School of Engineering, University of Southern California , Marina del Rey, CA, USA PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Lauren P. Daskivich 1 Roski Eye Institute, Keck School of Medicine, University of Southern California , Los Angeles, CA, USA 5 Department of Ophthalmology, Los Angeles General Medical Center , Los Angeles, California 6 Ophthalmology and Eye Health Programs, Los Angeles County Department of Health Services , Los Angeles, CA, USA MD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Benjamin Y. Xu 1 Roski Eye Institute, Keck School of Medicine, University of Southern California , Los Angeles, CA, USA MD, PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: benjamin.xu{at}med.usc.edu Abstract Full Text Info/History Metrics Data/Code Preview PDF ABSTRACT Purpose To compare the performance of a foundation model and a supervised learning-based model for detecting referable glaucoma from fundus photographs. Design Evaluation of diagnostic technology. Participants 6,116 participants from the Los Angeles County Department of Health Services Teleretinal Screening Program. Methods Fundus photographs were labeled for referable glaucoma (cup-to-disc ratio ≥ 0.6) by certified optometrists. Four deep learning models were trained on cropped and uncropped images (Training N = 8,996; Validation N = 3,002) using two architectures: a vision transformer with self-supervised pretraining on fundus photographs (RETFound) and a convolutional neural network (VGG-19). Models were evaluated on a held-out test set (N = 1,000) labeled by glaucoma specialists and an external test set (N = 300) from University of Southern California clinics. Performance was assessed while varying training set size and stratifying by demographic factors. xRAI was used for saliency mapping. Main Outcome Measures Area under the receiver operating characteristic curve (AUC-ROC) and threshold-specific metrics. Results The cropped image VGG-19 model achieved the highest AUC-ROC (0.924 [0.907-0.940]), which was comparable ( p = 0.07) to the cropped image RETFound model (0.911 [0.892-0.930]), which achieved the highest Youden-optimal performance (sensitivity 82.6%, specificity 88.2%) and F1 score (0.801). Cropped image models outperformed their uncropped counterparts within each architecture ( p < 0.001 for AUC-ROC comparisons). RETFound models had a performance advantage when trained on smaller datasets (N < 2000 images), and the uncropped image RETFound model performed best on external data ( p < 0.001 for AUC-ROC comparisons). The cropped image RETFound model performed consistently across ethnic groups ( p = 0.20), while the others did not ( p < 0.04); performance did not vary by age or gender. Saliency maps for both architectures consistently included the optic nerve. Conclusion While both RETFound and VGG-19 models performed well for classification of referable glaucoma, foundation models may be preferable when training data is limited and when domain shift is expected. Training models using images cropped to the region of the optic nerve improves performance regardless of architecture but may reduce model generalizability. Introduction Glaucoma is the leading cause of irreversible blindness worldwide. 1 Its prevalence is rapidly rising due to population aging with a projected increase in the United States from 2.7 million cases in 2010 to 6.3 million in 2050. 2 Within the current paradigms of eyecare delivery, the detection of asymptomatic glaucoma primarily relies on opportunistic detection during routine eye examinations. This practice pattern is estimated to result in the underdiagnosis of at least half of glaucoma cases. 3 , 4 Signs of glaucoma are detectable through detailed examination of optic nerve head (ONH) photographs, and automated image interpretation technologies, especially those based on artificial intelligence (AI), hold promise for enhancing reproducible, scalable screening frameworks. 5 – 8 Therefore, developing robust methodologies to integrate and leverage AI into glaucoma screening protocols is critical to overcome the challenges of widespread implementation across diverse clinical environments. Convolutional neural networks (CNNs) are a type of AI technology that have shown the capability to match or even exceed experts in interpretating fundus photographs to detect glaucoma, thereby creating an opportunity to improve the reproducibility and scalability of screening programs. 7 , 9 , 10 Conventional CNN models often utilize supervised learning with transfer learning, enhancing their efficiency through pretraining on labeled non-ophthalmic images from the ImageNet database. 11 , 12 In contrast, the novel RETFound foundation model, which is built on a vision transformer architecture (ViT), leverages self-supervised learning, being pretrained on 904,170 unlabeled fundus photographs and 1.4 million images from ImageNet, thereby developing a robust knowledge base adaptable to specific tasks via training on labeled images. 13 RETFound has outperformed supervised learning-based ViTs in the classification of diabetic retinopathy, glaucoma, and exudative age-related macular degeneration, and demonstrated superior performance generalizability and efficacy with small training datasets. 13 – 17 RETFound is also an effective feature extractor, capable of predicting cup-to-disc ratio (CDR) and circumpapillary retinal nerve fiber layer (RNFL) thickness from fundus photographs. 18 Despite these results, guidelines for the optimal implementation of these AI models remain lacking as direct comparative studies on the effectiveness in glaucoma classification are limited. In this study, we developed and tested RETFound and CNN models for classifying referable glaucoma based on ONH appearance using data from the Los Angeles County (LAC) Department of Health Services (DHS) teleretinal screening program. 19 As the second largest municipal healthcare system in the United States, LAC DHS screens approximately 1,750 patients per month for select eye diseases, including diabetic retinopathy and glaucoma, through its teleretinal screening program. 20 We evaluated the effects of image cropping and training set size and assessed the explainability and generalizability of the models–key challenges in developing AI models for screening environments. Through rigorous comparison of these architectures and development factors, our study seeks to provide insights into standardized methodologies for designing AI-assisted teleglaucoma screening programs, meeting a rapidly growing area of interest and need in modern eye care. Methods This study was approved by the Institutional Review Boards of the University of Southern California. The study adhered to the tenets of the Declaration of Helsinki and complied with the Health Insurance Portability and Accountability Act. Data Collection The LAC DHS administers a teleretinal screening program, serving approximately 1,750 incident diabetic patients a month at 17 hospital- and community-based sites. 19 Participants are screened with dilated fundus photography, performed by trained photographers using the Topcon NW400 and NW8 (Topcon Corporation, Tokyo, Japan) and Canon CR-2 AF Digital (Canon U.S.A. Inc, Huntington, NY) cameras. Three standardized 45-degree photographs are taken: one centered on the optic nerve, one centered on the fovea, and one of the temporal macula. 19 A team of 15 certified optometrists remotely review the photographs for diabetic retinopathy and referable glaucoma. Referable glaucoma is defined at a patient level for a cup-to-disc ratio (CDR) of 0.6 or greater. If pathology is detected, referrals are placed for in-person visits at LAC DHS eye clinics, where eyecare providers perform a complete evaluation for glaucoma. All participants aged 18 years or older with at least one fundus photograph taken between January 4, 2016 and December 2, 2022 were eligible for this study. Photographs of the standardized field of view centered on the optic nerve were selected for inclusion. Photographs were excluded only if the optic nerve was not gradable due to complete obscuration by medial opacity or by not appearing in the field of the image. Photographs of low quality where the optic nerve was gradable were included. Photographs were labeled as demonstrating referable glaucoma or not according to the patient-level assessment made by the optometrists in the screening program. A second label was assigned to each photograph in the test dataset (i.e., eye-level) through independent grading by a panel of three fellowship-trained glaucoma specialists (V.N., B.W., B.Y.X.), adjudicated by majority rule (at least 2 of 3 for a consensus label). Data on demographics (age, ethnicity, race, gender) and medical history were extracted from medical records. Ethnic and racial identity was defined first by ethnicity (Hispanic or not), then the non-Hispanic group was divided by race (Black, White, Asian). An external dataset was collected from routine clinic visits at the Roski Eye Institute of the University of Southern California. Photographs were taken using the ZEISS FF 450 and CLARUS (ZEISS, Oberkochen, Germany), Topcon TRC-NW8 (Topcon Corporation, Tokyo, Japan), and Optos California (Optos plc, Dunfermline, United Kingdon) cameras with a variety of fields of view. Participants included were aged 18 years or older with at least one fundus photograph taken between October 5, 2017 and July 30, 2023. Photographs were selected where the optic nerve was gradable and relatively centered. Cases of referable glaucoma were identified as participants examined by a fellowship-trained glaucoma specialist with a CDR of 0.6 or greater as documented in the electronic health record. Controls were identified as participants from any ophthalmology clinic with photographs reviewed by a fellowship-trained glaucoma specialist (K.B.) to confirm an intact neuroretinal rim with a CDR of less than 0.6. All images and extracted data were curated in EyeAI, a data repository and computing platform built on the Deriva-ML framework. 21 This allowed for reproducible data partitioning and algorithm development as described in the next section. Algorithm Development The LAC DHS dataset was divided at the patient level into development (80%) and test (20%) datasets. The development dataset was further split for training (75%) and validation (25%). Some patients with multiple teleretinal screening visits were represented multiple times in the training and validation datasets, but reference labels by LAC DHS optometrists were unique for each visit. Multiple training subsets (N = 20, 400, 1000, 2000, 4000, or 6000 images) were created through random sampling of the training dataset to assess the effect of training set size on model performance. Stratified random sampling with equal allocation was used to ensure unbiased subset selection and to balance class distribution. The test dataset contained 1000 images from 500 patients with no overlap of patients with the development datasets. The external test dataset contained 300 images from 203 patients. For algorithm development, labels of referable glaucoma were generalized to photographs of both eyes from the patient-level labels provided by the LAC DHS optometrists. All images were preprocessed by a proprietary software developed in Python, which has been described previously, and development datasets of cropped and uncropped images were created. 9 After preprocessing, all images were reviewed manually to ensure appropriate cropping and centration. Four deep learning models were developed on the cropped and uncropped datasets using two architectures. Two models were based on RETFound, a large ViT and foundation model, which has prior self-supervised learning on unlabeled images from ImageNet-1K and 904,170 color fundus photographs. 13 The models were fine-tuned from the pretrained RETFound_mae_meh weights (available through https://github.com/rmaphoh/RETFound_MAE ) to classify referable glaucoma with the default hyperparameters (i.e., 100 epochs, batch size of 16, base learning rate 5e-3, layer decay 0.65, etc.). Two additional models were based on the VGG-19 architecture, which was chosen for its high performance, efficiency with image-based data, and previous validation on the LAC DHS dataset. 9 Specific details of the architectural adjustments and development specifications for the VGG-19 models are described in our prior publication. 9 Separate models of both architectures were developed on the cropped and uncropped image datasets. Four models were also trained for each of the training subsets while holding constant the full validation dataset. During subset training, hyperparameters were not tuned and instead were held constant from models based on the full development dataset to reduce noise. Each model was tested with cropped or uncropped images from the 1000-image test dataset, matching whether cropped or uncropped images were used in the training phase. Model performance was assessed using the refence labels by the panel of glaucoma specialists. Models trained on the full training dataset (N = 8,996) were also tested on the 300-image external test dataset, again using cropped or uncropped images matching the training phase. 50 LAC DHS images of referable glaucoma where predictions from the uncropped image RETFound and VGG-19 models disagreed were selected to assess the interpretability of each architecture and elucidate how they attended to different regions of the fundus photographs. xRAI saliency maps were generated for the predicted class using 10% and 25% saliency thresholds and the salient regions of the fundus photographs were reviewed by two fellowship-trained glaucoma specialists (K.B., B.Y.X.) to assess inclusion of relevant (i.e., the ONH and focal changes in RNFL reflectance) and irrelevant portions of the photographs. Statistical Analysis Continuous measures were summarized by means and standard deviations, and categorical measures were summarized by proportions and percentages. Baseline demographic and clinical characteristics were compared between the development and test datasets using 2-tailed student t-tests or chi-square tests. Algorithm performance was compared using area under the receiver operating characteristic curve (AUC-ROC), area under the precision-recall curve (AUC-PR), F1 score, sensitivity, and specificity. DeLong’s method was used to generate confidence intervals and compare AUC-ROCs. Sensitivity and specificity were calculated at the optimal threshold as defined by Youden’s J statistic. Sensitivity was also calculated at a 95% specificity level to simulate the high specificity desired in a screening setting. Performance was assessed in demographic groups defined by race, ethnicity, gender, and age by comparing AUC-ROCs across these groups stratified in the test dataset. 60 years was selected as the group threshold for age as it was the nearest decade margin to the median age (59.2). Statistical tests with a p -value < 0.05 were considered significant. Statistical analyses were performed using R version 4.4.1 (The R Foundation). Results The study included 12,998 images from 6,116 participants, which were split into a training dataset of 8,996 images, a validation dataset of 3,002 images, and a test dataset of 1,000 images. The mean age of participants in the development (combined training and validation) and test datasets were 56.8±10.5 and 57.3±10.3 years ( Table 1 ) . There were more females than males (55.0% and 52.4% female, respectively). Hispanic was the majority ethnic group (Hispanic 68.1% and 70.6%, respectively). Demographic characteristics did not vary significantly between datasets ( p ≥ 0.30). 37.1% and 50.0% of patients had referable glaucoma in the development and test datasets, respectively. View this table: View inline View popup Download powerpoint Table 1. Demographic and Clinical Characteristics of the Study Population The VGG-19 architecture achieved higher threshold-independent performance than the RETFound architecture when trained using the full training set ( Figure 1 , Table 2 ) . The cropped image VGG-19 model reached an AUC-ROC of 0.924 (0.907, 0.940) and AUC-PR of 0.886, which was followed by the cropped image RETFound model (0.911 [0.892-0.930]; 0.848), the uncropped image VGG-19 model (0.898 [0.879-0.917]; 0.838), and the uncropped image RETFound model (0.889 [0.868-0.909]; 0.781). Pairwise comparisons of AUC-ROC demonstrated significant differences with cropped image models outperforming the uncropped image models of the same architectures ( p ≤ 0.001) and the cropped image VGG-19 model outperforming the uncropped image RETFound model ( p < 0.001). Pairwise comparisons of the cropped image RETFound and VGG-19 models ( p = 0.07), cropped image RETFound and uncropped image VGG-19 models ( p = 0.13), and uncropped image RETFound and VGG-19 models ( p = 0.25) did not reach statistical significance. In contrast, the cropped image RETFound model had threshold-specific performance that exceeded the cropped image VGG-19 model ( Table 2 ) . At their respective optimal thresholds, the cropped image RETFound model had a higher specificity than the cropped image VGG-19 model despite identical sensitivities (specificity 0.826 vs. 0.805 at sensitivity 0.882). It also had the highest F1 score among all models (0.801). Download figure Open in new tab Figure 1. Receiver operating characteristic curves for RETFound and VGG-19 models against expert consensus labels. View this table: View inline View popup Download powerpoint Table 2. Performance Metrics of Models Tested on Expert Consensus Labels When models were developed on training datasets of varying size, a performance advantage in AUC-ROC was evident for the RETFound architecture over VGG-19 with 400 and 1000 training images ( Figure 2 ) . Cropping increased VGG-19’s performance on these smaller training datasets ( p 0.20). At 2000 and 4000 training images, performance converged for RETFound and VGG-19 ( p > 0.07 for models paired by cropping status). Cropping benefitted RETFound on training datasets of 2000 images and larger ( p < 0.03). The cropping benefit for VGG19 was present at all training dataset sizes ( p < 0.05) except 2000 images ( p = 0.58). Download figure Open in new tab Figure 2. Mean AUC-ROCs for models of each architecture trained on increasing sizes of training datasets. RETFound consistently performed better than VGG-19 on the external test dataset: the uncropped image RETFound model achieved an AUC-ROC of 0.886 (0.849, 0.924) and AUC-PR of 0.849, followed by the cropped image RETFound model (0.797 [0.746-0.848]; 0.761), the cropped image VGG-19 model (0.767 [0.712-0.822]; 0.813), and the uncropped image VGG-19 model (0.634 [0.571-0.697]; 0.641). The uncropped image RETFound model outperformed all other models in AUC-ROC ( p < 0.001), had the best threshold-specific performance with the highest F1 score (0.812), and produced higher sensitivities at matched specificities, including a sensitivity of 0.707 when matched to the optimal specificity of the cropped image RETFound and VGG-19 models (0.880) ( Table 3 , Supplemental Figure 1 ) . Download figure Open in new tab Supplemental Figure 1. Receiver operating characteristic curves for RETFound and VGG-19 models on the external test dataset. View this table: View inline View popup Download powerpoint Table 3. Performance Metrics of Models Tested on External Dataset When stratified by demographic group, the models demonstrated similar performance trends in AUC-ROC. All models, except the cropped RETFound model ( p = 0.20), performed better on non-Hispanics than Hispanics ( p 0.28), and participants over and under the age of 60 years ( p > 0.31). View this table: View inline View popup Download powerpoint Table 4. Performance by AUC-ROC Stratified by Demographic Group In the explainability analysis, all saliency maps (50 out of 50) for both architectures highlighted the optic nerve head at both saliency thresholds, regardless of the accuracy of the prediction ( Figure 3 ) . All of the saliency maps (50 out of 50) also included small parts of the peripapillary region, connected to the optic nerve head, often following the contours and trajectories of vessels. The saliency maps for both models on two images included the fovea, but no clear foveal findings were evident to the human evaluators. Download figure Open in new tab Figure 3. Example xRAI saliency maps at 10% (top) and 25% (bottom) thresholds: original (left), RETFound (center), and VGG19 (right). Discussion Our study demonstrates that while conventional CNNs can detect referable glaucoma with performance comparable to RETFound, the latter’s extensive pretraining confers a significant advantage in scenarios with limited training data or domain variability. Specifically, RETFound outperforms CNNs when training datasets are small and when there is a shift in imaging conditions. We also found that cropping fundus images to focus on the optic nerve consistently enhanced classification accuracy across architectures, highlighting a straightforward yet critical step for optimizing AI-based screening. These findings provide novel insights into methodological standardization, addressing key knowledge gaps regarding AI deployment in real-world screening settings. Our comparative analysis showed that RETFound and VGG-19 models have similar performance for detecting referable glaucoma in photographs from the LAC DHS teleretinal screening program. This parity in performance differs from two previous studies. Chuter et al., tested RETFound on cropped fundus photographs from the research setting, labeled according to ONH appearance of glaucoma, and found performance was better than a CNN (based on ResNet-50 architecture) previously reported by the same group, although the development sets differed between studies. 16 Zhou et al. tested RETFound on publicly available glaucoma datasets, in which glaucoma was defined as manifest glaucoma based on clinical examination and visual field testing, and found performance was better than a model based on the same ViT architecture limited to pretraining on ImageNet. 13 The higher AUC-ROCs and similar performance between architectures in our study may reflect that classification of referable glaucoma is easier than manifest glaucoma, since ground-truth labeling comes solely from the fundus photographs. Uniformity of the photograph acquisition protocol in the teleretinal screening program may have also helped VGG-19 achieve higher performance. These findings together suggest that the benefit of RETFound over other architectures varies by task and setting, which currently needs to be tested on a case-by-case basis. Cropping fundus photographs to focus on the optic nerve demonstrated a consistent performance benefit across architectures in our study, which highlights its importance in the referable glaucoma classification task. However, the benefit of cropping has not been consistent across glaucoma classification studies. Zhen et al. reported that cropping modestly degraded CNN performance for glaucoma severity grading when applied to hospital-based fundus photographs, Saha et al. reported that cropping improved performance for binary glaucoma classification when applied to publicly available datasets, and Almeshrky et al. reported the effects of cropping varied depending on the CNN architecture and data source. 22 – 24 Cropping has an inherent value of focusing the model on the most clinically relevant portion of the photograph—the optic nerve—although some of these studies and findings from Hemelings et al. suggest there is important information beyond the optic nerve region. 25 Our explainability experiment demonstrated that, even in cases of disagreement, the RETFound and VGG-19 architectures both attended to the optic nerve and its immediate surroundings, suggesting that most salient information is at or close to the ONH. Another potential benefit to cropping is standardization of field of view, which may make CNN models more robust to external data. While our findings provide additional evidence in support of cropping, the optimal parameters and use cases for cropping warrant further systematic study. The uncropped image RETFound model was the most robust to domain shift as evidenced by its significantly greater performance compared to other models on the external (USC) test dataset. We included the external test dataset to assess the effect of variations in camera type and image magnification and field of view. While the performance of the other models was degraded on the external compared to internal (LAC DHS) test dataset, performance of the uncropped image RETFound model remained stable in terms of AUC-ROC, AUC-PR, and F1 score. RETFound likely benefitted from the general robustness of the ViT backbone to distribution perturbation and shift and its pretraining with images from a variety of camera types. 13 , 26 , 27 Our findings align with Zhang et al., who reported that RETFound exhibited the smallest performance drop for classifying diabetic retinopathy on external data. 15 While cropping helped VGG-19, it adversely affected RETFound, suggesting that uncropped images allow better handling of camera type and image orientation variations. This insight enhances our understanding of architecture selection for dynamic real-world applications but also underscores the need to balance the robustness of foundation models with the standardization benefits conferred by cropping. Foundation models inherently require less labeled training data, reducing barriers related to high-quality data curation for developing AI models. Although we observed improved label efficiency with RETFound, the advantage was less pronounced than reported in prior studies. Chuter et al. reported that RETFound outperformed a CNN trained on 9,473 images with a 2,000-image development set. In our study, both architectures trained on 2,000 images achieved high AUC-ROCs (RETFound median 0.907, VGG-19 median 0.887), with RETFound maintaining a statistically significant advantage (p = 0.01). With 4,000 images, VGG-19 matched RETFound’s performance, indicating that the benefit of foundation models is more prominent with smaller datasets. Our findings are consistent with those by Kuo et al., who found that the difference between RETFound and CNN performance in detecting diabetes-related OCT changes was most pronounced on small training datasets and converged at 500 images. 17 Despite the prevailing belief that ViTs require more data due to fewer inductive biases, the foundation model architecture appears to mitigate this limitation, matching prior evidence and generally supporting the data-saving potential— although the magnitude of this advantage likely varies with task complexity. 13 , 16 , 27 An additional benefit of foundation models is potential equity in performance across demographic groups, owing to training on extensive, diverse datasets. Pretraining RETFound on over 900,000 fundus images exposed it to a variety of retinal morphologies across multiple ethnicities (13.7% British, 14.9% Indian, 5.2% Caribbean, 3.9% African, 37.9% other, 24.4% unspecified). Our results showed consistent performance advantages for non-Hispanic populations, except for the cropped RETFound model, which demonstrated more balanced performance. Chen, et al. reported that the performance of RETFound in extracting latent features from uncropped images was better for non-Hispanic than Hispanic Whites. 18 We consistently found similar worse performance among Hispanics compared to non-Hispanic Whites despite having a high representation of Hispanics in our training data for fine-tuning. The observed disparities across models may reflect morphological differences rather than bias in the pretraining dataset— highlighting the importance of considering biological variability in model design. Our study has several limitations. First, the training dataset was labeled at the patient level for referable glaucoma, which may have reduced performance, particularly if images with CDR < 0.6 were labeled as referable based on the fellow eye. However, we previously demonstrated that our cropped VGG-19 model performs as well as if not better than ophthalmologists and optometrists despite this approach. Second, the predominantly Hispanic cohort limited our ability to assess race-specific effects, with smaller groups (e.g., Asians, Blacks, non-Hispanic Whites) exhibiting high performance variance. Third, although we included an external test dataset, labels were provided by the same glaucoma specialists as in the internal and external test sets, which limited our ability to evaluate label generalizability and subjective variability of CDR assessment across clinicians. Finally, incomplete glaucoma testing in our cohort restricts the reproducibility and objectivity of labels, though we used consensus expert ratings to mitigate subjective variability in evaluating optic nerve appearance. In conclusion, both CNN and RETFound architectures demonstrate strong efficacy in classifying referable glaucoma, employing comparable classification strategies grounded in optic disc analysis. Foundation models like RETFound appear advantageous when training data are limited (<2000 images) and when domain shift is anticipated. While cropping enhances performance generally, it may diminish a model’s capacity to adapt to diverse imaging conditions, especially for foundation models optimized for robustness. These insights could inform best practices for designing AI screening tools, emphasizing the value of standardized preprocessing and architecture selection tailored to deployment environments. Moving forward, standardization of deployment methodologies, including image preprocessing, architecture selection, operating point validation and prospective testing, is essential to advance AI integration into clinical workflows effectively as has been done with other imaging modalities and ophthalmology use cases. 7 , 10 , 28 , 29 Data Availability All data produced in the present study are available upon reasonable request to the authors. Acknowledgements This work was supported by grant R01 EY035677 and K23 EY032985 from the National Eye Institute, National Institutes of Health, Bethesda, Maryland; a DHS-USC Safety Net Innovation Award from the Southern California Clinical and Translational Science Institute; a AI4Health Award from the University of Southern California; and an unrestricted grant to the Department of Ophthalmology from Research to Prevent Blindness, New York, NY. References 1. ↵ Stein , J. D. , Khawaja , A. P. & Weizer , J. S. Glaucoma in Adults-Screening, Diagnosis, and Management: A Review . JAMA 325 , 164 – 174 ( 2021 ). OpenUrl CrossRef PubMed 2. ↵ Gupta , P. et al. Prevalence of Glaucoma in the United States: The 2005-2008 National Health and Nutrition Examination Survey . Invest. Ophthalmol. Vis. Sci . 57 , 2905 – 2913 ( 2016 ). OpenUrl CrossRef PubMed 3. ↵ Tham , Y.-C. et al. Global prevalence of glaucoma and projections of glaucoma burden through 2040: a systematic review and meta-analysis . Ophthalmology 121 , 2081 – 2090 ( 2014 ). OpenUrl CrossRef PubMed Web of Science 4. ↵ Soh , Z. et al. The Global Extent of Undetected Glaucoma in Adults: A Systematic Review and Meta-analysis . Ophthalmology 128 , 1393 – 1404 ( 2021 ). OpenUrl CrossRef PubMed 5. ↵ Weinreb , R. N. et al. Primary open-angle glaucoma . Nat. Rev. Dis. Primer 2 , 16067 ( 2016 ). OpenUrl 6. Chou , R. et al. Screening for Glaucoma in Adults: Updated Evidence Report and Systematic Review for the US Preventive Services Task Force . JAMA 327 , 1998 – 2012 ( 2022 ). OpenUrl PubMed 7. ↵ Jan , C. L. et al. Prospective pragmatic trial of automated retinal photography and AI glaucoma screening in Australian primary care . NPJ Digit. Med . 8 , 386 ( 2025 ). OpenUrl PubMed 8. ↵ Hallaj , S. et al. Federated Learning in Glaucoma: A Comprehensive Review and Future Perspectives . Ophthalmol. Glaucoma 8 , 92 – 105 ( 2025 ). OpenUrl PubMed 9. ↵ Nguyen , V. et al. Comparison of Deep Learning and Clinician Performance for Detecting Referable Glaucoma from Fundus Photographs in a Safety Net Population . Ophthalmol. Sci . 5 , ( 2025 ). 10. ↵ Moghimi , S. & Weinreb , R. N . Screening of Glaucoma: Consensus and Directions . J. Glaucoma 33 , S75 – S77 ( 2024 ). OpenUrl PubMed 11. ↵ Girshick , R. , Donahue , J. , Darrell , T. & Malik , J. Rich feature hierarchies for accurate object detection and semantic segmentation . Preprint at doi: 10.48550/arXiv.1311.2524 ( 2014 ). OpenUrl CrossRef 12. ↵ He , K. , Zhang , X. , Ren , S. & Sun , J . Deep Residual Learning for Image Recognition . in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 770 – 778 ( IEEE , Las Vegas, NV, USA , 2016 ). doi: 10.1109/cvpr.2016.90 . OpenUrl CrossRef 13. ↵ Zhou , Y. et al. A foundation model for generalizable disease detection from retinal images . Nature 622 , 156 – 163 ( 2023 ). OpenUrl CrossRef PubMed 14. Du , K. et al. Detection of Disease Features on Retinal OCT Scans Using RETFound . Bioeng. Basel Switz . 11 , 1186 ( 2024 ). OpenUrl 15. ↵ Zhang , J. et al. RETFound-enhanced community-based fundus disease screening: real-world evidence and decision curve analysis . NPJ Digit. Med . 7 , 108 ( 2024 ). OpenUrl PubMed 16. ↵ Chuter , B. et al. Evaluating a Foundation Artificial Intelligence Model for Glaucoma Detection Using Color Fundus Photographs . Ophthalmol. Sci . 5 , 100623 ( 2024 ). OpenUrl PubMed 17. ↵ Kuo , D. , Gao , Q. , Patel , D. , Pajic , M. & Hadziahmetovic , M . How Foundational Is the Retina Foundation Model? Estimating RETFound’s Label Efficiency on Binary Classification of Normal versus Abnormal OCT Images . Ophthalmol. Sci . 5 , 100707 ( 2025 ). OpenUrl PubMed 18. ↵ Chen , M. S. et al. Independent Evaluation of RETFound Foundation Model’s Performance on Optic Nerve Analysis Using Fundus Photography . Ophthalmol. Sci . 5 , 100720 ( 2025 ). 19. ↵ Daskivich , L. P. , Vasquez , C. , Martinez , C. , Tseng , C.-H. & Mangione , C. M . Implementation and Evaluation of a Large-Scale Teleretinal Diabetic Retinopathy Screening Program in the Los Angeles County Department of Health Services . JAMA Intern. Med . 177 , 642 – 649 ( 2017 ). OpenUrl PubMed 20. ↵ Yuen , J. et al. Effectiveness of Glaucoma Screening and Factors Associated with Follow-up Adherence among Glaucoma Suspects in a Safety-Net Teleretinal Screening Program . Ophthalmol. Glaucoma 6 , 247 – 254 ( 2023 ). OpenUrl CrossRef PubMed 21. ↵ Li , Z. , Kesselman , C. , D’Arcy , M. , Pazzani , M. & Xu , B. Y . Deriva-ML: A Continuous FAIRness Approach to Reproducible Machine Learning Models . in 2024 IEEE 20th International Conference on e-Science (e-Science) 1 – 10 ( 2024 ). doi: 10.1109/e-Science62913.2024.10678671 . OpenUrl CrossRef 22. ↵ Zhen , Y. , Wang , L. , Liu , H. , Zhang , J. & Pu , J. Performance assessment of the deep learning technologies in grading glaucoma severity . Preprint at doi: 10.48550/arXiv.1810.13376 ( 2018 ). OpenUrl CrossRef 23. Saha , S. , Vignarajan , J. & Frost , S . A fast and fully automated system for glaucoma detection using color fundus photographs . Sci. Rep . 13 , 18408 ( 2023 ). OpenUrl CrossRef PubMed 24. ↵ Almeshrky , H. & Karacı , A . Optic Disc Segmentation in Human Retina Images Using a Meta Heuristic Optimization Method and Disease Diagnosis with Deep Learning . Appl. Sci . 14 , 5103 ( 2024 ). OpenUrl 25. ↵ Hemelings , R. et al. Deep learning on fundus images detects glaucoma beyond the optic disc . Sci. Rep . 11 , 20313 ( 2021 ). OpenUrl PubMed 26. ↵ Naseer , M. , et al. Intriguing Properties of Vision Transformers . Preprint at doi: 10.48550/arXiv.2105.10497 ( 2021 ). OpenUrl CrossRef 27. ↵ Paul , S. & Chen , P.-Y. Vision Transformers are Robust Learners . Preprint at doi: 10.48550/arXiv.2105.07581 ( 2021 ). OpenUrl CrossRef 28. ↵ Bolo , K. et al. Automated expert-level scleral spur detection and quantitative biometric analysis on the ANTERION anterior segment OCT system . Br. J. Ophthalmol . 108 , 702 – 709 ( 2024 ). OpenUrl Abstract / FREE Full Text 29. ↵ Soh , Z. D. et al. Assessment of angle closure disease in the age of artificial intelligence: A review . Prog. Retin. Eye Res . 98 , 101227 ( 2024 ). OpenUrl PubMed View the discussion thread. Back to top Previous Next Posted August 24, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Comparison of Foundation and Supervised Learning-Based Models for Detection of Referable Glaucoma from Fundus Photographs Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Comparison of Foundation and Supervised Learning-Based Models for Detection of Referable Glaucoma from Fundus Photographs Kyle Bolo , Tran Huy Nguyen , Sreenidhi Iyengar , Zhiwei Li , Van Nguyen , Brandon J. Wong , Jiun L. Do , Jose-Luis Ambite , Carl Kesselman , Lauren P. Daskivich , Benjamin Y. Xu medRxiv 2025.08.21.25334170; doi: https://doi.org/10.1101/2025.08.21.25334170 Share This Article: Copy Citation Tools Comparison of Foundation and Supervised Learning-Based Models for Detection of Referable Glaucoma from Fundus Photographs Kyle Bolo , Tran Huy Nguyen , Sreenidhi Iyengar , Zhiwei Li , Van Nguyen , Brandon J. Wong , Jiun L. Do , Jose-Luis Ambite , Carl Kesselman , Lauren P. Daskivich , Benjamin Y. Xu medRxiv 2025.08.21.25334170; doi: https://doi.org/10.1101/2025.08.21.25334170 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Ophthalmology Subject Areas All Articles Addiction Medicine (569) Allergy and Immunology (863) Anesthesia (300) Cardiovascular Medicine (4442) Dentistry and Oral Medicine (444) Dermatology (383) Emergency Medicine (609) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1511) Epidemiology (15230) Forensic Medicine (30) Gastroenterology (1126) Genetic and Genomic Medicine (6610) Geriatric Medicine (668) Health Economics (998) Health Informatics (4542) Health Policy (1370) Health Systems and Quality Improvement (1613) Hematology (543) HIV/AIDS (1266) Infectious Diseases (except HIV/AIDS) (15923) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (147) Nephrology (668) Neurology (6607) Nursing (346) Nutrition (999) Obstetrics and Gynecology (1146) Occupational and Environmental Health (957) Oncology (3337) Ophthalmology (974) Orthopedics (369) Otolaryngology (420) Pain Medicine (436) Palliative Medicine (130) Pathology (664) Pediatrics (1693) Pharmacology and Therapeutics (692) Primary Care Research (712) Psychiatry and Clinical Psychology (5448) Public and Global Health (9238) Radiology and Imaging (2202) Rehabilitation Medicine and Physical Therapy (1370) Respiratory Medicine (1196) Rheumatology (596) Sexual and Reproductive Health (714) Sports Medicine (530) Surgery (712) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a01b247ddaa0f67c',t:'MTc3OTc4MTMzOQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00