Copy or remove rows and columns
Build candidate layouts from complete regions of a single table, updating both the image and the cell geometry.
ICDAR 2021
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
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.
Build candidate layouts from complete regions of a single table, updating both the image and the cell geometry.
Explore sequences of edits and group the resulting tables by row and column count.
Weight candidates by the dataset’s observed layout frequencies and their proximity to the source table’s shape.
ICDAR 2013
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.
| Segment | Measure (%) | No augmentation | Standard | TabAug |
|---|---|---|---|---|
| Row | Correct | 96.44 ± 1.13 | 97.86 ± 0.80 | 97.86 ± 0.35 |
| Over-segmented | 2.64 ± 0.54 | 1.71 ± 0.46 | 1.71 ± 0.35 | |
| Under-segmented | 0.71 ± 0.56 | 0.21 ± 0.18 | 0.21 ± 0.18 | |
| Column | Correct | 92.12 ± 1.11 | 86.38 ± 1.54 | 94.44 ± 0.25 |
| Over-segmented | 4.84 ± 0.76 | 5.20 ± 1.11 | 3.77 ± 0.76 | |
| Under-segmented | 1.43 ± 0.25 | 3.95 ± 1.01 | 0.90 ± 0.25 | |
| Cell | Correct | 92.16 ± 3.84 | 82.12 ± 6.76 | 96.11 ± 1.61 |
| Over-segmented | 1.58 ± 0.25 | 1.13 ± 0.28 | 1.02 ± 0.37 | |
| Under-segmented | 3.37 ± 1.99 | 6.90 ± 2.21 | 1.46 ± 0.72 |
Scores are percentages reported as mean ± standard deviation.
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.
| Segment | Training data | No augmentation | Standard | TabAug |
|---|---|---|---|---|
| Row | 25% | 94.59 ± 0.27 | 96.15 ± 0.52 | 96.37 ± 0.70 |
| 50% | 94.52 ± 1.40 | 95.02 ± 1.41 | 97.15 ± 0.44 | |
| 75% | 95.37 ± 1.19 | 94.73 ± 3.38 | 97.79 ± 0.66 | |
| 100% | 96.44 ± 1.13 | 97.86 ± 0.80 | 97.86 ± 0.35 | |
| Column | 25% | 80.46 ± 4.08 | 78.67 ± 2.92 | 84.05 ± 2.65 |
| 50% | 89.96 ± 1.34 | 83.34 ± 1.91 | 94.80 ± 1.27 | |
| 75% | 89.79 ± 2.88 | 84.41 ± 3.80 | 94.98 ± 1.26 | |
| 100% | 92.12 ± 1.11 | 86.38 ± 1.54 | 94.44 ± 0.25 | |
| Cell | 25% | 76.07 ± 2.56 | 73.76 ± 2.08 | 81.84 ± 3.68 |
| 50% | 82.92 ± 2.17 | 68.99 ± 3.50 | 93.73 ± 2.81 | |
| 75% | 84.17 ± 3.51 | 76.45 ± 2.55 | 95.14 ± 3.01 | |
| 100% | 92.16 ± 3.84 | 82.12 ± 6.76 | 96.11 ± 1.61 |
Reference
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}
}
The benchmark provides PDF documents and ground truth for table detection and structure recognition. TabAug re-annotated the tables to align row and column separators with their ruling lines.
T-Truth annotation tool