Integrating Relation Constraints with Neural Relation Extractors

Yuan Ye, Yansong Feng, Bingfeng Luo, Yuxuan Lai, Dongyan Zhao
11/26/2019
cs.CL

Official code: PKUYeYuan/Constraint-Loss-AAAI-2020 (15 stars, Python, TensorFlow, last commit 2020-03-25).

Abstract

Recent years have seen rapid progress in identifying predefined relationship between entity pairs using neural networks NNs. However, such models often make predictions for each entity pair individually, thus often fail to solve the inconsistency among different predictions, which can be characterized by discrete relation constraints.

Show full abstract

These constraints are often defined over combinations of entity-relation-entity triples, since there often lack of explicitly well-defined type and cardinality requirements for the relations. In this paper, we propose a unified framework to integrate relation constraints with NNs by introducing a new loss term, ConstraintLoss. Particularly, we develop two efficient methods to capture how well the local predictions from multiple instance pairs satisfy the relation constraints. Experiments on both English and Chinese datasets show that our approach can help NNs learn from discrete relation constraints to reduce inconsistency among local predictions, and outperform popular neural relation extraction NRE models even enhanced with extra post-processing. Our source code and datasets will be released at https://github.com/PKUYeYuan/Constraint-Loss-AAAI-2020.

View on arXivView PDF

Code Implementations(1)

TensorFlow

The source code and dataset for our paper "Integrating Relation Constraints with Neural Relation Extractors" which is publicated at AAAI 2020

151PythonNov 18, 20196 years ago
neural-relation-extractorsnlprelation-extractiontensorflow

Similar Papers

Cite this paper

@article{ye2019integrating,
  title  = {Integrating Relation Constraints with Neural Relation Extractors},
  author = {Yuan Ye and Yansong Feng and Bingfeng Luo and Yuxuan Lai and Dongyan Zhao},
  year   = {2019},
  eprint = {1911.11493},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.11493}
}

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

Discussion