English

BERTgrid: Contextualized Embedding for 2D Document Representation and Understanding

Computation and Language 2019-10-15 v2 Computer Vision and Pattern Recognition Machine Learning

Abstract

For understanding generic documents, information like font sizes, column layout, and generally the positioning of words may carry semantic information that is crucial for solving a downstream document intelligence task. Our novel BERTgrid, which is based on Chargrid by Katti et al. (2018), represents a document as a grid of contextualized word piece embedding vectors, thereby making its spatial structure and semantics accessible to the processing neural network. The contextualized embedding vectors are retrieved from a BERT language model. We use BERTgrid in combination with a fully convolutional network on a semantic instance segmentation task for extracting fields from invoices. We demonstrate its performance on tabulated line item and document header field extraction.

Keywords

Cite

@article{arxiv.1909.04948,
  title  = {BERTgrid: Contextualized Embedding for 2D Document Representation and Understanding},
  author = {Timo I. Denk and Christian Reisswig},
  journal= {arXiv preprint arXiv:1909.04948},
  year   = {2019}
}

Comments

4 pages, accepted at the "Document Intelligence" workshop of 33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada

R2 v1 2026-06-23T11:12:05.686Z