TableFormer: Table Structure Understanding with Transformers

Ahmed Nassar, Nikolaos Livathinos, Maksym Lysak, Peter Staar
3/2/2022
cs.CVcs.LG

Official code: IBM/SynthTabNet (156 stars, last commit 2025-09-17).

Abstract

Tables organize valuable content in a concise and compact representation. This content is extremely valuable for systems such as search engines, Knowledge Graph's, etc, since they enhance their predictive capabilities. Unfortunately, tables come in a large variety of shapes and sizes. Furthermore, they can have complex column/row-header configurations, multiline rows, different variety of separation lines, missing entries, etc. As such, the correct identification of the table-structure from an image is a non-trivial task. In this paper, we present a new table-structure identification model. The latter improves the latest end-to-end deep learning model (i.e. encoder-dual-decoder from PubTabNet) in two significant ways. First, we introduce a new object detection decoder for table-cells. In this way, we can obtain the content of the table-cells from programmatic PDF's directly from the PDF source and avoid the training of the custom OCR decoders. This architectural change leads to more accurate table-content extraction and allows us to tackle non-english tables. Second, we replace the LSTM decoders with transformer based decoders. This upgrade improves significantly the previous state-of-the-art tree-editing-distance-score (TEDS) from 91% to 98.5% on simple tables and from 88.7% to 95% on complex tables.

View on arXivView PDF

Code Implementations(1)

IBM/SynthTabNetOfficial100%

Dataset of PNG images from synthetically generated table layouts with annotations in JSONL files

15615Jupyter NotebookFeb 24, 20221 years agoNOASSERTION

Similar Papers

Cite this paper

@article{nassar2022tableformer,
  title  = {TableFormer: Table Structure Understanding with Transformers},
  author = {Ahmed Nassar and Nikolaos Livathinos and Maksym Lysak and Peter Staar},
  year   = {2022},
  eprint = {2203.01017},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.01017}
}

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

Discussion