Joint Entity and Relation Extraction with Set Prediction Networks

11/03/2020
by   Dianbo Sui, et al.
0

The joint entity and relation extraction task aims to extract all relational triples from a sentence. In essence, the relational triples contained in a sentence are unordered. However, previous seq2seq based models require to convert the set of triples into a sequence in the training phase. To break this bottleneck, we treat joint entity and relation extraction as a direct set prediction problem, so that the extraction model can get rid of the burden of predicting the order of multiple triples. To solve this set prediction problem, we propose networks featured by transformers with non-autoregressive parallel decoding. Unlike autoregressive approaches that generate triples one by one in a certain order, the proposed networks directly output the final set of triples in one shot. Furthermore, we also design a set-based loss that forces unique predictions via bipartite matching. Compared with cross-entropy loss that highly penalizes small shifts in triple order, the proposed bipartite matching loss is invariant to any permutation of predictions; thus, it can provide the proposed networks with a more accurate training signal by ignoring triple order and focusing on relation types and entities. Experiments on two benchmark datasets show that our proposed model significantly outperforms current state-of-the-art methods. Training code and trained models will be available at http://github.com/DianboWork/SPN4RE.

READ FULL TEXT
research
03/10/2022

AIFB-WebScience at SemEval-2022 Task 12: Relation Extraction First – Using Relation Extraction to Identify Entities

In this paper, we present an end-to-end joint entity and relation extrac...
research
10/15/2020

TDRE: A Tensor Decomposition Based Approach for Relation Extraction

Extracting entity pairs along with relation types from unstructured text...
research
08/18/2022

A Two-Phase Paradigm for Joint Entity-Relation Extraction

An exhaustive study has been conducted to investigate span-based models ...
research
09/16/2020

Minimize Exposure Bias of Seq2Seq Models in Joint Entity and Relation Extraction

Joint entity and relation extraction aims to extract relation triplets f...
research
03/19/2022

Learning to Reason Deductively: Math Word Problem Solving as Complex Relation Extraction

Solving math word problems requires deductive reasoning over the quantit...
research
07/26/2023

FinTree: Financial Dataset Pretrain Transformer Encoder for Relation Extraction

We present FinTree, Financial Dataset Pretrain Transformer Encoder for R...
research
04/15/2021

A Sample-Based Training Method for Distantly Supervised Relation Extraction with Pre-Trained Transformers

Multiple instance learning (MIL) has become the standard learning paradi...

Please sign up or login with your details

Forgot password? Click here to reset