GenIE: Generative Information Extraction

Martin Josifoski, Nicola De Cao, Maxime Peyrard, Fabio Petroni, Robert West
12/15/2021
cs.CLcs.LGstat.ML

Official code: epfl-dlab/GenIE (104 stars, Python, MIT, last commit 2023-03-28).

Abstract

Structured and grounded representation of text is typically formalized by closed information extraction, the problem of extracting an exhaustive set of (subject, relation, object) triplets that are consistent with a predefined set of entities and relations from a knowledge base schema. Most existing works are pipelines prone to error accumulation, and all approaches are only applicable to unrealistically small numbers of entities and relations.

Show full abstract

We introduce GenIE (generative information extraction), the first end-to-end autoregressive formulation of closed information extraction. GenIE naturally exploits the language knowledge from the pre-trained transformer by autoregressively generating relations and entities in textual form. Thanks to a new bi-level constrained generation strategy, only triplets consistent with the predefined knowledge base schema are produced. Our experiments show that GenIE is state-of-the-art on closed information extraction, generalizes from fewer training data points than baselines, and scales to a previously unmanageable number of entities and relations. With this work, closed information extraction becomes practical in realistic scenarios, providing new opportunities for downstream tasks. Finally, this work paves the way towards a unified end-to-end approach to the core tasks of information extraction. Code, data and models available at https://github.com/epfl-dlab/GenIE.

View on arXivView PDF

Code Implementations(1)

epfl-dlab/GenIEOfficial100%
MIT

The autoregressive information extraction system GenIE (Generative Information Extraction) implemented in PyTorch.

1049Python, Jupyter NotebookFeb 28, 20223 years agoMIT

Similar Papers

Cite this paper

@article{josifoski2021genie,
  title  = {GenIE: Generative Information Extraction},
  author = {Martin Josifoski and Nicola De Cao and Maxime Peyrard and Fabio Petroni and Robert West},
  year   = {2021},
  eprint = {2112.08340},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.08340}
}

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

Discussion