Improving Relation Extraction by Pre-trained Language Representations

Christoph Alt, Marc Hübner, Leonhard Hennig
6/7/2019
cs.CL
transformer-attention

Official code: DFKI-NLP/TRE (106 stars, Python, MIT, last commit 2021-10-01).

Abstract

Current state-of-the-art relation extraction methods typically rely on a set of lexical, syntactic, and semantic features, explicitly computed in a pre-processing step. Training feature extraction models requires additional annotated language resources, which severely restricts the applicability and portability of relation extraction to novel languages.

Show full abstract

Similarly, pre-processing introduces an additional source of error. To address these limitations, we introduce TRE, a Transformer for Relation Extraction, extending the OpenAI Generative Pre-trained Transformer [Radford et al., 2018]. Unlike previous relation extraction models, TRE uses pre-trained deep language representations instead of explicit linguistic features to inform the relation classification and combines it with the self-attentive Transformer architecture to effectively model long-range dependencies between entity mentions. TRE allows us to learn implicit linguistic features solely from plain text corpora by unsupervised pre-training, before fine-tuning the learned language representations on the relation extraction task. TRE obtains a new state-of-the-art result on the TACRED and SemEval 2010 Task 8 datasets, achieving a test F1 of 67.4 and 87.1, respectively. Furthermore, we observe a significant increase in sample efficiency. With only 20% of the training examples, TRE matches the performance of our baselines and our model trained from scratch on 100% of the TACRED dataset. We open-source our trained models, experiments, and source code.

View on arXivView PDF

Code Implementations(1)

DFKI-NLP/TREOfficial100%
MIT

[AKBC 19] Improving Relation Extraction by Pre-trained Language Representations

10611Python, PerlApr 8, 20195 years agoMIT
information-extractionmachine-learningmulti-task-learningnlprelation-extraction+1 more

Similar Papers

Cite this paper

@article{alt2019improving,
  title  = {Improving Relation Extraction by Pre-trained Language Representations},
  author = {Christoph Alt and Marc Hübner and Leonhard Hennig},
  year   = {2019},
  eprint = {1906.03088},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.03088}
}

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/1906.03088.svg)](https://codeofpaper.com/paper/1906.03088)

Discussion