Probing Linguistic Features of Sentence-Level Representations in Neural Relation Extraction

Christoph Alt, Aleksandra Gabryszak, Leonhard Hennig
4/17/2020
39 citations
cs.CL

Official code: DFKI-NLP/RelEx (15 stars, Jsonnet, Apache-2.0, last commit 2020-06-17). 1 more implementation below.

Abstract

Despite the recent progress, little is known about the features captured by state-of-the-art neural relation extraction (RE) models. Common methods encode the source sentence, conditioned on the entity mentions, before classifying the relation.

Show full abstract

However, the complexity of the task makes it difficult to understand how encoder architecture and supporting linguistic knowledge affect the features learned by the encoder. We introduce 14 probing tasks targeting linguistic properties relevant to RE, and we use them to study representations learned by more than 40 different encoder architecture and linguistic feature combinations trained on two datasets, TACRED and SemEval 2010 Task 8. We find that the bias induced by the architecture and the inclusion of linguistic features are clearly expressed in the probing task performance. For example, adding contextualized word representations greatly increases performance on probing tasks with a focus on named entity and part-of-speech information, and yields better results in RE. In contrast, entity masking improves RE, but considerably lowers performance on entity type related probing tasks.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DFKI-NLP/RelExOfficial15JsonnetApache-2.02020-06-17
DFKI-NLP/REvalOfficial13PythonMIT2020-04-21
DFKI-NLP/RelExOfficial100%
Apache-2.0

RelEx - A simple framework for Relation Extraction built on AllenNLP

151Jsonnet, PythonApr 8, 20206 years agoApache-2.0
DFKI-NLP/REvalOfficial100%
MIT

[ACL 20] Probing Linguistic Features of Sentence-level Representations in Neural Relation Extraction

134PythonApr 8, 20206 years agoMIT
probing-tasksrelation-extraction

Similar Papers

Cite this paper

@article{alt2020probing,
  title  = {Probing Linguistic Features of Sentence-Level Representations in Neural Relation Extraction},
  author = {Christoph Alt and Aleksandra Gabryszak and Leonhard Hennig},
  year   = {2020},
  eprint = {2004.08134},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.08134}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.08134.svg)](https://codeofpaper.com/paper/2004.08134)

Discussion