Applications of ChatGPT in Ophthalmology

From EyeWiki

All content on Eyewiki is protected by copyright law and the Terms of Service. This content may not be reproduced, copied, or put into any artificial intelligence program, including large language and generative AI models, without permission from the Academy.


Introduction

Chat Generative Pre-trained Transformer (ChatGPT) is a large language model created by openAI in San Francisco that generates dialogue. ChatGPT is able to understand human language and respond to questions with a variety of answers. ChatGPT’s many functions include answering questions, translating languages, writing stories, and summarizing text. ChatGPT may play several roles in future medical education, such as answering research questions, generating case studies, and assessing student essays. In addition, ChatGPT may be used in clinical settings to generate notes, assist with treatment decisions, and communicate with patients.[1]

However, ChatGPT has limitations. Mainly, it may ignore the context of specific questions, which may cause it to generate irrelevant or even erroneous answers. With the increasing speed and accuracy of AI advancements, large language models like ChatGPT may play a larger role in medical education and clinical settings in ophthalmology.[1]

ChatGPT in Ophthalmology

There is potential to apply ChatGPT to ophthalmological contexts, despite certain limitations; it may ultimately benefit both practitioners and patients. Searching the keywords “ChatGPT” and “ophthalmology” in PubMed generated a total of 83 papers, a handful of which were included in the table below.

Paper Author Published Applications of ChatGPT Pros of ChatGPT Cons of ChatGPT
ChatGPT and Ophthalmology: Exploring Its Potential with Discharge Summaries and Operative Notes[2] Singh et al. July 2023 ●      Encouraging performance by ChatGPT in constructing ophthalmic discharge summaries and operative notes ●      Generated detailed responses in seconds

●      Could include follow-up instructions, medication, consultation times, and location

●      Corrected itself when confronted about factual inaccuracies

●      Operative notes required significant tuning
Eyes on AI: ChatGPT's Transformative Potential Impact on Ophthalmology[3] Dossantos et al. June 2023 ●      Can be used to conduct literature reviews and perform data analysis

●      Aid in making diagnoses and treatment recommendations

●      Assist with patient education

●      Serves as study aid for trainees and practitioners

●      Has potential to improve efficacy of patient triage by categorizing patient complaints by severity

●      Streamlines research process

●      Potential issues with accuracy, bias and ethics

●      Questions regarding data security and compliance with HIPAA

●      ChatGPT is limited to knowledge until September 2021

The Use of ChatGPT to Assist in Diagnosing Glaucoma Based on Clinical Case Reports[4] Delsoz et al September 2023 ●      Used for clinical diagnosis

●      Accuracy of ChatGPT to diagnose patients with primary and secondary glaucoma, using specific case examples was similar to senior ophtho residents

●      ChatGPT was correct on eight out of eight cases with common glaucoma cases

●      Useful in settings with limited access to ophtho (EM/primary care)

●      Primarily incorrect on uncommon and atypical glaucoma cases

●      Results of article specific for case examples where info is organized, real-world info may not be

●      Residents were able to review and interpret VF printouts, fundus images, and OCT reports in the case descriptions, ChatGPT can’t

Appropriateness and Readability of ChatGPT-4-Generated Responses for Surgical Treatment of Retinal Diseases[5] Momenaei et al October 2023 ●      ChatGPT-4 provides appropriate responses regarding definition, prevalence, risk factors, treatments, surgical success rates, postoperative information, and vision recovery after surgery for RD, MH, and ERM ●      Can be used as accessible supplemental resource for patient education about retinal procedures ●      ChatGPT recommendations had low readability scores

●      Inappropriate answers were generated in terms of prevention and diagnostic methods of macular holes and epiretinal membranes, adverse effects of laser, and visual improvement after silicone oil removal

Performance of ChatGPT in Diagnosis of Corneal Eye Diseases[6] Delsoz et al August 2023 ●      Enhances diagnostic speed and efficacy

●      Consistent identification of underlying conditions

●      ChatGPT 4.0 had a 85% success rate for diagnosing corneal eye diseases, compared to 60% success rate from ChatGPT version 3.5

●      Faster diagnosis compared to clinician

●      Inaccuracies in providing diagnoses for rare disease

