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

监督微调还是上下文学习?评估大语言模型在临床命名实体识别中的表现

Supervised Fine-Tuning or In-Context Learning? Evaluating LLMs for Clinical NER

Andrei Baroian(独立研究者)

Andrei Baroian

AI总结:

本研究在CADEC语料库上比较了BERT类编码器、GPT-4o的上下文学习与监督微调在临床NER中的表现,发现监督微调性能最优(F1约87.1%),且简化任务可提升准确率。

摘要:

我们研究了CADEC语料库上的临床命名实体识别(NER),并比较了三类方法:(i)BERT风格编码器(BERT Base、BioClinicalBERT、RoBERTa-large),(ii)在简单与复杂提示下使用少样本上下文学习(ICL)的GPT-4o,以及(iii)使用监督微调(SFT)的GPT-4o。所有模型均在CADEC的五个实体类型(ADR、Drug、Disease、Symptom、Finding)上使用标准NER指标进行评估。RoBERTa-large和BioClinicalBERT相比BERT Base的提升有限,显示了这类模型的局限性。在大语言模型设置中,简单ICL优于较长且指令密集的提示,而SFT取得了最强的整体性能(F1约87.1%),尽管成本更高。我们发现,在简化任务(将分类限制为两个标签)上,大语言模型达到了更高的准确率。

英文摘要:

We study clinical Named Entity Recognition (NER) on the CADEC corpus and compare three families of approaches: (i) BERT-style encoders (BERT Base, BioClinicalBERT, RoBERTa-large), (ii) GPT-4o used with few-shot in-context learning (ICL) under simple vs.\ complex prompts, and (iii) GPT-4o with supervised fine-tuning (SFT). All models are evaluated on standard NER metrics over CADEC's five entity types (ADR, Drug, Disease, Symptom, Finding). RoBERTa-large and BioClinicalBERT offer limited improvements over BERT Base, showing the limit of these family of models. Among LLM settings, simple ICL outperforms a longer, instruction-heavy prompt, and SFT achieves the strongest overall performance (F1 $\approx$ 87.1%), albeit with higher cost. We find that the LLM achieve higher accuracy on simplified tasks, restricting classification to two labels.

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

↑