Saved in:
Bibliographic Details
Main Authors: Karayanni, Nader, Awwad, Aya, Hsiao, Chein-Lien, Shanmugam, Surish P
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2412.02173
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916504418648064
author Karayanni, Nader
Awwad, Aya
Hsiao, Chein-Lien
Shanmugam, Surish P
author_facet Karayanni, Nader
Awwad, Aya
Hsiao, Chein-Lien
Shanmugam, Surish P
contents Since the emergence of Large Language Models (LLMs), the challenge of effectively leveraging their potential in healthcare has taken center stage. A critical barrier to using LLMs for extracting insights from unstructured clinical notes lies in the prompt engineering process. Despite its pivotal role in determining task performance, a clear framework for prompt optimization remains absent. Current methods to address this gap take either a manual prompt refinement approach, where domain experts collaborate with prompt engineers to create an optimal prompt, which is time-intensive and difficult to scale, or through employing automatic prompt optimizing approaches, where the value of the input of domain experts is not fully realized. To address this, we propose StructEase, a novel framework that bridges the gap between automation and the input of human expertise in prompt engineering. A core innovation of the framework is SamplEase, an iterative sampling algorithm that identifies high-value cases where expert feedback drives significant performance improvements. This approach minimizes expert intervention, to effectively enhance classification outcomes. This targeted approach reduces labeling redundancy, mitigates human error, and enhances classification outcomes. We evaluated the performance of StructEase using a dataset of de-identified clinical narratives from the US National Electronic Injury Surveillance System (NEISS), demonstrating significant gains in classification performance compared to current methods. Our findings underscore the value of expert integration in LLM workflows, achieving notable improvements in F1 score while maintaining minimal expert effort. By combining transparency, flexibility, and scalability, StructEase sets the foundation for a framework to integrate expert input into LLM workflows in healthcare and beyond.
format Preprint
id arxiv_https___arxiv_org_abs_2412_02173
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Keeping Experts in the Loop: Expert-Guided Optimization for Clinical Data Classification using Large Language Models
Karayanni, Nader
Awwad, Aya
Hsiao, Chein-Lien
Shanmugam, Surish P
Artificial Intelligence
Since the emergence of Large Language Models (LLMs), the challenge of effectively leveraging their potential in healthcare has taken center stage. A critical barrier to using LLMs for extracting insights from unstructured clinical notes lies in the prompt engineering process. Despite its pivotal role in determining task performance, a clear framework for prompt optimization remains absent. Current methods to address this gap take either a manual prompt refinement approach, where domain experts collaborate with prompt engineers to create an optimal prompt, which is time-intensive and difficult to scale, or through employing automatic prompt optimizing approaches, where the value of the input of domain experts is not fully realized. To address this, we propose StructEase, a novel framework that bridges the gap between automation and the input of human expertise in prompt engineering. A core innovation of the framework is SamplEase, an iterative sampling algorithm that identifies high-value cases where expert feedback drives significant performance improvements. This approach minimizes expert intervention, to effectively enhance classification outcomes. This targeted approach reduces labeling redundancy, mitigates human error, and enhances classification outcomes. We evaluated the performance of StructEase using a dataset of de-identified clinical narratives from the US National Electronic Injury Surveillance System (NEISS), demonstrating significant gains in classification performance compared to current methods. Our findings underscore the value of expert integration in LLM workflows, achieving notable improvements in F1 score while maintaining minimal expert effort. By combining transparency, flexibility, and scalability, StructEase sets the foundation for a framework to integrate expert input into LLM workflows in healthcare and beyond.
title Keeping Experts in the Loop: Expert-Guided Optimization for Clinical Data Classification using Large Language Models
topic Artificial Intelligence
url https://arxiv.org/abs/2412.02173