ICDAR 2021

TabAug: Data Driven Augmentation for Enhanced Table Structure Recognition

National Center of Artificial Intelligence (NCAI) · National University of Sciences and Technology (NUST), Islamabad

TabAug creates new training examples for table structure recognition by copying or removing rows and columns in annotated table images. On the ICDAR 2013 test split, it improved correct cell detections from 92.16% to 96.11% over training without augmentation.

Method

How TabAug changes table structure

TabAug edits a table image and its annotations together. Copying or removing a complete row or column changes the layout while retaining the visual style of the source table. The operations preserve the first row and column as potential headers and check that the edit does not split spanning cells.

Select a figure to open it at full resolution.

Four diagrams show what happens when a table column or row is copied or deleted.
Figure 1. The four operations TabAug applies to rows and columns.
An ICDAR 2013 enrollment table and four variants, comparing structural edits with cropping and color jitter.
Figure 2. An original table, two TabAug variants, and two examples of standard image augmentation.

Copy or remove rows and columns

Build candidate layouts from complete regions of a single table, updating both the image and the cell geometry.

Group candidates by shape

Explore sequences of edits and group the resulting tables by row and column count.

Sample during training

Weight candidates by the dataset’s observed layout frequencies and their proximity to the source table’s shape.

ICDAR 2013

Table structure recognition results

The study trained the same Split model under three conditions and evaluated each on a fixed 20% test split. Standard augmentation combined color jitter with cropping. TabAug raised correct cell detections by 3.95 percentage points over the unaugmented baseline and tied standard augmentation on correct row detections.

Full training split

SegmentMeasure (%)No augmentationStandardTabAug
RowCorrect96.44 ± 1.1397.86 ± 0.8097.86 ± 0.35
Over-segmented2.64 ± 0.541.71 ± 0.461.71 ± 0.35
Under-segmented0.71 ± 0.560.21 ± 0.180.21 ± 0.18
ColumnCorrect92.12 ± 1.1186.38 ± 1.5494.44 ± 0.25
Over-segmented4.84 ± 0.765.20 ± 1.113.77 ± 0.76
Under-segmented1.43 ± 0.253.95 ± 1.010.90 ± 0.25
CellCorrect92.16 ± 3.8482.12 ± 6.7696.11 ± 1.61
Over-segmented1.58 ± 0.251.13 ± 0.281.02 ± 0.37
Under-segmented3.37 ± 1.996.90 ± 2.211.46 ± 0.72

Scores are percentages reported as mean ± standard deviation.

Effect of training data size

With half the training split, TabAug reached 93.73% mean correct cell detections on the same test split. The unaugmented model reached 92.16% with the full training split.

SegmentTraining dataNo augmentationStandardTabAug
Row25%94.59 ± 0.2796.15 ± 0.5296.37 ± 0.70
50%94.52 ± 1.4095.02 ± 1.4197.15 ± 0.44
75%95.37 ± 1.1994.73 ± 3.3897.79 ± 0.66
100%96.44 ± 1.1397.86 ± 0.8097.86 ± 0.35
Column25%80.46 ± 4.0878.67 ± 2.9284.05 ± 2.65
50%89.96 ± 1.3483.34 ± 1.9194.80 ± 1.27
75%89.79 ± 2.8884.41 ± 3.8094.98 ± 1.26
100%92.12 ± 1.1186.38 ± 1.5494.44 ± 0.25
Cell25%76.07 ± 2.5673.76 ± 2.0881.84 ± 3.68
50%82.92 ± 2.1768.99 ± 3.5093.73 ± 2.81
75%84.17 ± 3.5176.45 ± 2.5595.14 ± 3.01
100%92.16 ± 3.8482.12 ± 6.7696.11 ± 1.61

Reference

Citation

Published in Document Analysis and Recognition – ICDAR 2021, Part II, pages 585–601. Umar Khan and Sohaib Zahid contributed equally.

@inproceedings{Khan2021TabAug,
  author    = {Khan, Umar and Zahid, Sohaib and Ali, Muhammad Asad and
               Ul-Hasan, Adnan and Shafait, Faisal},
  title     = {{TabAug}: Data Driven Augmentation for Enhanced Table Structure Recognition},
  booktitle = {Document Analysis and Recognition -- {ICDAR} 2021},
  series    = {Lecture Notes in Computer Science},
  volume    = {12822},
  pages     = {585--601},
  publisher = {Springer International Publishing},
  year      = {2021},
  doi       = {10.1007/978-3-030-86331-9_38}
}

Datasets