This repository contains the source code of UniTabNet: UniTabNet: Bridging Vision and Language Models for Enhanced Table Structure Recognition.
In this paper, we introduce UniTabNet, a novel framework for table structure parsing based on the image-to-text model. UniTabNet employs a “divide-and-conquer” strategy, utilizing an image-to-text model to decouple table cells and integrating both physical and logical decoders to reconstruct the complete table structure. We further enhance our framework with the Vision Guider, which directs the model’s focus towards pertinent areas, thereby boosting prediction accuracy. Additionally, we introduce the Language Guider to refine the model’s capability to understand textual semantics in table images.We use both F1-Measure [1] and Tree-Edit-Distance-based Similarity (TEDS) [2] metric, which are commonly adopted in table structure recognition literature and competitions, to evaluate the performance of our model for recognition of the table structure. The evaluation code can be found in the UniTabNet/evaluation/ folder.
[1] M. Hurst, A constraint-based approach to table structure derivation, in: ICDAR, 2003.
We perform comprehensive experiments on the PubTabNet, PubTables1M, WTW and iFLYTAB to verify the effectiveness of UniTabNet.
• PubTables1M
• PubTabNet, WTW and iFLYTAB
• Ablation Study
pip install -r requirements.txt
cd UniTabNet/scripts/unitabnet/train/
sh train.sh
If you find UniTabNet useful in your research, please consider citing:
@misc{
zhang2024unitabnet,
title={UniTabNet: Bridging Vision and Language Models for Enhanced Table Structure Recognition},
author={Zhenrong Zhang and Shuhang Liu and Pengfei Hu and Jiefeng Ma and Jun Du and Jianshu Zhang and Yu Hu},
year={2024},
eprint={2409.13148},
archivePrefix={arXiv},
primaryClass={cs.CV}
}



