Sequence-to-Sequence Models for Extracting Information from Registration and Legal Documents

Ramon Pires, Fábio C. de Souza, Guilherme Rosa, Roberto A. Lotufo, Rodrigo Nogueira
1/14/2022
cs.AIcs.CL

Official code: neuralmind-ai/information-extraction-t5 (12 stars, Python, MIT, last commit 2022-04-29).

Abstract

A typical information extraction pipeline consists of token- or span-level classification models coupled with a series of pre- and post-processing scripts. In a production pipeline, requirements often change, with classes being added and removed, which leads to nontrivial modifications to the source code and the possible introduction of bugs.

Show full abstract

In this work, we evaluate sequence-to-sequence models as an alternative to token-level classification methods for information extraction of legal and registration documents. We finetune models that jointly extract the information and generate the output already in a structured format. Post-processing steps are learned during training, thus eliminating the need for rule-based methods and simplifying the pipeline. Furthermore, we propose a novel method to align the output with the input text, thus facilitating system inspection and auditing. Our experiments on four real-world datasets show that the proposed method is an alternative to classical pipelines.

View on arXivView PDF

Code Implementations(1)

MIT
123PythonApr 20, 20224 years agoMIT

Similar Papers

Cite this paper

@article{pires2022sequencetosequence,
  title  = {Sequence-to-Sequence Models for Extracting Information from Registration and Legal Documents},
  author = {Ramon Pires and Fábio C. de Souza and Guilherme Rosa and Roberto A. Lotufo and Rodrigo Nogueira},
  year   = {2022},
  eprint = {2201.05658},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.05658}
}

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

Discussion