LAMBERT: Layout-Aware (Language) Modeling for information extraction

Łukasz Garncarek, Rafał Powalski, Tomasz Stanisławek, Bartosz Topolski, Piotr Halama +2 more
2/19/2020
cs.CL

Official code: applicaai/lambert (105 stars, Python, last commit 2021-06-14).

Abstract

We introduce a simple new approach to the problem of understanding documents where non-trivial layout influences the local semantics. To this end, we modify the Transformer encoder architecture in a way that allows it to use layout features obtained from an OCR system, without the need to re-learn language semantics from scratch.

Show full abstract

We only augment the input of the model with the coordinates of token bounding boxes, avoiding, in this way, the use of raw images. This leads to a layout-aware language model which can then be fine-tuned on downstream tasks. The model is evaluated on an end-to-end information extraction task using four publicly available datasets: Kleister NDA, Kleister Charity, SROIE and CORD. We show that our model achieves superior performance on datasets consisting of visually rich documents, while also outperforming the baseline RoBERTa on documents with flat layout (NDA \(F_{1}\) increase from 78.50 to 80.42). Our solution ranked first on the public leaderboard for the Key Information Extraction from the SROIE dataset, improving the SOTA \(F_{1}\)-score from 97.81 to 98.17.

View on arXivView PDF

Code Implementations(1)

applicaai/lambertOfficial100%

Publicly released code for the LAMBERT model

10516PythonMay 4, 20215 years agoNOASSERTION

Similar Papers

Cite this paper

@article{garncarek2020lambert,
  title  = {LAMBERT: Layout-Aware (Language) Modeling for information extraction},
  author = {Łukasz Garncarek and Rafał Powalski and Tomasz Stanisławek and Bartosz Topolski and Piotr Halama and Michał Turski and Filip Graliński},
  year   = {2020},
  eprint = {2002.08087},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.08087}
}

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

Discussion