ChatGPT has the potential to generate a detailed and accurate ophthalmic note in a short amount of time. In their study, Waisberg et al. asked ChatGPT to generate a cataract surgery operative note.[7] ChatGPT correctly included the key steps involved in cataract surgery including the incision, curvillinear capsulorhexis, phacoemulsification, lens implantation and wound closure, in addition to the essential components of a well-written ophthalmic note.[7] Additionally, ChatGPT can be used in underserved areas to aid in diagnoses of trachoma and other infectious ocular diseases, diseases that are treatable but vision-threatening if not addressed.[8] Improved knowledge of their disease can empower patients; ChatGPT is an accessible and user-friendly resource that would allow patients to further their understanding and make informed decisions about their health.[8] ChatGPT can also be used by ophthalmologists to ensure that the essential information about a diagnosis is well understood by their patients.[8]

ChatGPT in Neuro-ophthalmology

A limited number of studies thus far have been published discussing the potential use of ChatGPT in neuro-ophthalmic clinical settings. One study by Madadi et al. compared the diagnostic accuracy of ChatGPT and neuro-ophthalmologists after being given identical text from case reports.[9] The study reported an 82 percent accuracy rating of ChatGPT and an 86 percent accuracy rating of the neuro-ophthalmologists. With such promising results, ChatGPT demonstrates the potential to assist clinicians in diagnosing neuro-ophthalmic diseases effectively.[9] The study also suggests that ChatGPT can be used as a supplemental resource by clinicians in areas where there is a shortage of neuro-ophthalmologists.[9]

Another study completed by Kao et al. examined the use of ChatGPT in creating neuro-ophthalmic handouts and educational materials.[10] After assessing the handouts for accuracy/comprehensiveness, bias, currency, tone, and readability, fellowship-trained ophthalmologists reported a moderate level of satisfaction with the quality of the materials.[10] The findings of the study demonstrated that ChatGPT can be used to create an initial draft of educational materials for patients, but they must be further refined and edited by a neuro-ophthalmologist before dissemination.[10]

A study conducted by Waisberg et al. reported that ChatGPT can be used by clinicians to write complete and easy-to-read discharge summaries.[11] ChatGPT can also be used to stay up-to-date with the latest clinical trials and advancements in medicine.[11] The study reported limitations in the image analysis feature of ChatGPT which incorrectly interpreted fundus photographs of anterior ischemic optic neuropathy (AION) and non-arteric anterior ischemic optic neuropathy.[11] Another article explored the artificial intelligence-powered chatbot, Bard, developed by Google, and its use in ophthalmologic settings. Unlike ChatGPT, when a fundus image of AION was presented to Bard, it was able to identify it as an optic nerve, but it incorrectly provided information about glaucoma.[12]

Additional studies must be conducted to examine further how ChatGPT can be used in neuro-ophthalmic clinical settings. Given the findings from studies exploring how ChatGPT can be used in other fields of ophthalmology, neuro-ophthalmologists and their patients have the potential to greatly benefit from ChatGPT. More specifically, neuro-ophthalmologists can use ChatGPT to provide therapeutic and diagnostic suggestions based on patient data; answer medical inquiries using up-to-date literature; and formulate research questions. The program can be used to analyze visual field deficits and interpret findings from optical coherence tomography images, as well as magnetic resonance imaging and computed tomography scans.

ChatGPT can also assist further in the research process by helping to conduct literature reviews, data analysis, and peer review. Patients in neuro-ophthalmic clinic settings can utilize ChatGPT as an educational source to improve their understanding of their disease as well as their prognosis. Neuro-ophthalmic fellows and ophthalmology residents can also utilize ChatGPT to generate practice questions as a study aid.

Ethical Considerations

While ChatGPT has significant potential to be used as a resource in neuro-ophthalmology, there are many limitations associated with it. Lack of recency is a key limitation, as ChatGPT was trained using data only until September 2021. Google’s AI chatbot, Bard, on the other hand, lacks this issue because it is linked to the Google and can provide more real time data.[12] Additionally, ChatGPT was trained using various unverified Internet sources, which may cause patient harm. ChatGPT’s sources lack transparency, as they are not substantiated by references. Other ethical concerns include data privacy and security, as neuro-ophthalmologists may upload facial photos, or images with identifying features. This may breach biometric security and lead to identity theft.

