Zero-Shot LLMs for Named Entity Recognition: Targeting Cardiac Function Indicators in German Clinical Texts
Authors:
Open Access
- 30 August 2024
- book chapter
- Published by IOS Press
- Vol. 317, 228-234
Abstract
Introduction: Large Language Models (LLMs) like ChatGPT have become increasingly prevalent. In medicine, many potential areas arise where LLMs may offer added value. Our research focuses on the use of open-source LLM alternatives like Llama 3, Gemma, Mistral, and Mixtral to extract medical parameters from German clinical texts. We concentrate on German due to an observed gap in research for non-English tasks. Objective: To evaluate the effectiveness of open-source LLMs in extracting medical parameters from German clinical texts, specially focusing on cardiovascular function indicators from cardiac MRI reports. Methods: We extracted 14 cardiovascular function indicators, including left and right ventricular ejection fraction (LV-EF and RV-EF), from 497 variously formulated cardiac magnetic resonance imaging (MRI) reports. Our systematic analysis involved assessing the performance of Llama 3, Gemma, Mistral, and Mixtral models in terms of right annotation and named entity recognition (NER) accuracy. Results: The analysis confirms strong performance with up to 95.4% right annotation and 99.8% NER accuracy across different architectures, despite the fact that these models were not explicitly fine-tuned for data extraction and the German language. Conclusion: The results strongly recommend using open-source LLMs for extracting medical parameters from clinical texts, including those in German, due to their high accuracy and effectiveness even without specific fine-tuning.Keywords
This publication has 5 references indexed in Scilit:
- Systematic analysis of ChatGPT, Google search and Llama 2 for clinical decision support tasksNature Communications, 2024
- Large language models in medicineNature Medicine, 2023
- Information extraction from German radiological reports for general clinical text and language understandingScientific Reports, 2023
- A Survey on Recent Named Entity Recognition and Relationship Extraction Techniques on Clinical TextsApplied Sciences, 2021
- 2018 n2c2 shared task on adverse drug events and medication extraction in electronic health recordsJournal of the American Medical Informatics Association, 2020