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

大语言模型时代生成式命名实体识别的评估

Assessment of Generative Named Entity Recognition in the Era of Large Language Models

College of Computer Science and Software Engineering, Shenzhen University(深圳大学计算机科学与软件工程学院)

Qi Zhan, Yile Wang, Hui Huang

AI总结:

本文系统评估了开源大语言模型在平面和嵌套命名实体识别任务上的性能,发现参数高效微调结合结构化格式可达到与传统模型竞争的性能,且NER能力源于指令遵循和生成能力而非记忆,微调对通用能力影响很小。

摘要:

命名实体识别(NER)正随着大语言模型(LLMs)的兴起从序列标注任务演变为生成式范式。我们对开源LLMs在平面和嵌套NER任务上进行了系统评估。我们研究了几个研究问题,包括生成式NER与传统NER模型之间的性能差距、输出格式的影响、LLMs是否依赖记忆,以及微调后通用能力的保持情况。通过在八个不同规模的LLMs和四个标准NER数据集上的实验,我们发现:(1)通过参数高效微调和结构化格式(如内联括号或XML),开源LLMs实现了与传统基于编码器的模型竞争的性能,并超越了使用上下文学习技术的基于解码器的LLMs;(2)LLMs的NER能力源于指令遵循和生成能力,而不仅仅是实体-标签对的记忆;(3)应用NER指令微调对LLMs的通用能力影响很小,甚至由于增强了实体理解,在DROP等数据集上将性能提高了25.50到45.32个F1点。这些发现表明,使用LLMs的生成式NER是传统方法的一种有前景且用户友好的替代方案。我们在https://github.com/szu-tera/LLMs4NER上发布了数据和代码。

英文摘要:

Named entity recognition (NER) is evolving from a sequence labeling task into a generative paradigm with the rise of large language models (LLMs). We conduct a systematic evaluation of open-source LLMs on both flat and nested NER tasks. We investigate several research questions including the performance gap between generative NER and traditional NER models, the impact of output formats, whether LLMs rely on memorization, and the preservation of general capabilities after fine-tuning. Through experiments across eight LLMs of varying scales and four standard NER datasets, we find that: (1) With parameter-efficient fine-tuning and structured formats like inline bracketed or XML, open-source LLMs achieve performance competitive with traditional encoder-based models and surpass decoder-based LLMs with in-context learning techniques; (2) The NER capability of LLMs stems from instruction-following and generative power, not mere memorization of entity-label pairs; and (3) Applying NER instruction tuning has minimal impact on general capabilities of LLMs, even improving performance on datasets like DROP by 25.50 to 45.32 F1 points due to enhanced entity understanding. These findings demonstrate that generative NER with LLMs is a promising, user-friendly alternative to traditional methods. We release the data and code at https://github.com/szu-tera/LLMs4NER.

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

↑