[论文解读] A Zero-shot and Few-shot Study of Instruction-Finetuned Large Language Models Applied to Clinical and Biomedical Tasks
本文在零-shot和少量-shot 设置下评估四种指令微调的LLM(ChatGPT、Flan-T5 UL2、Tk-Instruct、Alpaca)在13个临床/生物医疗NLP任务上的表现,并与PubMedBERT进行比较,分析任务特定的强项与局限。
We evaluate four state-of-the-art instruction-tuned large language models (LLMs) -- ChatGPT, Flan-T5 UL2, Tk-Instruct, and Alpaca -- on a set of 13 real-world clinical and biomedical natural language processing (NLP) tasks in English, such as named-entity recognition (NER), question-answering (QA), relation extraction (RE), etc. Our overall results demonstrate that the evaluated LLMs begin to approach performance of state-of-the-art models in zero- and few-shot scenarios for most tasks, and particularly well for the QA task, even though they have never seen examples from these tasks before. However, we observed that the classification and RE tasks perform below what can be achieved with a specifically trained model for the medical field, such as PubMedBERT. Finally, we noted that no LLM outperforms all the others on all the studied tasks, with some models being better suited for certain tasks than others.
研究动机与目标
- 评估在没有或仅有极少任务示例的情况下,指令微调的LLM在多样化的临床/生物医学NLP任务上的表现。
- 将ChatGPT、Flan-T5 UL2、Tk-Instruct、Alpaca的零-shot与few-shot表现与领域特定基线(PubMedBERT)进行比较。
- 研究在医学NLP中生成模型的提示策略与评估挑战。
提出的方法
- 在13个临床/生物医学任务(CLS、QA、RE、NLI、NER)上评估四种指令微调的LLM和PubMedBERT。
- 使用人工解析将生成输出与标准指标(Accuracy、F1)对齐,以便与基线进行公平比较。
- 通过在提示中结合任务描述、输入数据和输出约束来构造任务特定的指令。
- 应用语义检索器(Sentence-Transformers)选择五个相似提示用于 few-shot 提示。
- 为NER引入递归式思维链(RCoT),以确保跨模型的标记级标注。
- 比较零-shot 与 5-shot 提示,分析模型特定的强项与数据集相关表现。
实验结果
研究问题
- RQ1指令微调的LLM在真实世界的临床/生物医学NLP任务中在零-shot与few-shot设置下的表现如何?
- RQ2这些LLM在同样任务上与领域特定模型PubMedBERT相比如何?
- RQ3哪些提示策略(包括检索增强的few-shot提示和RCoT)能提升医疗NLP任务的性能?
- RQ4在医疗环境下,某些模型是否更适合特定任务类型(如QA对RE或NER)?
主要发现
- 在零-shot中,QA任务显示出LLM相对较强的性能,而其他任务通常落后于PubMedBERT。
- 少量-shot(5-shot)提示在若干模型上带来显著提升,Alpaca在各任务上表现尤为显著改进。
- 在某些任务中,ChatGPT和Flan-T5 UL2经常超越Tk-Instruct和Alpaca,但没有一个模型在所有任务中占据主导地位。
- 尽管LLM在许多任务上达到竞争性表现,像PubMedBERT这样的领域特定模型在若干分类和关系抽取任务上仍优于它们。
- 模型在不同任务上的强项存在变异性,凸显了在临床/生物医学NLP中任务-模型搭配的重要性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。