Viability of Open Large Language Models for Clinical Documentation in German Health Care: Real-World Model Evaluation Study

Felix Heilmeyer,Daniel Böhringer,Thomas Reinhard,Sebastian Arens,Lisa Lyssenko,Christian Haverkamp
DOI: https://doi.org/10.2196/59617
IF: 3.2
2024-08-31
JMIR Medical Informatics
Abstract:Background: The use of Large Language Models (LLMs) as writing assistance for medical professionals is a promising approach to reduce the time required for documentation, but there may be practical, ethical, and legal challenges in many jurisdictions complicating the use of the most powerful commercial LLM solutions. Objective: In this study, we assess the feasibility of using non-proprietary LLMs of the Generative Pretrained Transformer (GPT) variety as writing assistance for medical professionals in an on-premise setting with restricted compute resources, generating German medical text. Methods: We train four 7B parameter four models with three different architectures for our task and evaluate their performance using a powerful commercial LLM, namely Anthropic's Claude-v2 as a rater. Based on this, we select the best performing model and evaluate its practical usability with two independent human raters on real world data. Results: In the automated evaluation with Claude-v2 BLOOM-CLP-German, a model trained from scratch on German text, achieved the best results. In the manual evaluation by human experts, 95 of the 102 reports generated by that model were evaluated as usable as is or with only minor changes by both human raters (93.1%). Conclusions: The results show that even with restricted compute resources it is possible to generate medical texts that are suitable for documentation in routine clinical practice. However, the target language should be considered in the model selection when processing non-English text.
medical informatics
What problem does this paper attempt to address?