FoL 2026
L@S

Scalable LLM-based Coding of Dialogue in Healthcare Simulation: Balancing Coding Performance, Processing Time, and Environmental Impact

Fri Jul 3, 9:50 AM–10:15 AM · North 205
★ Notable speakers
Dragan Gašević ★★ — Learning analytics; co-founder of LAK conference and Society for Learning Analytics Research
Roberto Martinez-Maldonado ★★ — Multimodal learning analytics, human-centred AI in education, teamwork analytics in physical learning spaces

Extensive research shows that dialogue, the interactive process through which participants articulate and negotiate their thinking, plays a central role in constructing shared understanding, coordinating action, and shaping learning outcomes in teams. Analysing dialogue content has been central to advancing team learning theory and informing the design of computer-supported collaborative learning (CSCL) environments, yet this progress has depended on labour-intensive qualitative coding. Large language models (LLMs) offer new possibilities for automating dialogue analysis and for strengthening the dialogue layer within emerging multimodal learning analytics approaches, with recent studies demonstrating that they can approximate human coding through zero- and few-shot prompting. However, most prior work has focused on replicating human coding accuracy for research purposes, rather than addressing a more educationally consequential question: how can we design prompts that allow an LLM to label team dialogue accurately and fast enough to be useful in real settings, such as in-person healthcare simulations, where results must be returned quickly and computational cost and sustainability also matter? Thus, this paper investigates how prompt design and batching strategies can be optimised to balance coding accuracy, processing time, and environmental impact in team-based healthcare simulation debriefing. Using a dataset of $11,647$ utterances coded across six team learning dialogue constructs (codes), we compared four prompt designs across varying batch sizes, evaluating coding performance, processing time, and energy consumption, as well as the trade-offs between these metrics. Results indicate that increasing batch size improves speed and reduces energy use, but negatively impacts coding performance. Beyond demonstrating the feasibility of LLM-based qualitative analysis, this study offers practical guidance for scaling dialogue analytics in contexts where timeliness, privacy, and sustainability are critical.

Authors

Kiyoshige Garces, Vanessa Echeverria, Gloria Milena Fernandez-Nieto, Linxuan Zhao, Sachini Samaraweera, Dragan Gasevic, Roberto Martinez-Maldonado