Automated annotation of verbal communication skills in objective structured clinical examinations using a retrieval-augmented large language model: a pilot comparison against human coders

Authors:

Abstract
Introduction: Communication and history-taking skills are core clinical competencies, yet their assessment in Objective Structured Clinical Examinations (OSCEs) is constrained by examiner workload and rater subjectivity. We evaluated whether a retrieval-augmented large language model (LLM) pipeline can reproduce trained human annotation of Calgary-Cambridge communication elements in OSCE encounters. Methods: Two hundred OSCE encounters of medical students with standardized patients were annotated against a nine-element Calgary-Cambridge codebook, eight of which were retained for transcript-based annotation. Forty encounters seeded a vector database of exemplars; the remaining 160 encounters were transcribed with Whisper and segmented into phrases, and each phrase was classified by an LLM (Claude 3.5 Sonnet) supplied with retrieved exemplars but not with the surrounding dialogue. Pipeline output was compared segment by segment with a human reference that had been completed before the pipeline was run; for each element, sensitivity, precision and F1 were computed from matched label counts, with micro- and macro-averages across elements. Results: Across the 160 encounters the coders assigned 4,408 labels and the pipeline 4,775, of which 3,532 matched (micro-averaged sensitivity 80.1%, precision 74.0%, F1 0.77; macro-averages 78.0%, 71.2% and 0.74). F1 was highest for gathering information (0.89), providing structure (0.83) and verbal empathy (0.83), intermediate for opening the discussion (0.75), understanding the patient's perspective (0.70) and reaching agreement (0.69), and lowest for sharing information (0.65) and providing closure (0.62). Precision was below sensitivity for every element. Conclusion: A retrieval-augmented LLM pipeline reproduced human coding of structured communication behaviors with high agreement, but agreement was lower for sharing information, closing the encounter and the more interpretive elements, and the pipeline consistently assigned more labels than the coders. Because neither a human-human agreement ceiling nor a comparison without retrieval was available, these findings are preliminary. Evaluation that reports precision alongside sensitivity for each element, accounts for dialogue context and is anchored to a measured human ceiling should precede any use of such pipelines in medical-education assessment.
Funding Information
  • Koç Üniversitesi (SF.00174)

This publication has 35 references indexed in Scilit: