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

基于反事实的一致性文档级关系抽取

Consistent Document-Level Relation Extraction via Counterfactuals

Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Center for Machine Learning(慕尼黑机器学习中心)

Ali Modarressi, Abdullatif Köksal, Hinrich Schütze

AI总结:

本文提出CovEReD反事实数据生成方法,通过实体替换解决文档级关系抽取模型的事实偏差和不一致性问题,同时发布Re-DocRED-CF数据集以评估模型一致性。

摘要:

许多数据集已被开发用于训练和评估文档级关系抽取(RE)模型。其中大多数是使用真实世界数据构建的。研究表明,在真实世界数据上训练的RE模型存在事实偏差。为了评估和解决这一问题,我们提出了CovEReD,这是一种使用实体替换为文档级关系抽取数据集生成反事实数据的方法。我们首先证明,在事实数据上训练的模型表现出不一致的行为:虽然它们能从事实数据中准确提取三元组,但在反事实修改后却无法提取相同的三元组。这种不一致性表明,在事实数据上训练的模型依赖于虚假信号(如特定实体和外部知识),而不是依赖输入上下文来提取三元组。我们展示了通过使用CovEReD生成文档级反事实数据并在此上训练模型,可以保持一致性,同时对RE性能的影响最小。我们发布了CovEReD流程以及Re-DocRED-CF,一个反事实RE文档数据集,以协助评估和解决文档级RE中的不一致性问题。

英文摘要:

Many datasets have been developed to train and evaluate document-level relation extraction (RE) models. Most of these are constructed using real-world data. It has been shown that RE models trained on real-world data suffer from factual biases. To evaluate and address this issue, we present CovEReD, a counterfactual data generation approach for document-level relation extraction datasets using entity replacement. We first demonstrate that models trained on factual data exhibit inconsistent behavior: while they accurately extract triples from factual data, they fail to extract the same triples after counterfactual modification. This inconsistency suggests that models trained on factual data rely on spurious signals such as specific entities and external knowledge $\unicode{x2013}$ rather than on the input context $\unicode{x2013}$ to extract triples. We show that by generating document-level counterfactual data with CovEReD and training models on them, consistency is maintained with minimal impact on RE performance. We release our CovEReD pipeline as well as Re-DocRED-CF, a dataset of counterfactual RE documents, to assist in evaluating and addressing inconsistency in document-level RE.

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

↑