Abstract
Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou, Zhoujun Li. Proceedings of the 12th Language Resources and Evaluation Conference.
2020.
Introduction
Tables are fundamental structural components in documents, yet automated recognition remains a significant challenge. Traditional rule-based systems often fail when encountering diverse fonts, borderless designs, or unconventional layouts. While deep learning has transformed general object detection, its application to document analysis has been hindered by a lack of large-scale labeled datasets. Existing benchmarks like Marmot or UNLV contain only a few thousand examples, which is insufficient for training robust neural networks. TableBank addresses this gap by providing a massive dataset of over 417,000 labeled tables, enabling the development of models that generalize across varied real-world document styles.
Methodology: Weak Supervision
The primary innovation of TableBank is the use of weak supervision to bypass the expensive human labeling process. By leveraging the source code of digital documents (Word and LaTeX), the researchers automated the generation of ground truth annotations.
The process involves several key steps:
- Automated Labeling: Modifying Office XML or LaTeX source code to programmatically highlight table borders with a specific color.
- Pixel-Level Extraction: Generating two versions of each PDF page—one with colored bounding boxes and one with white (invisible) boxes. Comparing these at the pixel level allows for the precise extraction of table coordinates.
- Baseline Models: The researchers employed Faster R-CNN with a ResNeXt-152 backbone for detection and an Image-to-Text framework (encoder-decoder with attention) for structure recognition, treating the latter as a translation task into HTML tags (e.g.,
<tr>,<td>).
Dataset Overview
TableBank represents a significant leap in scale compared to previous datasets. It includes 417,234 high-quality labeled tables for detection and 145,463 instances for structure recognition.
The dataset is characterized by its diversity, spanning multiple languages (English, Chinese, Japanese, Arabic) and various domains, including business, research, and official filings. This variety is crucial for training models that are not overfit to a single document ecosystem, as "table-ness" can look visually distinct between Word and LaTeX environments.
Key Results and Insights
The models trained on TableBank demonstrate state-of-the-art performance and strong generalization capabilities:
- Detection Performance: On the ICDAR 2013 benchmark, the ResNeXt-152 model achieved an F1 score of 0.9625, significantly outperforming traditional toolkits like Tesseract and Camelot.
- Cross-Domain Robustness: Training on a combined Word and LaTeX dataset yielded an F1 score of 0.9311, confirming that massive scale helps overcome domain-specific visual differences.
- Structure Recognition: While the model achieved a BLEU score of 0.7382, complex tables remain a challenge. The exact match rate for tables with over 80 tokens was only 8.6%, compared to nearly 50% for simple tables, highlighting that internal structure recognition is significantly more difficult than simple localization.
Conclusion
TableBank demonstrates that the "human labeling bottleneck" can be overcome by intelligently exploiting existing document source code. While the dataset has enabled significant progress, challenges remain in detecting partial tables or distinguishing tables from complex figures. Future work will focus on more granular labeling, such as identifying headers and individual text blocks within cells, to move closer to fully automated, human-level document understanding.
Summary updated