Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FairEnc: A Fair Vision-Language Model with Fair Vision and Text Encoders for Glaucoma Detection

About

Automated glaucoma detection is critical for preventing irreversible vision loss and reducing the burden on healthcare systems. However, ensuring fairness across diverse patient populations remains a significant challenge. In this paper, we propose FairEnc, a fair pretraining method for vision-language models (VLMs) that enables simultaneous debiasing across multiple sensitive attributes. FairEnc jointly mitigates biases in both textual and visual modalities with respect to multiple sensitive attributes, including race, gender, ethnicity, and language. Specifically, for the textual encoder, we leverage a large language model to generate synthetic clinical descriptions with varied sensitive attributes while preserving disease semantics, and employ a contrastive alignment objective to encourage demographic-invariant representations. For the visual encoder, we propose a dual-level fairness strategy that combines mutual information regularization to reduce statistical dependence between learned features and demographic groups, with multi-discriminator adversarial debiasing. Comprehensive experiments on the publicly available Harvard-FairVLMed dataset demonstrate that FairEnc effectively reduces demographic disparity as measured by DPD and DEOdds while achieving strong diagnostic performance under both zero-shot and linear probing evaluations. Additional experiments on the private FairFundus dataset show that FairEnc consistently preserves fairness advantages under cross-domain and cross-modality settings and maintains diagnostic performance within a competitive range. These results highlight FairEnc's ability to generalize fairness under distribution shifts, supporting its potential for more equitable deployment in real-world clinical settings. Our codebase and synthetic clinical notes are available at https://github.com/Mohamed-Elhabebe/FairEnc

Mohamed Elhabebe, Ayman El-Baz, Qing Liu• 2026

Related benchmarks

TaskDatasetResultRank
Medical Image ClassificationHarvard-FairVLMed Linear Probing (test)
Overall F1 Score69.04
24
Glaucoma DetectionHarvard-FairVLMed
DPD1.94
12
Glaucoma DetectionFairFundus Gender Partition (5 Fold Cross-Validation)
DPD1.09
6
Glaucoma DetectionFairFundus Age Partition (5 Fold Cross-Validation)
DPD1.91
6
Vision-Language Medical ClassificationHarvard-FairVLMed Race (test)
F167.75
6
Vision-Language Medical ClassificationHarvard-FairVLMed Gender (test)
F167.75
6
Vision-Language Medical ClassificationHarvard-FairVLMed Ethnicity (test)
F1 Score67.75
6
Vision-Language Medical ClassificationHarvard-FairVLMed Language (test)
F1 Score (Overall)67.75
6
Medical Image ClassificationFairFundus
F1 Score68.52
6
Showing 9 of 9 rows

Other info

Follow for update