Document-level Entity-based Extraction as Template Generation

Kung-Hsiang Huang, Sam Tang, Nanyun Peng
9/10/2021
cs.CL

Official code: PlusLabNLP/TempGen (29 stars, Python, MIT, last commit 2021-09-23).

Abstract

Document-level entity-based extraction (EE), aiming at extracting entity-centric information such as entity roles and entity relations, is key to automatic knowledge acquisition from text corpora for various domains. Most document-level EE systems build extractive models, which struggle to model long-term dependencies among entities at the document level.

Show full abstract

To address this issue, we propose a generative framework for two document-level EE tasks: role-filler entity extraction (REE) and relation extraction (RE). We first formulate them as a template generation problem, allowing models to efficiently capture cross-entity dependencies, exploit label semantics, and avoid the exponential computation complexity of identifying N-ary relations. A novel cross-attention guided copy mechanism, TopK Copy, is incorporated into a pre-trained sequence-to-sequence model to enhance the capabilities of identifying key information in the input document. Experiments done on the MUC-4 and SciREX dataset show new state-of-the-art results on REE (+3.26%), binary RE (+4.8%), and 4-ary RE (+2.7%) in F1 score.

View on arXivView PDF

Code Implementations(1)

PlusLabNLP/TempGenOfficial100%
MIT

Code for Document-level Entity-based Extraction as Template Generation (EMNLP 2021)

299Python, ShellAug 3, 20215 years agoMIT

Similar Papers

Cite this paper

@article{huang2021documentlevel,
  title  = {Document-level Entity-based Extraction as Template Generation},
  author = {Kung-Hsiang Huang and Sam Tang and Nanyun Peng},
  year   = {2021},
  eprint = {2109.04901},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.04901}
}

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

Discussion