Fine-tuning Pre-Trained Transformer Language Models to Distantly Supervised Relation Extraction

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

Official code: DFKI-NLP/DISTRE (85 stars, Python, Apache-2.0, last commit 2024-06-18).

Abstract

Distantly supervised relation extraction is widely used to extract relational facts from text, but suffers from noisy labels. Current relation extraction methods try to alleviate the noise by multi-instance learning and by providing supporting linguistic and contextual information to more efficiently guide the relation classification.

Show full abstract

While achieving state-of-the-art results, we observed these models to be biased towards recognizing a limited set of relations with high precision, while ignoring those in the long tail. To address this gap, we utilize a pre-trained language model, the OpenAI Generative Pre-trained Transformer (GPT) [Radford et al., 2018]. The GPT and similar models have been shown to capture semantic and syntactic features, and also a notable amount of "common-sense" knowledge, which we hypothesize are important features for recognizing a more diverse set of relations. By extending the GPT to the distantly supervised setting, and fine-tuning it on the NYT10 dataset, we show that it predicts a larger set of distinct relation types with high confidence. Manual and automated evaluation of our model shows that it achieves a state-of-the-art AUC score of 0.422 on the NYT10 dataset, and performs especially well at higher recall levels.

View on arXivView PDF

Code Implementations(1)

DFKI-NLP/DISTREOfficial100%
Apache-2.0

[ACL 19] Fine-tuning Pre-Trained Transformer Language Models to Distantly Supervised Relation Extraction

8512PythonMay 27, 20192 years agoApache-2.0
distant-supervisioninformation-extractionmachine-learningmulti-task-learningnlp+2 more

Similar Papers

Cite this paper

@article{alt2019finetuning,
  title  = {Fine-tuning Pre-Trained Transformer Language Models to Distantly Supervised Relation Extraction},
  author = {Christoph Alt and Marc Hübner and Leonhard Hennig},
  year   = {2019},
  eprint = {1906.08646},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.08646}
}

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

Discussion