Predicting Glaucoma Before Onset Using a Large Language Model Chatbot
- PMID: 38823673
- PMCID: PMC11402578
- DOI: 10.1016/j.ajo.2024.05.022
Predicting Glaucoma Before Onset Using a Large Language Model Chatbot
Abstract
Purpose: To investigate the capability of ChatGPT for forecasting the conversion from ocular hypertension (OHT) to glaucoma based on the Ocular Hypertension Treatment Study (OHTS).
Design: Retrospective case-control study.
Participants: A total of 3008 eyes of 1504 subjects from the OHTS were included in the study.
Methods: We selected demographic, clinical, ocular, optic nerve head, and visual field (VF) parameters 1 year before glaucoma development from the OHTS participants. Subsequently, we developed queries by converting tabular parameters into textual format based on both eyes of all participants. We used the ChatGPT application program interface (API) to automatically perform ChatGPT prompting for all subjects. We then investigated whether ChatGPT can accurately forecast conversion from OHT to glaucoma based on various objective metrics.
Main outcome measure: Accuracy, area under the receiver operating characteristic curve (AUC), sensitivity, specificity, and weighted F1 score.
Results: ChatGPT4.0 demonstrated an accuracy of 75%, AUC of 0.67, sensitivity of 56%, specificity of 78%, and weighted F1 score of 0.77 in predicting conversion to glaucoma 1 year before onset. ChatGPT3.5 provided an accuracy of 61%, AUC of 0.62, sensitivity of 64%, specificity of 59%, and weighted F1 score of 0.63 in predicting conversion to glaucoma 1 year before onset.
Conclusions: The performance of ChatGPT4.0 in forecasting development of glaucoma 1 year before onset was reasonable. The overall performance of ChatGPT4.0 was consistently higher than ChatGPT3.5. Large language models (LLMs) hold great promise for augmenting glaucoma research capabilities and enhancing clinical care. Future efforts in creating ophthalmology-specific LLMs that leverage multimodal data in combination with active learning may lead to more useful integration with clinical practice and deserve further investigations.
Copyright © 2024 Elsevier Inc. All rights reserved.
Conflict of interest statement
Declaration of interests
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Similar articles
-
Diagnosing Glaucoma Based on the Ocular Hypertension Treatment Study Dataset Using Chat Generative Pre-Trained Transformer as a Large Language Model.Ophthalmol Sci. 2024 Aug 22;5(1):100599. doi: 10.1016/j.xops.2024.100599. eCollection 2025 Jan-Feb. Ophthalmol Sci. 2024. PMID: 39346574 Free PMC article.
-
Validating and Updating the OHTS-EGPS Model Predicting 5-year Glaucoma Risk among Ocular Hypertension Patients Using Electronic Records.Ophthalmol Glaucoma. 2025 Mar-Apr;8(2):143-151. doi: 10.1016/j.ogla.2024.10.009. Epub 2024 Nov 4. Ophthalmol Glaucoma. 2025. PMID: 39505150
-
Comparison of diagnostic capability of macular ganglion cell complex and retinal nerve fiber layer among primary open angle glaucoma, ocular hypertension, and normal population using Fourier-domain optical coherence tomography and determining their functional correlation in Indian population.Indian J Ophthalmol. 2016 Apr;64(4):296-302. doi: 10.4103/0301-4738.182941. Indian J Ophthalmol. 2016. PMID: 27221682 Free PMC article.
-
Predicting Development of Glaucomatous Visual Field Conversion Using Baseline Fourier-Domain Optical Coherence Tomography.Am J Ophthalmol. 2016 Mar;163:29-37. doi: 10.1016/j.ajo.2015.11.029. Epub 2015 Nov 26. Am J Ophthalmol. 2016. PMID: 26627918 Free PMC article.
-
Pulsar perimetry in the diagnosis of early glaucoma.Am J Ophthalmol. 2010 Jan;149(1):102-12. doi: 10.1016/j.ajo.2009.07.020. Epub 2009 Oct 2. Am J Ophthalmol. 2010. PMID: 19800607
Cited by
-
Large language models in the management of chronic ocular diseases: a scoping review.Front Cell Dev Biol. 2025 Jun 18;13:1608988. doi: 10.3389/fcell.2025.1608988. eCollection 2025. Front Cell Dev Biol. 2025. PMID: 40607211 Free PMC article. Review.
-
Artificial intelligence and glaucoma: a lucid and comprehensive review.Front Med (Lausanne). 2024 Dec 16;11:1423813. doi: 10.3389/fmed.2024.1423813. eCollection 2024. Front Med (Lausanne). 2024. PMID: 39736974 Free PMC article. Review.
-
GlaucoRAG: A Retrieval-Augmented Large Language Model for Expert-Level Glaucoma Assessment.medRxiv [Preprint]. 2025 Jul 7:2025.07.03.25330805. doi: 10.1101/2025.07.03.25330805. medRxiv. 2025. PMID: 40672509 Free PMC article. Preprint.
-
What will the future role for large language models (LLMs) be in managing patients with glaucoma?Expert Rev Ophthalmol. 2025 Jun;20(3):123-126. doi: 10.1080/17469899.2025.2487532. Epub 2025 Apr 1. Expert Rev Ophthalmol. 2025. PMID: 40800545 No abstract available.
-
Opportunities and Challenges of Chatbots in Ophthalmology: A Narrative Review.J Pers Med. 2024 Dec 21;14(12):1165. doi: 10.3390/jpm14121165. J Pers Med. 2024. PMID: 39728077 Free PMC article. Review.
References
-
- Tham YC, Li X, Wong TY, Quigley HA, Aung T, Cheng CY. Global prevalence of glaucoma and projections of glaucoma burden through 2040: a systematic review and meta-analysis. Ophthalmology. 2014;121(11):2081–2090. - PubMed
-
- Coleman AL, Miglior S. Risk factors for glaucoma onset and progression. Surv Ophthalmol. 2008;53 Suppl1:S3–10. - PubMed
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources