From Bag of Sentences to Document: Distantly Supervised Relation Extraction via Machine Reading Comprehension

Lingyong Yan, Xianpei Han, Le Sun, Fangchao Liu, Ning Bian
12/8/2020
cs.CL

Official code: lingyongyan/docds (4 stars, Python, last commit 2020-12-21).

Abstract

Distant supervision (DS) is a promising approach for relation extraction but often suffers from the noisy label problem. Traditional DS methods usually represent an entity pair as a bag of sentences and denoise labels using multi-instance learning techniques.

Show full abstract

The bag-based paradigm, however, fails to leverage the inter-sentence-level and the entity-level evidence for relation extraction, and their denoising algorithms are often specialized and complicated. In this paper, we propose a new DS paradigm--document-based distant supervision, which models relation extraction as a document-based machine reading comprehension (MRC) task. By re-organizing all sentences about an entity as a document and extracting relations via querying the document with relation-specific questions, the document-based DS paradigm can simultaneously encode and exploit all sentence-level, inter-sentence-level, and entity-level evidence. Furthermore, we design a new loss function--DSLoss (distant supervision loss), which can effectively train MRC models using only $\langle$document, question, answer$\rangle$ tuples, therefore noisy label problem can be inherently resolved. Experiments show that our method achieves new state-of-the-art DS performance.

View on arXivView PDF

Code Implementations(1)

lingyongyan/docdsOfficial100%
40Python, ShellDec 20, 20205 years ago

Similar Papers

Cite this paper

@article{yan2020from,
  title  = {From Bag of Sentences to Document: Distantly Supervised Relation Extraction via Machine Reading Comprehension},
  author = {Lingyong Yan and Xianpei Han and Le Sun and Fangchao Liu and Ning Bian},
  year   = {2020},
  eprint = {2012.04334},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.04334}
}

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

Discussion