Visual abstractsVisuals
ResearchJournal of Infectious Diseases · May 10, 2026

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

Soe NN, Latt PM, Lee D, Aung ET, Horn R, Ong JJ, et al
Infectious DiseaseAdult
Read the full paper free at PubMed Central ↗

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.

Topics

Humans; Large Language Models; Male; Female; Sexually Transmitted Diseases; Generative Artificial Intelligence; Skin Diseases; Anus Diseases

DOI: 10.1093/infdis/jiag258 · PubMed: 42105020

Cite this article

Soe NN, Latt PM, Lee D, Aung ET, Horn R, Ong JJ. Diagnostic Accuracy of Commercial Large Language Models for Anogenital Skin Lesion Images: A Comparative Study of Gemini, Claude, and ChatGPT. J Infect Dis. 2026. doi:10.1093/infdis/jiag258

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Similar articles

J Invest Dermatol · Feb 14, 2026 · Review · Dermatology

Artificial intelligence-enabled precision medicine for inflammatory skin diseases

Nat Med · Aug 4, 2026 · Research · Dermatology, Digital Health & AI

Divergent impacts of explainable AI for dermatological diagnosis on clinicians versus lay people

Nat Med · Mar 3, 2026 · Meta-analysis · Digital Health & AI Visual abstract

Large language model research in clinical medicine relies heavily on simulated tasks and exam questions

Nat Med · Jun 26, 2026 · Randomized trial · Family Medicine & Primary Care, Digital Health & AI Visual abstract

Generative artificial intelligence assistance did not reduce treatment failure in Kenyan primary care facilities

Nat Med · Jun 12, 2026 · Research · Digital Health & AI

General-purpose large language models outperform specialized clinical AI tools on medical benchmarks