GlaucomaMarker - Biomarker-Grounded Glaucoma Vision-Language Model
Authors: Ahammed Sakir Nabil, Sadia Siraz, Nikita Chincholkar, Atalie C. Thompson, Jason Xiao, Theodore Leng, Jennifer I. Lim, Minhaj Nur Alam
Organizations: Department of Electrical and Computer Engineering, University of North Carolina at Charlotte, Charlotte, North Carolina, USA. · Department of Ophthalmology, Wake Forest University School of Medicine, Winston-Salem, North Carolina, USA. · Department of Ophthalmology, Byers Eye Institute, Stanford University School of Medicine, Palo Alto, California, USA. · Department of Ophthalmology and Visual Science, University of Illinois Chicago, Chicago, Illinois, USA.
Glaucoma is a leading cause of irreversible blindness. In the current clinical setting, glaucoma diagnosis is generally conducted by assessing optic disc cupping and asymmetry. Vision-language models (VLMs) have been utilized in recent years for glaucoma, mostly trained on fixed templates or AI-generated captions, as no public text describes the biomarkers. Our proposed framework, GlaucomaMarker, hypothesizes that retinal structural biomarkers can ground glaucoma-based VLMs. It converts public segmentation masks into sentences describing eleven biomarkers, to teach retinal foundation models to read them. We applied this framework to RETFound (GlaucomaMarker-R) and FLAIR (GlaucomaMarker-F), training on 9,778 images that yielded 45,190 image-text pairs. On a real-world clinical cohort, GlaucomaMarker-F detects glaucoma with an AUROC of 0.905, against 0.848 for FLAIR, and both read the biomarkers where baselines stay near random guessing. Since the biomarker text is computed from existing masks, it comes at no extra cost.
Figures & tables
Figure 1: Zero-shot output of GlaucomaMarker on two fundus images. a A glaucoma-positive image from Drishti-GS and the sentences chosen by GlaucomaMarker-R, one disease sentence and one sentence for each of the eleven biomarkers. b The same for a healthy image. The sentences are the highest-scoring entries of the 48-sentence catalog, from the RETFound-initialized instance with seed 42.
Figure 2: The GlaucomaMarker framework. a Eleven biomarkers are measured from the disc and cup mask of each image, assigned to buckets with predefined cutoffs as per clinical descriptions, and written as template sentences from a catalog of 48. b A dual-encoder model is trained on batches that the equal-bucket epoch sampler draws, with the MP-NCE multi-positive contrastive loss plus an auxiliary cosine loss. The image encoder is RETFound ViT-L in GlaucomaMarker-R (R) and FLAIR ResNet-50 in GlaucomaMarker-F (F), and the text encoder is BioBERT in R and Bio_ClinicalBERT in F. c At test time, the frozen model compares the embedding of an unseen image with 48 cached sentence embeddings. Diagnosis is a softmax over the two disease sentences with a frozen threshold, and each biomarker is the highest-scoring bucket sentence. Green marks the image pathway, purple the text pathway, orange the losses, blue the mask, and dashed outlines the parts that are frozen.
Field
Value
Photographs taken (patients)
448 (225)
Without a diagnosis label
74
Labeled eyes, used for diagnosis, the embedding and fairness (patients)
374 (198)
Glaucoma
139
Healthy
235
Images with OCT measurements, used for biomarker reading and retrieval (patients)
444 (223)
Table 1: Demographic and site composition of the WF_Glaucoma clinical evaluation cohort (Wake Forest University School of Medicine). The table gives the number of images used for each analysis, and site, gender, race, and age describe the 374 labeled eyes.
Figure 3: Data used for training and evaluation. a The training pool by source dataset, with glaucoma (orange), healthy (blue) and unlabeled (gray) images. b Site, gender and race of the 374 labeled eyes of the WF_Glaucoma clinical cohort from Wake Forest University School of Medicine. c The share of glaucoma and healthy images in the training pool and in WF_Glaucoma, which were 38 and 37 percent glaucoma.
Figure 4: Zero-shot AUROC of every model. a Drishti-GS. b WF_Glaucoma. Filled circles are the AUROC and lines are 95% bootstrap confidence intervals. Orange is GlaucomaMarker-R and purple is GlaucomaMarker-F, with the open circles above the filled circle showing the three seeds. Gray marks the baselines, which are single runs, and the dashed line marks an AUROC of 0.5. Panel a omits models whose pretraining data overlap with Drishti-GS.
Figure 5: Zero-shot ROC curves. a Drishti-GS. b WF_Glaucoma. The thick lines are GlaucomaMarker-R (orange) and GlaucomaMarker-F (purple), as the mean over three seeds with a shaded band of one standard deviation of the true positive rate. Thin lines are baselines, which are single runs. The AUROC of each model is in the legend and the dashed diagonal is chance. Panel a omits models whose pretraining data overlap with Drishti-GS.
Model
AUROC (95% CI)
Bal. Acc.
Sens.
Spec.
Macro F1
MCC (95% CI)
Drishti-GS (n=101)
EyeCLIP
0.422 (0.297 to 0.553)
0.422
0.329
0.516
0.383
− 0.148 ( − 0.346 to 0.049)
FairCLIP
0.730 (0.618 to 0.837)
0.527
0.086
0.968
0.318
0.097 ( − 0.087 to 0.218)
RETFound
0.669 (0.556 to 0.774)
0.521
0.043
1.000
0.281
0.116 (0.000 to 0.182)
RETFound-DE
0.773 (0.676 to 0.861)
0.550
0.100
1.000
0.339
0.182 (0.103 to 0.255)
GlaucomaMarker-R
0.853 (0.771 to 0.923)
0.787 ± 0.051
0.714 ± 0.100
0.860 ± 0.019
0.746 ± 0.066
0.536 (0.383 to 0.674)
Table 2: Zero-shot classification performance of GlaucomaMarker and the external baselines on Drishti-GS and WF_Glaucoma. AUROC and MCC are given with 95% bootstrap confidence intervals, and the other metrics are the mean ± standard deviation over three seeds for GlaucomaMarker and a single value for the baselines. Models whose pretraining data overlap with Drishti-GS, including GlaucomaMarker-F, are excluded from that panel. Best value per column and panel in bold.
Figure 6: Confusion matrices at the frozen decision threshold. a Drishti-GS. b WF_Glaucoma. Rows are true classes and columns are predicted classes, with H for healthy and G for glaucoma. Cell color shows the fraction of the true class and the number is the image count. GM-R and GM-F are GlaucomaMarker-R and GlaucomaMarker-F, with counts averaged over three seeds, so they are not integers. Models whose pretraining data overlap with Drishti-GS are omitted from panel a . Supplementary Table 2 gives all models with their thresholds.
Model
Cohort
AUROC
AUPRC
Acc.
F1
Sens.
Spec.
PPV
NPV
MCC
κ
GlaucomaMarker-R
Drishti-GS
0.853 ± 0.013
0.927 ± 0.013
0.759 ± 0.070
0.802 ± 0.068
0.714 ± 0.100
0.860 ± 0.019
0.919 ± 0.013
0.580 ± 0.088
0.536 ± 0.101
0.508 ± 0.117
GlaucomaMarker-R
WF_Glaucoma
0.858 ± 0.013
0.817 ± 0.019
0.791 ± 0.031
0.730 ± 0.023
0.758 ± 0.047
0.810 ± 0.071
0.708 ± 0.063
0.851 ± 0.016
0.563 ± 0.047
0.560 ± 0.052
GlaucomaMarker-F
WF_Glaucoma
0.905 ± 0.001
0.885 ± 0.002
0.844 ± 0.011
0.774 ± 0.006
0.717 ± 0.029
0.919 ± 0.034
0.843 ± 0.052
0.846 ± 0.009
0.662 ± 0.024
0.656 ± 0.018
Table 3: Full diagnostic metrics for the two GlaucomaMarker instances on each external cohort (mean ± standard deviation over three seeds), including positive and negative predictive value and Cohen’s κ , at the validation-frozen threshold. F1 is the F1 score of the glaucoma class. The FLAIR-initialized model is omitted on Drishti-GS because FLAIR was pretrained on that dataset.
Cohort
Comparison
Metric
Difference
95% CI
P
Holm-adjusted P
Primary family, diagnosis
WF_Glaucoma
GlaucomaMarker-F minus FLAIR
AUROC
0.057
0.023 to 0.093
0.0014
0.0042
WF_Glaucoma
GlaucomaMarker-F minus FLAIR
MCC
0.189
0.097 to 0.280
below 0.0002
0.0008
WF_Glaucoma
GlaucomaMarker-R minus FLAIR
AUROC
0.010
− 0.038 to 0.060
0.69
0.69
WF_Glaucoma
GlaucomaMarker-R minus FLAIR
MCC
0.090
− 0.007 to 0.186
0.072
0.14
Biomarker family
Table 4: Tested comparisons and their Holm-adjusted P values. The primary family has four tests and the biomarker family six, as set out in Methods under Statistical analysis. All tests are two-sided with α=0.05 . A P value below 0.0002 is the resolution limit of the resampling, and the interval is the 95% bootstrap interval of the difference.
GlaucomaMarker-R
GlaucomaMarker-F
Biomarker
#classes
Random guess (D / W)
Drishti-GS
Internal
WF_Glaucoma
Internal
WF_Glaucoma
Vertical CDR
5
0.250 / 0.200
0.405 ± 0.048
0.680 ± 0.008
0.354 ± 0.024
0.673 ± 0.009
0.384 ± 0.005
Horizontal CDR
5
0.250 / –
0.538 ± 0.035
0.619 ± 0.007
0.600 ± 0.007
Area CDR
4
0.333 / 0.250
0.627 ± 0.016
0.718 ± 0.010
0.360 ± 0.035
0.664 ± 0.025
0.385 ± 0.011
Rim area fraction
4
0.250 / 0.250
0.546 ± 0.025
0.621 ± 0.012
0.427 ± 0.051
0.659 ± 0.061
0.466 ± 0.055
Rim thickness (inf.)
5
0.200 / –
0.316 ± 0.023
0.543 ± 0.010
0.582 ± 0.011
Table 5: Zero-shot biomarker balanced accuracy of the two GlaucomaMarker instances on the internal validation set and the two external cohorts, as the mean ± standard deviation over three seeds. The random guessing level is given as D / W for Drishti-GS and WF_Glaucoma. The last row is the mean over the biomarkers, with 95% bootstrap intervals for the external cohorts and the plain average for the internal set. Blank cells have no ground truth or are not evaluated for pretraining overlap.
Drishti-GS, GlaucomaMarker-R
WF_Glaucoma, GlaucomaMarker-R
WF_Glaucoma, GlaucomaMarker-F
Biomarker
Diagnosis
Truth, healthy
Truth, glaucoma
Diagnosis
Truth, healthy
Truth, glaucoma
Diagnosis
Truth, healthy
Truth, glaucoma
Disease-linked
Vertical CDR
0.79 (0.72–0.84)
0.71 (0.48–0.83)
0.57 (0.41–0.70)
0.82 (0.78–0.85)
0.41 (0.28–0.53)
0.32 (0.18–0.44)
0.87 (0.83–0.90)
0.45 (0.31–0.56)
0.44 (0.32–0.56)
Horizontal CDR
0.77 (0.69–0.82)
0.71 (0.50–0.84)
0.44 (0.24–0.62)
Area CDR
0.65 (0.53–0.73)
0.76 (0.55–0.86)
0.28 (0.10–0.44)
0.69 (0.63–0.74)
0.44 (0.33–0.54)
0.12 ( − 0.02–0.24)
0.78 (0.73–0.83)
0.53 (0.40–0.64)
0.29 (0.14–0.42)
Rim area fraction
0.89 (0.85–0.91)
0.68 (0.45–0.83)
0.60 (0.45–0.71)
0.86 (0.83–0.89)
0.45 (0.32–0.56)
0.46 (0.32–0.58)
0.95 (0.93–0.96)
0.38 (0.23–0.51)
0.60 (0.47–0.69)
Table 6: Agreement between the biomarker readout and the measured structure, as Spearman correlations with 95% bootstrap intervals. The readout is the expected bucket index of the zero-shot bucket probabilities, signed so that larger means more glaucoma-like. Diagnosis is the readout against the model’s own glaucoma probability, and Truth, healthy and Truth, glaucoma are the readout against the true bucket within one diagnosis class. Biomarkers with no direction toward disease are not included, and blank cells have no ground truth or are not evaluated for pretraining overlap.
Figure 7: Disease-label-only expression of each biomarker. Each bar is the difference in the mean zero-shot probability of the abnormal bucket between glaucomatous and healthy images, computed with disease labels only and no biomarker ground truth. a GlaucomaMarker-R on Drishti-GS. b GlaucomaMarker-R on WF_Glaucoma. c GlaucomaMarker-F on WF_Glaucoma, not shown on Drishti-GS because of pretraining overlap. Bars are the mean over three seeds and the open circles are the three seeds. CDR is the cup-to-disc ratio.
Drishti-GS (n=101)
WF_Glaucoma (n=444)
Biomarker
#classes
Random guess (D / W)
Ours-R
EyeCLIP
FairCLIP
Ours-R
Ours-F
FLAIR
KeepFIT
UniMed
EyeCLIP
FairCLIP
Vertical CDR
5
0.250 / 0.200
0.405 ± 0.048
0.250
0.260
0.354 ± 0.024
0.384 ± 0.005
0.201
0.250
0.196
0.200
0.186
Horizontal CDR
5
0.250 / –
0.538 ± 0.035
0.240
0.250
Area CDR
4
0.333 / 0.250
0.627 ± 0.016
0.333
0.000
0.360 ± 0.035
0.385 ± 0.011
0.250
0.238
0.251
0.250
0.236
Rim area fraction
4
0.250 / 0.250
0.546 ± 0.025
0.250
0.179
0.427 ± 0.051
0.466 ± 0.055
0.258
0.285
0.240
0.250
0.255
Rim thickness (inf.)
5
0.200 / –
0.316 ± 0.023
0.200
0.200
Table 7: Zero-shot biomarker balanced accuracy of GlaucomaMarker and the baselines on Drishti-GS and WF_Glaucoma, with 101 and 444 images. GlaucomaMarker is the mean ± standard deviation over three seeds and the baselines are single runs. Blank cells have no ground truth or are excluded for pretraining overlap. The random guessing level is given as D / W for Drishti-GS and WF_Glaucoma, and the last row is the mean over the biomarkers with 95% bootstrap intervals. EyeCLIP predicts a single bucket for every image on WF_Glaucoma, so its interval has zero width. Best model per biomarker and cohort in bold.
Figure 8: Image embeddings of WF_Glaucoma before and after training on biomarker text. t-SNE of frozen image embeddings, colored by disease label, blue for healthy and orange for glaucoma. a FLAIR. b GlaucomaMarker-F, which starts from FLAIR. c RETFound before training on our text. d GlaucomaMarker-R, which starts from RETFound. Panels b and d show seed 42. t-SNE is a qualitative view and its axes have no units.
Figure 9: Linear-probe AUROC against the fraction of training data. a Drishti-GS. b WF_Glaucoma. Each line is a model, with GlaucomaMarker-R in orange and GlaucomaMarker-F in purple. Lines are means and shaded bands are one standard deviation over resamples. Panel a omits models whose pretraining data overlap with Drishti-GS.
Figure 10: Few-shot linear-probe AUROC against the number of labeled examples per class. a Drishti-GS. b WF_Glaucoma. The number per class is 1, 2, 4, 8 or 16, on a logarithmic axis. Each line is a model, with GlaucomaMarker-R in orange and GlaucomaMarker-F in purple. Lines are means and shaded bands are one standard deviation over resamples. Panel a omits models whose pretraining data overlap with Drishti-GS.
Drishti-GS (n=101)
WF_Glaucoma (n=374)
Model
AUROC (95% CI)
AUPRC
AUROC (95% CI)
AUPRC
GlaucomaMarker-F
0.898 (0.855–0.935)
0.882 ± 0.004
GlaucomaMarker-R
0.841 (0.756–0.911)
0.914 ± 0.032
0.850 (0.803–0.893)
0.802 ± 0.015
FLAIR
0.820 (0.760–0.873)
0.814
UniMed-CLIP
0.790 (0.730–0.846)
0.752
RETFound
0.838 (0.745–0.916)
0.916
0.785 (0.723–0.841)
0.702
Table 8: Linear-probe classification performance on frozen image-encoder features. AUROC is given with a 95% bootstrap confidence interval, and AUPRC is the mean ± standard deviation over three seeds for GlaucomaMarker and a single value for the baselines. Models whose pretraining data overlap with Drishti-GS, including GlaucomaMarker-F, are blank or omitted there. Best value per column in bold.
Figure 11: Cross-modal retrieval. a Drishti-GS and b WF_Glaucoma: image-to-text recall at rank 1 (I to T R@1), text-to-image recall at rank 1 (T to I R@1) and text-to-image precision at rank 5 (T to I P@5). Bars are the mean over three seeds for GlaucomaMarker, with the three seeds as open circles, and single runs for the baselines. Panel a omits the FLAIR-initialized instance and the baselines pretrained on Drishti-GS. c Example image-to-text retrievals from GlaucomaMarker-R, showing the top-1 of the 48 sentences for a glaucoma-positive and a healthy image.
Drishti-GS (n=101)
WF_Glaucoma (n=444)
Model
I → T R@1
T → I R@1
T → I P@5
I → T R@1
T → I R@1
T → I P@5
GlaucomaMarker-R
0.756 ± 0.055
0.468 ± 0.087
0.463 ± 0.017
0.651 ± 0.010
0.379 ± 0.052
0.382 ± 0.045
GlaucomaMarker-F
0.715 ± 0.006
0.424 ± 0.026
0.391 ± 0.033
FLAIR
0.631
0.227
0.327
UniMed-CLIP
0.599
0.227
0.255
KeepFIT (MM-Retinal)
0.041
0.364
0.291
Table 9: Cross-modal retrieval performance. GlaucomaMarker-R starts from RETFound (ViT-L/16, BioBERT) and GlaucomaMarker-F from FLAIR (ResNet-50, Bio_ClinicalBERT). Both are reported as the mean ± standard deviation over three seeds; baselines are single runs. Drishti-GS: n=101 images; WF_Glaucoma: n=444 images. FLAIR, UniMed-CLIP, and KeepFIT are blank or omitted on Drishti-GS because their pretraining data overlap with Drishti-GS, and the FLAIR-initialized model is blank there for the same reason. Best value per column in bold.
Figure 12: Performance across demographic subgroups on WF_Glaucoma. a AUROC by gender. b AUROC by race. c AUROC by age band in years. d Equity-scaled AUROC (ES-AUC) by gender, race and age band. Points are the AUROC or ES-AUC and lines are 95% bootstrap confidence intervals. Orange is GlaucomaMarker-R, purple is GlaucomaMarker-F and blue is the released FLAIR model. Dashed lines in panels a to c mark the overall AUROC of each model, and n is the number of eyes. The 35 to 65 band has only 15 eyes, as noted under Table 10 .
GlaucomaMarker-R
GlaucomaMarker-F
FLAIR (released)
Subgroup
n
AUROC (95% CI)
AUPRC
AUROC (95% CI)
AUPRC
AUROC (95% CI)
AUPRC
Overall
374
0.858 (0.808–0.901)
0.817 ± 0.019
0.905 (0.864–0.940)
0.885 ± 0.002
0.848 (0.795–0.894)
0.813
Male
156
0.866 (0.792–0.925)
0.883 ± 0.005
0.882 (0.814–0.938)
0.893 ± 0.004
0.835 (0.757–0.902)
0.829
Female
218
0.853 (0.785–0.913)
0.757 ± 0.040
0.918 (0.859–0.965)
0.884 ± 0.002
0.860 (0.782–0.925)
0.814
ES-AUC (gender)
–
0.846 (0.753–0.880)
0.874 (0.794–0.921)
0.827 (0.731–0.874)
White
295
0.846 (0.785–0.900)
0.777 ± 0.026
0.899 (0.845–0.944)
0.865 ± 0.005
0.853 (0.790–0.908)
0.784
Table 10: Subgroup performance and equity-scaled AUROC (ES-AUC) by gender, race, and age band on WF_Glaucoma, for the two GlaucomaMarker instances and the released FLAIR model. AUROC and ES-AUC are given with 95% bootstrap intervals from 10,000 patient-level resamples, with the three seeds of GlaucomaMarker averaged inside each resample. AUPRC is the mean ± standard deviation over three seeds for GlaucomaMarker and a single run for FLAIR. The 35-65 band has 15 eyes, and only 5,682 of 10,000 resamples contained both classes. Subgroups with fewer than ten images or a single class are not scored.
Figure 13: Ablation of the training pipeline on WF_Glaucoma. a AUROC and b MCC for each configuration, grouped as loss function, epoch sampler with the RETFound start, image-encoder start, and FLAIR start. Filled circles are the mean over three seeds with error bars of one standard deviation, and the small points are the individual seeds. Hollow markers replace the RETFound weights of the image encoder with ImageNet weights, with the rest of the pipeline fixed. Aux. cosine loss is the auxiliary cosine loss. The comparison of five rebalancing techniques is in Supplementary Table 7 .
Drishti-GS (n=101)
WF_Glaucoma (n=374)
Configuration
AUROC
AUPRC
Bal. Acc.
Sens.
Spec.
AUROC
AUPRC
Bal. Acc.
Sens.
Spec.
Loss function
SupCon (Khosla et al. 2020)
0.898 ± 0.016
0.945 ± 0.012
0.799 ± 0.037
0.748 ± 0.084
0.849 ± 0.019
0.830 ± 0.024
0.771 ± 0.044
0.735 ± 0.028
0.751 ± 0.073
0.719 ± 0.114
MP-NCE (Lee et al. 2022)
0.861 ± 0.012
0.923 ± 0.005
0.775 ± 0.043
0.657 ± 0.124
0.892 ± 0.037
0.822 ± 0.043
0.767 ± 0.061
0.745 ± 0.032
0.679 ± 0.071
0.811 ± 0.054
MP-NCE + auxiliary cosine loss
0.875 ± 0.019
0.930 ± 0.016
0.799 ± 0.011
0.781 ± 0.033
0.817 ± 0.049
0.835 ± 0.023
0.772 ± 0.036
0.758 ± 0.018
0.727 ± 0.040
0.790 ± 0.074
Epoch sampler (MP-NCE + auxiliary cosine loss)
Table 11: Ablation of the GlaucomaMarker training pipeline on zero-shot disease classification, as the mean ± standard deviation over three seeds. The groups compare the losses, the epoch samplers, the training text, the starting weights and the FLAIR start, as set out in Methods under Ablation design. The text group is read against the disease-balanced sampler row, and the FLAIR group is shown on WF_Glaucoma only. Bold rows are the final models and bold values are the best entry in each column. Threshold-based metrics use the validation-frozen threshold. Seed values and ranges are in Supplementary Table 5 .
Drishti-GS (n=101)
WF_Glaucoma (n=374)
Configuration
Acc.
Macro F1
PPV
NPV
MCC
κ
Acc.
Macro F1
PPV
NPV
MCC
κ
Loss function
SupCon (Khosla et al. 2020)
0.779 ± 0.055
0.764 ± 0.051
0.918 ± 0.008
0.606 ± 0.084
0.559 ± 0.081
0.538 ± 0.094
0.731 ± 0.048
0.722 ± 0.042
0.622 ± 0.074
0.832 ± 0.025
0.462 ± 0.059
0.451 ± 0.072
MP-NCE (Lee et al. 2022)
0.729 ± 0.074
0.720 ± 0.067
0.934 ± 0.012
0.545 ± 0.073
0.513 ± 0.073
0.469 ± 0.103
0.762 ± 0.030
0.745 ± 0.032
0.684 ± 0.051
0.811 ± 0.029
0.492 ± 0.061
0.490 ± 0.063
MP-NCE + auxiliary cosine loss
0.792 ± 0.010
0.773 ± 0.007
0.907 ± 0.020
0.624 ± 0.021
0.564 ± 0.015
0.550 ± 0.014
0.766 ± 0.032
0.754 ± 0.027
0.678 ± 0.062
0.831 ± 0.008
0.513 ± 0.045
0.509 ± 0.050
Epoch sampler (MP-NCE + auxiliary cosine loss)
Table 12: Ablation of GlaucomaMarker’s training pipeline on zero-shot disease classification: operating-point metrics at the validation-frozen threshold. Configurations, seeds, and checkpoint selection as in Table 11 ; bold marks the best entry in each column.
Drishti-GS (n=101)
WF_Glaucoma (n=374)
Configuration
Bio
LP AUROC
LP AUPRC
I → T R@1
T → I R@1
T → I P@5
Bio
LP AUROC
LP AUPRC
I → T R@1
T → I R@1
T → I P@5
Loss function
SupCon (Khosla et al. 2020)
0.388 ± 0.044
0.884 ± 0.010
0.940 ± 0.012
0.733 ± 0.062
0.477 ± 0.087
0.443 ± 0.019
0.335 ± 0.009
0.785 ± 0.064
0.712 ± 0.092
0.616 ± 0.031
0.470 ± 0.069
0.397 ± 0.023
MP-NCE (Lee et al. 2022)
0.409 ± 0.022
0.851 ± 0.020
0.911 ± 0.013
0.733 ± 0.075
0.514 ± 0.081
0.445 ± 0.008
0.338 ± 0.006
0.793 ± 0.039
0.727 ± 0.077
0.633 ± 0.033
0.318 ± 0.091
0.415 ± 0.029
MP-NCE + auxiliary cosine loss
0.430 ± 0.019
0.867 ± 0.029
0.930 ± 0.021
0.809 ± 0.023
0.514 ± 0.027
0.452 ± 0.016
0.328 ± 0.030
0.825 ± 0.018
0.771 ± 0.020
0.638 ± 0.025
0.379 ± 0.052
0.433 ± 0.010
Epoch sampler (MP-NCE + auxiliary cosine loss)
Table 13: Ablation of GlaucomaMarker’s training pipeline on biomarker concept accuracy, linear probing, and cross-modal retrieval. Bio is the mean zero-shot balanced accuracy over the biomarker concepts (11 on Drishti-GS, 5 on WF_Glaucoma); LP is the full-data linear-probe AUROC and AUPRC; retrieval is image-to-text R@1 (I → T), text-to-image R@1 (T → I), and text-to-image P@5. WF_Glaucoma retrieval uses the 444 images with OCT ground truth. Configurations, seeds, and checkpoint selection as in Table 11 ; bold marks the best entry in each column.
Biomarker
Definition
Buckets (thresholds)
Vertical CDR
cup vertical diameter / disc vertical diameter
very small ( < 0.30), small (0.30–0.40), moderate (0.40–0.60), large (0.60–0.75), very large ( ≥ 0.75)
Horizontal CDR
cup horizontal diameter / disc horizontal diameter
very small ( < 0.30), small (0.30–0.40), moderate (0.40–0.60), large (0.60–0.75), very large ( ≥ 0.75)
Area CDR
cup area / disc area
low ( < 0.09), moderate (0.09–0.16), high (0.16–0.36), very high ( ≥ 0.36)
Rim area fraction
(disc area − cup area) / disc area
preserved ( > 0.75), mild loss (0.50–0.75), moderate loss (0.25–0.50), severe loss ( ≤ 0.25)
Inferior rim thickness
mean rim width in the inferior quadrant ( 225∘ – 315∘ ) / disc vertical diameter
very thin ( < 0.125), thin (0.125–0.20), moderate (0.20–0.30), thick (0.30–0.35), very thick ( ≥ 0.35)
Superior rim thickness
mean rim width in the superior quadrant ( 45∘ – 135∘ ) / disc vertical diameter
very thin ( < 0.125), thin (0.125–0.20), moderate (0.20–0.30), thick (0.30–0.35), very thick ( ≥ 0.35)
Table 14: Definition and bucket thresholds of the eleven mask-derived biomarkers. Diameters and areas are measured on the expert disc and cup masks. The area cutoffs are the squares of the cup-to-disc cutoffs, and the rim-thickness cutoffs are derived from the cup-to-disc cutoffs through rim width ≈0.5(1−vertical CDR) . a and b are the major and minor axes of the fitted ellipse.
Attribute
Value
Sentence
Disease
healthy
This retinal image appears normal, with no signs of glaucoma.
glaucoma
This retinal image shows signs of glaucoma.
Vertical CDR
very small
The vertical cup-to-disc ratio is very small.
small
The vertical cup-to-disc ratio is small.
moderate
The vertical cup-to-disc ratio is moderate.
large
The vertical cup-to-disc ratio is large.
Table 15: The 48-prompt catalog: the disease sentences and one sentence per biomarker bucket. Every training sentence and every zero-shot prompt is one of these 48 strings.
Source
n
Glaucoma
Healthy
Unlabeled
AIROGS
6540
3270
3270
0
Chaksu
1065
0
913
152
ORIGA
528
135
393
0
PAPILA
380
58
268
54
REFUGE
629
61
568
0
REFUGE2
636
129
507
0
Table 16: Composition of the training pool, internal held-out validation split, and external evaluation cohorts by source dataset.
GlaucomaMarker-R
GlaucomaMarker-F
Starting model
RETFound
FLAIR
Image encoder
ViT-L/16
ResNet-50
Text encoder
BioBERT
Bio_ClinicalBERT
Projection heads
Two-layer MLP
FLAIR linear heads
Selected epochs
20, 17, 14
19, 19, 17
Table 17: The two instances of GlaucomaMarker. Selected epochs are for seeds 42, 43 and 44.
Figure 14: Effect of the equal-bucket epoch sampler on the training pool. Gray bars are the natural number of images and orange bars are the sentences drawn in one epoch, as the mean of five epochs. a The disease sentence. b to d Three biomarkers, the vertical cup-to-disc ratio, the neuroretinal rim area and the rim vertical asymmetry, on a logarithmic scale. Hatched bars mark buckets with fewer than 20 images, which keep their natural count. Biomarker sentences exist for the 3,238 images with masks.
Biomarker
#classes
Training split (n=3,032)
Internal val. (n=795)
Drishti-GS (n=101)
WF_Glaucoma (n=370)
Disease-linked
Vertical CDR
5
0.56
0.57
0.74
0.75
Rim thickness (sup.)
5
0.50
0.49
0.37
Area CDR
4
0.47
0.47
0.71
0.52
Rim thickness (inf.)
5
0.46
0.47
0.38
Rim area fraction
4
0.46
0.46
0.64
0.70
Supplementary Table 1: Association between each biomarker’s true bucket and the true diagnosis, as Cramér’s V , in the training split and in the three evaluation sets. A biomarker is called disease-linked when V is at least 0.30 in the training split. Each n counts the images with a glaucoma label. Blank cells have no ground truth.
Drishti-GS (n=101)
WF_Glaucoma (n=374)
Model
Threshold
TP
FN
TN
FP
Threshold
TP
FN
TN
FP
EyeCLIP
0.5195
23
47
16
15
0.5195
122
17
46
189
FairCLIP
0.2365
6
64
30
1
0.2365
30
109
192
43
RETFound
0.7289
3
67
31
0
0.7289
13
126
219
16
RETFound-DE
0.8559
7
63
31
0
0.8559
0
139
233
2
FLAIR
0.5408
117
22
152
83
Supplementary Table 2: Confusion matrices at the validation-set MCC-optimal decision threshold, frozen before evaluation on either external cohort. FLAIR, UniMed-CLIP, and KeepFIT are blank or omitted on Drishti-GS because their pretraining data overlap with Drishti-GS, and the FLAIR-initialized model is blank there for the same reason. † GlaucomaMarker rows are the mean over three seeds (threshold and counts), so counts are not integers.
Drishti-GS (n=101)
WF_Glaucoma (n=444)
Configuration
V-CDR
H-CDR
Area CDR
Rim area
Rim inf.
Rim sup.
Rim asym.
Disc V/H
Cup V/H
Disc ecc.
Cup ecc.
V-CDR
Area CDR
Rim area
Disc V/H
Disc ecc.
Loss function
SupCon (Khosla et al. 2020)
0.459
0.508
0.591
0.457
0.278
0.296
0.211
0.352
0.452
0.321
0.340
0.314
0.356
0.403
0.310
0.293
MP-NCE (Lee et al. 2022)
0.441
0.598
0.686
0.483
0.287
0.353
0.239
0.393
0.434
0.317
0.268
0.317
0.337
0.392
0.333
0.311
MP-NCE + auxiliary cosine loss
0.544
0.563
0.739
0.540
0.270
0.344
0.236
0.456
0.416
0.274
0.355
0.311
0.343
0.368
0.346
0.274
Epoch sampler (MP-NCE + auxiliary cosine loss)
Supplementary Table 3: Ablation of the GlaucomaMarker framework, zero-shot balanced accuracy for each biomarker concept, on Drishti-GS (11 biomarkers) and on the WF_Glaucoma images with OCT ground truth (5 biomarkers, n=444). Values are means over three seeds (standard deviations are omitted for width). Configurations, seeds, and checkpoint selection as in Table 11 ; bold marks the best entry in each column.
Cohort
Comparison
Metric
Difference
95% CI
Diagnosis, not part of the tested families
WF_Glaucoma
GlaucomaMarker-F minus GlaucomaMarker-R
AUROC
0.047
0.008 to 0.088
WF_Glaucoma
GlaucomaMarker-F minus GlaucomaMarker-R
MCC
0.099
0.012 to 0.186
Drishti-GS
GlaucomaMarker-R minus RETFound-DE
AUROC
0.080
− 0.005 to 0.171
Drishti-GS
GlaucomaMarker-R minus RETFound-DE
MCC
0.354
0.203 to 0.503
Embedding
Supplementary Table 4: Comparisons reported with a 95% bootstrap interval of the difference and no test. The intervals come from 10,000 resamples, drawn by patient on WF_Glaucoma and by image on Drishti-GS, with the three seeds of GlaucomaMarker averaged inside each resample. ES-AUC is the equity-scaled AUROC.
Drishti-GS
WF_Glaucoma
Configuration
AUROC
MCC
Bio
AUROC
MCC
Bio
Loss function
SupCon
0.898 (0.880; 0.910)
0.559 (0.512; 0.652)
0.388 (0.345; 0.432)
0.830 (0.811; 0.857)
0.462 (0.415; 0.529)
0.335 (0.328; 0.345)
MP-NCE
0.861 (0.849; 0.873)
0.513 (0.428; 0.555)
0.409 (0.384; 0.426)
0.822 (0.775; 0.861)
0.492 (0.450; 0.562)
0.338 (0.333; 0.345)
MP-NCE + auxiliary cosine loss
0.875 (0.853; 0.887)
0.564 (0.547; 0.575)
0.430 (0.409; 0.445)
0.835 (0.808; 0.851)
0.513 (0.461; 0.543)
0.328 (0.296; 0.356)
RETFound start, epoch sampler (with the auxiliary cosine loss)
Supplementary Table 5: Seed values of the ablation configurations, as the mean over the three seeds with the lowest and highest seed in parentheses. AUROC and MCC are zero-shot disease classification at the validation-frozen threshold, and Bio is the mean zero-shot balanced accuracy over the biomarkers with ground truth. FLAIR-start configurations are shown on WF_Glaucoma only. Two seed ranges that do not overlap are the descriptive check for a difference between configurations.
Internal validation
Drishti-GS
WF_Glaucoma
Configuration
Accuracy minus balanced accuracy
Accuracy minus balanced accuracy
Accuracy minus balanced accuracy
Loss function
SupCon
+0.110 (+0.076; +0.132)
+0.042 ( − 0.034; +0.089)
+0.029 ( − 0.014; +0.070)
MP-NCE
+0.108 (+0.096; +0.115)
+0.080 (+0.070; +0.095)
+0.030 (+0.016; +0.044)
MP-NCE + auxiliary cosine loss
+0.096 (+0.079; +0.105)
+0.061 (+0.021; +0.087)
− 0.018 ( − 0.057; +0.024)
RETFound start, epoch sampler (with the auxiliary cosine loss)
Supplementary Table 6: Preference for common buckets in the biomarker reading, measured as accuracy minus balanced accuracy averaged over the biomarkers. Zero means all buckets are read equally well and positive means the common buckets are favored. Each cell is the mean over the three seeds, with the lowest and highest seed in parentheses. The internal set is the held-out validation split, and FLAIR-start configurations are shown on the internal set and WF_Glaucoma only.
Drishti-GS (n=101)
WF_Glaucoma (n=374)
Rebalancing technique
AUROC
AUPRC
Acc.
F1
MCC
AUROC
AUPRC
Acc.
F1
MCC
MP-NCE + BCL, adapted (Zhu et al. 2022)
0.891
0.946
0.594
0.594
0.396
0.655
0.552
0.639
0.366
0.160
MP-NCE + PaCo, adapted (Cui et al. 2021)
0.804
0.896
0.564
0.577
0.292
0.800
0.695
0.722
0.523
0.375
MP-NCE + RCL, adapted (De Alvis et al. 2025)
0.883
0.940
0.515
0.473
0.310
0.644
0.517
0.650
0.328
0.173
MP-NCE + ReCL, adapted (Chang et al. 2025)
0.877
0.938
0.545
0.521
0.343
0.690
0.554
0.658
0.396
0.208
MP-NCE + TSC, adapted (Li et al. 2022)
0.856
0.932
0.653
0.679
0.440
0.799
0.707
0.725
0.669
0.445
Supplementary Table 7: One-seed comparison of five long-tail rebalancing techniques, each adapted to our multi-positive image-text setting and layered on the MP-NCE base loss, on the RETFound-initialized model trained on the five datasets with masks. The adaptations are simplified from the published methods, and the single seed means the comparison does not rank them. The technique adapted from TSC had the best threshold-based metrics on both cohorts and became the auxiliary cosine loss. Bold marks the best entry in each column.
Supplementary Figure 1: Training images by disease label and by biomarker bucket. a Share of glaucoma and healthy images among the training images with masks and in the full training pool. b Number of images in each bucket of each biomarker, shown as the share of the images of that biomarker, with the image count at the end of each bar. The largest bucket is purple and hatched buckets have fewer than 20 images. The counts cover the 3,238 images with masks.
Interpretable glaucoma detection requires a transparent connection between fundus images, clinically meaningful biomarkers, and diagnostic predictions. Knowledge graph (KG) reasoning provides this structure, but performance measured using annotated biomarkers does not establish performance when only images are available. We present Auto-GlaKG, an automated framework that combines image-based biomarker prediction with fixed clinical-prior rules. A ResNet50 network predicts the cup-to-disc ratio (CDR) and six morphological signs using biomarker supervision, and a KG reasoner aggregates their signed rule contributions into a glaucoma score. On 689 fundus images evaluated using stratified, group-aware five-fold cross-validation, Auto-GlaKG achieves a pooled area under the receiver operating characteristic curve (AUC) of 0.951 (95% confidence interval: 0.931--0.969), with sensitivity of 0.970 and specificity of 0.779. The matched image classifier also achieves an AUC of 0.951, while the rule stage adds 0.2~ms per image. Replacing predicted CDR with its annotation increases fold-mean AUC from 0.953 to 0.995. The framework provides an explicit rule-level account of image-based predictions and identifies CDR estimation as a priority for validation using independently measured biomarkers.
Cheng Huang, Zeyu Han, Yian Hu +3
Department of Genetics, Washington University in St. Louis, St. Louis, MO 63110, USA · Department of Computer Science, Southern Methodist University, Dallas, TX 75205, USA · Department of Health Data Science and Artificial Intelligence, University of Texas Health Science Center at Houston, Houston, TX 77030, USA +3
Glaucoma is a leading cause of irreversible blindness worldwide, yet most automated diagnosis systems rely on opaque deep-learning models that offer little clinical interpretability. We present GlaKG, a biomarker-centric fundus knowledge graph that integrates structural biomarkers, clinically grounded rules, and image features to produce traceable reasoning for glaucoma diagnosis and risk stratification. GlaKG encodes six entity types (Fundus Image, Optic Disc, Neural Rim, Pathology, Diagnosis, Risk Level), eight relation types, and 11 clinically validated rules into a unified graph, so that every prediction is accompanied by an explicit reasoning chain linking biomarker evidence to activated clinical rules. To keep knowledge-based reasoning strictly separate from label information, we adopt a post-processing fusion framework that combines ResNet50 image embeddings with a normalized KG reasoning-chain score via a tunable weight alpha, with all fitting confined to the training split. On a publicly available, AI-annotated fundus dataset, GlaKG reaches F1 = 0.9953 for binary glaucoma classification and 0.930 accuracy with 0.922 weighted F1 for four-class risk stratification; we report openly that the dataset's biomarker annotations are highly label-correlated, and therefore frame these figures as an upper bound attainable with clean structured biomarkers rather than as leakage-free image-only performance. Feature-importance analysis shows KG-derived and biomarker features contributing near-equally (51.1% vs. 48.9%), and the reasoning chain flags borderline cases by exposing low chain scores rather than failing silently. GlaKG's central contribution is therefore a clinically auditable reasoning framework that complements raw predictive performance by explicitly exposing the biomarker evidence and rule activations behind each decision.
Cheng Huang, Jia Zhang, Yi Jiang +7
University of Texas Southwestern Medical Center · 2Southern Methodist University · 3Nanyang Technological University +1
Early and accurate glaucoma detection is critical to prevent irreversible vision loss, yet existing AI methods often rely on unimodal inputs and lack interpretability. We present GlaBoost, a multimodal gradient boosting framework that unifies three complementary signals for glaucoma risk prediction: fundus image embeddings from a pretrained convolutional encoder,free-text neuroretinal rim assessments encoded by a transformer-based language model, and structured ophthalmic biomarkers. These modalities are fused into a single representation and classified by an enhanced XGBoost model.On two real-world annotated datasets, GlaBoost consistently outperforms unimodal and generic multimodal baselines. Feature importance analysis highlights the cup-to-disc ratio, rim thinning, and the ISNT rule as the dominant predictors, yielding clinically consistent and interpretable decisions. GlaBoost offers a transparent and scalable foundation for multimodal decision support in ophthalmology.
Cheng Huang, Zeyu Han, Weizheng Xie +4
Department of Computer Science, Southern Methodist University, Dallas, TX 75205, USA · Department of Ophthalmology, UT Southwestern Medical Center, Dallas, TX 75390, USA · High Performance Computing Program, National Aeronautics and Space Administration, Washington, DC 20546, USA