arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.12656cs.CLcs.AI
收藏

使用大型语言模型识别和提取罕见病表型

Identifying and Extracting Rare Disease Phenotypes with Large Language Models

Vanderbilt University Medical Center(范德堡大学医学中心);University of Texas Health Science at Houston(德克萨斯大学休斯顿健康科学中心);Yale University(耶鲁大学)

Cathy Shyr, Yan Hu, Paul A. Harris, Hua Xu

AI总结:

本研究针对罕见病表型提取问题,首次构建了评估ChatGPT在零样本和少样本设置下命名实体识别性能的基准,发现通过适当的提示工程,ChatGPT在单样本设置下对特定实体类型的提取效果可媲美甚至超越微调模型。

摘要:

罕见病(RDs)总体上较为常见,全球影响约3亿人。准确的表型分析对于指导诊断和治疗至关重要,但罕见病表型通常嵌入在非结构化文本中,手动提取耗时费力。尽管自然语言处理(NLP)模型可以通过命名实体识别(NER)实现自动化提取,但主要瓶颈在于构建用于模型训练的大规模标注语料库。近期,提示学习作为一种NLP范式兴起,能够在无标签(zero-shot)或仅有少量标签样本(few-shot)的情况下产生更具泛化性的结果。尽管人们对ChatGPT这一能够遵循复杂人类指令并生成高质量响应的革命性大型语言模型兴趣日益浓厚,但尚无研究探讨其在零样本和少样本设置下针对罕见病的NER性能。为此,我们设计了旨在提取罕见病表型的新型提示,并据我们所知,首次建立了一个基准,用于评估ChatGPT在这些设置下的表现。我们将其性能与传统的微调方法进行了比较,并进行了深入的错误分析。总体而言,微调BioClinicalBERT获得了比ChatGPT更高的性能(F1为0.689),而ChatGPT在零样本和少样本设置下的F1分别为0.472和0.591。尽管如此,在单样本(one-shot)设置下,ChatGPT对某些实体(即罕见病和体征)的准确率达到了相似或更高的水平(F1分别为0.776和0.725)。这表明,通过适当的提示工程,ChatGPT有潜力仅用一个标注样本,在某些实体类型上匹配或超越经过微调的语言模型。尽管大型语言模型的普及可能为支持罕见病诊断和治疗提供机遇,但研究人员和临床医生应批判性地评估模型输出,并充分了解其局限性。

英文摘要:

Rare diseases (RDs) are collectively common and affect 300 million people worldwide. Accurate phenotyping is critical for informing diagnosis and treatment, but RD phenotypes are often embedded in unstructured text and time-consuming to extract manually. While natural language processing (NLP) models can perform named entity recognition (NER) to automate extraction, a major bottleneck is the development of a large, annotated corpus for model training. Recently, prompt learning emerged as an NLP paradigm that can lead to more generalizable results without any (zero-shot) or few labeled samples (few-shot). Despite growing interest in ChatGPT, a revolutionary large language model capable of following complex human prompts and generating high-quality responses, none have studied its NER performance for RDs in the zero- and few-shot settings. To this end, we engineered novel prompts aimed at extracting RD phenotypes and, to the best of our knowledge, are the first the establish a benchmark for evaluating ChatGPT's performance in these settings. We compared its performance to the traditional fine-tuning approach and conducted an in-depth error analysis. Overall, fine-tuning BioClinicalBERT resulted in higher performance (F1 of 0.689) than ChatGPT (F1 of 0.472 and 0.591 in the zero- and few-shot settings, respectively). Despite this, ChatGPT achieved similar or higher accuracy for certain entities (i.e., rare diseases and signs) in the one-shot setting (F1 of 0.776 and 0.725). This suggests that with appropriate prompt engineering, ChatGPT has the potential to match or outperform fine-tuned language models for certain entity types with just one labeled sample. While the proliferation of large language models may provide opportunities for supporting RD diagnosis and treatment, researchers and clinicians should critically evaluate model outputs and be well-informed of their limitations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