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

使用大语言模型的小样本提示评估命名实体识别

Evaluating Named Entity Recognition Using Few-Shot Prompting with Large Language Models

INSA Lyon(里昂国立应用科学学院);CNRS(法国国家科学研究中心);Universite Claude Bernard Lyon 1(里昂第一大学(克洛德·贝尔纳));LIRIS(里昂信息科学与系统实验室)

Hédi Zeghidi, Ludovic Moncla

AI总结:

本文评估了 GPT-4 等大语言模型在命名实体识别中的小样本提示性能,发现其虽与完全监督方法存在差距,但在极少数据下适应新实体类型和领域表现优异,并分析了提示工程等因素的影响。

摘要:

本文评估了使用大语言模型进行小样本提示在命名实体识别(NER)中的表现。传统 NER 系统依赖大量标注数据集,获取这些数据成本高昂且耗时。小样本提示或上下文学习使模型能够在极少示例的情况下识别实体。我们评估了 GPT-4 等最先进模型在 NER 任务中的表现,并将其小样本性能与完全监督基准进行比较。结果表明,尽管存在性能差距,大型模型在数据非常有限的情况下,在适应新实体类型和领域方面表现出色。我们还探讨了提示工程、引导输出格式和上下文长度对性能的影响。本研究强调了小样本学习在减少对大规模标注数据集需求方面的潜力,从而提升 NER 的可扩展性和可及性。

英文摘要:

This paper evaluates Few-Shot Prompting with Large Language Models for Named Entity Recognition (NER). Traditional NER systems rely on extensive labeled datasets, which are costly and time-consuming to obtain. Few-Shot Prompting or in-context learning enables models to recognize entities with minimal examples. We assess state-of-the-art models like GPT-4 in NER tasks, comparing their few-shot performance to fully supervised benchmarks. Results show that while there is a performance gap, large models excel in adapting to new entity types and domains with very limited data. We also explore the effects of prompt engineering, guided output format and context length on performance. This study underscores Few-Shot Learning's potential to reduce the need for large labeled datasets, enhancing NER scalability and accessibility.

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

↑