arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.11085cs.CLcs.AIcs.LG
收藏

通过预训练语言模型实现文档级上下文少样本关系抽取

Document-Level In-Context Few-Shot Relation Extraction via Pre-Trained Language Models

ETH Zurich(苏黎世联邦理工学院);LMU Munich(慕尼黑大学);Munich Center for Machine Learning(慕尼黑机器学习中心)

Yilmazcan Ozyurt, Stefan Feuerriegel, Ce Zhang

AI总结:

提出一种基于预训练语言模型的文档级上下文少样本关系抽取框架,无需NER和人工标注且可免重训切换LM,在六个数据集上超过30余种基线并达到SOTA。

摘要:

文档级关系抽取旨在从文本文档中推断结构化的人类知识。该任务的最先进方法通过微调使用预训练语言模型(LM),但微调在计算上代价高昂,且无法适应新的关系类型或新的LM。作为补救措施,我们利用预训练LM的泛化能力,提出了一个用于文档级上下文少样本关系抽取的新颖框架。我们的框架具有三个优势:它消除了(1)命名实体识别的需求,(2)人工标注文档的需求,以及(3)无需重新训练即可更新到新的LM。我们使用DocRED(最大的公开可用文档级关系抽取数据集)评估我们的框架,并证明我们的框架达到了最先进性能。我们进一步表明,我们的框架实际上比DocRED开发集的原始标签表现得更好。最后,我们进行了广泛的基准测试,证明了框架的有效性,在六个关系抽取数据集上取得了最先进结果,并优于30多种基线方法。与我们的框架不同,基线方法具有巨大的计算开销(例如来自微调)。据我们所知,我们是首个将文档级关系抽取任务重新表述为定制的上下文少样本学习范式的研究。

英文摘要:

Document-level relation extraction aims at inferring structured human knowledge from textual documents. State-of-the-art methods for this task use pre-trained language models (LMs) via fine-tuning, yet fine-tuning is computationally expensive and cannot adapt to new relation types or new LMs. As a remedy, we leverage the generalization capabilities of pre-trained LMs and present a novel framework for document-level in-context few-shot relation extraction. Our framework has three strengths: it eliminates the need (1) for named entity recognition and (2) for human annotations of documents, and (3) it can be updated to new LMs without re-training. We evaluate our framework using DocRED, the largest publicly available dataset for document-level relation extraction, and demonstrate that our framework achieves state-of-the-art performance. We further show that our framework actually performs much better than the original labels from the development set of DocRED. Finally, we conduct an extensive benchmark demonstrating the effectiveness of our framework, achieving state-of-the-art results across six relation extraction datasets and outperforming more than 30 baseline methods. Unlike our framework, the baseline methods have large computational overhead (e.g., from fine-tuning). To the best of our knowledge, we are the first to reformulate the document-level relation extraction task as a tailored in-context few-shot learning paradigm.

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

↑