ChatGPT is also vulnerable to a phenomenon known as hallucination, where the model generates plausible-sounding information with flawed reasoning. This presents a challenge in clinical settings, where precise diagnoses are essential to making major patient care decisions. ChatGPT excels in answering simple, single-step questions. However, it falters in answering more complex, multi-step questions. This is concerning in real-world settings, as medical diagnoses involve navigating an extremely complex labyrinth of information.

Finally, a major limitation of ChatGPT is a “lack of image interpretation that limits their applicability in more complex cases with information from various imaging modalities.”[9] Neuro-ophthalmology’s heavy reliance on imaging presents a major barrier to using ChatGPT to diagnose patients. Large language models like ChatGPT continue to evolve and may play an increased role in clinical care and decision-making in the future.

References

  1. 1.0 1.1 Khan RA, Jawaid M, Khan AR, Sajjad M. ChatGPT - Reshaping medical education and clinical management. Pak J Med Sci. 2023;39(2):605-607. doi:10.12669/pjms.39.2.7653
  2. Singh S, Djalilian A, Ali MJ. ChatGPT and Ophthalmology: Exploring Its Potential with Discharge Summaries and Operative Notes. Semin Ophthalmol. 2023;38(5):503-507. doi:10.1080/08820538.2023.2209166
  3. Dossantos J, An J, Javan R. Eyes on AI: ChatGPT's Transformative Potential Impact on Ophthalmology. Cureus. 2023;15(6):e40765. Published 2023 Jun 21. doi:10.7759/cureus.40765
  4. Delsoz M, Raja H, Madadi Y, et al. The Use of ChatGPT to Assist in Diagnosing Glaucoma Based on Clinical Case Reports. Ophthalmol Ther. 2023;12(6):3121-3132. doi:10.1007/s40123-023-00805-x
  5. Momenaei B, Wakabayashi T, Shahlaee A, et al. Appropriateness and Readability of ChatGPT-4-Generated Responses for Surgical Treatment of Retinal Diseases. Ophthalmol Retina. 2023;7(10):862-868. doi:10.1016/j.oret.2023.05.022
  6. Delsoz M, Madadi Y, Munir WM, et al. Performance of ChatGPT in Diagnosis of Corneal Eye Diseases. Preprint. medRxiv. 2023;2023.08.25.23294635. Published 2023 Aug 28. doi:10.1101/2023.08.25.23294635
  7. 7.0 7.1 Waisberg E, Ong J, Masalkhi M, et al. GPT-4 and Ophthalmology Operative Notes. Ann Biomed Eng. 2023;51(11):2353-2355. doi:10.1007/s10439-023-03263-5
  8. 8.0 8.1 8.2 Masalkhi M, Ong J, Waisberg E, et al. ChatGPT to document ocular infectious diseases. Eye (Lond). Published online November 15, 2023. doi:10.1038/s41433-023-02823-2
  9. 9.0 9.1 9.2 9.3 Madadi Y, Delsoz M, Lao PA, et al. ChatGPT Assisting Diagnosis of Neuro-ophthalmology Diseases Based on Case Reports. Preprint. medRxiv. 2023;2023.09.13.23295508. Published 2023 Sep 14. doi:10.1101/2023.09.13.23295508
  10. 10.0 10.1 10.2 Tao BK, Handzic A, Hua NJ, Vosoughi AR, Margolin EA, Micieli JA. Utility of ChatGPT for Automated Creation of Patient Education Handouts: An Application in Neuro-Ophthalmology. J Neuroophthalmol. Published online January 4, 2024. doi:10.1097/WNO.0000000000002074
  11. 11.0 11.1 11.2 Waisberg E, Ong J, Masalkhi M, et al. GPT-4: a new era of artificial intelligence in medicine. Ir J Med Sci. 2023;192(6):3197-3200. doi:10.1007/s11845-023-03377-8
  12. 12.0 12.1 Waisberg E, Ong J, Masalkhi M, et al. Google's AI chatbot "Bard": a side-by-side comparison with ChatGPT and its utilization in ophthalmology. Eye (Lond). Published online September 28, 2023. doi:10.1038/s41433-023-02760-0