Evaluating Large Language Models in Ophthalmology

Jason Holmes, Shuyuan Ye, Yiwei Li, Shi-Nan Wu, Zhengliang Liu, Zihao Wu, Jinyu Hu, Huan Zhao, Xi Jiang, Wei Liu, Hong Wei, Jie Zou, Tianming Liu, Yi ShaoarXiv 2023 · DOI

Abstract

Researchers evaluated the performance of three major Large Language Models (LLMs)—GPT-3.5, GPT-4, and PaLM 2—against human medical professionals in the highly specialized field of ophthalmology. The study found that GPT-4 performs at a level comparable to attending physicians, significantly outperforming medical undergraduates and matching or exceeding the performance of medical masters students.

Introduction

While Large Language Models (LLMs) have demonstrated success in general medical examinations like the USMLE, concerns regarding data leakage and specialization barriers persist. Many existing benchmarks rely on public questions likely present in training data, complicating the distinction between true reasoning and memorization. Furthermore, specialized fields like ophthalmology present high "professional barriers" requiring complex clinical reasoning. This study addresses these issues by utilizing a brand-new, 100-item ophthalmology examination to test general-purpose LLMs without specific medical fine-tuning.

Methods

The researchers conducted a comparative study involving three models (GPT-3.5, GPT-4, and PaLM 2) and three human groups (9 medical undergraduates, 6 masters students in ophthalmology, and 3 attending ophthalmologists). A 100-item single-choice test was drafted by experienced ophthalmologists to ensure the content was not in the models' training sets. Evaluation metrics included mean accuracy across five trials, stability (standard deviation and correlation of answers), and confidence (analyzed via Poisson distribution).

Results

Accuracy and Performance

The performance gap between model generations was significant. GPT-4 achieved a mean score of 56%, placing it between medical masters students (51%) and expert attending physicians (62%). In contrast, GPT-3.5 (42%) and PaLM 2 (47%) performed closer to medical undergraduates (40%).

Average accuracy scores of LLMs vs. human medical professionals.

Stability and Consistency

GPT-4 demonstrated superior stability compared to other models, with a mean correlation of 0.83 across trials. This indicates a high level of consistency in its responses. Conversely, GPT-3.5 (0.59) and PaLM 2 (0.61) were more erratic, showing less reliability in their outputs across repeated trials.

Stability of model responses across multiple trials for GPT-4, GPT-3.5, and PaLM 2.

The "Confident but Wrong" Phenomenon

A key finding was the tendency of LLMs to be "confidently confused." Unlike humans, who may guess when uncertain, LLMs often provide the same incorrect answer consistently across multiple trials. GPT-4 provided correct answers with high confidence in 45% of cases but remained confidently incorrect on 37% of the questions.

Discussion and Future Work

Despite the impressive zero-shot capabilities of GPT-4, several limitations remain. Current LLMs are primarily text-based, whereas ophthalmology is a visual-heavy field. Transitioning to multimodal models that can interpret imaging (e.g., OCT, fundus photos) is a necessary next step. Additionally, the "black box" nature of LLMs and the risk of hallucinations necessitate human oversight and improved interpretability before clinical adoption. Finally, regulatory compliance is essential for direct patient care applications.

Summary updated

BibTeX
@misc{holmes2023evaluating,
  author = {Jason Holmes and Shuyuan Ye and Yiwei Li and Shi-Nan Wu and Zhengliang Liu and Zihao Wu and Jinyu Hu and Huan Zhao and Xi Jiang and Wei Liu and Hong Wei and Jie Zou and Tianming Liu and Yi Shao},
  title = {{Evaluating Large Language Models in Ophthalmology}},
  year = {2023},
  eprint = {2311.04933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.04933},
}
Figure