Improving Distantly-Supervised Relation Extraction through BERT-based Label & Instance Embeddings

Despina Christou, Grigorios Tsoumakas
2/1/2021
cs.CLcs.IRcs.LG
transformer-attention

Official code: DespinaChristou/REDSandT (24 stars, Python, Apache-2.0, last commit 2021-05-10).

Abstract

Distantly-supervised relation extraction (RE) is an effective method to scale RE to large corpora but suffers from noisy labels. Existing approaches try to alleviate noise through multi-instance learning and by providing additional information, but manage to recognize mainly the top frequent relations, neglecting those in the long-tail.

Show full abstract

We propose REDSandT (Relation Extraction with Distant Supervision and Transformers), a novel distantly-supervised transformer-based RE method, that manages to capture a wider set of relations through highly informative instance and label embeddings for RE, by exploiting BERT's pre-trained model, and the relationship between labels and entities, respectively. We guide REDSandT to focus solely on relational tokens by fine-tuning BERT on a structured input, including the sub-tree connecting an entity pair and the entities' types. Using the extracted informative vectors, we shape label embeddings, which we also use as attention mechanism over instances to further reduce noise. Finally, we represent sentences by concatenating relation and instance embeddings. Experiments in the NYT-10 dataset show that REDSandT captures a broader set of relations with higher confidence, achieving state-of-the-art AUC (0.424).

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Improving Distantly-Supervised Relation Extraction through BERT-based Label & Instance Embeddings

244PythonMay 10, 20215 years agoApache-2.0
datasetdistant-supervisioninformation-extractionmachine-learningnlp+3 more

Similar Papers

Cite this paper

@article{christou2021improving,
  title  = {Improving Distantly-Supervised Relation Extraction through BERT-based Label & Instance Embeddings},
  author = {Despina Christou and Grigorios Tsoumakas},
  year   = {2021},
  eprint = {2102.01156},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01156}
}

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

Discussion