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

用于零样本文档级关系三元组抽取的大语言模型一致性引导知识检索与去噪

Consistency Guided Knowledge Retrieval and Denoising in LLMs for Zero-shot Document-level Relation Triplet Extraction

Nanjing University of Science and Technology(南京理工大学);Northeastern University(东北大学);Singapore Institute of Technology(新加坡理工大学);Singapore University of Technology and Design(新加坡科技设计大学)

Qi Sun, Kun Huang, Xiaocui Yang, Rong Tong, Kun Zhang, Soujanya Poria

AI总结:

针对文档级关系三元组抽取标注稀缺问题,提出 GenRDK,用检索链提示生成数据并基于跨文档一致性去噪,微调 LLaMA2-13B-Chat,在两个数据集上超越强基线。

摘要:

文档级关系三元组抽取(DocRTE)是信息系统中的一项基础任务,旨在同时从文档中抽取具有语义关系的实体。现有方法严重依赖大量完全标注的数据。然而,为新出现的关系收集和标注数据既耗时又耗费人力。近期先进的大语言模型(LLM),如 ChatGPT 和 LLaMA,展现出令人印象深刻的长文本生成能力,这启发我们探索另一种方法,以获得带有新关系的自动标注文档。本文提出一种零样本文档级关系三元组抽取(ZeroDocRTE)框架,通过从 LLM 中检索知识并去噪来生成标注数据,称为 GenRDK。具体而言,我们提出一种检索链提示,引导 ChatGPT 逐步生成标注的长文本数据。为提高合成数据质量,我们提出一种基于跨文档知识一致性的去噪策略。利用去噪后的合成数据,我们进一步微调 LLaMA2-13B-Chat,以抽取文档级关系三元组。我们在两个公开数据集上针对零样本文档级关系抽取和三元组抽取开展实验。实验结果表明,GenRDK 框架优于强基线方法。

英文摘要:

Document-level Relation Triplet Extraction (DocRTE) is a fundamental task in information systems that aims to simultaneously extract entities with semantic relations from a document. Existing methods heavily rely on a substantial amount of fully labeled data. However, collecting and annotating data for newly emerging relations is time-consuming and labor-intensive. Recent advanced Large Language Models (LLMs), such as ChatGPT and LLaMA, exhibit impressive long-text generation capabilities, inspiring us to explore an alternative approach for obtaining auto-labeled documents with new relations. In this paper, we propose a Zero-shot Document-level Relation Triplet Extraction (ZeroDocRTE) framework, which generates labeled data by retrieval and denoising knowledge from LLMs, called GenRDK. Specifically, we propose a chain-of-retrieval prompt to guide ChatGPT to generate labeled long-text data step by step. To improve the quality of synthetic data, we propose a denoising strategy based on the consistency of cross-document knowledge. Leveraging our denoised synthetic data, we proceed to fine-tune the LLaMA2-13B-Chat for extracting document-level relation triplets. We perform experiments for both zero-shot document-level relation and triplet extraction on two public datasets. The experimental results illustrate that our GenRDK framework outperforms strong baselines.

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

↑