BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documents

Teakgyu Hong, Donghyun Kim, Mingi Ji, Wonseok Hwang, Daehyun Nam +1 more
8/10/2021
210 citations
cs.CL

Official code: clovaai/bros (162 stars, Python, Apache-2.0, last commit 2022-12-27).

Abstract

Key information extraction (KIE) from document images requires understanding the contextual and spatial semantics of texts in two-dimensional (2D) space. Many recent studies try to solve the task by developing pre-trained language models focusing on combining visual features from document images with texts and their layout.

Show full abstract

On the other hand, this paper tackles the problem by going back to the basic: effective combination of text and layout. Specifically, we propose a pre-trained language model, named BROS (BERT Relying On Spatiality), that encodes relative positions of texts in 2D space and learns from unlabeled documents with area-masking strategy. With this optimized training scheme for understanding texts in 2D space, BROS shows comparable or better performance compared to previous methods on four KIE benchmarks (FUNSD, SROIE*, CORD, and SciTSR) without relying on visual features. This paper also reveals two real-world challenges in KIE tasks-(1) minimizing the error from incorrect text ordering and (2) efficient learning from fewer downstream examples-and demonstrates the superiority of BROS over previous methods. Code is available at https://github.com/clovaai/bros.

View on arXivView PDF

Code Implementations(1)

clovaai/brosOfficial100%
Apache-2.0
16225Python, ShellDec 15, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{hong2021bros,
  title  = {BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documents},
  author = {Teakgyu Hong and Donghyun Kim and Mingi Ji and Wonseok Hwang and Daehyun Nam and Sungrae Park},
  year   = {2021},
  eprint = {2108.04539},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.04539}
}

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

Discussion