Large language models in pathology: A comparative study of ChatGPT and Bard with pathology trainees on multiple-choice questions

Ann Diagn Pathol. 2024 Dec:73:152392. doi: 10.1016/j.anndiagpath.2024.152392. Epub 2024 Nov 2.

Abstract

Large language models (LLMs), such as ChatGPT and Bard, have shown potential in various medical applications. This study aimed to evaluate the performance of LLMs, specifically ChatGPT and Bard, in pathology by comparing their performance with those of pathology trainees, and to assess the consistency of their responses. We selected 150 multiple-choice questions from 15 subspecialties, excluding those with images. Both ChatGPT and Bard were tested on these questions across three separate sessions between June 2023 and January 2024, and their responses were compared with those of 16 pathology trainees (8 junior and 8 senior) from two hospitals. Questions were categorized into easy, intermediate, and difficult based on trainee performance. Consistency and variability in LLM responses were analyzed across three evaluation sessions. ChatGPT significantly outperformed Bard and trainees, achieving an average total score of 82.2% compared to Bard's 49.5%, junior trainees' 45.1%, and senior trainees' 56.0%. ChatGPT's performance was notably stronger in difficult questions (63.4%-68.3%) compared to Bard (31.7%-34.1%) and trainees (4.9%-48.8%). For easy questions, ChatGPT (83.1%-91.5%) and trainees (73.7%-100.0%) showed similar high scores. Consistency analysis revealed that ChatGPT showed a high consistency rate of 80%-85% across three tests, whereas Bard exhibited greater variability with consistency rates of 54%-61%. While LLMs show significant promise in pathology education and practice, continued development and human oversight are crucial for reliable clinical application.

Keywords: Artificial intelligence; Bard; ChatGPT; Comparative study; Inconsistency; Large language models; Medical education; Pathology; Resident.

Publication types

  • Comparative Study

MeSH terms

  • Clinical Competence / standards
  • Clinical Competence / statistics & numerical data
  • Educational Measurement / methods
  • Humans
  • Language
  • Pathology* / education