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

用语义驱动的对抗样本指出关系抽取模型的不足

Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarials

Bielefeld University(比勒费尔德大学);University of Oslo(奥斯陆大学)

Gennaro Nolano, Moritz Blum, Basil Ell, Philipp Cimiano

AI总结:

本文提出通过替换实体提及生成语义保持的对抗样本,测试最先进关系抽取模型,发现其 F1 平均下降 48.5%,揭示模型严重依赖实体表层捷径。

摘要:

近年来,大型语言模型已在各类 NLP 任务上取得最先进性能。然而,调查表明,这些模型倾向于依赖捷径特征,从而产生不准确预测,并导致模型在泛化到分布外(OOD)样本时不可靠。例如,在关系抽取(RE)场景中,我们期望模型能够独立于参与关系的实体而识别出相同关系。以句子“Leonardo da Vinci painted the Mona Lisa”为例,该句表达了 created(Leonardo_da_Vinci, Mona_Lisa) 关系。如果将“Leonardo da Vinci”替换为“Barack Obama”,该句仍然表达 created 关系。一个鲁棒模型应当在两种情况下都检测到相同关系。在本工作中,我们描述了若干语义驱动的策略,通过替换实体提及来生成对抗样本,并研究最先进的 RE 模型在压力下的表现。我们的分析表明,这些模型在修改后的数据集上性能显著下降(F1 平均下降 48.5%),这表明它们在很大程度上依赖于捷径,例如实体的表层形式(或其中的模式),而没有充分利用句子中存在的信息。

英文摘要:

In recent years, large language models have achieved state-of-the-art performance across various NLP tasks. However, investigations have shown that these models tend to rely on shortcut features, leading to inaccurate predictions and causing the models to be unreliable at generalization to out-of-distribution (OOD) samples. For instance, in the context of relation extraction (RE), we would expect a model to identify the same relation independently of the entities involved in it. For example, consider the sentence "Leonardo da Vinci painted the Mona Lisa" expressing the created(Leonardo_da_Vinci, Mona_Lisa) relation. If we substiute "Leonardo da Vinci" with "Barack Obama", then the sentence still expresses the created relation. A robust model is supposed to detect the same relation in both cases. In this work, we describe several semantically-motivated strategies to generate adversarial examples by replacing entity mentions and investigate how state-of-the-art RE models perform under pressure. Our analyses show that the performance of these models significantly deteriorates on the modified datasets (avg. of -48.5% in F1), which indicates that these models rely to a great extent on shortcuts, such as surface forms (or patterns therein) of entities, without making full use of the information present in the sentences.

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

↑