A Large Language Model Based Pipeline for Review of Systems Entity Recognition from Clinical Notes

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nghiem, Hieu, Miao, Zhuqi, Singareddy, Hemanth Reddy, Lamichhane, Jivan, Ahmed, Abdulaziz, Thomas, Johnson, Delen, Dursun, Paiva, William
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917492370178048
author Nghiem, Hieu
Miao, Zhuqi
Singareddy, Hemanth Reddy
Lamichhane, Jivan
Ahmed, Abdulaziz
Thomas, Johnson
Delen, Dursun
Paiva, William
author_facet Nghiem, Hieu
Miao, Zhuqi
Singareddy, Hemanth Reddy
Lamichhane, Jivan
Ahmed, Abdulaziz
Thomas, Johnson
Delen, Dursun
Paiva, William
contents Objective: Develop a cost-effective, large language model (LLM)-based pipeline for automatically extracting Review of Systems (ROS) entities from clinical notes. Materials and Methods: The pipeline extracts ROS section from the clinical note using SecTag header terminology, followed by few-shot LLMs to identify ROS entities such as diseases or symptoms, their positive/negative status and associated body systems. We implemented the pipeline using 4 open-source LLM models: llama3.1:8b, gemma3:27b, mistral3.1:24b and gpt-oss:20b. Additionally, we introduced a novel attribution algorithm that aligns LLM-identified ROS entities with their source text, addressing non-exact and synonymous matches. The evaluation was conducted on 24 general medicine notes containing 340 annotated ROS entities. Results: Open-source LLMs enable a local, cost-efficient pipeline while delivering promising performance. Larger models like Gemma, Mistral, and Gpt-oss demonstrate robust performance across three entity recognition tasks of the pipeline: ROS entity extraction, negation detection and body system classification (highest F1 score = 0.952). With the attribution algorithm, all models show improvements across key performance metrics, including higher F1 score and accuracy, along with lower error rate. Notably, the smaller Llama model also achieved promising results despite using only one-third the VRAM of larger models. Discussion and Conclusion: From an application perspective, our pipeline provides a scalable, locally deployable solution to easing the ROS documentation burden. Open-source LLMs offer a practical AI option for resource-limited healthcare settings. Methodologically, our newly developed algorithm facilitates accuracy improvements for zero- and few-shot LLMs in named entity recognition.
format Preprint
id arxiv_https___arxiv_org_abs_2506_11067
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Large Language Model Based Pipeline for Review of Systems Entity Recognition from Clinical Notes
Nghiem, Hieu
Miao, Zhuqi
Singareddy, Hemanth Reddy
Lamichhane, Jivan
Ahmed, Abdulaziz
Thomas, Johnson
Delen, Dursun
Paiva, William
Computation and Language
Objective: Develop a cost-effective, large language model (LLM)-based pipeline for automatically extracting Review of Systems (ROS) entities from clinical notes. Materials and Methods: The pipeline extracts ROS section from the clinical note using SecTag header terminology, followed by few-shot LLMs to identify ROS entities such as diseases or symptoms, their positive/negative status and associated body systems. We implemented the pipeline using 4 open-source LLM models: llama3.1:8b, gemma3:27b, mistral3.1:24b and gpt-oss:20b. Additionally, we introduced a novel attribution algorithm that aligns LLM-identified ROS entities with their source text, addressing non-exact and synonymous matches. The evaluation was conducted on 24 general medicine notes containing 340 annotated ROS entities. Results: Open-source LLMs enable a local, cost-efficient pipeline while delivering promising performance. Larger models like Gemma, Mistral, and Gpt-oss demonstrate robust performance across three entity recognition tasks of the pipeline: ROS entity extraction, negation detection and body system classification (highest F1 score = 0.952). With the attribution algorithm, all models show improvements across key performance metrics, including higher F1 score and accuracy, along with lower error rate. Notably, the smaller Llama model also achieved promising results despite using only one-third the VRAM of larger models. Discussion and Conclusion: From an application perspective, our pipeline provides a scalable, locally deployable solution to easing the ROS documentation burden. Open-source LLMs offer a practical AI option for resource-limited healthcare settings. Methodologically, our newly developed algorithm facilitates accuracy improvements for zero- and few-shot LLMs in named entity recognition.
title A Large Language Model Based Pipeline for Review of Systems Entity Recognition from Clinical Notes
topic Computation and Language
url https://arxiv.org/abs/2506.11067