A retrospective, single-institution pilot study published November 24, 2026, in Frontiers in Medicine reports that a retrieval-augmented large language model pipeline reproduced trained human coding of structured verbal communication behaviors in Objective Structured Clinical Examinations with high agreement, while performing worse on interpretive and closing skills and consistently over-labeling utterances. Across 160 English-language encounters between medical students and standardized patients, Tuba Mutluer, Engin Erzin, and colleagues at Koç University and partner Turkish institutions found that a pipeline using Claude 3.5 Sonnet matched 3,532 of 4,408 human-assigned labels, yielding a pooled micro-averaged F1 score of 0.77 and an unweighted macro-averaged F1 of 0.74. Agreement was highest for gathering information at 0.89 and lowest for providing closure at 0.62, while the pipeline assigned 4,775 labels overall and had lower precision than sensitivity on every element. Because neither a human-human agreement ceiling nor a non-retrieval baseline was available, these findings remain preliminary.
Clinician-patient communication directly affects patient satisfaction, adherence, and health outcomes, leading medical schools worldwide to adopt structured frameworks such as the Calgary-Cambridge Guide. In undergraduate training, Objective Structured Clinical Examinations, or OSCEs, assess these skills as students take histories, address concerns with empathy, and close consultations with standardized patients. However, OSCE communication scoring faces persistent psychometric and logistical challenges. Meta-analytic studies show that communication skills are rated substantially less reliably than technical skills across stations. In a multifaceted Rasch analysis of Calgary-Cambridge OSCE scores cited by the authors, variance from examiner stringency and leniency exceeded examinee variance more than fourfold, shifting roughly one in nine pass-or-fail decisions. Agreement is lowest for subjective, empathy-related items, standardized patient portrayals add measurement error, and examiners experience heavy cognitive load while observing and scoring simultaneously. Although prior studies tested language models on rubric-level OSCE scores, segment-level coding of framework-anchored behaviors in authentic recordings remained largely untested.
The researchers analyzed 200 retrospective, English-language OSCE video recordings collected between late 2023 and early 2024 at a single institution. Each video captured a different medical student performing a standardized history-taking and communication scenario with a standardized patient, avoiding student-level nesting. The Koç University Committee on Human Research approved the study on October 5, 2023, under an opt-out protocol where emailed students received a withdrawal period and none objected. Standardized patients sat facing away from the camera, and visual cues such as facial expressions, eye contact, and gestures were neither coded nor analyzed. Before annotation, a local Python 3.11 and OpenCV 4.10 pipeline running the pretrained YuNet face-detection model scanned every frame using a 0.60 confidence threshold and a 0.30 non-maximum suppression threshold. Detected bounding boxes were expanded 20 percent outward on all sides and permanently covered with solid black masks, name badges were separately obscured, an authorized researcher reviewed each recording in full, and a second researcher verified manually corrected segments.
After iterative review with clinical-communication faculty, the team finalized a nine-element Calgary-Cambridge codebook: Builds a Relationship, Opens the Discussion, Gathers Information, Understands the Patient’s Perspective, Shows Empathy (Verbal), Shares Information, Reaches Agreement, Provides Structure, and Provides Closure. Trained medical-education researchers manually annotated all 200 encounters in ELAN multimedia software from time-aligned automatic transcripts generated by OpenAI’s Whisper, the same transcripts later supplied to the automated pipeline, without coding visual cues. Utterances could receive multiple labels when appropriate, such as a closing summary tagged as both Provides Structure and Provides Closure. By consensus of the OSCE faculty committee, Builds a Relationship was excluded from phrase-level coding because it depends largely on visual and vocal cues, including warmth of tone, that transcripts omit. Roughly 10 percent of encounters were double-annotated by two coders and reconciled through discussion, but because only consensus annotations were retained rather than independent pre-reconciliation codes, human-human inter-annotator agreement could not be computed.
Rather than using zero-shot prompting, the automated pipeline applied retrieval-augmented generation to ground classifications in human-coded examples. The researchers randomly split the 200 encounters at the encounter level without scenario stratification, using 40 encounters to populate a vector database of representative phrases and tier labels for k-nearest-neighbor semantic search. For the remaining 160 evaluation encounters, Whisper ran locally so no audio, video, or image data left the institution, and transcripts were segmented into phrases. A researcher reviewed each English transcript to strip spoken personal identifiers before sending de-identified text via an application programming interface to cloud-hosted Claude 3.5 Sonnet. For each phrase, the pipeline retrieved the most semantically similar human exemplars and supplied them alongside the phrase text to the classifier, which assigned a communication element, tier label, and confidence score. Crucially, the model classified each phrase in isolation without adjacent dialogue turns or information about its position in the consultation.
Human coding concluded before the pipeline ran, ensuring coders never saw model outputs, and segment alignment and agreement calculations were fully automated without human adjudication. Pipeline segments were aligned to human segments using temporal overlap and transcript text. When split or merged segments did not align one-to-one, pipeline labels were combined and counted as a match if any label matched the human reference. This asymmetric rule can favor over-labeling; its frequency was not quantified, and agreement was not recomputed under a symmetric rule. Summing counts across all 160 encounters, the team calculated per-element sensitivity, precision, and F1, alongside pooled micro-averages and unweighted macro-averages. Cohen’s kappa was omitted because phrase-level coding lacks a defined set of negative cases. Because segments nested within encounters and encounters within scenarios without clustered confidence intervals, all estimates are point estimates. An exploratory comparison of additional language models was excluded because raw responses were not retained for verification.
Across the 160 encounters, human coders assigned 4,408 labels and the pipeline assigned 4,775, about 8 percent more, with 3,532 matches. Pooled micro-averaged sensitivity reached 80.1 percent, precision 74.0 percent, and F1 0.77, while unweighted macro-averages were 78.0 percent, 71.2 percent, and 0.74. Performance varied systematically across the eight evaluated elements. Agreement was highest for Gathers Information (F1 0.89; sensitivity 91.7 percent, precision 86.6 percent; 1,033 matched of 1,127 human and 1,193 pipeline labels), Provides Structure (0.83; 87.7 percent and 79.2 percent), and Shows Empathy (Verbal) (0.83; 84.9 percent and 80.6 percent). Intermediate agreement occurred for Opens the Discussion (0.75; 78.9 percent and 71.3 percent), Understands the Patient’s Perspective (0.70; 75.6 percent and 64.3 percent), and Reaches Agreement (0.69; 74.8 percent and 64.2 percent). Agreement was lowest for Shares Information (0.65; 65.7 percent and 63.5 percent) and Provides Closure (0.62; 64.8 percent and 60.2 percent). Precision trailed sensitivity on every element, and across five elements between 29 percent and 40 percent of pipeline labels lacked a human counterpart.
Top-performing elements, gathering information, providing structure, and verbal empathy, carry recognizable lexical markers such as questions, signposting, summarizing, and explicit sympathy. For lower-scoring elements, however, the design cannot separate two explanations: construct ambiguity, since human examiners also score interpretive behaviors less reliably, versus absent dialogue context, because closing or structuring moves often depend on consultation position. External studies cited by the authors point similarly: adding preceding turns improved automated psychotherapy coding, especially for therapist reflections, while an OSCE transcript study found chunk-based retrieval scored far worse than full-transcript input (kappa 0.56 versus 0.88). Yet the pattern here was uneven, as Provides Structure scored well despite positional dependence while Opens the Discussion reached only intermediate agreement. The findings also highlight metric distortion: reporting sensitivity alone overlooks added labels, and pooled micro-averages weight results toward frequent, well-coded information gathering, masking lower macro-averages.
Several methodological limitations constrain interpretation. The single-institution dataset and limited standardized scenarios restrict generalizability, and the point estimates lack clustered confidence intervals. Without a measured human-human agreement ceiling, an F1 of 0.62 for providing closure cannot be judged against how closely two trained coders agree on identical encounters. Because the pipeline was never run without retrieval, the exemplar library’s contribution remains untested; meanwhile, random encounter-level splitting without scenario stratification allowed the same scenarios in both exemplar and test sets, potentially returning near-verbatim exemplars and inflating agreement without a leave-one-scenario-out check. Both human coders and the model relied on identical Whisper transcripts whose word error rate was unmeasured, making the reference transcript-bound rather than encounter-bound, while segmentation and alignment heuristics add upstream error. Finally, the findings describe only Claude 3.5 Sonnet under one prompt configuration and omit visual and vocal communication cues.
In assessment practice, the authors suggest an automated pre-annotation layer could eventually triage OSCE recordings by coding structured behaviors at scale while routing interpretive or closing elements for faculty review, augmenting rather than replacing examiners. Before deployment in high-stakes medical-education assessment, however, further validation is required. Priorities include independently double-coding 20 to 30 encounters to establish per-element human-human F1 ceilings and confidence intervals, running a retrieval ablation with and without exemplars, and testing context-aware classification using adjacent dialogue turns. Future work should also incorporate leave-one-scenario-out and multi-institutional validation with clustered confidence intervals, cross-model comparisons with retained raw outputs, locally hosted open-weight models to keep transcripts inside institutional boundaries, multimodal models combining text and prosody to capture vocal empathy, confidence calibration, and prospective evaluations of examiner time, feedback quality, and fairness.
Subject of Research: Automated annotation of medical-student verbal communication skills in Objective Structured Clinical Examinations using a retrieval-augmented large language model
Article Title: Automated annotation of verbal communication skills in objective structured clinical examinations using a retrieval-augmented large language model: a pilot comparison against human coders
Article References: Mutluer, T., Tiryaki, E., Bekhan, M., Konakçı, B., Kukul, D., Usta, M. B., & Erzin, E. (2026). Automated annotation of verbal communication skills in objective structured clinical examinations using a retrieval-augmented large language model: a pilot comparison against human coders. Frontiers in Medicine, 13, Article 2017024. https://doi.org/10.3389/fmed.2026.2017024
Image Credits: AI Generated
DOI: 10.3389/fmed.2026.2017024
Keywords: Objective Structured Clinical Examinations, Calgary-Cambridge Guide, retrieval-augmented generation, large language models, Claude 3.5 Sonnet, Whisper transcription, medical education assessment, clinical communication skills, standardized patients, inter-rater reliability, automated transcript annotation, verbal empathy, precision and sensitivity, ELAN annotation, video de-identification, YuNet face detection, Koç University
News Source: Ophelia Keating. (December 2, 2026). Pilot Finds AI Matches Structured OSCE Coding but Adds Extra Labels. Scienmag.



