arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.02105cs.CL
收藏

GPT-RE:使用大型语言模型进行关系抽取的上下文学习

GPT-RE: In-context Learning for Relation Extraction using Large Language Models

Kyoto University(京都大学);Zhejiang University(浙江大学)

Zhen Wan, Fei Cheng, Zhuoyuan Mao, Qianying Liu, Haiyue Song, Jiwei Li, Sadao Kurohashi

AI总结:

本文提出 GPT-RE,通过任务特定实体检索和金标签推理逻辑增强 LLM 的上下文关系抽取,在四个基准上达到或超过全监督模型。

摘要:

尽管大型语言模型(LLM,例如 GPT-3)具有取得突破性成就的潜力,但在关系抽取(RE)任务中,它们仍显著落后于全监督基线(例如经过微调的 BERT)。这源于 LLM 在关系抽取中的两个主要缺点:(1)为上下文学习检索到的示例在实体和关系方面的相关性较低;(2)模型强烈倾向于将 NULL 示例错误分类为其他预定义标签。本文提出 GPT-RE,以弥合 LLM 与全监督基线之间的差距。GPT-RE 通过以下方式成功解决上述问题:(1)在示例检索中加入面向特定任务的实体表示;(2)利用金标签诱导的推理逻辑丰富示例。我们在四个广泛使用的关系抽取数据集上评估 GPT-RE,观察到 GPT-RE 不仅优于现有的 GPT-3 基线,也优于全监督基线。具体而言,GPT-RE 在 Semeval 和 SciERC 数据集上取得 SOTA 性能,并在 TACRED 和 ACE05 数据集上取得具有竞争力的性能。

英文摘要:

In spite of the potential for ground-breaking achievements offered by large language models (LLMs) (e.g., GPT-3), they still lag significantly behind fully-supervised baselines (e.g., fine-tuned BERT) in relation extraction (RE). This is due to the two major shortcomings of LLMs in RE: (1) low relevance regarding entity and relation in retrieved demonstrations for in-context learning; and (2) the strong inclination to wrongly classify NULL examples into other pre-defined labels. In this paper, we propose GPT-RE to bridge the gap between LLMs and fully-supervised baselines. GPT-RE successfully addresses the aforementioned issues by (1) incorporating task-specific entity representations in demonstration retrieval; and (2) enriching the demonstrations with gold label-induced reasoning logic. We evaluate GPT-RE on four widely-used RE datasets, and observe that GPT-RE achieves improvements over not only existing GPT-3 baselines, but also fully-supervised baselines. Specifically, GPT-RE achieves SOTA performances on the Semeval and SciERC datasets, and competitive performances on the TACRED and ACE05 datasets.

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

↑