arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01272cs.CL
收藏

少展示,多指导:用定义和指南丰富提示以实现零样本命名实体识别

Show Less, Instruct More: Enriching Prompts with Definitions and Guidelines for Zero-Shot NER

University of Siena(锡耶纳大学)

Andrew Zamai, Andrea Zugarini, Leonardo Rigutini, Marco Ernandes, Marco Maggini

AI总结:

针对现有零样本NER大模型微调实体类与测试集重叠的问题,提出SLIMER方法,用含定义和指南的丰富提示、少量示例指导模型处理未见实体标签,性能达SOTA且训练设置更公平鲁棒。

摘要:

近年来,涌现出多款专门针对命名实体识别(NER)进行指令微调的大语言模型(LLM)。与传统NER方法相比,这些模型展现出了强大的泛化能力。现有LLM主要聚焦于解决域外输入的零样本NER问题,但其微调过程使用了大量实体类,这些类别往往与测试集存在高度甚至完全重叠。为此,我们提出了SLIMER方法,旨在通过更少的示例指导模型,并借助融入定义与指南的丰富提示,处理从未见过的实体标签。实验表明,定义和指南能带来更优的性能、更快且更鲁棒的学习效果,尤其是在标注未见过的命名实体时表现突出。此外,SLIMER在域外零样本NER任务上的性能与当前最优方法相当,但其训练设置更为公平,当然也更具挑战性。

英文摘要:

Recently, several specialized instruction-tuned Large Language Models (LLMs) for Named Entity Recognition (NER) have emerged. Compared to traditional NER approaches, these models have demonstrated strong generalization capabilities. Existing LLMs primarily focus on addressing zero-shot NER on Out-of-Domain inputs, while fine-tuning on an extensive number of entity classes that often highly or completely overlap with test sets. In this work instead, we propose SLIMER, an approach designed to tackle never-seen-before entity tags by instructing the model on fewer examples, and by leveraging a prompt enriched with definition and guidelines. Experiments demonstrate that definition and guidelines yield better performance, faster and more robust learning, particularly when labelling unseen named entities. Furthermore, SLIMER performs comparably to state-of-the-art approaches in out-of-domain zero-shot NER, while being trained in a more fair, though certainly more challenging, setting.

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

↑