MedSlice: fine-tuned large language models for secure clinical note sectioning

0Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Objectives: Extracting sections from clinical notes is crucial for downstream analysis but is challenging due to variability in formatting and labor-intensive nature of manual sectioning. This study develops a pipeline for automated note sectioning using open-source large language models (LLMs), focusing on three sections: History of Present Illness, Interval History, and Assessment and Plan. Materials and Methods: We fine-tuned three open-source LLMs to extract sections using a curated dataset of 487 progress notes, comparing results relative to proprietary models (GPT-4o, GPT-4o mini). Internal and external validity were assessed via precision, recall, and F1 score. Results: Fine-tuned Llama 3.1 8B (F1 ¼ 0.92) outperformed GPT-4o. On the external validity test set, performance remained high (F1 ¼ 0.85). Discussion: While proprietary LLMs have shown promise, privacy concerns limit their utility in medicine; fine-tuned, open-source LLMs offer advantages in cost, performance, and accessibility. Conclusion: Fine-tuned, open-source LLMs can surpass proprietary models in clinical note sectioning.

Cite

CITATION STYLE

APA

Davis, J., Sounack, T., Sciacca, K., Brain, J. M., Durieux, B. N., Agaronnik, N. D., & Lindvall, C. (2026). MedSlice: fine-tuned large language models for secure clinical note sectioning. JAMIA Open, 9(1). https://doi.org/10.1093/jamiaopen/ooaf179

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free