Skip to main content
QUICK REVIEW

[Paper Review] Image-based table recognition: data, model, and evaluation

Zhong Xu, Elaheh ShafieiBavani|arXiv (Cornell University)|Nov 25, 2019
Handwritten Text Recognition TechniquesComputer Science38 references37 citations
TL;DR

This paper introduces PubTabNet, the largest public dataset for image-based table recognition, an encoder-dual-decoder (EDD) model that converts table images to HTML, and a tree-edit-distance-based metric (TEDS) for evaluation. The approach outperforms baselines on complex tables using only image inputs.

ABSTRACT

Important information that relates to a specific topic in a document is often organized in tabular format to assist readers with information retrieval and comparison, which may be difficult to provide in natural language. However, tabular data in unstructured digital documents, e.g., Portable Document Format (PDF) and images, are difficult to parse into structured machine-readable format, due to complexity and diversity in their structure and style. To facilitate image-based table recognition with deep learning, we develop the largest publicly available table recognition dataset PubTabNet (https://github.com/ibm-aur-nlp/PubTabNet), containing 568k table images with corresponding structured HTML representation. PubTabNet is automatically generated by matching the XML and PDF representations of the scientific articles in PubMed Central Open Access Subset (PMCOA). We also propose a novel attention-based encoder-dual-decoder (EDD) architecture that converts images of tables into HTML code. The model has a structure decoder which reconstructs the table structure and helps the cell decoder to recognize cell content. In addition, we propose a new Tree-Edit-Distance-based Similarity (TEDS) metric for table recognition, which more appropriately captures multi-hop cell misalignment and OCR errors than the pre-established metric. The experiments demonstrate that the EDD model can accurately recognize complex tables solely relying on the image representation, outperforming the state-of-the-art by 9.7% absolute TEDS score.

Motivation & Objective

  • Provide a large-scale, automatically annotated dataset (PubTabNet) of table images with HTML representations extracted from PMCOA PDFs.
  • Develop an end-to-end image-based table recognition model (EDD) that separately handles table structure and cell content.
  • Introduce a tree-edit-distance-based similarity metric (TEDS) that better captures multi-hop structural errors and OCR mistakes.
  • Demonstrate the effectiveness of the EDD model on PubTabNet and assess generalization to synthetic datasets and external baselines.

Proposed method

  • Create PubTabNet by aligning XML-ground-truth HTML with corresponding table regions in PMCOA PDFs and curating clean HTML representations.
  • Propose an attention-based encoder-dual-decoder (EDD) with an encoder, a structure decoder, and a cell decoder; the structure decoder generates table structure while triggering the cell decoder for cell content.
  • Train EDD with a dual-cross-entropy loss combining structure-token loss and cell-token loss, balanced by a lambda parameter (l = lambda * ls + (1 - lambda) * lc).
  • Represent tables as HTML trees; decode structural tokens and cell content tokens; merge decoders’ outputs to form final HTML.
  • Propose a Tree-Edit-Distance-based Similarity (TEDS) metric that computes 1 - EditDist(Ta,Tb)/max(|Ta|,|Tb|) on table trees, with customized substitution costs for td nodes and content similarity for substitutions.

Experimental results

Research questions

  • RQ1Can a large-scale automatically generated dataset (PubTabNet) support robust image-based table recognition?
  • RQ2Does a dual-decoder architecture (structure-aware and content-aware) improve accuracy over single-decoder/image-to-Latex baselines for table recognition from images?
  • RQ3Is a tree-structured similarity metric (TEDS) more faithful to table errors (structure and OCR) than existing adjacency-based metrics?
  • RQ4How well does the EDD model generalize to synthetic table data and to external baselines on image-based inputs?
  • RQ5What are the limits of EDD with respect to table size, spanning cells, and complex headers?

Key findings

  • PubTabNet contains 568k table images with corresponding HTML representations derived from PMCOA XML and PDFs.
  • The EDD model substantially outperforms baselines on both simple and complex tables using only image inputs (TEDS scores).
  • EDD achieves 91.2% average TEDS on simple/complex tables combined, outperforming WYGIWYS and off-the-shelf tools by noticeable margins.
  • TEDS more effectively captures empty-cell and multi-hop misalignment as well as OCR errors than the traditional adjacency-based metric.
  • On synthetic data, EDD achieves near-perfect TEDS (around 99.7–99.8%) and higher exact-match than TIES across four categories, demonstrating strong generalization.
  • The model is robust to table size but performance declines with larger tables, suggesting rescaling effects can be mitigated by size-specific processing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.