Assessing consistency of AI chatbot responses in ophthalmology medical exams

• Gemini 2.0 Experimental Advanced showed the highest accuracy and lowest variability. • GPT-4 showed significantly lower test accuracy in the evening. • Different user credentials did not show a significant difference in performance. • All performed significantly better in text-based questions compared to image-based. Large language models (LLMs) are increasingly evaluated in ophthalmology, often using single test iterations that overlook whether responses remain consistent under repeated conditions. We aim to assess commonly used AI models under multiple testing iterations with varying conditions, including time of day, user credentials, and input type to determine their stability in ophthalmology contexts. Comparative analysis study. We tested GPT-4o, GPT-4, and Gemini 2.0 Experimental Advanced on 111 multiple-choice questions from the “fundamentals” section of the Israeli ophthalmology residency exams. Each underwent 12 testing iterations, alternating daily testing time and user accounts to assess for potential biases. Iteration-level consistency was assessed by variation in accuracy across runs, while question-level consistency measured agreement in answers per question. Mixed-effects logistic regression estimated the effects of time of day, user account, and question modality. Question-level agreement was further analysed with Fleiss’ κ and response-pattern distributions. Gemini achieved the highest overall accuracy with smallest variation (84.5%, SD 1.54), followed by GPT-4o (81.2%, SD 1.75) and GPT-4 (72.4%, SD 2.98). Mixed-effects models showed significant evening performance decline in GPT-4 (OR 1.61, p=0.0045). No account-related differences were observed. All models performed markedly worse on image-based items than text (p<0.001). Question-level analysis revealed high raw consistency but lower corrected consistency, especially for GPT-4. LLMs tested demonstrated stable outputs across repeated questioning, though with notable model-specific variability and consistent challenges in image-based items. Future consistency testing should complement accuracy assessments when evaluating LLMs for potential integration into ophthalmology education and practice.

Authors

Institutions

Publication Details

Journal
AJO International
Published
2025-10-22
DOI
https://doi.org/10.1016/j.ajoint.2025.100189
Citations
1
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
0.65
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Assessing consistency of AI chatbot responses in ophthalmology medical exams

Daniel Bahir, Omri Zur, Eyal Margalit, Elad Shvartz et al.
1 citations
AJO International
Artificial Intelligence in Healthcare and Education
0.65
article

Assessing consistency of AI chatbot responses in ophthalmology medical exams

Daniel Bahir, Omri Zur, Eyal Margalit, Elad Shvartz, Regina Raiyter, Amelia Goldshtein
article en
1 citations

Abstract

• Gemini 2.0 Experimental Advanced showed the highest accuracy and lowest variability. • GPT-4 showed significantly lower test accuracy in the evening. • Different user credentials did not show a significant difference in performance. • All performed significantly better in text-based questions compared to image-based. Large language models (LLMs) are increasingly evaluated in ophthalmology, often using single test iterations that overlook whether responses remain consistent under repeated conditions. We aim to assess commonly used AI models under multiple testing iterations with varying conditions, including time of day, user credentials, and input type to determine their stability in ophthalmology contexts. Comparative analysis study. We tested GPT-4o, GPT-4, and Gemini 2.0 Experimental Advanced on 111 multiple-choice questions from the “fundamentals” section of the Israeli ophthalmology residency exams. Each underwent 12 testing iterations, alternating daily testing time and user accounts to assess for potential biases. Iteration-level consistency was assessed by variation in accuracy across runs, while question-level consistency measured agreement in answers per question. Mixed-effects logistic regression estimated the effects of time of day, user account, and question modality. Question-level agreement was further analysed with Fleiss’ κ and response-pattern distributions. Gemini achieved the highest overall accuracy with smallest variation (84.5%, SD 1.54), followed by GPT-4o (81.2%, SD 1.75) and GPT-4 (72.4%, SD 2.98). Mixed-effects models showed significant evening performance decline in GPT-4 (OR 1.61, p=0.0045). No account-related differences were observed. All models performed markedly worse on image-based items than text (p<0.001). Question-level analysis revealed high raw consistency but lower corrected consistency, especially for GPT-4. LLMs tested demonstrated stable outputs across repeated questioning, though with notable model-specific variability and consistent challenges in image-based items. Future consistency testing should complement accuracy assessments when evaluating LLMs for potential integration into ophthalmology education and practice.

AJO InternationalVol. 2(4)
Bar-Ilan University (IL), Hebrew University of Jerusalem (IL), Kaplan Medical Center (IL), Assaf Harofeh Medical Center (IL)
Openalex Percentile: Top 21%
Artificial Intelligence in Healthcare and Education
0.65
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.