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

AutoRE:基于大语言模型的文档级关系抽取

AutoRE: Document-Level Relation Extraction with Large Language Models

Tsinghua University(清华大学)

Lilong Xue, Dan Zhang, Yuxiao Dong, Jie Tang

AI总结:

本文提出AutoRE,一种基于RHF范式的端到端文档级关系抽取模型,无需预设关系选项,结合QLoRA实现高效微调,在RE-DocRED数据集上达到SOTA性能。

摘要:

大语言模型(LLMs)在理解和生成文本方面展现出卓越能力,促使众多研究者将其应用于信息抽取(IE)任务,包括关系抽取(RE)。然而,现有方法大多针对句子级关系抽取(SentRE)任务设计,通常仅处理单个句子中有限的关系和三元组事实。此外,部分方法将关系作为候选选项嵌入提示模板,导致在处理文档级关系抽取(DocRE)任务时效率低下且性能不佳。DocRE要求处理跨文档分布的多种关系和三元组,具有独特挑战。为此,我们提出AutoRE,一种端到端的DocRE模型,采用名为RHF(Relation-Head-Facts)的新型抽取范式。与现有方法不同,AutoRE无需预设已知关系选项,更贴近真实场景。同时,我们基于参数高效微调(PEFT)算法(QLoRA)构建了可扩展的RE框架。在RE-DocRED数据集上的实验表明,AutoRE取得最优性能,在验证集和测试集上分别超越TAG 10.03%和9.03%。代码已开源:https://github.com/THUDM/AutoRE,演示视频:https://www.youtube.com/watch?v=IhKRsZUAxKk。

英文摘要:

Large Language Models (LLMs) have demonstrated exceptional abilities in comprehending and generating text, motivating numerous researchers to utilize them for Information Extraction (IE) purposes, including Relation Extraction (RE). Nonetheless, most existing methods are predominantly designed for Sentence-level Relation Extraction (SentRE) tasks, which typically encompass a restricted set of relations and triplet facts within a single sentence. Furthermore, certain approaches resort to treating relations as candidate choices integrated into prompt templates, leading to inefficient processing and suboptimal performance when tackling Document-Level Relation Extraction (DocRE) tasks, which entail handling multiple relations and triplet facts distributed across a given document, posing distinct challenges. To overcome these limitations, we introduce AutoRE, an end-to-end DocRE model that adopts a novel RE extraction paradigm named RHF (Relation-Head-Facts). Unlike existing approaches, AutoRE does not rely on the assumption of known relation options, making it more reflective of real-world scenarios. Additionally, we have developed an easily extensible RE framework using a Parameters Efficient Fine Tuning (PEFT) algorithm (QLoRA). Our experiments on the RE-DocRED dataset showcase AutoRE's best performance, achieving state-of-the-art results, surpassing TAG by 10.03\% and 9.03\% respectively on the dev and test set. The code is available at https://github.com/THUDM/AutoRE and the demonstration video is provided at https://www.youtube.com/watch?v=IhKRsZUAxKk.

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

↑