Diagnostic Accuracy of Commercial Large Language Models for Anogenital Skin Lesion Images: A Comparative Study of Gemini, Claude, and ChatGPT

Read full text
Authors: Nyi Nyi Soe, Phyu Mon Latt, David Lee, Ei T. Aung, Ryan Horn, Jason J. Ong, Christopher K Fairley, Eric P F Chow
Cited by: 3
References: 23

Abstract

BACKGROUND: Diagnosing anogenital dermatological conditions often requires specialist expertise that is unavailable in many clinical settings. Large language models (LLMs) are increasingly accessible to clinicians, but their diagnostic accuracy for anogenital dermatology has not been evaluated. We evaluated the diagnostic accuracy of 3 LLMs (Gemini 2.5 Pro, Claude Opus 4.1, and ChatGPT 5 Thinking) for anogenital dermatological conditions. METHODS: This study was conducted between September and November 2025, using deidentified clinical images of anogenital conditions from the STI Atlas (stiatlas.org) and other publicly available sources. Primary outcomes were correct classification of images identified as sexually transmitted infections (STIs) vs non-STIs and the inclusion of the correct diagnosis among the LLMs' top-ranked (top-1), top-3, or top-5 differential diagnoses. RESULTS: Among 218 images, Gemini achieved the highest accuracy for STI binary classification (76.2% [95% CI, 70.5%-81.9%]) and differential diagnosis (top-1, 39.0% [95% CI, 32.7%-45.7%]; top-3, 54.6% [95% CI, 47.9%-61.1%]; top-5, 60.6% [95% CI, 53.9%-66.9%]), followed by ChatGPT and Claude. In subgroup analysis, all LLMs showed substantially reduced accuracy for diagnostically challenging images (top-5 accuracy range, 29.2%-40.0%). Gemini consistently outperformed Claude across most subgroups (P < .05). None of the LLMs could identify any mpox correctly. CONCLUSIONS: LLMs showed limited accuracy for diagnosing anogenital dermatological conditions, particularly for challenging images. The best-performing model (Gemini) achieved only 39.0% for top-1 diagnosis, indicating that current LLMs cannot reliably diagnose anogenital conditions. These tools may support supervised clinical triage but need further validation before routine clinical use. Future studies should compare LLMs with clinicians and explore how they can assist clinical diagnosis.

Fields of Study & Subjects

Cutaneous Melanoma Detection and Management Dermatological and COVID-19 studies Dermatology and Skin Diseases

Publication details

Journal / source
The Journal of Infectious Diseases
Publisher
Oxford University Press (OUP)
Volume
234
Issue
2
Pages
e330–e337
Publication date
7 May 2026
Language
EN