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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nolano, Gennaro, Blum, Moritz, Ell, Basil, Cimiano, Philipp
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929259388338176
author Nolano, Gennaro
Blum, Moritz
Ell, Basil
Cimiano, Philipp
author_facet Nolano, Gennaro
Blum, Moritz
Ell, Basil
Cimiano, Philipp
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_19076
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarials
Nolano, Gennaro
Blum, Moritz
Ell, Basil
Cimiano, Philipp
Computation and Language
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.
title Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarials
topic Computation and Language
url https://arxiv.org/abs/2402.19076